reflection.pb.go raw

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