grpc_reflection_v1alpha
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- Constants
- Variables
- func RegisterServerReflectionServer(s grpc.ServiceRegistrar, srv ServerReflectionServer)
- type ErrorResponsedeprecated
- func (*ErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorResponse) GetErrorCode() int32deprecated
- func (x *ErrorResponse) GetErrorMessage() stringdeprecated
- func (*ErrorResponse) ProtoMessage()
- func (x *ErrorResponse) ProtoReflect() protoreflect.Message
- func (x *ErrorResponse) Reset()
- func (x *ErrorResponse) String() string
- type ExtensionNumberResponsedeprecated
- func (*ExtensionNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExtensionNumberResponse) GetBaseTypeName() stringdeprecated
- func (x *ExtensionNumberResponse) GetExtensionNumber() []int32deprecated
- func (*ExtensionNumberResponse) ProtoMessage()
- func (x *ExtensionNumberResponse) ProtoReflect() protoreflect.Message
- func (x *ExtensionNumberResponse) Reset()
- func (x *ExtensionNumberResponse) String() string
- type ExtensionRequestdeprecated
- func (*ExtensionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExtensionRequest) GetContainingType() stringdeprecated
- func (x *ExtensionRequest) GetExtensionNumber() int32deprecated
- func (*ExtensionRequest) ProtoMessage()
- func (x *ExtensionRequest) ProtoReflect() protoreflect.Message
- func (x *ExtensionRequest) Reset()
- func (x *ExtensionRequest) String() string
- type FileDescriptorResponsedeprecated
- func (*FileDescriptorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileDescriptorResponse) GetFileDescriptorProto() [][]bytedeprecated
- func (*FileDescriptorResponse) ProtoMessage()
- func (x *FileDescriptorResponse) ProtoReflect() protoreflect.Message
- func (x *FileDescriptorResponse) Reset()
- func (x *FileDescriptorResponse) String() string
- type ListServiceResponsedeprecated
- func (*ListServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServiceResponse) GetService() []*ServiceResponsedeprecated
- func (*ListServiceResponse) ProtoMessage()
- func (x *ListServiceResponse) ProtoReflect() protoreflect.Message
- func (x *ListServiceResponse) Reset()
- func (x *ListServiceResponse) String() string
- type ServerReflectionClient
- type ServerReflectionRequestdeprecated
- func (*ServerReflectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType() stringdeprecated
- func (x *ServerReflectionRequest) GetFileByFilename() stringdeprecated
- func (x *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequestdeprecated
- func (x *ServerReflectionRequest) GetFileContainingSymbol() stringdeprecated
- func (x *ServerReflectionRequest) GetHost() stringdeprecated
- func (x *ServerReflectionRequest) GetListServices() stringdeprecated
- func (x *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest
- func (*ServerReflectionRequest) ProtoMessage()
- func (x *ServerReflectionRequest) ProtoReflect() protoreflect.Message
- func (x *ServerReflectionRequest) Reset()
- func (x *ServerReflectionRequest) String() string
- type ServerReflectionRequest_AllExtensionNumbersOfType
- type ServerReflectionRequest_FileByFilename
- type ServerReflectionRequest_FileContainingExtension
- type ServerReflectionRequest_FileContainingSymbol
- type ServerReflectionRequest_ListServices
- type ServerReflectionResponsedeprecated
- func (*ServerReflectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNumberResponsedeprecated
- func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponsedeprecated
- func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponsedeprecated
- func (x *ServerReflectionResponse) GetListServicesResponse() *ListServiceResponsedeprecated
- func (x *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse
- func (x *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequestdeprecated
- func (x *ServerReflectionResponse) GetValidHost() stringdeprecated
- func (*ServerReflectionResponse) ProtoMessage()
- func (x *ServerReflectionResponse) ProtoReflect() protoreflect.Message
- func (x *ServerReflectionResponse) Reset()
- func (x *ServerReflectionResponse) String() string
- type ServerReflectionResponse_AllExtensionNumbersResponse
- type ServerReflectionResponse_ErrorResponse
- type ServerReflectionResponse_FileDescriptorResponse
- type ServerReflectionResponse_ListServicesResponse
- type ServerReflectionServer
- type ServerReflection_ServerReflectionInfoClient
- type ServerReflection_ServerReflectionInfoServer
- type ServiceResponsedeprecated
- type UnimplementedServerReflectionServer
- type UnsafeServerReflectionServer
Constants¶
const (ServerReflection_ServerReflectionInfo_FullMethodName = "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo")Variables¶
var File_grpc_reflection_v1alpha_reflection_protoprotoreflect.FileDescriptorvar ServerReflection_ServiceDesc =grpc.ServiceDesc{ServiceName: "grpc.reflection.v1alpha.ServerReflection",HandlerType: (*ServerReflectionServer)(nil),Methods: []grpc.MethodDesc{},Streams: []grpc.StreamDesc{{StreamName: "ServerReflectionInfo",Handler: _ServerReflection_ServerReflectionInfo_Handler,ServerStreams:true,ClientStreams:true,},},Metadata: "grpc/reflection/v1alpha/reflection.proto",}
ServerReflection_ServiceDesc is the grpc.ServiceDesc for ServerReflection service.It's only intended for direct use with grpc.RegisterService,and not to be introspected or modified (even as a copy)
Functions¶
funcRegisterServerReflectionServer¶
func RegisterServerReflectionServer(sgrpc.ServiceRegistrar, srvServerReflectionServer)
Types¶
typeErrorResponsedeprecated
type ErrorResponse struct {// This field uses the error codes defined in grpc::StatusCode.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.ErrorCodeint32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.ErrorMessagestring `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`// contains filtered or unexported fields}The error code and error message sent by the server when an error occurs.
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ErrorResponse)Descriptordeprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse)GetErrorCodedeprecatedadded inv1.6.0
func (x *ErrorResponse) GetErrorCode()int32
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ErrorResponse)GetErrorMessagedeprecatedadded inv1.6.0
func (x *ErrorResponse) GetErrorMessage()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ErrorResponse)ProtoMessage¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse)ProtoReflect¶added inv1.33.2
func (x *ErrorResponse) ProtoReflect()protoreflect.Message
func (*ErrorResponse)Reset¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse)String¶
func (x *ErrorResponse) String()string
typeExtensionNumberResponsedeprecated
type ExtensionNumberResponse struct {// Full name of the base type, including the package name. The format// is <package>.<type>//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.BaseTypeNamestring `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName,proto3" json:"base_type_name,omitempty"`// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.ExtensionNumber []int32 `protobuf:"varint,2,rep,packed,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"`// contains filtered or unexported fields}A list of extension numbers sent by the server answeringall_extension_numbers_of_type request.
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ExtensionNumberResponse)Descriptordeprecated
func (*ExtensionNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionNumberResponse.ProtoReflect.Descriptor instead.
func (*ExtensionNumberResponse)GetBaseTypeNamedeprecatedadded inv1.6.0
func (x *ExtensionNumberResponse) GetBaseTypeName()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ExtensionNumberResponse)GetExtensionNumberdeprecatedadded inv1.6.0
func (x *ExtensionNumberResponse) GetExtensionNumber() []int32
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ExtensionNumberResponse)ProtoMessage¶
func (*ExtensionNumberResponse) ProtoMessage()
func (*ExtensionNumberResponse)ProtoReflect¶added inv1.33.2
func (x *ExtensionNumberResponse) ProtoReflect()protoreflect.Message
func (*ExtensionNumberResponse)Reset¶
func (x *ExtensionNumberResponse) Reset()
func (*ExtensionNumberResponse)String¶
func (x *ExtensionNumberResponse) String()string
typeExtensionRequestdeprecated
type ExtensionRequest struct {// Fully-qualified type name. The format should be <package>.<type>//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.ContainingTypestring `protobuf:"bytes,1,opt,name=containing_type,json=containingType,proto3" json:"containing_type,omitempty"`// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.ExtensionNumberint32 `protobuf:"varint,2,opt,name=extension_number,json=extensionNumber,proto3" json:"extension_number,omitempty"`// contains filtered or unexported fields}The type name and extension number sent by the client when requestingfile_containing_extension.
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ExtensionRequest)Descriptordeprecated
func (*ExtensionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionRequest.ProtoReflect.Descriptor instead.
func (*ExtensionRequest)GetContainingTypedeprecatedadded inv1.6.0
func (x *ExtensionRequest) GetContainingType()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ExtensionRequest)GetExtensionNumberdeprecatedadded inv1.6.0
func (x *ExtensionRequest) GetExtensionNumber()int32
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ExtensionRequest)ProtoMessage¶
func (*ExtensionRequest) ProtoMessage()
func (*ExtensionRequest)ProtoReflect¶added inv1.33.2
func (x *ExtensionRequest) ProtoReflect()protoreflect.Message
func (*ExtensionRequest)Reset¶
func (x *ExtensionRequest) Reset()
func (*ExtensionRequest)String¶
func (x *ExtensionRequest) String()string
typeFileDescriptorResponsedeprecated
type FileDescriptorResponse struct {// Serialized FileDescriptorProto messages. We avoid taking a dependency on// descriptor.proto, which uses proto2 only features, by making them opaque// bytes instead.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.FileDescriptorProto [][]byte `protobuf:"bytes,1,rep,name=file_descriptor_proto,json=fileDescriptorProto,proto3" json:"file_descriptor_proto,omitempty"`// contains filtered or unexported fields}Serialized FileDescriptorProto messages sent by the server answeringa file_by_filename, file_containing_symbol, or file_containing_extensionrequest.
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*FileDescriptorResponse)Descriptordeprecated
func (*FileDescriptorResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileDescriptorResponse.ProtoReflect.Descriptor instead.
func (*FileDescriptorResponse)GetFileDescriptorProtodeprecatedadded inv1.6.0
func (x *FileDescriptorResponse) GetFileDescriptorProto() [][]byte
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*FileDescriptorResponse)ProtoMessage¶
func (*FileDescriptorResponse) ProtoMessage()
func (*FileDescriptorResponse)ProtoReflect¶added inv1.33.2
func (x *FileDescriptorResponse) ProtoReflect()protoreflect.Message
func (*FileDescriptorResponse)Reset¶
func (x *FileDescriptorResponse) Reset()
func (*FileDescriptorResponse)String¶
func (x *FileDescriptorResponse) String()string
typeListServiceResponsedeprecated
type ListServiceResponse struct {// The information of each service may be expanded in the future, so we use// ServiceResponse message to encapsulate it.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.Service []*ServiceResponse `protobuf:"bytes,1,rep,name=service,proto3" json:"service,omitempty"`// contains filtered or unexported fields}A list of ServiceResponse sent by the server answering list_services request.
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ListServiceResponse)Descriptordeprecated
func (*ListServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServiceResponse.ProtoReflect.Descriptor instead.
func (*ListServiceResponse)GetServicedeprecated
func (x *ListServiceResponse) GetService() []*ServiceResponse
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ListServiceResponse)ProtoMessage¶
func (*ListServiceResponse) ProtoMessage()
func (*ListServiceResponse)ProtoReflect¶added inv1.33.2
func (x *ListServiceResponse) ProtoReflect()protoreflect.Message
func (*ListServiceResponse)Reset¶
func (x *ListServiceResponse) Reset()
func (*ListServiceResponse)String¶
func (x *ListServiceResponse) String()string
typeServerReflectionClient¶
type ServerReflectionClient interface {// The reflection service is structured as a bidirectional stream, ensuring// all related requests go to a single server.ServerReflectionInfo(ctxcontext.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[ServerReflectionRequest,ServerReflectionResponse],error)}ServerReflectionClient is the client API for ServerReflection service.
For semantics around ctx use and closing/ending streaming RPCs, please refer tohttps://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
funcNewServerReflectionClient¶
func NewServerReflectionClient(ccgrpc.ClientConnInterface)ServerReflectionClient
typeServerReflectionRequestdeprecated
type ServerReflectionRequest struct {// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.Hoststring `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`// To use reflection service, the client should set one of the following// fields in message_request. The server distinguishes requests by their// defined field and then handles them using corresponding methods.//// Types that are valid to be assigned to MessageRequest:////*ServerReflectionRequest_FileByFilename//*ServerReflectionRequest_FileContainingSymbol//*ServerReflectionRequest_FileContainingExtension//*ServerReflectionRequest_AllExtensionNumbersOfType//*ServerReflectionRequest_ListServicesMessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"`// contains filtered or unexported fields}The message sent by the client when calling ServerReflectionInfo method.
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionRequest)Descriptordeprecated
func (*ServerReflectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServerReflectionRequest.ProtoReflect.Descriptor instead.
func (*ServerReflectionRequest)GetAllExtensionNumbersOfTypedeprecated
func (x *ServerReflectionRequest) GetAllExtensionNumbersOfType()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionRequest)GetFileByFilenamedeprecated
func (x *ServerReflectionRequest) GetFileByFilename()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionRequest)GetFileContainingExtensiondeprecated
func (x *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequest
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionRequest)GetFileContainingSymboldeprecated
func (x *ServerReflectionRequest) GetFileContainingSymbol()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionRequest)GetHostdeprecatedadded inv1.6.0
func (x *ServerReflectionRequest) GetHost()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionRequest)GetListServicesdeprecated
func (x *ServerReflectionRequest) GetListServices()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionRequest)GetMessageRequest¶
func (x *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest
func (*ServerReflectionRequest)ProtoMessage¶
func (*ServerReflectionRequest) ProtoMessage()
func (*ServerReflectionRequest)ProtoReflect¶added inv1.33.2
func (x *ServerReflectionRequest) ProtoReflect()protoreflect.Message
func (*ServerReflectionRequest)Reset¶
func (x *ServerReflectionRequest) Reset()
func (*ServerReflectionRequest)String¶
func (x *ServerReflectionRequest) String()string
typeServerReflectionRequest_AllExtensionNumbersOfType¶
type ServerReflectionRequest_AllExtensionNumbersOfType struct {// Finds the tag numbers used by all known extensions of extendee_type, and// appends them to ExtensionNumberResponse in an undefined order.// Its corresponding method is best-effort: it's not guaranteed that the// reflection service will implement this method, and it's not guaranteed// that this method will provide all extensions. Returns// StatusCode::UNIMPLEMENTED if it's not implemented.// This field should be a fully-qualified type name. The format is// <package>.<type>//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.AllExtensionNumbersOfTypestring `protobuf:"bytes,6,opt,name=all_extension_numbers_of_type,json=allExtensionNumbersOfType,proto3,oneof"`}typeServerReflectionRequest_FileByFilename¶
type ServerReflectionRequest_FileByFilename struct {// Find a proto file by the file name.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.FileByFilenamestring `protobuf:"bytes,3,opt,name=file_by_filename,json=fileByFilename,proto3,oneof"`}typeServerReflectionRequest_FileContainingExtension¶
type ServerReflectionRequest_FileContainingExtension struct {// Find the proto file which defines an extension extending the given// message type with the given field number.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.FileContainingExtension *ExtensionRequest `protobuf:"bytes,5,opt,name=file_containing_extension,json=fileContainingExtension,proto3,oneof"`}typeServerReflectionRequest_FileContainingSymbol¶
type ServerReflectionRequest_FileContainingSymbol struct {// Find the proto file that declares the given fully-qualified symbol name.// This field should be a fully-qualified symbol name// (e.g. <package>.<service>[.<method>] or <package>.<type>).//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.FileContainingSymbolstring `protobuf:"bytes,4,opt,name=file_containing_symbol,json=fileContainingSymbol,proto3,oneof"`}typeServerReflectionRequest_ListServices¶
type ServerReflectionRequest_ListServices struct {// List the full names of registered services. The content will not be// checked.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.ListServicesstring `protobuf:"bytes,7,opt,name=list_services,json=listServices,proto3,oneof"`} typeServerReflectionResponsedeprecated
type ServerReflectionResponse struct {// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.ValidHoststring `protobuf:"bytes,1,opt,name=valid_host,json=validHost,proto3" json:"valid_host,omitempty"`// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"`// The server set one of the following fields according to the message_request// in the request.//// Types that are valid to be assigned to MessageResponse:////*ServerReflectionResponse_FileDescriptorResponse//*ServerReflectionResponse_AllExtensionNumbersResponse//*ServerReflectionResponse_ListServicesResponse//*ServerReflectionResponse_ErrorResponseMessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"`// contains filtered or unexported fields}The message sent by the server to answer ServerReflectionInfo method.
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionResponse)Descriptordeprecated
func (*ServerReflectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerReflectionResponse.ProtoReflect.Descriptor instead.
func (*ServerReflectionResponse)GetAllExtensionNumbersResponsedeprecated
func (x *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNumberResponse
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionResponse)GetErrorResponsedeprecated
func (x *ServerReflectionResponse) GetErrorResponse() *ErrorResponse
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionResponse)GetFileDescriptorResponsedeprecated
func (x *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponse
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionResponse)GetListServicesResponsedeprecated
func (x *ServerReflectionResponse) GetListServicesResponse() *ListServiceResponse
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionResponse)GetMessageResponse¶
func (x *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse
func (*ServerReflectionResponse)GetOriginalRequestdeprecated
func (x *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequest
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionResponse)GetValidHostdeprecatedadded inv1.6.0
func (x *ServerReflectionResponse) GetValidHost()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServerReflectionResponse)ProtoMessage¶
func (*ServerReflectionResponse) ProtoMessage()
func (*ServerReflectionResponse)ProtoReflect¶added inv1.33.2
func (x *ServerReflectionResponse) ProtoReflect()protoreflect.Message
func (*ServerReflectionResponse)Reset¶
func (x *ServerReflectionResponse) Reset()
func (*ServerReflectionResponse)String¶
func (x *ServerReflectionResponse) String()string
typeServerReflectionResponse_AllExtensionNumbersResponse¶
type ServerReflectionResponse_AllExtensionNumbersResponse struct {// This message is used to answer all_extension_numbers_of_type request.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.AllExtensionNumbersResponse *ExtensionNumberResponse `protobuf:"bytes,5,opt,name=all_extension_numbers_response,json=allExtensionNumbersResponse,proto3,oneof"`}typeServerReflectionResponse_ErrorResponse¶
type ServerReflectionResponse_ErrorResponse struct {// This message is used when an error occurs.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.ErrorResponse *ErrorResponse `protobuf:"bytes,7,opt,name=error_response,json=errorResponse,proto3,oneof"`}typeServerReflectionResponse_FileDescriptorResponse¶
type ServerReflectionResponse_FileDescriptorResponse struct {// This message is used to answer file_by_filename, file_containing_symbol,// file_containing_extension requests with transitive dependencies. As// the repeated label is not allowed in oneof fields, we use a// FileDescriptorResponse message to encapsulate the repeated fields.// The reflection service is allowed to avoid sending FileDescriptorProtos// that were previously sent in response to earlier requests in the stream.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.FileDescriptorResponse *FileDescriptorResponse `protobuf:"bytes,4,opt,name=file_descriptor_response,json=fileDescriptorResponse,proto3,oneof"`}typeServerReflectionResponse_ListServicesResponse¶
type ServerReflectionResponse_ListServicesResponse struct {// This message is used to answer list_services request.//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.ListServicesResponse *ListServiceResponse `protobuf:"bytes,6,opt,name=list_services_response,json=listServicesResponse,proto3,oneof"`}typeServerReflectionServer¶
type ServerReflectionServer interface {// The reflection service is structured as a bidirectional stream, ensuring// all related requests go to a single server.ServerReflectionInfo(grpc.BidiStreamingServer[ServerReflectionRequest,ServerReflectionResponse])error}ServerReflectionServer is the server API for ServerReflection service.All implementations should embed UnimplementedServerReflectionServerfor forward compatibility.
typeServerReflection_ServerReflectionInfoClient¶
type ServerReflection_ServerReflectionInfoClient =grpc.BidiStreamingClient[ServerReflectionRequest,ServerReflectionResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
typeServerReflection_ServerReflectionInfoServer¶
type ServerReflection_ServerReflectionInfoServer =grpc.BidiStreamingServer[ServerReflectionRequest,ServerReflectionResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
typeServiceResponsedeprecated
type ServiceResponse struct {// Full name of a registered service, including its package name. The format// is <package>.<service>//// Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// contains filtered or unexported fields}The information of a single service used by ListServiceResponse to answerlist_services request.
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServiceResponse)Descriptordeprecated
func (*ServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServiceResponse.ProtoReflect.Descriptor instead.
func (*ServiceResponse)GetNamedeprecatedadded inv1.6.0
func (x *ServiceResponse) GetName()string
Deprecated: The entire proto file grpc/reflection/v1alpha/reflection.proto is marked as deprecated.
func (*ServiceResponse)ProtoMessage¶
func (*ServiceResponse) ProtoMessage()
func (*ServiceResponse)ProtoReflect¶added inv1.33.2
func (x *ServiceResponse) ProtoReflect()protoreflect.Message
func (*ServiceResponse)Reset¶
func (x *ServiceResponse) Reset()
func (*ServiceResponse)String¶
func (x *ServiceResponse) String()string
typeUnimplementedServerReflectionServer¶added inv1.24.0
type UnimplementedServerReflectionServer struct{}UnimplementedServerReflectionServer should be embedded to haveforward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nilpointer dereference when methods are called.
func (UnimplementedServerReflectionServer)ServerReflectionInfo¶added inv1.24.0
func (UnimplementedServerReflectionServer) ServerReflectionInfo(grpc.BidiStreamingServer[ServerReflectionRequest,ServerReflectionResponse])error
typeUnsafeServerReflectionServer¶added inv1.33.0
type UnsafeServerReflectionServer interface {// contains filtered or unexported methods}UnsafeServerReflectionServer may be embedded to opt out of forward compatibility for this service.Use of this interface is not recommended, as added methods to ServerReflectionServer willresult in compilation errors.