testvalidatev1

package
v2.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TestValidateService_Send_FullMethodName       = "/testing.testvalidate.v1.TestValidateService/Send"
	TestValidateService_SendStream_FullMethodName = "/testing.testvalidate.v1.TestValidateService/SendStream"
)

Variables

View Source
var File_testing_testvalidate_v1_test_validate_proto protoreflect.FileDescriptor
View Source
var TestValidateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "testing.testvalidate.v1.TestValidateService",
	HandlerType: (*TestValidateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Send",
			Handler:    _TestValidateService_Send_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SendStream",
			Handler:       _TestValidateService_SendStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "testing/testvalidate/v1/test_validate.proto",
}

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

Functions

func RegisterTestValidateServiceServer

func RegisterTestValidateServiceServer(s grpc.ServiceRegistrar, srv TestValidateServiceServer)

Types

type SendRequest

type SendRequest struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SendRequest) Descriptor deprecated

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

Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.

func (*SendRequest) GetMessage

func (x *SendRequest) GetMessage() string

func (*SendRequest) ProtoMessage

func (*SendRequest) ProtoMessage()

func (*SendRequest) ProtoReflect

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

func (*SendRequest) Reset

func (x *SendRequest) Reset()

func (*SendRequest) String

func (x *SendRequest) String() string

type SendResponse

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

func (*SendResponse) Descriptor deprecated

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

Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.

func (*SendResponse) ProtoMessage

func (*SendResponse) ProtoMessage()

func (*SendResponse) ProtoReflect

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

func (*SendResponse) Reset

func (x *SendResponse) Reset()

func (*SendResponse) String

func (x *SendResponse) String() string

type SendStreamRequest

type SendStreamRequest struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SendStreamRequest) Descriptor deprecated

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

Deprecated: Use SendStreamRequest.ProtoReflect.Descriptor instead.

func (*SendStreamRequest) GetMessage

func (x *SendStreamRequest) GetMessage() string

func (*SendStreamRequest) ProtoMessage

func (*SendStreamRequest) ProtoMessage()

func (*SendStreamRequest) ProtoReflect

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

func (*SendStreamRequest) Reset

func (x *SendStreamRequest) Reset()

func (*SendStreamRequest) String

func (x *SendStreamRequest) String() string

type SendStreamResponse

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

func (*SendStreamResponse) Descriptor deprecated

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

Deprecated: Use SendStreamResponse.ProtoReflect.Descriptor instead.

func (*SendStreamResponse) ProtoMessage

func (*SendStreamResponse) ProtoMessage()

func (*SendStreamResponse) ProtoReflect

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

func (*SendStreamResponse) Reset

func (x *SendStreamResponse) Reset()

func (*SendStreamResponse) String

func (x *SendStreamResponse) String() string

type TestValidateServiceClient

type TestValidateServiceClient interface {
	Send(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error)
	SendStream(ctx context.Context, in *SendStreamRequest, opts ...grpc.CallOption) (TestValidateService_SendStreamClient, error)
}

TestValidateServiceClient is the client API for TestValidateService 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 TestValidateServiceServer

type TestValidateServiceServer interface {
	Send(context.Context, *SendRequest) (*SendResponse, error)
	SendStream(*SendStreamRequest, TestValidateService_SendStreamServer) error
}

TestValidateServiceServer is the server API for TestValidateService service. All implementations should embed UnimplementedTestValidateServiceServer for forward compatibility

type TestValidateService_SendStreamClient

type TestValidateService_SendStreamClient interface {
	Recv() (*SendStreamResponse, error)
	grpc.ClientStream
}

type TestValidateService_SendStreamServer

type TestValidateService_SendStreamServer interface {
	Send(*SendStreamResponse) error
	grpc.ServerStream
}

type UnimplementedTestValidateServiceServer

type UnimplementedTestValidateServiceServer struct {
}

UnimplementedTestValidateServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTestValidateServiceServer) Send

func (UnimplementedTestValidateServiceServer) SendStream

type UnsafeTestValidateServiceServer

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

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

Jump to

Keyboard shortcuts

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