google.golang.org/grpc@v1.74.2/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.36.6
    25  // 	protoc        v5.27.1
    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  	unsafe "unsafe"
    36  )
    37  
    38  const (
    39  	// Verify that this generated code is sufficiently up-to-date.
    40  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    41  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    42  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    43  )
    44  
    45  // The message sent by the client when calling ServerReflectionInfo method.
    46  type ServerReflectionRequest struct {
    47  	state protoimpl.MessageState `protogen:"open.v1"`
    48  	Host  string                 `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
    49  	// To use reflection service, the client should set one of the following
    50  	// fields in message_request. The server distinguishes requests by their
    51  	// defined field and then handles them using corresponding methods.
    52  	//
    53  	// Types that are valid to be assigned to MessageRequest:
    54  	//
    55  	//	*ServerReflectionRequest_FileByFilename
    56  	//	*ServerReflectionRequest_FileContainingSymbol
    57  	//	*ServerReflectionRequest_FileContainingExtension
    58  	//	*ServerReflectionRequest_AllExtensionNumbersOfType
    59  	//	*ServerReflectionRequest_ListServices
    60  	MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"`
    61  	unknownFields  protoimpl.UnknownFields
    62  	sizeCache      protoimpl.SizeCache
    63  }
    64  
    65  func (x *ServerReflectionRequest) Reset() {
    66  	*x = ServerReflectionRequest{}
    67  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[0]
    68  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    69  	ms.StoreMessageInfo(mi)
    70  }
    71  
    72  func (x *ServerReflectionRequest) String() string {
    73  	return protoimpl.X.MessageStringOf(x)
    74  }
    75  
    76  func (*ServerReflectionRequest) ProtoMessage() {}
    77  
    78  func (x *ServerReflectionRequest) ProtoReflect() protoreflect.Message {
    79  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[0]
    80  	if x != nil {
    81  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    82  		if ms.LoadMessageInfo() == nil {
    83  			ms.StoreMessageInfo(mi)
    84  		}
    85  		return ms
    86  	}
    87  	return mi.MessageOf(x)
    88  }
    89  
    90  // Deprecated: Use ServerReflectionRequest.ProtoReflect.Descriptor instead.
    91  func (*ServerReflectionRequest) Descriptor() ([]byte, []int) {
    92  	return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{0}
    93  }
    94  
    95  func (x *ServerReflectionRequest) GetHost() string {
    96  	if x != nil {
    97  		return x.Host
    98  	}
    99  	return ""
   100  }
   101  
   102  func (x *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest {
   103  	if x != nil {
   104  		return x.MessageRequest
   105  	}
   106  	return nil
   107  }
   108  
   109  func (x *ServerReflectionRequest) GetFileByFilename() string {
   110  	if x != nil {
   111  		if x, ok := x.MessageRequest.(*ServerReflectionRequest_FileByFilename); ok {
   112  			return x.FileByFilename
   113  		}
   114  	}
   115  	return ""
   116  }
   117  
   118  func (x *ServerReflectionRequest) GetFileContainingSymbol() string {
   119  	if x != nil {
   120  		if x, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingSymbol); ok {
   121  			return x.FileContainingSymbol
   122  		}
   123  	}
   124  	return ""
   125  }
   126  
   127  func (x *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequest {
   128  	if x != nil {
   129  		if x, ok := x.MessageRequest.(*ServerReflectionRequest_FileContainingExtension); ok {
   130  			return x.FileContainingExtension
   131  		}
   132  	}
   133  	return nil
   134  }
   135  
   136  func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType() string {
   137  	if x != nil {
   138  		if x, ok := x.MessageRequest.(*ServerReflectionRequest_AllExtensionNumbersOfType); ok {
   139  			return x.AllExtensionNumbersOfType
   140  		}
   141  	}
   142  	return ""
   143  }
   144  
   145  func (x *ServerReflectionRequest) GetListServices() string {
   146  	if x != nil {
   147  		if x, ok := x.MessageRequest.(*ServerReflectionRequest_ListServices); ok {
   148  			return x.ListServices
   149  		}
   150  	}
   151  	return ""
   152  }
   153  
   154  type isServerReflectionRequest_MessageRequest interface {
   155  	isServerReflectionRequest_MessageRequest()
   156  }
   157  
   158  type ServerReflectionRequest_FileByFilename struct {
   159  	// Find a proto file by the file name.
   160  	FileByFilename string `protobuf:"bytes,3,opt,name=file_by_filename,json=fileByFilename,proto3,oneof"`
   161  }
   162  
   163  type ServerReflectionRequest_FileContainingSymbol struct {
   164  	// Find the proto file that declares the given fully-qualified symbol name.
   165  	// This field should be a fully-qualified symbol name
   166  	// (e.g. <package>.<service>[.<method>] or <package>.<type>).
   167  	FileContainingSymbol string `protobuf:"bytes,4,opt,name=file_containing_symbol,json=fileContainingSymbol,proto3,oneof"`
   168  }
   169  
   170  type ServerReflectionRequest_FileContainingExtension struct {
   171  	// Find the proto file which defines an extension extending the given
   172  	// message type with the given field number.
   173  	FileContainingExtension *ExtensionRequest `protobuf:"bytes,5,opt,name=file_containing_extension,json=fileContainingExtension,proto3,oneof"`
   174  }
   175  
   176  type ServerReflectionRequest_AllExtensionNumbersOfType struct {
   177  	// Finds the tag numbers used by all known extensions of the given message
   178  	// type, and appends them to ExtensionNumberResponse in an undefined order.
   179  	// Its corresponding method is best-effort: it's not guaranteed that the
   180  	// reflection service will implement this method, and it's not guaranteed
   181  	// that this method will provide all extensions. Returns
   182  	// StatusCode::UNIMPLEMENTED if it's not implemented.
   183  	// This field should be a fully-qualified type name. The format is
   184  	// <package>.<type>
   185  	AllExtensionNumbersOfType string `protobuf:"bytes,6,opt,name=all_extension_numbers_of_type,json=allExtensionNumbersOfType,proto3,oneof"`
   186  }
   187  
   188  type ServerReflectionRequest_ListServices struct {
   189  	// List the full names of registered services. The content will not be
   190  	// checked.
   191  	ListServices string `protobuf:"bytes,7,opt,name=list_services,json=listServices,proto3,oneof"`
   192  }
   193  
   194  func (*ServerReflectionRequest_FileByFilename) isServerReflectionRequest_MessageRequest() {}
   195  
   196  func (*ServerReflectionRequest_FileContainingSymbol) isServerReflectionRequest_MessageRequest() {}
   197  
   198  func (*ServerReflectionRequest_FileContainingExtension) isServerReflectionRequest_MessageRequest() {}
   199  
   200  func (*ServerReflectionRequest_AllExtensionNumbersOfType) isServerReflectionRequest_MessageRequest() {
   201  }
   202  
   203  func (*ServerReflectionRequest_ListServices) isServerReflectionRequest_MessageRequest() {}
   204  
   205  // The type name and extension number sent by the client when requesting
   206  // file_containing_extension.
   207  type ExtensionRequest struct {
   208  	state protoimpl.MessageState `protogen:"open.v1"`
   209  	// Fully-qualified type name. The format should be <package>.<type>
   210  	ContainingType  string `protobuf:"bytes,1,opt,name=containing_type,json=containingType,proto3" json:"containing_type,omitempty"`
   211  	ExtensionNumber int32  `protobuf:"varint,2,opt,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"`
   212  	unknownFields   protoimpl.UnknownFields
   213  	sizeCache       protoimpl.SizeCache
   214  }
   215  
   216  func (x *ExtensionRequest) Reset() {
   217  	*x = ExtensionRequest{}
   218  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[1]
   219  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   220  	ms.StoreMessageInfo(mi)
   221  }
   222  
   223  func (x *ExtensionRequest) String() string {
   224  	return protoimpl.X.MessageStringOf(x)
   225  }
   226  
   227  func (*ExtensionRequest) ProtoMessage() {}
   228  
   229  func (x *ExtensionRequest) ProtoReflect() protoreflect.Message {
   230  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[1]
   231  	if x != nil {
   232  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   233  		if ms.LoadMessageInfo() == nil {
   234  			ms.StoreMessageInfo(mi)
   235  		}
   236  		return ms
   237  	}
   238  	return mi.MessageOf(x)
   239  }
   240  
   241  // Deprecated: Use ExtensionRequest.ProtoReflect.Descriptor instead.
   242  func (*ExtensionRequest) Descriptor() ([]byte, []int) {
   243  	return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{1}
   244  }
   245  
   246  func (x *ExtensionRequest) GetContainingType() string {
   247  	if x != nil {
   248  		return x.ContainingType
   249  	}
   250  	return ""
   251  }
   252  
   253  func (x *ExtensionRequest) GetExtensionNumber() int32 {
   254  	if x != nil {
   255  		return x.ExtensionNumber
   256  	}
   257  	return 0
   258  }
   259  
   260  // The message sent by the server to answer ServerReflectionInfo method.
   261  type ServerReflectionResponse struct {
   262  	state           protoimpl.MessageState   `protogen:"open.v1"`
   263  	ValidHost       string                   `protobuf:"bytes,1,opt,name=valid_host,json=validHost,proto3" json:"valid_host,omitempty"`
   264  	OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`
   265  	// The server sets one of the following fields according to the message_request
   266  	// in the request.
   267  	//
   268  	// Types that are valid to be assigned to MessageResponse:
   269  	//
   270  	//	*ServerReflectionResponse_FileDescriptorResponse
   271  	//	*ServerReflectionResponse_AllExtensionNumbersResponse
   272  	//	*ServerReflectionResponse_ListServicesResponse
   273  	//	*ServerReflectionResponse_ErrorResponse
   274  	MessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"`
   275  	unknownFields   protoimpl.UnknownFields
   276  	sizeCache       protoimpl.SizeCache
   277  }
   278  
   279  func (x *ServerReflectionResponse) Reset() {
   280  	*x = ServerReflectionResponse{}
   281  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[2]
   282  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   283  	ms.StoreMessageInfo(mi)
   284  }
   285  
   286  func (x *ServerReflectionResponse) String() string {
   287  	return protoimpl.X.MessageStringOf(x)
   288  }
   289  
   290  func (*ServerReflectionResponse) ProtoMessage() {}
   291  
   292  func (x *ServerReflectionResponse) ProtoReflect() protoreflect.Message {
   293  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[2]
   294  	if x != nil {
   295  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   296  		if ms.LoadMessageInfo() == nil {
   297  			ms.StoreMessageInfo(mi)
   298  		}
   299  		return ms
   300  	}
   301  	return mi.MessageOf(x)
   302  }
   303  
   304  // Deprecated: Use ServerReflectionResponse.ProtoReflect.Descriptor instead.
   305  func (*ServerReflectionResponse) Descriptor() ([]byte, []int) {
   306  	return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{2}
   307  }
   308  
   309  func (x *ServerReflectionResponse) GetValidHost() string {
   310  	if x != nil {
   311  		return x.ValidHost
   312  	}
   313  	return ""
   314  }
   315  
   316  func (x *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequest {
   317  	if x != nil {
   318  		return x.OriginalRequest
   319  	}
   320  	return nil
   321  }
   322  
   323  func (x *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse {
   324  	if x != nil {
   325  		return x.MessageResponse
   326  	}
   327  	return nil
   328  }
   329  
   330  func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponse {
   331  	if x != nil {
   332  		if x, ok := x.MessageResponse.(*ServerReflectionResponse_FileDescriptorResponse); ok {
   333  			return x.FileDescriptorResponse
   334  		}
   335  	}
   336  	return nil
   337  }
   338  
   339  func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNumberResponse {
   340  	if x != nil {
   341  		if x, ok := x.MessageResponse.(*ServerReflectionResponse_AllExtensionNumbersResponse); ok {
   342  			return x.AllExtensionNumbersResponse
   343  		}
   344  	}
   345  	return nil
   346  }
   347  
   348  func (x *ServerReflectionResponse) GetListServicesResponse() *ListServiceResponse {
   349  	if x != nil {
   350  		if x, ok := x.MessageResponse.(*ServerReflectionResponse_ListServicesResponse); ok {
   351  			return x.ListServicesResponse
   352  		}
   353  	}
   354  	return nil
   355  }
   356  
   357  func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponse {
   358  	if x != nil {
   359  		if x, ok := x.MessageResponse.(*ServerReflectionResponse_ErrorResponse); ok {
   360  			return x.ErrorResponse
   361  		}
   362  	}
   363  	return nil
   364  }
   365  
   366  type isServerReflectionResponse_MessageResponse interface {
   367  	isServerReflectionResponse_MessageResponse()
   368  }
   369  
   370  type ServerReflectionResponse_FileDescriptorResponse struct {
   371  	// This message is used to answer file_by_filename, file_containing_symbol,
   372  	// file_containing_extension requests with transitive dependencies.
   373  	// As the repeated label is not allowed in oneof fields, we use a
   374  	// FileDescriptorResponse message to encapsulate the repeated fields.
   375  	// The reflection service is allowed to avoid sending FileDescriptorProtos
   376  	// that were previously sent in response to earlier requests in the stream.
   377  	FileDescriptorResponse *FileDescriptorResponse `protobuf:"bytes,4,opt,name=file_descriptor_response,json=fileDescriptorResponse,proto3,oneof"`
   378  }
   379  
   380  type ServerReflectionResponse_AllExtensionNumbersResponse struct {
   381  	// This message is used to answer all_extension_numbers_of_type requests.
   382  	AllExtensionNumbersResponse *ExtensionNumberResponse `protobuf:"bytes,5,opt,name=all_extension_numbers_response,json=allExtensionNumbersResponse,proto3,oneof"`
   383  }
   384  
   385  type ServerReflectionResponse_ListServicesResponse struct {
   386  	// This message is used to answer list_services requests.
   387  	ListServicesResponse *ListServiceResponse `protobuf:"bytes,6,opt,name=list_services_response,json=listServicesResponse,proto3,oneof"`
   388  }
   389  
   390  type ServerReflectionResponse_ErrorResponse struct {
   391  	// This message is used when an error occurs.
   392  	ErrorResponse *ErrorResponse `protobuf:"bytes,7,opt,name=error_response,json=errorResponse,proto3,oneof"`
   393  }
   394  
   395  func (*ServerReflectionResponse_FileDescriptorResponse) isServerReflectionResponse_MessageResponse() {
   396  }
   397  
   398  func (*ServerReflectionResponse_AllExtensionNumbersResponse) isServerReflectionResponse_MessageResponse() {
   399  }
   400  
   401  func (*ServerReflectionResponse_ListServicesResponse) isServerReflectionResponse_MessageResponse() {}
   402  
   403  func (*ServerReflectionResponse_ErrorResponse) isServerReflectionResponse_MessageResponse() {}
   404  
   405  // Serialized FileDescriptorProto messages sent by the server answering
   406  // a file_by_filename, file_containing_symbol, or file_containing_extension
   407  // request.
   408  type FileDescriptorResponse struct {
   409  	state protoimpl.MessageState `protogen:"open.v1"`
   410  	// Serialized FileDescriptorProto messages. We avoid taking a dependency on
   411  	// descriptor.proto, which uses proto2 only features, by making them opaque
   412  	// bytes instead.
   413  	FileDescriptorProto [][]byte `protobuf:"bytes,1,rep,name=file_descriptor_proto,json=fileDescriptorProto,proto3" json:"file_descriptor_proto,omitempty"`
   414  	unknownFields       protoimpl.UnknownFields
   415  	sizeCache           protoimpl.SizeCache
   416  }
   417  
   418  func (x *FileDescriptorResponse) Reset() {
   419  	*x = FileDescriptorResponse{}
   420  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[3]
   421  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   422  	ms.StoreMessageInfo(mi)
   423  }
   424  
   425  func (x *FileDescriptorResponse) String() string {
   426  	return protoimpl.X.MessageStringOf(x)
   427  }
   428  
   429  func (*FileDescriptorResponse) ProtoMessage() {}
   430  
   431  func (x *FileDescriptorResponse) ProtoReflect() protoreflect.Message {
   432  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[3]
   433  	if x != nil {
   434  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   435  		if ms.LoadMessageInfo() == nil {
   436  			ms.StoreMessageInfo(mi)
   437  		}
   438  		return ms
   439  	}
   440  	return mi.MessageOf(x)
   441  }
   442  
   443  // Deprecated: Use FileDescriptorResponse.ProtoReflect.Descriptor instead.
   444  func (*FileDescriptorResponse) Descriptor() ([]byte, []int) {
   445  	return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{3}
   446  }
   447  
   448  func (x *FileDescriptorResponse) GetFileDescriptorProto() [][]byte {
   449  	if x != nil {
   450  		return x.FileDescriptorProto
   451  	}
   452  	return nil
   453  }
   454  
   455  // A list of extension numbers sent by the server answering
   456  // all_extension_numbers_of_type request.
   457  type ExtensionNumberResponse struct {
   458  	state protoimpl.MessageState `protogen:"open.v1"`
   459  	// Full name of the base type, including the package name. The format
   460  	// is <package>.<type>
   461  	BaseTypeName    string  `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName,proto3" json:"base_type_name,omitempty"`
   462  	ExtensionNumber []int32 `protobuf:"varint,2,rep,packed,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"`
   463  	unknownFields   protoimpl.UnknownFields
   464  	sizeCache       protoimpl.SizeCache
   465  }
   466  
   467  func (x *ExtensionNumberResponse) Reset() {
   468  	*x = ExtensionNumberResponse{}
   469  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[4]
   470  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   471  	ms.StoreMessageInfo(mi)
   472  }
   473  
   474  func (x *ExtensionNumberResponse) String() string {
   475  	return protoimpl.X.MessageStringOf(x)
   476  }
   477  
   478  func (*ExtensionNumberResponse) ProtoMessage() {}
   479  
   480  func (x *ExtensionNumberResponse) ProtoReflect() protoreflect.Message {
   481  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[4]
   482  	if x != nil {
   483  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   484  		if ms.LoadMessageInfo() == nil {
   485  			ms.StoreMessageInfo(mi)
   486  		}
   487  		return ms
   488  	}
   489  	return mi.MessageOf(x)
   490  }
   491  
   492  // Deprecated: Use ExtensionNumberResponse.ProtoReflect.Descriptor instead.
   493  func (*ExtensionNumberResponse) Descriptor() ([]byte, []int) {
   494  	return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{4}
   495  }
   496  
   497  func (x *ExtensionNumberResponse) GetBaseTypeName() string {
   498  	if x != nil {
   499  		return x.BaseTypeName
   500  	}
   501  	return ""
   502  }
   503  
   504  func (x *ExtensionNumberResponse) GetExtensionNumber() []int32 {
   505  	if x != nil {
   506  		return x.ExtensionNumber
   507  	}
   508  	return nil
   509  }
   510  
   511  // A list of ServiceResponse sent by the server answering list_services request.
   512  type ListServiceResponse struct {
   513  	state protoimpl.MessageState `protogen:"open.v1"`
   514  	// The information of each service may be expanded in the future, so we use
   515  	// ServiceResponse message to encapsulate it.
   516  	Service       []*ServiceResponse `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"`
   517  	unknownFields protoimpl.UnknownFields
   518  	sizeCache     protoimpl.SizeCache
   519  }
   520  
   521  func (x *ListServiceResponse) Reset() {
   522  	*x = ListServiceResponse{}
   523  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[5]
   524  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   525  	ms.StoreMessageInfo(mi)
   526  }
   527  
   528  func (x *ListServiceResponse) String() string {
   529  	return protoimpl.X.MessageStringOf(x)
   530  }
   531  
   532  func (*ListServiceResponse) ProtoMessage() {}
   533  
   534  func (x *ListServiceResponse) ProtoReflect() protoreflect.Message {
   535  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[5]
   536  	if x != nil {
   537  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   538  		if ms.LoadMessageInfo() == nil {
   539  			ms.StoreMessageInfo(mi)
   540  		}
   541  		return ms
   542  	}
   543  	return mi.MessageOf(x)
   544  }
   545  
   546  // Deprecated: Use ListServiceResponse.ProtoReflect.Descriptor instead.
   547  func (*ListServiceResponse) Descriptor() ([]byte, []int) {
   548  	return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{5}
   549  }
   550  
   551  func (x *ListServiceResponse) GetService() []*ServiceResponse {
   552  	if x != nil {
   553  		return x.Service
   554  	}
   555  	return nil
   556  }
   557  
   558  // The information of a single service used by ListServiceResponse to answer
   559  // list_services request.
   560  type ServiceResponse struct {
   561  	state protoimpl.MessageState `protogen:"open.v1"`
   562  	// Full name of a registered service, including its package name. The format
   563  	// is <package>.<service>
   564  	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   565  	unknownFields protoimpl.UnknownFields
   566  	sizeCache     protoimpl.SizeCache
   567  }
   568  
   569  func (x *ServiceResponse) Reset() {
   570  	*x = ServiceResponse{}
   571  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[6]
   572  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   573  	ms.StoreMessageInfo(mi)
   574  }
   575  
   576  func (x *ServiceResponse) String() string {
   577  	return protoimpl.X.MessageStringOf(x)
   578  }
   579  
   580  func (*ServiceResponse) ProtoMessage() {}
   581  
   582  func (x *ServiceResponse) ProtoReflect() protoreflect.Message {
   583  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[6]
   584  	if x != nil {
   585  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   586  		if ms.LoadMessageInfo() == nil {
   587  			ms.StoreMessageInfo(mi)
   588  		}
   589  		return ms
   590  	}
   591  	return mi.MessageOf(x)
   592  }
   593  
   594  // Deprecated: Use ServiceResponse.ProtoReflect.Descriptor instead.
   595  func (*ServiceResponse) Descriptor() ([]byte, []int) {
   596  	return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{6}
   597  }
   598  
   599  func (x *ServiceResponse) GetName() string {
   600  	if x != nil {
   601  		return x.Name
   602  	}
   603  	return ""
   604  }
   605  
   606  // The error code and error message sent by the server when an error occurs.
   607  type ErrorResponse struct {
   608  	state protoimpl.MessageState `protogen:"open.v1"`
   609  	// This field uses the error codes defined in grpc::StatusCode.
   610  	ErrorCode     int32  `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
   611  	ErrorMessage  string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
   612  	unknownFields protoimpl.UnknownFields
   613  	sizeCache     protoimpl.SizeCache
   614  }
   615  
   616  func (x *ErrorResponse) Reset() {
   617  	*x = ErrorResponse{}
   618  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[7]
   619  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   620  	ms.StoreMessageInfo(mi)
   621  }
   622  
   623  func (x *ErrorResponse) String() string {
   624  	return protoimpl.X.MessageStringOf(x)
   625  }
   626  
   627  func (*ErrorResponse) ProtoMessage() {}
   628  
   629  func (x *ErrorResponse) ProtoReflect() protoreflect.Message {
   630  	mi := &file_grpc_reflection_v1_reflection_proto_msgTypes[7]
   631  	if x != nil {
   632  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   633  		if ms.LoadMessageInfo() == nil {
   634  			ms.StoreMessageInfo(mi)
   635  		}
   636  		return ms
   637  	}
   638  	return mi.MessageOf(x)
   639  }
   640  
   641  // Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
   642  func (*ErrorResponse) Descriptor() ([]byte, []int) {
   643  	return file_grpc_reflection_v1_reflection_proto_rawDescGZIP(), []int{7}
   644  }
   645  
   646  func (x *ErrorResponse) GetErrorCode() int32 {
   647  	if x != nil {
   648  		return x.ErrorCode
   649  	}
   650  	return 0
   651  }
   652  
   653  func (x *ErrorResponse) GetErrorMessage() string {
   654  	if x != nil {
   655  		return x.ErrorMessage
   656  	}
   657  	return ""
   658  }
   659  
   660  var File_grpc_reflection_v1_reflection_proto protoreflect.FileDescriptor
   661  
   662  const file_grpc_reflection_v1_reflection_proto_rawDesc = "" +
   663  	"\n" +
   664  	"#grpc/reflection/v1/reflection.proto\x12\x12grpc.reflection.v1\"\xf3\x02\n" +
   665  	"\x17ServerReflectionRequest\x12\x12\n" +
   666  	"\x04host\x18\x01 \x01(\tR\x04host\x12*\n" +
   667  	"\x10file_by_filename\x18\x03 \x01(\tH\x00R\x0efileByFilename\x126\n" +
   668  	"\x16file_containing_symbol\x18\x04 \x01(\tH\x00R\x14fileContainingSymbol\x12b\n" +
   669  	"\x19file_containing_extension\x18\x05 \x01(\v2$.grpc.reflection.v1.ExtensionRequestH\x00R\x17fileContainingExtension\x12B\n" +
   670  	"\x1dall_extension_numbers_of_type\x18\x06 \x01(\tH\x00R\x19allExtensionNumbersOfType\x12%\n" +
   671  	"\rlist_services\x18\a \x01(\tH\x00R\flistServicesB\x11\n" +
   672  	"\x0fmessage_request\"f\n" +
   673  	"\x10ExtensionRequest\x12'\n" +
   674  	"\x0fcontaining_type\x18\x01 \x01(\tR\x0econtainingType\x12)\n" +
   675  	"\x10extension_number\x18\x02 \x01(\x05R\x0fextensionNumber\"\xae\x04\n" +
   676  	"\x18ServerReflectionResponse\x12\x1d\n" +
   677  	"\n" +
   678  	"valid_host\x18\x01 \x01(\tR\tvalidHost\x12V\n" +
   679  	"\x10original_request\x18\x02 \x01(\v2+.grpc.reflection.v1.ServerReflectionRequestR\x0foriginalRequest\x12f\n" +
   680  	"\x18file_descriptor_response\x18\x04 \x01(\v2*.grpc.reflection.v1.FileDescriptorResponseH\x00R\x16fileDescriptorResponse\x12r\n" +
   681  	"\x1eall_extension_numbers_response\x18\x05 \x01(\v2+.grpc.reflection.v1.ExtensionNumberResponseH\x00R\x1ballExtensionNumbersResponse\x12_\n" +
   682  	"\x16list_services_response\x18\x06 \x01(\v2'.grpc.reflection.v1.ListServiceResponseH\x00R\x14listServicesResponse\x12J\n" +
   683  	"\x0eerror_response\x18\a \x01(\v2!.grpc.reflection.v1.ErrorResponseH\x00R\rerrorResponseB\x12\n" +
   684  	"\x10message_response\"L\n" +
   685  	"\x16FileDescriptorResponse\x122\n" +
   686  	"\x15file_descriptor_proto\x18\x01 \x03(\fR\x13fileDescriptorProto\"j\n" +
   687  	"\x17ExtensionNumberResponse\x12$\n" +
   688  	"\x0ebase_type_name\x18\x01 \x01(\tR\fbaseTypeName\x12)\n" +
   689  	"\x10extension_number\x18\x02 \x03(\x05R\x0fextensionNumber\"T\n" +
   690  	"\x13ListServiceResponse\x12=\n" +
   691  	"\aservice\x18\x01 \x03(\v2#.grpc.reflection.v1.ServiceResponseR\aservice\"%\n" +
   692  	"\x0fServiceResponse\x12\x12\n" +
   693  	"\x04name\x18\x01 \x01(\tR\x04name\"S\n" +
   694  	"\rErrorResponse\x12\x1d\n" +
   695  	"\n" +
   696  	"error_code\x18\x01 \x01(\x05R\terrorCode\x12#\n" +
   697  	"\rerror_message\x18\x02 \x01(\tR\ferrorMessage2\x89\x01\n" +
   698  	"\x10ServerReflection\x12u\n" +
   699  	"\x14ServerReflectionInfo\x12+.grpc.reflection.v1.ServerReflectionRequest\x1a,.grpc.reflection.v1.ServerReflectionResponse(\x010\x01Bf\n" +
   700  	"\x15io.grpc.reflection.v1B\x15ServerReflectionProtoP\x01Z4google.golang.org/grpc/reflection/grpc_reflection_v1b\x06proto3"
   701  
   702  var (
   703  	file_grpc_reflection_v1_reflection_proto_rawDescOnce sync.Once
   704  	file_grpc_reflection_v1_reflection_proto_rawDescData []byte
   705  )
   706  
   707  func file_grpc_reflection_v1_reflection_proto_rawDescGZIP() []byte {
   708  	file_grpc_reflection_v1_reflection_proto_rawDescOnce.Do(func() {
   709  		file_grpc_reflection_v1_reflection_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_grpc_reflection_v1_reflection_proto_rawDesc), len(file_grpc_reflection_v1_reflection_proto_rawDesc)))
   710  	})
   711  	return file_grpc_reflection_v1_reflection_proto_rawDescData
   712  }
   713  
   714  var file_grpc_reflection_v1_reflection_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
   715  var file_grpc_reflection_v1_reflection_proto_goTypes = []any{
   716  	(*ServerReflectionRequest)(nil),  // 0: grpc.reflection.v1.ServerReflectionRequest
   717  	(*ExtensionRequest)(nil),         // 1: grpc.reflection.v1.ExtensionRequest
   718  	(*ServerReflectionResponse)(nil), // 2: grpc.reflection.v1.ServerReflectionResponse
   719  	(*FileDescriptorResponse)(nil),   // 3: grpc.reflection.v1.FileDescriptorResponse
   720  	(*ExtensionNumberResponse)(nil),  // 4: grpc.reflection.v1.ExtensionNumberResponse
   721  	(*ListServiceResponse)(nil),      // 5: grpc.reflection.v1.ListServiceResponse
   722  	(*ServiceResponse)(nil),          // 6: grpc.reflection.v1.ServiceResponse
   723  	(*ErrorResponse)(nil),            // 7: grpc.reflection.v1.ErrorResponse
   724  }
   725  var file_grpc_reflection_v1_reflection_proto_depIdxs = []int32{
   726  	1, // 0: grpc.reflection.v1.ServerReflectionRequest.file_containing_extension:type_name -> grpc.reflection.v1.ExtensionRequest
   727  	0, // 1: grpc.reflection.v1.ServerReflectionResponse.original_request:type_name -> grpc.reflection.v1.ServerReflectionRequest
   728  	3, // 2: grpc.reflection.v1.ServerReflectionResponse.file_descriptor_response:type_name -> grpc.reflection.v1.FileDescriptorResponse
   729  	4, // 3: grpc.reflection.v1.ServerReflectionResponse.all_extension_numbers_response:type_name -> grpc.reflection.v1.ExtensionNumberResponse
   730  	5, // 4: grpc.reflection.v1.ServerReflectionResponse.list_services_response:type_name -> grpc.reflection.v1.ListServiceResponse
   731  	7, // 5: grpc.reflection.v1.ServerReflectionResponse.error_response:type_name -> grpc.reflection.v1.ErrorResponse
   732  	6, // 6: grpc.reflection.v1.ListServiceResponse.service:type_name -> grpc.reflection.v1.ServiceResponse
   733  	0, // 7: grpc.reflection.v1.ServerReflection.ServerReflectionInfo:input_type -> grpc.reflection.v1.ServerReflectionRequest
   734  	2, // 8: grpc.reflection.v1.ServerReflection.ServerReflectionInfo:output_type -> grpc.reflection.v1.ServerReflectionResponse
   735  	8, // [8:9] is the sub-list for method output_type
   736  	7, // [7:8] is the sub-list for method input_type
   737  	7, // [7:7] is the sub-list for extension type_name
   738  	7, // [7:7] is the sub-list for extension extendee
   739  	0, // [0:7] is the sub-list for field type_name
   740  }
   741  
   742  func init() { file_grpc_reflection_v1_reflection_proto_init() }
   743  func file_grpc_reflection_v1_reflection_proto_init() {
   744  	if File_grpc_reflection_v1_reflection_proto != nil {
   745  		return
   746  	}
   747  	file_grpc_reflection_v1_reflection_proto_msgTypes[0].OneofWrappers = []any{
   748  		(*ServerReflectionRequest_FileByFilename)(nil),
   749  		(*ServerReflectionRequest_FileContainingSymbol)(nil),
   750  		(*ServerReflectionRequest_FileContainingExtension)(nil),
   751  		(*ServerReflectionRequest_AllExtensionNumbersOfType)(nil),
   752  		(*ServerReflectionRequest_ListServices)(nil),
   753  	}
   754  	file_grpc_reflection_v1_reflection_proto_msgTypes[2].OneofWrappers = []any{
   755  		(*ServerReflectionResponse_FileDescriptorResponse)(nil),
   756  		(*ServerReflectionResponse_AllExtensionNumbersResponse)(nil),
   757  		(*ServerReflectionResponse_ListServicesResponse)(nil),
   758  		(*ServerReflectionResponse_ErrorResponse)(nil),
   759  	}
   760  	type x struct{}
   761  	out := protoimpl.TypeBuilder{
   762  		File: protoimpl.DescBuilder{
   763  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   764  			RawDescriptor: unsafe.Slice(unsafe.StringData(file_grpc_reflection_v1_reflection_proto_rawDesc), len(file_grpc_reflection_v1_reflection_proto_rawDesc)),
   765  			NumEnums:      0,
   766  			NumMessages:   8,
   767  			NumExtensions: 0,
   768  			NumServices:   1,
   769  		},
   770  		GoTypes:           file_grpc_reflection_v1_reflection_proto_goTypes,
   771  		DependencyIndexes: file_grpc_reflection_v1_reflection_proto_depIdxs,
   772  		MessageInfos:      file_grpc_reflection_v1_reflection_proto_msgTypes,
   773  	}.Build()
   774  	File_grpc_reflection_v1_reflection_proto = out.File
   775  	file_grpc_reflection_v1_reflection_proto_goTypes = nil
   776  	file_grpc_reflection_v1_reflection_proto_depIdxs = nil
   777  }