reflection.pb.go 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953
  1. // Copyright 2016 The gRPC Authors
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. // Service exported by server reflection. A more complete description of how
  15. // server reflection works can be found at
  16. // https://github.com/grpc/grpc/blob/master/doc/server-reflection.md
  17. //
  18. // The canonical version of this proto can be found at
  19. // https://github.com/grpc/grpc-proto/blob/master/grpc/reflection/v1/reflection.proto
  20. // Code generated by protoc-gen-go. DO NOT EDIT.
  21. // versions:
  22. // protoc-gen-go v1.30.0
  23. // protoc v4.22.0
  24. // source: grpc/reflection/v1/reflection.proto
  25. package grpc_reflection_v1
  26. import (
  27. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  28. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  29. reflect "reflect"
  30. sync "sync"
  31. )
  32. const (
  33. // Verify that this generated code is sufficiently up-to-date.
  34. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  35. // Verify that runtime/protoimpl is sufficiently up-to-date.
  36. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  37. )
  38. // The message sent by the client when calling ServerReflectionInfo method.
  39. type ServerReflectionRequest struct {
  40. state protoimpl.MessageState
  41. sizeCache protoimpl.SizeCache
  42. unknownFields protoimpl.UnknownFields
  43. Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
  44. // To use reflection service, the client should set one of the following
  45. // fields in message_request. The server distinguishes requests by their
  46. // defined field and then handles them using corresponding methods.
  47. //
  48. // Types that are assignable to MessageRequest:
  49. //
  50. // *ServerReflectionRequest_FileByFilename
  51. // *ServerReflectionRequest_FileContainingSymbol
  52. // *ServerReflectionRequest_FileContainingExtension
  53. // *ServerReflectionRequest_AllExtensionNumbersOfType
  54. // *ServerReflectionRequest_ListServices
  55. MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"`
  56. }
  57. func (x *ServerReflectionRequest) Reset() {
  58. *x = ServerReflectionRequest{}
  59. if protoimpl.UnsafeEnabled {
  60. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[0]
  61. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  62. ms.StoreMessageInfo(mi)
  63. }
  64. }
  65. func (x *ServerReflectionRequest) String() string {
  66. return protoimpl.X.MessageStringOf(x)
  67. }
  68. func (*ServerReflectionRequest) ProtoMessage() {}
  69. func (x *ServerReflectionRequest) ProtoReflect() protoreflect.Message {
  70. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[0]
  71. if protoimpl.UnsafeEnabled && x != nil {
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. if ms.LoadMessageInfo() == nil {
  74. ms.StoreMessageInfo(mi)
  75. }
  76. return ms
  77. }
  78. return mi.MessageOf(x)
  79. }
  80. // Deprecated: Use ServerReflectionRequest.ProtoReflect.Descriptor instead.
  81. func (*ServerReflectionRequest) Descriptor() ([]byte, []int) {
  82. return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{0}
  83. }
  84. func (x *ServerReflectionRequest) GetHost() string {
  85. if x != nil {
  86. return x.Host
  87. }
  88. return ""
  89. }
  90. func (m *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest {
  91. if m != nil {
  92. return m.MessageRequest
  93. }
  94. return nil
  95. }
  96. func (x *ServerReflectionRequest) GetFileByFilename() string {
  97. if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_FileByFilename); ok {
  98. return x.FileByFilename
  99. }
  100. return ""
  101. }
  102. func (x *ServerReflectionRequest) GetFileContainingSymbol() string {
  103. if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_FileContainingSymbol); ok {
  104. return x.FileContainingSymbol
  105. }
  106. return ""
  107. }
  108. func (x *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequest {
  109. if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_FileContainingExtension); ok {
  110. return x.FileContainingExtension
  111. }
  112. return nil
  113. }
  114. func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType() string {
  115. if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_AllExtensionNumbersOfType); ok {
  116. return x.AllExtensionNumbersOfType
  117. }
  118. return ""
  119. }
  120. func (x *ServerReflectionRequest) GetListServices() string {
  121. if x, ok := x.GetMessageRequest().(*ServerReflectionRequest_ListServices); ok {
  122. return x.ListServices
  123. }
  124. return ""
  125. }
  126. type isServerReflectionRequest_MessageRequest interface {
  127. isServerReflectionRequest_MessageRequest()
  128. }
  129. type ServerReflectionRequest_FileByFilename struct {
  130. // Find a proto file by the file name.
  131. FileByFilename string `protobuf:"bytes,3,opt,name=file_by_filename,json=fileByFilename,proto3,oneof"`
  132. }
  133. type ServerReflectionRequest_FileContainingSymbol struct {
  134. // Find the proto file that declares the given fully-qualified symbol name.
  135. // This field should be a fully-qualified symbol name
  136. // (e.g. <package>.<service>[.<method>] or <package>.<type>).
  137. FileContainingSymbol string `protobuf:"bytes,4,opt,name=file_containing_symbol,json=fileContainingSymbol,proto3,oneof"`
  138. }
  139. type ServerReflectionRequest_FileContainingExtension struct {
  140. // Find the proto file which defines an extension extending the given
  141. // message type with the given field number.
  142. FileContainingExtension *ExtensionRequest `protobuf:"bytes,5,opt,name=file_containing_extension,json=fileContainingExtension,proto3,oneof"`
  143. }
  144. type ServerReflectionRequest_AllExtensionNumbersOfType struct {
  145. // Finds the tag numbers used by all known extensions of the given message
  146. // type, and appends them to ExtensionNumberResponse in an undefined order.
  147. // Its corresponding method is best-effort: it's not guaranteed that the
  148. // reflection service will implement this method, and it's not guaranteed
  149. // that this method will provide all extensions. Returns
  150. // StatusCode::UNIMPLEMENTED if it's not implemented.
  151. // This field should be a fully-qualified type name. The format is
  152. // <package>.<type>
  153. AllExtensionNumbersOfType string `protobuf:"bytes,6,opt,name=all_extension_numbers_of_type,json=allExtensionNumbersOfType,proto3,oneof"`
  154. }
  155. type ServerReflectionRequest_ListServices struct {
  156. // List the full names of registered services. The content will not be
  157. // checked.
  158. ListServices string `protobuf:"bytes,7,opt,name=list_services,json=listServices,proto3,oneof"`
  159. }
  160. func (*ServerReflectionRequest_FileByFilename) isServerReflectionRequest_MessageRequest() {}
  161. func (*ServerReflectionRequest_FileContainingSymbol) isServerReflectionRequest_MessageRequest() {}
  162. func (*ServerReflectionRequest_FileContainingExtension) isServerReflectionRequest_MessageRequest() {}
  163. func (*ServerReflectionRequest_AllExtensionNumbersOfType) isServerReflectionRequest_MessageRequest() {
  164. }
  165. func (*ServerReflectionRequest_ListServices) isServerReflectionRequest_MessageRequest() {}
  166. // The type name and extension number sent by the client when requesting
  167. // file_containing_extension.
  168. type ExtensionRequest struct {
  169. state protoimpl.MessageState
  170. sizeCache protoimpl.SizeCache
  171. unknownFields protoimpl.UnknownFields
  172. // Fully-qualified type name. The format should be <package>.<type>
  173. ContainingType string `protobuf:"bytes,1,opt,name=containing_type,json=containingType,proto3" json:"containing_type,omitempty"`
  174. ExtensionNumber int32 `protobuf:"varint,2,opt,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"`
  175. }
  176. func (x *ExtensionRequest) Reset() {
  177. *x = ExtensionRequest{}
  178. if protoimpl.UnsafeEnabled {
  179. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[1]
  180. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  181. ms.StoreMessageInfo(mi)
  182. }
  183. }
  184. func (x *ExtensionRequest) String() string {
  185. return protoimpl.X.MessageStringOf(x)
  186. }
  187. func (*ExtensionRequest) ProtoMessage() {}
  188. func (x *ExtensionRequest) ProtoReflect() protoreflect.Message {
  189. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[1]
  190. if protoimpl.UnsafeEnabled && x != nil {
  191. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  192. if ms.LoadMessageInfo() == nil {
  193. ms.StoreMessageInfo(mi)
  194. }
  195. return ms
  196. }
  197. return mi.MessageOf(x)
  198. }
  199. // Deprecated: Use ExtensionRequest.ProtoReflect.Descriptor instead.
  200. func (*ExtensionRequest) Descriptor() ([]byte, []int) {
  201. return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{1}
  202. }
  203. func (x *ExtensionRequest) GetContainingType() string {
  204. if x != nil {
  205. return x.ContainingType
  206. }
  207. return ""
  208. }
  209. func (x *ExtensionRequest) GetExtensionNumber() int32 {
  210. if x != nil {
  211. return x.ExtensionNumber
  212. }
  213. return 0
  214. }
  215. // The message sent by the server to answer ServerReflectionInfo method.
  216. type ServerReflectionResponse struct {
  217. state protoimpl.MessageState
  218. sizeCache protoimpl.SizeCache
  219. unknownFields protoimpl.UnknownFields
  220. ValidHost string `protobuf:"bytes,1,opt,name=valid_host,json=validHost,proto3" json:"valid_host,omitempty"`
  221. OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
  222. // The server sets one of the following fields according to the message_request
  223. // in the request.
  224. //
  225. // Types that are assignable to MessageResponse:
  226. //
  227. // *ServerReflectionResponse_FileDescriptorResponse
  228. // *ServerReflectionResponse_AllExtensionNumbersResponse
  229. // *ServerReflectionResponse_ListServicesResponse
  230. // *ServerReflectionResponse_ErrorResponse
  231. MessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"`
  232. }
  233. func (x *ServerReflectionResponse) Reset() {
  234. *x = ServerReflectionResponse{}
  235. if protoimpl.UnsafeEnabled {
  236. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[2]
  237. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  238. ms.StoreMessageInfo(mi)
  239. }
  240. }
  241. func (x *ServerReflectionResponse) String() string {
  242. return protoimpl.X.MessageStringOf(x)
  243. }
  244. func (*ServerReflectionResponse) ProtoMessage() {}
  245. func (x *ServerReflectionResponse) ProtoReflect() protoreflect.Message {
  246. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[2]
  247. if protoimpl.UnsafeEnabled && x != nil {
  248. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  249. if ms.LoadMessageInfo() == nil {
  250. ms.StoreMessageInfo(mi)
  251. }
  252. return ms
  253. }
  254. return mi.MessageOf(x)
  255. }
  256. // Deprecated: Use ServerReflectionResponse.ProtoReflect.Descriptor instead.
  257. func (*ServerReflectionResponse) Descriptor() ([]byte, []int) {
  258. return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{2}
  259. }
  260. func (x *ServerReflectionResponse) GetValidHost() string {
  261. if x != nil {
  262. return x.ValidHost
  263. }
  264. return ""
  265. }
  266. func (x *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequest {
  267. if x != nil {
  268. return x.OriginalRequest
  269. }
  270. return nil
  271. }
  272. func (m *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse {
  273. if m != nil {
  274. return m.MessageResponse
  275. }
  276. return nil
  277. }
  278. func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponse {
  279. if x, ok := x.GetMessageResponse().(*ServerReflectionResponse_FileDescriptorResponse); ok {
  280. return x.FileDescriptorResponse
  281. }
  282. return nil
  283. }
  284. func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNumberResponse {
  285. if x, ok := x.GetMessageResponse().(*ServerReflectionResponse_AllExtensionNumbersResponse); ok {
  286. return x.AllExtensionNumbersResponse
  287. }
  288. return nil
  289. }
  290. func (x *ServerReflectionResponse) GetListServicesResponse() *ListServiceResponse {
  291. if x, ok := x.GetMessageResponse().(*ServerReflectionResponse_ListServicesResponse); ok {
  292. return x.ListServicesResponse
  293. }
  294. return nil
  295. }
  296. func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponse {
  297. if x, ok := x.GetMessageResponse().(*ServerReflectionResponse_ErrorResponse); ok {
  298. return x.ErrorResponse
  299. }
  300. return nil
  301. }
  302. type isServerReflectionResponse_MessageResponse interface {
  303. isServerReflectionResponse_MessageResponse()
  304. }
  305. type ServerReflectionResponse_FileDescriptorResponse struct {
  306. // This message is used to answer file_by_filename, file_containing_symbol,
  307. // file_containing_extension requests with transitive dependencies.
  308. // As the repeated label is not allowed in oneof fields, we use a
  309. // FileDescriptorResponse message to encapsulate the repeated fields.
  310. // The reflection service is allowed to avoid sending FileDescriptorProtos
  311. // that were previously sent in response to earlier requests in the stream.
  312. FileDescriptorResponse *FileDescriptorResponse `protobuf:"bytes,4,opt,name=file_descriptor_response,json=fileDescriptorResponse,proto3,oneof"`
  313. }
  314. type ServerReflectionResponse_AllExtensionNumbersResponse struct {
  315. // This message is used to answer all_extension_numbers_of_type requests.
  316. AllExtensionNumbersResponse *ExtensionNumberResponse `protobuf:"bytes,5,opt,name=all_extension_numbers_response,json=allExtensionNumbersResponse,proto3,oneof"`
  317. }
  318. type ServerReflectionResponse_ListServicesResponse struct {
  319. // This message is used to answer list_services requests.
  320. ListServicesResponse *ListServiceResponse `protobuf:"bytes,6,opt,name=list_services_response,json=listServicesResponse,proto3,oneof"`
  321. }
  322. type ServerReflectionResponse_ErrorResponse struct {
  323. // This message is used when an error occurs.
  324. ErrorResponse *ErrorResponse `protobuf:"bytes,7,opt,name=error_response,json=errorResponse,proto3,oneof"`
  325. }
  326. func (*ServerReflectionResponse_FileDescriptorResponse) isServerReflectionResponse_MessageResponse() {
  327. }
  328. func (*ServerReflectionResponse_AllExtensionNumbersResponse) isServerReflectionResponse_MessageResponse() {
  329. }
  330. func (*ServerReflectionResponse_ListServicesResponse) isServerReflectionResponse_MessageResponse() {}
  331. func (*ServerReflectionResponse_ErrorResponse) isServerReflectionResponse_MessageResponse() {}
  332. // Serialized FileDescriptorProto messages sent by the server answering
  333. // a file_by_filename, file_containing_symbol, or file_containing_extension
  334. // request.
  335. type FileDescriptorResponse struct {
  336. state protoimpl.MessageState
  337. sizeCache protoimpl.SizeCache
  338. unknownFields protoimpl.UnknownFields
  339. // Serialized FileDescriptorProto messages. We avoid taking a dependency on
  340. // descriptor.proto, which uses proto2 only features, by making them opaque
  341. // bytes instead.
  342. FileDescriptorProto [][]byte `protobuf:"bytes,1,rep,name=file_descriptor_proto,json=fileDescriptorProto,proto3" json:"file_descriptor_proto,omitempty"`
  343. }
  344. func (x *FileDescriptorResponse) Reset() {
  345. *x = FileDescriptorResponse{}
  346. if protoimpl.UnsafeEnabled {
  347. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[3]
  348. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  349. ms.StoreMessageInfo(mi)
  350. }
  351. }
  352. func (x *FileDescriptorResponse) String() string {
  353. return protoimpl.X.MessageStringOf(x)
  354. }
  355. func (*FileDescriptorResponse) ProtoMessage() {}
  356. func (x *FileDescriptorResponse) ProtoReflect() protoreflect.Message {
  357. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[3]
  358. if protoimpl.UnsafeEnabled && x != nil {
  359. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  360. if ms.LoadMessageInfo() == nil {
  361. ms.StoreMessageInfo(mi)
  362. }
  363. return ms
  364. }
  365. return mi.MessageOf(x)
  366. }
  367. // Deprecated: Use FileDescriptorResponse.ProtoReflect.Descriptor instead.
  368. func (*FileDescriptorResponse) Descriptor() ([]byte, []int) {
  369. return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{3}
  370. }
  371. func (x *FileDescriptorResponse) GetFileDescriptorProto() [][]byte {
  372. if x != nil {
  373. return x.FileDescriptorProto
  374. }
  375. return nil
  376. }
  377. // A list of extension numbers sent by the server answering
  378. // all_extension_numbers_of_type request.
  379. type ExtensionNumberResponse struct {
  380. state protoimpl.MessageState
  381. sizeCache protoimpl.SizeCache
  382. unknownFields protoimpl.UnknownFields
  383. // Full name of the base type, including the package name. The format
  384. // is <package>.<type>
  385. BaseTypeName string `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName,proto3" json:"base_type_name,omitempty"`
  386. ExtensionNumber []int32 `protobuf:"varint,2,rep,packed,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"`
  387. }
  388. func (x *ExtensionNumberResponse) Reset() {
  389. *x = ExtensionNumberResponse{}
  390. if protoimpl.UnsafeEnabled {
  391. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[4]
  392. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  393. ms.StoreMessageInfo(mi)
  394. }
  395. }
  396. func (x *ExtensionNumberResponse) String() string {
  397. return protoimpl.X.MessageStringOf(x)
  398. }
  399. func (*ExtensionNumberResponse) ProtoMessage() {}
  400. func (x *ExtensionNumberResponse) ProtoReflect() protoreflect.Message {
  401. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[4]
  402. if protoimpl.UnsafeEnabled && x != nil {
  403. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  404. if ms.LoadMessageInfo() == nil {
  405. ms.StoreMessageInfo(mi)
  406. }
  407. return ms
  408. }
  409. return mi.MessageOf(x)
  410. }
  411. // Deprecated: Use ExtensionNumberResponse.ProtoReflect.Descriptor instead.
  412. func (*ExtensionNumberResponse) Descriptor() ([]byte, []int) {
  413. return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{4}
  414. }
  415. func (x *ExtensionNumberResponse) GetBaseTypeName() string {
  416. if x != nil {
  417. return x.BaseTypeName
  418. }
  419. return ""
  420. }
  421. func (x *ExtensionNumberResponse) GetExtensionNumber() []int32 {
  422. if x != nil {
  423. return x.ExtensionNumber
  424. }
  425. return nil
  426. }
  427. // A list of ServiceResponse sent by the server answering list_services request.
  428. type ListServiceResponse struct {
  429. state protoimpl.MessageState
  430. sizeCache protoimpl.SizeCache
  431. unknownFields protoimpl.UnknownFields
  432. // The information of each service may be expanded in the future, so we use
  433. // ServiceResponse message to encapsulate it.
  434. Service []*ServiceResponse `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"`
  435. }
  436. func (x *ListServiceResponse) Reset() {
  437. *x = ListServiceResponse{}
  438. if protoimpl.UnsafeEnabled {
  439. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[5]
  440. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  441. ms.StoreMessageInfo(mi)
  442. }
  443. }
  444. func (x *ListServiceResponse) String() string {
  445. return protoimpl.X.MessageStringOf(x)
  446. }
  447. func (*ListServiceResponse) ProtoMessage() {}
  448. func (x *ListServiceResponse) ProtoReflect() protoreflect.Message {
  449. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[5]
  450. if protoimpl.UnsafeEnabled && x != nil {
  451. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  452. if ms.LoadMessageInfo() == nil {
  453. ms.StoreMessageInfo(mi)
  454. }
  455. return ms
  456. }
  457. return mi.MessageOf(x)
  458. }
  459. // Deprecated: Use ListServiceResponse.ProtoReflect.Descriptor instead.
  460. func (*ListServiceResponse) Descriptor() ([]byte, []int) {
  461. return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{5}
  462. }
  463. func (x *ListServiceResponse) GetService() []*ServiceResponse {
  464. if x != nil {
  465. return x.Service
  466. }
  467. return nil
  468. }
  469. // The information of a single service used by ListServiceResponse to answer
  470. // list_services request.
  471. type ServiceResponse struct {
  472. state protoimpl.MessageState
  473. sizeCache protoimpl.SizeCache
  474. unknownFields protoimpl.UnknownFields
  475. // Full name of a registered service, including its package name. The format
  476. // is <package>.<service>
  477. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  478. }
  479. func (x *ServiceResponse) Reset() {
  480. *x = ServiceResponse{}
  481. if protoimpl.UnsafeEnabled {
  482. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[6]
  483. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  484. ms.StoreMessageInfo(mi)
  485. }
  486. }
  487. func (x *ServiceResponse) String() string {
  488. return protoimpl.X.MessageStringOf(x)
  489. }
  490. func (*ServiceResponse) ProtoMessage() {}
  491. func (x *ServiceResponse) ProtoReflect() protoreflect.Message {
  492. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[6]
  493. if protoimpl.UnsafeEnabled && x != nil {
  494. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  495. if ms.LoadMessageInfo() == nil {
  496. ms.StoreMessageInfo(mi)
  497. }
  498. return ms
  499. }
  500. return mi.MessageOf(x)
  501. }
  502. // Deprecated: Use ServiceResponse.ProtoReflect.Descriptor instead.
  503. func (*ServiceResponse) Descriptor() ([]byte, []int) {
  504. return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{6}
  505. }
  506. func (x *ServiceResponse) GetName() string {
  507. if x != nil {
  508. return x.Name
  509. }
  510. return ""
  511. }
  512. // The error code and error message sent by the server when an error occurs.
  513. type ErrorResponse struct {
  514. state protoimpl.MessageState
  515. sizeCache protoimpl.SizeCache
  516. unknownFields protoimpl.UnknownFields
  517. // This field uses the error codes defined in grpc::StatusCode.
  518. ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
  519. ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
  520. }
  521. func (x *ErrorResponse) Reset() {
  522. *x = ErrorResponse{}
  523. if protoimpl.UnsafeEnabled {
  524. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[7]
  525. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  526. ms.StoreMessageInfo(mi)
  527. }
  528. }
  529. func (x *ErrorResponse) String() string {
  530. return protoimpl.X.MessageStringOf(x)
  531. }
  532. func (*ErrorResponse) ProtoMessage() {}
  533. func (x *ErrorResponse) ProtoReflect() protoreflect.Message {
  534. mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[7]
  535. if protoimpl.UnsafeEnabled && x != nil {
  536. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  537. if ms.LoadMessageInfo() == nil {
  538. ms.StoreMessageInfo(mi)
  539. }
  540. return ms
  541. }
  542. return mi.MessageOf(x)
  543. }
  544. // Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
  545. func (*ErrorResponse) Descriptor() ([]byte, []int) {
  546. return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{7}
  547. }
  548. func (x *ErrorResponse) GetErrorCode() int32 {
  549. if x != nil {
  550. return x.ErrorCode
  551. }
  552. return 0
  553. }
  554. func (x *ErrorResponse) GetErrorMessage() string {
  555. if x != nil {
  556. return x.ErrorMessage
  557. }
  558. return ""
  559. }
  560. var File_grpc_reflection_v1_reflection_proto protoreflect.FileDescriptor
  561. var file_grpc_reflection_v1_reflection_proto_rawDesc = []byte{
  562. 0x0a, 0x23, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f,
  563. 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  564. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c,
  565. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x22, 0xf3, 0x02, 0x0a, 0x17, 0x53, 0x65,
  566. 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
  567. 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20,
  568. 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x69, 0x6c,
  569. 0x65, 0x5f, 0x62, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
  570. 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x79, 0x46, 0x69, 0x6c,
  571. 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f,
  572. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18,
  573. 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x14, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x6e,
  574. 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x62, 0x0a,
  575. 0x19, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67,
  576. 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
  577. 0x32, 0x24, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69,
  578. 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52,
  579. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x17, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f,
  580. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
  581. 0x6e, 0x12, 0x42, 0x0a, 0x1d, 0x61, 0x6c, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
  582. 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x74, 0x79,
  583. 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x19, 0x61, 0x6c, 0x6c, 0x45,
  584. 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x4f,
  585. 0x66, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0d, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x73, 0x65,
  586. 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c,
  587. 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x42, 0x11, 0x0a, 0x0f,
  588. 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
  589. 0x66, 0x0a, 0x10, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
  590. 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e,
  591. 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f,
  592. 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10,
  593. 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
  594. 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
  595. 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xae, 0x04, 0x0a, 0x18, 0x53, 0x65, 0x72, 0x76,
  596. 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
  597. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x68, 0x6f,
  598. 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x48,
  599. 0x6f, 0x73, 0x74, 0x12, 0x56, 0x0a, 0x10, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f,
  600. 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
  601. 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  602. 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74,
  603. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x6f, 0x72, 0x69, 0x67,
  604. 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x66, 0x0a, 0x18, 0x66,
  605. 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x72,
  606. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e,
  607. 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
  608. 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
  609. 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x16, 0x66, 0x69, 0x6c,
  610. 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
  611. 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x1e, 0x61, 0x6c, 0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
  612. 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x5f, 0x72, 0x65, 0x73,
  613. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x72,
  614. 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
  615. 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
  616. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x1b, 0x61, 0x6c, 0x6c, 0x45,
  617. 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52,
  618. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x16, 0x6c, 0x69, 0x73, 0x74, 0x5f,
  619. 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  620. 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72,
  621. 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
  622. 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  623. 0x48, 0x00, 0x52, 0x14, 0x6c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73,
  624. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0e, 0x65, 0x72, 0x72, 0x6f,
  625. 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
  626. 0x32, 0x21, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69,
  627. 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
  628. 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70,
  629. 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x12, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f,
  630. 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4c, 0x0a, 0x16, 0x46, 0x69, 0x6c, 0x65,
  631. 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  632. 0x73, 0x65, 0x12, 0x32, 0x0a, 0x15, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72,
  633. 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28,
  634. 0x0c, 0x52, 0x13, 0x66, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
  635. 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a, 0x0a, 0x17, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
  636. 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  637. 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e,
  638. 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x54,
  639. 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x6e,
  640. 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28,
  641. 0x05, 0x52, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62,
  642. 0x65, 0x72, 0x22, 0x54, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
  643. 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x73, 0x65, 0x72,
  644. 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x70,
  645. 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e,
  646. 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52,
  647. 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x25, 0x0a, 0x0f, 0x53, 0x65, 0x72, 0x76,
  648. 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
  649. 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
  650. 0x53, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  651. 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
  652. 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
  653. 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
  654. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73,
  655. 0x73, 0x61, 0x67, 0x65, 0x32, 0x89, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52,
  656. 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x75, 0x0a, 0x14, 0x53, 0x65, 0x72,
  657. 0x76, 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66,
  658. 0x6f, 0x12, 0x2b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74,
  659. 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x66,
  660. 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c,
  661. 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  662. 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63,
  663. 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30, 0x01,
  664. 0x42, 0x66, 0x0a, 0x15, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x65, 0x66, 0x6c,
  665. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x53, 0x65, 0x72, 0x76, 0x65,
  666. 0x72, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
  667. 0x50, 0x01, 0x5a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
  668. 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65,
  669. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x72, 0x65, 0x66, 0x6c, 0x65,
  670. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  671. }
  672. var (
  673. file_grpc_reflection_v1_reflection_proto_rawDescOnce sync.Once
  674. file_grpc_reflection_v1_reflection_proto_rawDescData = file_grpc_reflection_v1_reflection_proto_rawDesc
  675. )
  676. func file_grpc_reflection_v1_reflection_proto_rawDescGZIP() []byte {
  677. file_grpc_reflection_v1_reflection_proto_rawDescOnce.Do(func() {
  678. file_grpc_reflection_v1_reflection_proto_rawDescData = protoimpl.X.CompressGZIP(file_grpc_reflection_v1_reflection_proto_rawDescData)
  679. })
  680. return file_grpc_reflection_v1_reflection_proto_rawDescData
  681. }
  682. var file_grpc_reflection_v1_reflection_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  683. var file_grpc_reflection_v1_reflection_proto_goTypes = []interface{}{
  684. (*ServerReflectionRequest)(nil), // 0: grpc.reflection.v1.ServerReflectionRequest
  685. (*ExtensionRequest)(nil), // 1: grpc.reflection.v1.ExtensionRequest
  686. (*ServerReflectionResponse)(nil), // 2: grpc.reflection.v1.ServerReflectionResponse
  687. (*FileDescriptorResponse)(nil), // 3: grpc.reflection.v1.FileDescriptorResponse
  688. (*ExtensionNumberResponse)(nil), // 4: grpc.reflection.v1.ExtensionNumberResponse
  689. (*ListServiceResponse)(nil), // 5: grpc.reflection.v1.ListServiceResponse
  690. (*ServiceResponse)(nil), // 6: grpc.reflection.v1.ServiceResponse
  691. (*ErrorResponse)(nil), // 7: grpc.reflection.v1.ErrorResponse
  692. }
  693. var file_grpc_reflection_v1_reflection_proto_depIdxs = []int32{
  694. 1, // 0: grpc.reflection.v1.ServerReflectionRequest.file_containing_extension:type_name -> grpc.reflection.v1.ExtensionRequest
  695. 0, // 1: grpc.reflection.v1.ServerReflectionResponse.original_request:type_name -> grpc.reflection.v1.ServerReflectionRequest
  696. 3, // 2: grpc.reflection.v1.ServerReflectionResponse.file_descriptor_response:type_name -> grpc.reflection.v1.FileDescriptorResponse
  697. 4, // 3: grpc.reflection.v1.ServerReflectionResponse.all_extension_numbers_response:type_name -> grpc.reflection.v1.ExtensionNumberResponse
  698. 5, // 4: grpc.reflection.v1.ServerReflectionResponse.list_services_response:type_name -> grpc.reflection.v1.ListServiceResponse
  699. 7, // 5: grpc.reflection.v1.ServerReflectionResponse.error_response:type_name -> grpc.reflection.v1.ErrorResponse
  700. 6, // 6: grpc.reflection.v1.ListServiceResponse.service:type_name -> grpc.reflection.v1.ServiceResponse
  701. 0, // 7: grpc.reflection.v1.ServerReflection.ServerReflectionInfo:input_type -> grpc.reflection.v1.ServerReflectionRequest
  702. 2, // 8: grpc.reflection.v1.ServerReflection.ServerReflectionInfo:output_type -> grpc.reflection.v1.ServerReflectionResponse
  703. 8, // [8:9] is the sub-list for method output_type
  704. 7, // [7:8] is the sub-list for method input_type
  705. 7, // [7:7] is the sub-list for extension type_name
  706. 7, // [7:7] is the sub-list for extension extendee
  707. 0, // [0:7] is the sub-list for field type_name
  708. }
  709. func init() { file_grpc_reflection_v1_reflection_proto_init() }
  710. func file_grpc_reflection_v1_reflection_proto_init() {
  711. if File_grpc_reflection_v1_reflection_proto != nil {
  712. return
  713. }
  714. if !protoimpl.UnsafeEnabled {
  715. file_grpc_reflection_v1_reflection_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  716. switch v := v.(*ServerReflectionRequest); i {
  717. case 0:
  718. return &v.state
  719. case 1:
  720. return &v.sizeCache
  721. case 2:
  722. return &v.unknownFields
  723. default:
  724. return nil
  725. }
  726. }
  727. file_grpc_reflection_v1_reflection_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  728. switch v := v.(*ExtensionRequest); i {
  729. case 0:
  730. return &v.state
  731. case 1:
  732. return &v.sizeCache
  733. case 2:
  734. return &v.unknownFields
  735. default:
  736. return nil
  737. }
  738. }
  739. file_grpc_reflection_v1_reflection_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  740. switch v := v.(*ServerReflectionResponse); i {
  741. case 0:
  742. return &v.state
  743. case 1:
  744. return &v.sizeCache
  745. case 2:
  746. return &v.unknownFields
  747. default:
  748. return nil
  749. }
  750. }
  751. file_grpc_reflection_v1_reflection_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  752. switch v := v.(*FileDescriptorResponse); i {
  753. case 0:
  754. return &v.state
  755. case 1:
  756. return &v.sizeCache
  757. case 2:
  758. return &v.unknownFields
  759. default:
  760. return nil
  761. }
  762. }
  763. file_grpc_reflection_v1_reflection_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  764. switch v := v.(*ExtensionNumberResponse); i {
  765. case 0:
  766. return &v.state
  767. case 1:
  768. return &v.sizeCache
  769. case 2:
  770. return &v.unknownFields
  771. default:
  772. return nil
  773. }
  774. }
  775. file_grpc_reflection_v1_reflection_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  776. switch v := v.(*ListServiceResponse); i {
  777. case 0:
  778. return &v.state
  779. case 1:
  780. return &v.sizeCache
  781. case 2:
  782. return &v.unknownFields
  783. default:
  784. return nil
  785. }
  786. }
  787. file_grpc_reflection_v1_reflection_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  788. switch v := v.(*ServiceResponse); i {
  789. case 0:
  790. return &v.state
  791. case 1:
  792. return &v.sizeCache
  793. case 2:
  794. return &v.unknownFields
  795. default:
  796. return nil
  797. }
  798. }
  799. file_grpc_reflection_v1_reflection_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  800. switch v := v.(*ErrorResponse); i {
  801. case 0:
  802. return &v.state
  803. case 1:
  804. return &v.sizeCache
  805. case 2:
  806. return &v.unknownFields
  807. default:
  808. return nil
  809. }
  810. }
  811. }
  812. file_grpc_reflection_v1_reflection_proto_msgTypes[0].OneofWrappers = []interface{}{
  813. (*ServerReflectionRequest_FileByFilename)(nil),
  814. (*ServerReflectionRequest_FileContainingSymbol)(nil),
  815. (*ServerReflectionRequest_FileContainingExtension)(nil),
  816. (*ServerReflectionRequest_AllExtensionNumbersOfType)(nil),
  817. (*ServerReflectionRequest_ListServices)(nil),
  818. }
  819. file_grpc_reflection_v1_reflection_proto_msgTypes[2].OneofWrappers = []interface{}{
  820. (*ServerReflectionResponse_FileDescriptorResponse)(nil),
  821. (*ServerReflectionResponse_AllExtensionNumbersResponse)(nil),
  822. (*ServerReflectionResponse_ListServicesResponse)(nil),
  823. (*ServerReflectionResponse_ErrorResponse)(nil),
  824. }
  825. type x struct{}
  826. out := protoimpl.TypeBuilder{
  827. File: protoimpl.DescBuilder{
  828. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  829. RawDescriptor: file_grpc_reflection_v1_reflection_proto_rawDesc,
  830. NumEnums: 0,
  831. NumMessages: 8,
  832. NumExtensions: 0,
  833. NumServices: 1,
  834. },
  835. GoTypes: file_grpc_reflection_v1_reflection_proto_goTypes,
  836. DependencyIndexes: file_grpc_reflection_v1_reflection_proto_depIdxs,
  837. MessageInfos: file_grpc_reflection_v1_reflection_proto_msgTypes,
  838. }.Build()
  839. File_grpc_reflection_v1_reflection_proto = out.File
  840. file_grpc_reflection_v1_reflection_proto_rawDesc = nil
  841. file_grpc_reflection_v1_reflection_proto_goTypes = nil
  842. file_grpc_reflection_v1_reflection_proto_depIdxs = nil
  843. }