hello_test

package
v0.6.12 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_body_extractor_fixtures_hello_world_proto protoreflect.FileDescriptor
View Source
var HelloTestService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hello.helloTestService",
	HandlerType: (*HelloTestServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Greet",
			Handler:    _HelloTestService_Greet_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/body_extractor/fixtures/hello_world.proto",
}

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

Functions

func RegisterHelloTestServiceServer

func RegisterHelloTestServiceServer(s grpc.ServiceRegistrar, srv HelloTestServiceServer)

Types

type HelloTestServiceClient

type HelloTestServiceClient interface {
	Greet(ctx context.Context, in *NestedMessageL0, opts ...grpc.CallOption) (*NestedMessageL0, error)
}

HelloTestServiceClient is the client API for HelloTestService 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 HelloTestServiceServer

type HelloTestServiceServer interface {
	Greet(context.Context, *NestedMessageL0) (*NestedMessageL0, error)
	// contains filtered or unexported methods
}

HelloTestServiceServer is the server API for HelloTestService service. All implementations must embed UnimplementedHelloTestServiceServer for forward compatibility

type NestedMessageL0

type NestedMessageL0 struct {
	L1 *NestedMessageL1 `protobuf:"bytes,1,opt,name=l1,proto3" json:"l1,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedMessageL0) Descriptor deprecated

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

Deprecated: Use NestedMessageL0.ProtoReflect.Descriptor instead.

func (*NestedMessageL0) GetL1

func (x *NestedMessageL0) GetL1() *NestedMessageL1

func (*NestedMessageL0) ProtoMessage

func (*NestedMessageL0) ProtoMessage()

func (*NestedMessageL0) ProtoReflect

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

func (*NestedMessageL0) Reset

func (x *NestedMessageL0) Reset()

func (*NestedMessageL0) String

func (x *NestedMessageL0) String() string

type NestedMessageL1

type NestedMessageL1 struct {
	L2 *NestedMessageL2 `protobuf:"bytes,2,opt,name=l2,proto3" json:"l2,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedMessageL1) Descriptor deprecated

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

Deprecated: Use NestedMessageL1.ProtoReflect.Descriptor instead.

func (*NestedMessageL1) GetL2

func (x *NestedMessageL1) GetL2() *NestedMessageL2

func (*NestedMessageL1) ProtoMessage

func (*NestedMessageL1) ProtoMessage()

func (*NestedMessageL1) ProtoReflect

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

func (*NestedMessageL1) Reset

func (x *NestedMessageL1) Reset()

func (*NestedMessageL1) String

func (x *NestedMessageL1) String() string

type NestedMessageL2

type NestedMessageL2 struct {
	L3 []*NestedMessageL3 `protobuf:"bytes,7,rep,name=l3,proto3" json:"l3,omitempty"`
	L4 []*NestedMessageL4 `protobuf:"bytes,8,rep,name=l4,proto3" json:"l4,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedMessageL2) Descriptor deprecated

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

Deprecated: Use NestedMessageL2.ProtoReflect.Descriptor instead.

func (*NestedMessageL2) GetL3

func (x *NestedMessageL2) GetL3() []*NestedMessageL3

func (*NestedMessageL2) GetL4

func (x *NestedMessageL2) GetL4() []*NestedMessageL4

func (*NestedMessageL2) ProtoMessage

func (*NestedMessageL2) ProtoMessage()

func (*NestedMessageL2) ProtoReflect

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

func (*NestedMessageL2) Reset

func (x *NestedMessageL2) Reset()

func (*NestedMessageL2) String

func (x *NestedMessageL2) String() string

type NestedMessageL3

type NestedMessageL3 struct {
	S1L3 string           `protobuf:"bytes,1,opt,name=s1l3,proto3" json:"s1l3,omitempty"`
	L5   *NestedMessageL5 `protobuf:"bytes,9,opt,name=l5,proto3" json:"l5,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedMessageL3) Descriptor deprecated

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

Deprecated: Use NestedMessageL3.ProtoReflect.Descriptor instead.

func (*NestedMessageL3) GetL5

func (x *NestedMessageL3) GetL5() *NestedMessageL5

func (*NestedMessageL3) GetS1L3

func (x *NestedMessageL3) GetS1L3() string

func (*NestedMessageL3) ProtoMessage

func (*NestedMessageL3) ProtoMessage()

func (*NestedMessageL3) ProtoReflect

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

func (*NestedMessageL3) Reset

func (x *NestedMessageL3) Reset()

func (*NestedMessageL3) String

func (x *NestedMessageL3) String() string

type NestedMessageL4

type NestedMessageL4 struct {
	S1L4 string   `protobuf:"bytes,1,opt,name=s1l4,proto3" json:"s1l4,omitempty"`
	S3L4 []string `protobuf:"bytes,3,rep,name=s3l4,proto3" json:"s3l4,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedMessageL4) Descriptor deprecated

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

Deprecated: Use NestedMessageL4.ProtoReflect.Descriptor instead.

func (*NestedMessageL4) GetS1L4

func (x *NestedMessageL4) GetS1L4() string

func (*NestedMessageL4) GetS3L4

func (x *NestedMessageL4) GetS3L4() []string

func (*NestedMessageL4) ProtoMessage

func (*NestedMessageL4) ProtoMessage()

func (*NestedMessageL4) ProtoReflect

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

func (*NestedMessageL4) Reset

func (x *NestedMessageL4) Reset()

func (*NestedMessageL4) String

func (x *NestedMessageL4) String() string

type NestedMessageL5

type NestedMessageL5 struct {
	S1L5 string `protobuf:"bytes,12,opt,name=s1l5,proto3" json:"s1l5,omitempty"`
	// contains filtered or unexported fields
}

func (*NestedMessageL5) Descriptor deprecated

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

Deprecated: Use NestedMessageL5.ProtoReflect.Descriptor instead.

func (*NestedMessageL5) GetS1L5

func (x *NestedMessageL5) GetS1L5() string

func (*NestedMessageL5) ProtoMessage

func (*NestedMessageL5) ProtoMessage()

func (*NestedMessageL5) ProtoReflect

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

func (*NestedMessageL5) Reset

func (x *NestedMessageL5) Reset()

func (*NestedMessageL5) String

func (x *NestedMessageL5) String() string

type UnimplementedHelloTestServiceServer

type UnimplementedHelloTestServiceServer struct {
}

UnimplementedHelloTestServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHelloTestServiceServer) Greet

type UnsafeHelloTestServiceServer

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

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

Jump to

Keyboard shortcuts

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