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