protobuf

package
v0.0.0-...-c2928eb Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ControlEnvProxyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "controlenvproxyserver.ControlEnvProxyService",
	HandlerType: (*ControlEnvProxyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CallUnaryMethod",
			Handler:    _ControlEnvProxyService_CallUnaryMethod_Handler,
		},
		{
			MethodName: "ListServices",
			Handler:    _ControlEnvProxyService_ListServices_Handler,
		},
		{
			MethodName: "ListMethods",
			Handler:    _ControlEnvProxyService_ListMethods_Handler,
		},
		{
			MethodName: "ListReqResType",
			Handler:    _ControlEnvProxyService_ListReqResType_Handler,
		},
		{
			MethodName: "TypeInformation",
			Handler:    _ControlEnvProxyService_TypeInformation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "control_env_proxy.proto",
}

ControlEnvProxyService_ServiceDesc is the grpc.ServiceDesc for ControlEnvProxyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_control_env_proxy_proto protoreflect.FileDescriptor

Functions

func RegisterControlEnvProxyServiceServer

func RegisterControlEnvProxyServiceServer(s grpc.ServiceRegistrar, srv ControlEnvProxyServiceServer)

Types

type CallUnaryMethodReply

type CallUnaryMethodReply struct {
	JsonFormattedProto string `protobuf:"bytes,1,opt,name=json_formatted_proto,json=jsonFormattedProto,proto3" json:"json_formatted_proto,omitempty"`
	// contains filtered or unexported fields
}

func (*CallUnaryMethodReply) Descriptor deprecated

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

Deprecated: Use CallUnaryMethodReply.ProtoReflect.Descriptor instead.

func (*CallUnaryMethodReply) GetJsonFormattedProto

func (x *CallUnaryMethodReply) GetJsonFormattedProto() string

func (*CallUnaryMethodReply) ProtoMessage

func (*CallUnaryMethodReply) ProtoMessage()

func (*CallUnaryMethodReply) ProtoReflect

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

func (*CallUnaryMethodReply) Reset

func (x *CallUnaryMethodReply) Reset()

func (*CallUnaryMethodReply) String

func (x *CallUnaryMethodReply) String() string

type CallUnaryMethodRequest

