testservice

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	TestService_SendHello_FullMethodName = "/temporal.server.api.testservice.v1.TestService/SendHello"
)

Variables

View Source
var File_temporal_server_api_testservice_v1_request_response_proto protoreflect.FileDescriptor
View Source
var File_temporal_server_api_testservice_v1_service_proto protoreflect.FileDescriptor
View Source
var TestService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "temporal.server.api.testservice.v1.TestService",
	HandlerType: (*TestServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SendHello",
			Handler:    _TestService_SendHello_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "temporal/server/api/testservice/v1/service.proto",
}

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

Functions

func RegisterTestServiceServer

func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer)

Types

type SendHelloRequest

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

func (*SendHelloRequest) Descriptor deprecated

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

Deprecated: Use SendHelloRequest.ProtoReflect.Descriptor instead.

func (*SendHelloRequest) Equal

func (this *SendHelloRequest) Equal(that interface{}) bool

Equal returns whether two SendHelloRequest values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*SendHelloRequest) GetName

func (x *SendHelloRequest) GetName() string

func (*SendHelloRequest) Marshal

func (val *SendHelloRequest) Marshal() ([]byte, error)

Marshal an object of type SendHelloRequest to the protobuf v3 wire format

func (*SendHelloRequest) ProtoMessage

func (*SendHelloRequest) ProtoMessage()

func (*SendHelloRequest) ProtoReflect

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

func (*SendHelloRequest) Reset

func (x *SendHelloRequest) Reset()

func (*SendHelloRequest) Size

func (val *SendHelloRequest) Size() int

Size returns the size of the object, in bytes, once serialized

func (*SendHelloRequest) String

func (x *SendHelloRequest) String() string

func (*SendHelloRequest) Unmarshal

func (val *SendHelloRequest) Unmarshal(buf []byte) error

Unmarshal an object of type SendHelloRequest from the protobuf v3 wire format

type SendHelloResponse

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

func (*SendHelloResponse) Descriptor deprecated

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

Deprecated: Use SendHelloResponse.ProtoReflect.Descriptor instead.

func (*SendHelloResponse) Equal

func (this *SendHelloResponse) Equal(that interface{}) bool

Equal returns whether two SendHelloResponse values are equivalent by recursively comparing the message's fields. For more information see the documentation for https://pkg.go.dev/google.golang.org/protobuf/proto#Equal

func (*SendHelloResponse) GetMessage

func (x *SendHelloResponse) GetMessage() string

func (*SendHelloResponse) Marshal

func (val *SendHelloResponse) Marshal() ([]byte, error)

Marshal an object of type SendHelloResponse to the protobuf v3 wire format

func (*SendHelloResponse) ProtoMessage

func (*SendHelloResponse) ProtoMessage()

func (*SendHelloResponse) ProtoReflect

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

func (*SendHelloResponse) Reset

func (x *SendHelloResponse) Reset()

func (*SendHelloResponse) Size

func (val *SendHelloResponse) Size() int

Size returns the size of the object, in bytes, once serialized

func (*SendHelloResponse) String

func (x *SendHelloResponse) String() string

func (*SendHelloResponse) Unmarshal

func (val *SendHelloResponse) Unmarshal(buf []byte) error

Unmarshal an object of type SendHelloResponse from the protobuf v3 wire format

type TestServiceClient

type TestServiceClient interface {
	// Sends a greeting
	SendHello(ctx context.Context, in *SendHelloRequest, opts ...grpc.CallOption) (*SendHelloResponse, error)
}

TestServiceClient is the client API for TestService 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 TestServiceServer

type TestServiceServer interface {
	// Sends a greeting
	SendHello(context.Context, *SendHelloRequest) (*SendHelloResponse, error)
	// contains filtered or unexported methods
}

TestServiceServer is the server API for TestService service. All implementations must embed UnimplementedTestServiceServer for forward compatibility

type UnimplementedTestServiceServer

type UnimplementedTestServiceServer struct {
}

UnimplementedTestServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTestServiceServer) SendHello

type UnsafeTestServiceServer

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

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

Jump to

Keyboard shortcuts

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