command.pb.go 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.35.1
  4. // protoc v5.28.2
  5. // source: app/observatory/command/command.proto
  6. package command
  7. import (
  8. observatory "github.com/xtls/xray-core/app/observatory"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type GetOutboundStatusRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. }
  25. func (x *GetOutboundStatusRequest) Reset() {
  26. *x = GetOutboundStatusRequest{}
  27. mi := &file_app_observatory_command_command_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. func (x *GetOutboundStatusRequest) String() string {
  32. return protoimpl.X.MessageStringOf(x)
  33. }
  34. func (*GetOutboundStatusRequest) ProtoMessage() {}
  35. func (x *GetOutboundStatusRequest) ProtoReflect() protoreflect.Message {
  36. mi := &file_app_observatory_command_command_proto_msgTypes[0]
  37. if x != nil {
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. if ms.LoadMessageInfo() == nil {
  40. ms.StoreMessageInfo(mi)
  41. }
  42. return ms
  43. }
  44. return mi.MessageOf(x)
  45. }
  46. // Deprecated: Use GetOutboundStatusRequest.ProtoReflect.Descriptor instead.
  47. func (*GetOutboundStatusRequest) Descriptor() ([]byte, []int) {
  48. return file_app_observatory_command_command_proto_rawDescGZIP(), []int{0}
  49. }
  50. type GetOutboundStatusResponse struct {
  51. state protoimpl.MessageState
  52. sizeCache protoimpl.SizeCache
  53. unknownFields protoimpl.UnknownFields
  54. Status *observatory.ObservationResult `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
  55. }
  56. func (x *GetOutboundStatusResponse) Reset() {
  57. *x = GetOutboundStatusResponse{}
  58. mi := &file_app_observatory_command_command_proto_msgTypes[1]
  59. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  60. ms.StoreMessageInfo(mi)
  61. }
  62. func (x *GetOutboundStatusResponse) String() string {
  63. return protoimpl.X.MessageStringOf(x)
  64. }
  65. func (*GetOutboundStatusResponse) ProtoMessage() {}
  66. func (x *GetOutboundStatusResponse) ProtoReflect() protoreflect.Message {
  67. mi := &file_app_observatory_command_command_proto_msgTypes[1]
  68. if x != nil {
  69. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  70. if ms.LoadMessageInfo() == nil {
  71. ms.StoreMessageInfo(mi)
  72. }
  73. return ms
  74. }
  75. return mi.MessageOf(x)
  76. }
  77. // Deprecated: Use GetOutboundStatusResponse.ProtoReflect.Descriptor instead.
  78. func (*GetOutboundStatusResponse) Descriptor() ([]byte, []int) {
  79. return file_app_observatory_command_command_proto_rawDescGZIP(), []int{1}
  80. }
  81. func (x *GetOutboundStatusResponse) GetStatus() *observatory.ObservationResult {
  82. if x != nil {
  83. return x.Status
  84. }
  85. return nil
  86. }
  87. type Config struct {
  88. state protoimpl.MessageState
  89. sizeCache protoimpl.SizeCache
  90. unknownFields protoimpl.UnknownFields
  91. }
  92. func (x *Config) Reset() {
  93. *x = Config{}
  94. mi := &file_app_observatory_command_command_proto_msgTypes[2]
  95. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  96. ms.StoreMessageInfo(mi)
  97. }
  98. func (x *Config) String() string {
  99. return protoimpl.X.MessageStringOf(x)
  100. }
  101. func (*Config) ProtoMessage() {}
  102. func (x *Config) ProtoReflect() protoreflect.Message {
  103. mi := &file_app_observatory_command_command_proto_msgTypes[2]
  104. if x != nil {
  105. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  106. if ms.LoadMessageInfo() == nil {
  107. ms.StoreMessageInfo(mi)
  108. }
  109. return ms
  110. }
  111. return mi.MessageOf(x)
  112. }
  113. // Deprecated: Use Config.ProtoReflect.Descriptor instead.
  114. func (*Config) Descriptor() ([]byte, []int) {
  115. return file_app_observatory_command_command_proto_rawDescGZIP(), []int{2}
  116. }
  117. var File_app_observatory_command_command_proto protoreflect.FileDescriptor
  118. var file_app_observatory_command_command_proto_rawDesc = []byte{
  119. 0x0a, 0x25, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
  120. 0x79, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
  121. 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f,
  122. 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f,
  123. 0x72, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x1a, 0x1c, 0x61, 0x70, 0x70, 0x2f,
  124. 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
  125. 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4f,
  126. 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71,
  127. 0x75, 0x65, 0x73, 0x74, 0x22, 0x61, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f,
  128. 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  129. 0x65, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
  130. 0x0b, 0x32, 0x2c, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  131. 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x4f, 0x62,
  132. 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52,
  133. 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x08, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69,
  134. 0x67, 0x32, 0xa7, 0x01, 0x0a, 0x12, 0x4f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72,
  135. 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74,
  136. 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3b,
  137. 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f,
  138. 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
  139. 0x6e, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74,
  140. 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x78, 0x72,
  141. 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65,
  142. 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x2e,
  143. 0x47, 0x65, 0x74, 0x4f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75,
  144. 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x80, 0x01, 0x0a, 0x25,
  145. 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x70,
  146. 0x70, 0x2e, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x63, 0x6f,
  147. 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
  148. 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73, 0x2f, 0x78, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f,
  149. 0x72, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x6f,
  150. 0x72, 0x79, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0xaa, 0x02, 0x21, 0x58, 0x72, 0x61,
  151. 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x4f, 0x62, 0x73, 0x65, 0x72,
  152. 0x76, 0x61, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x62, 0x06,
  153. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  154. }
  155. var (
  156. file_app_observatory_command_command_proto_rawDescOnce sync.Once
  157. file_app_observatory_command_command_proto_rawDescData = file_app_observatory_command_command_proto_rawDesc
  158. )
  159. func file_app_observatory_command_command_proto_rawDescGZIP() []byte {
  160. file_app_observatory_command_command_proto_rawDescOnce.Do(func() {
  161. file_app_observatory_command_command_proto_rawDescData = protoimpl.X.CompressGZIP(file_app_observatory_command_command_proto_rawDescData)
  162. })
  163. return file_app_observatory_command_command_proto_rawDescData
  164. }
  165. var file_app_observatory_command_command_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  166. var file_app_observatory_command_command_proto_goTypes = []any{
  167. (*GetOutboundStatusRequest)(nil), // 0: xray.core.app.observatory.command.GetOutboundStatusRequest
  168. (*GetOutboundStatusResponse)(nil), // 1: xray.core.app.observatory.command.GetOutboundStatusResponse
  169. (*Config)(nil), // 2: xray.core.app.observatory.command.Config
  170. (*observatory.ObservationResult)(nil), // 3: xray.core.app.observatory.ObservationResult
  171. }
  172. var file_app_observatory_command_command_proto_depIdxs = []int32{
  173. 3, // 0: xray.core.app.observatory.command.GetOutboundStatusResponse.status:type_name -> xray.core.app.observatory.ObservationResult
  174. 0, // 1: xray.core.app.observatory.command.ObservatoryService.GetOutboundStatus:input_type -> xray.core.app.observatory.command.GetOutboundStatusRequest
  175. 1, // 2: xray.core.app.observatory.command.ObservatoryService.GetOutboundStatus:output_type -> xray.core.app.observatory.command.GetOutboundStatusResponse
  176. 2, // [2:3] is the sub-list for method output_type
  177. 1, // [1:2] is the sub-list for method input_type
  178. 1, // [1:1] is the sub-list for extension type_name
  179. 1, // [1:1] is the sub-list for extension extendee
  180. 0, // [0:1] is the sub-list for field type_name
  181. }
  182. func init() { file_app_observatory_command_command_proto_init() }
  183. func file_app_observatory_command_command_proto_init() {
  184. if File_app_observatory_command_command_proto != nil {
  185. return
  186. }
  187. type x struct{}
  188. out := protoimpl.TypeBuilder{
  189. File: protoimpl.DescBuilder{
  190. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  191. RawDescriptor: file_app_observatory_command_command_proto_rawDesc,
  192. NumEnums: 0,
  193. NumMessages: 3,
  194. NumExtensions: 0,
  195. NumServices: 1,
  196. },
  197. GoTypes: file_app_observatory_command_command_proto_goTypes,
  198. DependencyIndexes: file_app_observatory_command_command_proto_depIdxs,
  199. MessageInfos: file_app_observatory_command_command_proto_msgTypes,
  200. }.Build()
  201. File_app_observatory_command_command_proto = out.File
  202. file_app_observatory_command_command_proto_rawDesc = nil
  203. file_app_observatory_command_command_proto_goTypes = nil
  204. file_app_observatory_command_command_proto_depIdxs = nil
  205. }