reflectionv1beta1

package
v0.1.0-alpha8 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_base_reflection_v1beta1_reflection_proto protoreflect.FileDescriptor
View Source
var ReflectionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.base.reflection.v1beta1.ReflectionService",
	HandlerType: (*ReflectionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAllInterfaces",
			Handler:    _ReflectionService_ListAllInterfaces_Handler,
		},
		{
			MethodName: "ListImplementations",
			Handler:    _ReflectionService_ListImplementations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/base/reflection/v1beta1/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 ListAllInterfacesRequest

type ListAllInterfacesRequest struct {
	// contains filtered or unexported fields
}

ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC.

func (*ListAllInterfacesRequest) Descriptor deprecated

func (*ListAllInterfacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAllInterfacesRequest.ProtoReflect.Descriptor instead.

func (*ListAllInterfacesRequest) ProtoMessage

func (*ListAllInterfacesRequest) ProtoMessage()

func (*ListAllInterfacesRequest) ProtoReflect

func (x *ListAllInterfacesRequest) ProtoReflect() protoreflect.Message

func (*ListAllInterfacesRequest) Reset

func (x *ListAllInterfacesRequest) Reset()

func (*ListAllInterfacesRequest) String

func (x *ListAllInterfacesRequest) String() string

type ListAllInterfacesResponse

type ListAllInterfacesResponse struct {

	// interface_names is an array of all the registered interfaces.
	InterfaceNames []string `protobuf:"bytes,1,rep,name=interface_names,json=interfaceNames,proto3" json:"interface_names,omitempty"`
	// contains filtered or unexported fields
}

ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC.

func (*ListAllInterfacesResponse) Descriptor deprecated

func (*ListAllInterfacesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAllInterfacesResponse.ProtoReflect.Descriptor instead.

func (*ListAllInterfacesResponse) GetInterfaceNames

func (x *ListAllInterfacesResponse) GetInterfaceNames() []string

func (*ListAllInterfacesResponse) ProtoMessage

func (*ListAllInterfacesResponse) ProtoMessage()

func (*ListAllInterfacesResponse) ProtoReflect

func (*ListAllInterfacesResponse) Reset

func (x *ListAllInterfacesResponse) Reset()

func (*ListAllInterfacesResponse) String

func (x *ListAllInterfacesResponse) String() string

type ListImplementationsRequest

type ListImplementationsRequest struct {

	// interface_name defines the interface to query the implementations for.
	InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
	// contains filtered or unexported fields
}

ListImplementationsRequest is the request type of the ListImplementations RPC.

func (*ListImplementationsRequest) Descriptor deprecated

func (*ListImplementationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListImplementationsRequest.ProtoReflect.Descriptor instead.

func (*ListImplementationsRequest) GetInterfaceName

func (x *ListImplementationsRequest) GetInterfaceName() string

func (*ListImplementationsRequest) ProtoMessage

func (*ListImplementationsRequest) ProtoMessage()

func (*ListImplementationsRequest) ProtoReflect

func (*ListImplementationsRequest) Reset

func (x *ListImplementationsRequest) Reset()

func (*ListImplementationsRequest) String

func (x *ListImplementationsRequest) String() string

type ListImplementationsResponse

type ListImplementationsResponse struct {
	ImplementationMessageNames []string `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

ListImplementationsResponse is the response type of the ListImplementations RPC.

func (*ListImplementationsResponse) Descriptor deprecated

func (*ListImplementationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListImplementationsResponse.ProtoReflect.Descriptor instead.

func (*ListImplementationsResponse) GetImplementationMessageNames

func (x *ListImplementationsResponse) GetImplementationMessageNames() []string

func (*ListImplementationsResponse) ProtoMessage

func (*ListImplementationsResponse) ProtoMessage()

func (*ListImplementationsResponse) ProtoReflect

func (*ListImplementationsResponse) Reset

func (x *ListImplementationsResponse) Reset()

func (*ListImplementationsResponse) String

func (x *ListImplementationsResponse) String() string

type ReflectionServiceClient

type ReflectionServiceClient interface {
	// ListAllInterfaces lists all the interfaces registered in the interface
	// registry.
	ListAllInterfaces(ctx context.Context, in *ListAllInterfacesRequest, opts ...grpc.CallOption) (*ListAllInterfacesResponse, error)
	// ListImplementations list all the concrete types that implement a given
	// interface.
	ListImplementations(ctx context.Context, in *ListImplementationsRequest, opts ...grpc.CallOption) (*ListImplementationsResponse, 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.

func NewReflectionServiceClient

func NewReflectionServiceClient(cc grpc.ClientConnInterface) ReflectionServiceClient

type ReflectionServiceServer

type ReflectionServiceServer interface {
	// ListAllInterfaces lists all the interfaces registered in the interface
	// registry.
	ListAllInterfaces(context.Context, *ListAllInterfacesRequest) (*ListAllInterfacesResponse, error)
	// ListImplementations list all the concrete types that implement a given
	// interface.
	ListImplementations(context.Context, *ListImplementationsRequest) (*ListImplementationsResponse, 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) ListAllInterfaces

func (UnimplementedReflectionServiceServer) ListImplementations

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