Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterReflectionServiceServer(s grpc.ServiceRegistrar, srv ReflectionServiceServer)
- type FileDescriptorsRequest
- type FileDescriptorsResponse
- func (*FileDescriptorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FileDescriptorsResponse) GetFiles() []*descriptorpb.FileDescriptorProto
- func (*FileDescriptorsResponse) ProtoMessage()
- func (x *FileDescriptorsResponse) ProtoReflect() protoreflect.Message
- func (x *FileDescriptorsResponse) Reset()
- func (x *FileDescriptorsResponse) String() string
- type ReflectionServiceClient
- type ReflectionServiceServer
- type UnimplementedReflectionServiceServer
- type UnsafeReflectionServiceServer
Constants ¶
const (
ReflectionService_FileDescriptors_FullMethodName = "/cosmos.reflection.v1.ReflectionService/FileDescriptors"
)
Variables ¶
var File_cosmos_reflection_v1_reflection_proto protoreflect.FileDescriptor
var ReflectionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cosmos.reflection.v1.ReflectionService", HandlerType: (*ReflectionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FileDescriptors", Handler: _ReflectionService_FileDescriptors_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cosmos/reflection/v1/reflection.proto", }
ReflectionService_ServiceDesc is the grpc.ServiceDesc for ReflectionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterReflectionServiceServer ¶
func RegisterReflectionServiceServer(s grpc.ServiceRegistrar, srv ReflectionServiceServer)
Types ¶
type FileDescriptorsRequest ¶
type FileDescriptorsRequest struct {
// contains filtered or unexported fields
}
FileDescriptorsRequest is the Query/FileDescriptors request type.
func (*FileDescriptorsRequest) Descriptor
deprecated
func (*FileDescriptorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileDescriptorsRequest.ProtoReflect.Descriptor instead.
func (*FileDescriptorsRequest) ProtoMessage ¶
func (*FileDescriptorsRequest) ProtoMessage()
func (*FileDescriptorsRequest) ProtoReflect ¶
func (x *FileDescriptorsRequest) ProtoReflect() protoreflect.Message
func (*FileDescriptorsRequest) Reset ¶
func (x *FileDescriptorsRequest) Reset()
func (*FileDescriptorsRequest) String ¶
func (x *FileDescriptorsRequest) String() string
type FileDescriptorsResponse ¶
type FileDescriptorsResponse struct { // files is the file descriptors. Files []*descriptorpb.FileDescriptorProto `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
FileDescriptorsResponse is the Query/FileDescriptors response type.
func (*FileDescriptorsResponse) Descriptor
deprecated
func (*FileDescriptorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FileDescriptorsResponse.ProtoReflect.Descriptor instead.
func (*FileDescriptorsResponse) GetFiles ¶ added in v0.2.3
func (x *FileDescriptorsResponse) GetFiles() []*descriptorpb.FileDescriptorProto
func (*FileDescriptorsResponse) ProtoMessage ¶
func (*FileDescriptorsResponse) ProtoMessage()
func (*FileDescriptorsResponse) ProtoReflect ¶
func (x *FileDescriptorsResponse) ProtoReflect() protoreflect.Message
func (*FileDescriptorsResponse) Reset ¶
func (x *FileDescriptorsResponse) Reset()
func (*FileDescriptorsResponse) String ¶
func (x *FileDescriptorsResponse) String() string
type ReflectionServiceClient ¶
type ReflectionServiceClient interface { // FileDescriptors queries all the file descriptors in the app in order // to enable easier generation of dynamic clients. FileDescriptors(ctx context.Context, in *FileDescriptorsRequest, opts ...grpc.CallOption) (*FileDescriptorsResponse, error) }
ReflectionServiceClient is the client API for ReflectionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
Package cosmos.reflection.v1 provides support for inspecting protobuf file descriptors.
func NewReflectionServiceClient ¶
func NewReflectionServiceClient(cc grpc.ClientConnInterface) ReflectionServiceClient
type ReflectionServiceServer ¶
type ReflectionServiceServer interface { // FileDescriptors queries all the file descriptors in the app in order // to enable easier generation of dynamic clients. FileDescriptors(context.Context, *FileDescriptorsRequest) (*FileDescriptorsResponse, error) // contains filtered or unexported methods }
ReflectionServiceServer is the server API for ReflectionService service. All implementations must embed UnimplementedReflectionServiceServer for forward compatibility.
Package cosmos.reflection.v1 provides support for inspecting protobuf file descriptors.
type UnimplementedReflectionServiceServer ¶
type UnimplementedReflectionServiceServer struct{}
UnimplementedReflectionServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedReflectionServiceServer) FileDescriptors ¶
func (UnimplementedReflectionServiceServer) FileDescriptors(context.Context, *FileDescriptorsRequest) (*FileDescriptorsResponse, error)
type UnsafeReflectionServiceServer ¶
type UnsafeReflectionServiceServer interface {
// contains filtered or unexported methods
}
UnsafeReflectionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReflectionServiceServer will result in compilation errors.