type CallUnaryMethodRequest struct {
	ServiceName        string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	MethodName         string `protobuf:"bytes,2,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	JsonFormattedProto string `protobuf:"bytes,3,opt,name=json_formatted_proto,json=jsonFormattedProto,proto3" json:"json_formatted_proto,omitempty"`
	// contains filtered or unexported fields
}

func (*CallUnaryMethodRequest) Descriptor deprecated

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

Deprecated: Use CallUnaryMethodRequest.ProtoReflect.Descriptor instead.

func (*CallUnaryMethodRequest) GetJsonFormattedProto

func (x *CallUnaryMethodRequest) GetJsonFormattedProto() string

func (*CallUnaryMethodRequest) GetMethodName

func (x *CallUnaryMethodRequest) GetMethodName() string

func (*CallUnaryMethodRequest) GetServiceName

func (x *CallUnaryMethodRequest) GetServiceName() string

func (*CallUnaryMethodRequest) ProtoMessage

func (*CallUnaryMethodRequest) ProtoMessage()

func (*CallUnaryMethodRequest) ProtoReflect

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

func (*CallUnaryMethodRequest) Reset

func (x *CallUnaryMethodRequest) Reset()

func (*CallUnaryMethodRequest) String

func (x *CallUnaryMethodRequest) String() string

type ControlEnvProxyServiceClient

type ControlEnvProxyServiceClient interface {
	CallUnaryMethod(ctx context.Context, in *CallUnaryMethodRequest, opts ...grpc.CallOption) (*CallUnaryMethodReply, error)
	ListServices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListServicesReply, error)
	ListMethods(ctx context.Context, in *ListMethodsRequest, opts ...grpc.CallOption) (*ListMethodsReply, error)
	ListReqResType(ctx context.Context, in *ListReqResTypeRequest, opts ...grpc.CallOption) (*ListReqResTypeReply, error)
	TypeInformation(ctx context.Context, in *TypeInformationRequest, opts ...grpc.CallOption) (*TypeInformationReply, error)
}

ControlEnvProxyServiceClient is the client API for ControlEnvProxyService 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 ControlEnvProxyServiceServer

type ControlEnvProxyServiceServer interface {
	CallUnaryMethod(context.Context, *CallUnaryMethodRequest) (*CallUnaryMethodReply, error)
	ListServices(context.Context, *emptypb.Empty) (*ListServicesReply, error)
	ListMethods(context.Context, *ListMethodsRequest) (*ListMethodsReply, error)
	ListReqResType(context.Context, *ListReqResTypeRequest) (*ListReqResTypeReply, error)
	TypeInformation(context.Context, *TypeInformationRequest) (*TypeInformationReply, error)
	// contains filtered or unexported methods
}

ControlEnvProxyServiceServer is the server API for ControlEnvProxyService service. All implementations must embed UnimplementedControlEnvProxyServiceServer for forward compatibility

type ListMethodsReply

type ListMethodsReply struct {
	Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMethodsReply) Descriptor deprecated

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

Deprecated: Use ListMethodsReply.ProtoReflect.Descriptor instead.

func (*ListMethodsReply) GetMethods

func (x *ListMethodsReply) GetMethods() []string

func (*ListMethodsReply) ProtoMessage

func (*ListMethodsReply) ProtoMessage()

func (*ListMethodsReply) ProtoReflect

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

func (*ListMethodsReply) Reset

func (x *ListMethodsReply) Reset()

func (*ListMethodsReply) String

func (x *ListMethodsReply) String() string

type ListMethodsRequest

type ListMethodsRequest struct {
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMethodsRequest) Descriptor deprecated

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

Deprecated: Use ListMethodsRequest.ProtoReflect.Descriptor instead.

func (*ListMethodsRequest) GetServiceName

func (x *ListMethodsRequest) GetServiceName() string

func (*ListMethodsRequest) ProtoMessage

func (*ListMethodsRequest) ProtoMessage()

func (*ListMethodsRequest) ProtoReflect

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

func (*ListMethodsRequest) Reset

func (x *ListMethodsRequest) Reset()

func (*ListMethodsRequest) String

func (x *ListMethodsRequest) String() string

type ListReqResTypeReply

type ListReqResTypeReply struct {
	RequestTypeName  string `protobuf:"bytes,1,opt,name=request_type_name,json=requestTypeName,proto3" json:"request_type_name,omitempty"`
	ResponseTypeName string `protobuf:"bytes,2,opt,name=response_type_name,json=responseTypeName,proto3" json:"response_type_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReqResTypeReply) Descriptor deprecated

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

Deprecated: Use ListReqResTypeReply.ProtoReflect.Descriptor instead.

func (*ListReqResTypeReply) GetRequestTypeName

func (x *ListReqResTypeReply) GetRequestTypeName() string

func (*ListReqResTypeReply) GetResponseTypeName

func (x *ListReqResTypeReply) GetResponseTypeName() string

func (*ListReqResTypeReply) ProtoMessage

func (*ListReqResTypeReply) ProtoMessage()

func (*ListReqResTypeReply) ProtoReflect

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

func (*ListReqResTypeReply) Reset

func (x *ListReqResTypeReply) Reset()

func (*ListReqResTypeReply) String

func (x *ListReqResTypeReply) String() string

type ListReqResTypeRequest

type ListReqResTypeRequest struct {
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	MethodName  string `protobuf:"bytes,2,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListReqResTypeRequest) Descriptor deprecated

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

Deprecated: Use ListReqResTypeRequest.ProtoReflect.Descriptor instead.

func (*ListReqResTypeRequest) GetMethodName

func (x *ListReqResTypeRequest) GetMethodName() string

func (*ListReqResTypeRequest) GetServiceName

func (x *ListReqResTypeRequest) GetServiceName() string

func (*ListReqResTypeRequest) ProtoMessage

func (*ListReqResTypeRequest) ProtoMessage()

func (*ListReqResTypeRequest) ProtoReflect

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

func (*ListReqResTypeRequest) Reset

func (x *ListReqResTypeRequest) Reset()

func (*ListReqResTypeRequest) String

func (x *ListReqResTypeRequest) String() string

type ListServicesReply

type ListServicesReply struct {
	Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServicesReply) Descriptor deprecated

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

Deprecated: Use ListServicesReply.ProtoReflect.Descriptor instead.

func (*ListServicesReply) GetServices

func (x *ListServicesReply) GetServices() []string

func (*ListServicesReply) ProtoMessage

func (*ListServicesReply) ProtoMessage()

func (*ListServicesReply) ProtoReflect

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

func (*ListServicesReply) Reset

func (x *ListServicesReply) Reset()

func (*ListServicesReply) String

func (x *ListServicesReply) String() string

type TypeInformationReply

type TypeInformationReply struct {
	TextFormattedTypeInfo string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TypeInformationReply) Descriptor deprecated

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

Deprecated: Use TypeInformationReply.ProtoReflect.Descriptor instead.

func (*TypeInformationReply) GetTextFormattedTypeInfo

func (x *TypeInformationReply) GetTextFormattedTypeInfo() string

func (*TypeInformationReply) ProtoMessage

func (*TypeInformationReply) ProtoMessage()

func (*TypeInformationReply) ProtoReflect

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

func (*TypeInformationReply) Reset

func (x *TypeInformationReply) Reset()

func (*TypeInformationReply) String

func (x *TypeInformationReply) String() string

type TypeInformationRequest

type TypeInformationRequest struct {
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	TypeName    string `protobuf:"bytes,2,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeInformationRequest) Descriptor deprecated

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

Deprecated: Use TypeInformationRequest.ProtoReflect.Descriptor instead.

func (*TypeInformationRequest) GetServiceName

func (x *TypeInformationRequest) GetServiceName() string

func (*TypeInformationRequest) GetTypeName

func (x *TypeInformationRequest) GetTypeName() string

func (*TypeInformationRequest) ProtoMessage

func (*TypeInformationRequest) ProtoMessage()

func (*TypeInformationRequest) ProtoReflect

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

func (*TypeInformationRequest) Reset

func (x *TypeInformationRequest) Reset()

func (*TypeInformationRequest) String

func (x *TypeInformationRequest) String() string

type UnimplementedControlEnvProxyServiceServer

type UnimplementedControlEnvProxyServiceServer struct {
}

UnimplementedControlEnvProxyServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedControlEnvProxyServiceServer) CallUnaryMethod

func (UnimplementedControlEnvProxyServiceServer) ListMethods

func (UnimplementedControlEnvProxyServiceServer) ListReqResType

func (UnimplementedControlEnvProxyServiceServer) ListServices

func (UnimplementedControlEnvProxyServiceServer) TypeInformation

type UnsafeControlEnvProxyServiceServer

type UnsafeControlEnvProxyServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeControlEnvProxyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ControlEnvProxyServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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