reflectionv1

package
v0.6.5-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_reflection_v1_reflection_proto protoreflect.FileDescriptor
View Source
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

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.

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

type UnimplementedReflectionServiceServer

type UnimplementedReflectionServiceServer struct {
}

UnimplementedReflectionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedReflectionServiceServer) FileDescriptors

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL