Documentation ¶
Index ¶
- Variables
- func RegisterRPCTestService(host rpc.ServiceRegistry, service RPCTestService)
- type Bar
- type Bar_Foo
- func (*Bar_Foo) Descriptor() ([]byte, []int)deprecated
- func (x *Bar_Foo) GetTestBarFoo() *Bar_Foo
- func (x *Bar_Foo) GetTestFoo() *Foo
- func (x *Bar_Foo) GetTestInternalFoo() *internal.Foo
- func (*Bar_Foo) ProtoMessage()
- func (x *Bar_Foo) ProtoReflect() protoreflect.Message
- func (x *Bar_Foo) Reset()
- func (x *Bar_Foo) String() string
- type Bar_Foo_Bar
- func (*Bar_Foo_Bar) Descriptor() ([]byte, []int)deprecated
- func (x *Bar_Foo_Bar) GetTestBarFoo() *Bar_Foo
- func (x *Bar_Foo_Bar) GetTestBarFoo2() *Bar_Foo
- func (x *Bar_Foo_Bar) GetTestBarFooBar() *Bar_Foo_Bar
- func (x *Bar_Foo_Bar) GetTestBarFooBar2() *Bar_Foo_Bar
- func (x *Bar_Foo_Bar) GetTestFoo() *Foo
- func (x *Bar_Foo_Bar) GetTestInternalBarFoo() *internal.Bar_Foo
- func (x *Bar_Foo_Bar) GetTestInternalBarFooBar() *internal.Bar_Foo_Bar
- func (x *Bar_Foo_Bar) GetTestInternalFoo() *internal.Foo
- func (*Bar_Foo_Bar) ProtoMessage()
- func (x *Bar_Foo_Bar) ProtoReflect() protoreflect.Message
- func (x *Bar_Foo_Bar) Reset()
- func (x *Bar_Foo_Bar) String() string
- type Foo
- type RPCCallStreamRequest
- func (*RPCCallStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RPCCallStreamRequest) GetCount() uint64
- func (x *RPCCallStreamRequest) GetId() uint64
- func (*RPCCallStreamRequest) ProtoMessage()
- func (x *RPCCallStreamRequest) ProtoReflect() protoreflect.Message
- func (x *RPCCallStreamRequest) Reset()
- func (x *RPCCallStreamRequest) String() string
- type RPCCallStreamResponse
- func (*RPCCallStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RPCCallStreamResponse) GetId() uint64
- func (*RPCCallStreamResponse) ProtoMessage()
- func (x *RPCCallStreamResponse) ProtoReflect() protoreflect.Message
- func (x *RPCCallStreamResponse) Reset()
- func (x *RPCCallStreamResponse) String() string
- type RPCCallUnaryRequest
- func (*RPCCallUnaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RPCCallUnaryRequest) GetId() uint64
- func (*RPCCallUnaryRequest) ProtoMessage()
- func (x *RPCCallUnaryRequest) ProtoReflect() protoreflect.Message
- func (x *RPCCallUnaryRequest) Reset()
- func (x *RPCCallUnaryRequest) String() string
- type RPCCallUnaryResponse
- func (*RPCCallUnaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RPCCallUnaryResponse) GetId() uint64
- func (*RPCCallUnaryResponse) ProtoMessage()
- func (x *RPCCallUnaryResponse) ProtoReflect() protoreflect.Message
- func (x *RPCCallUnaryResponse) Reset()
- func (x *RPCCallUnaryResponse) String() string
- type RPCTestClient
- type RPCTestService
- type SiblingMessage
- type TestMessage
- func (*TestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestMessage) GetBoolValue() bool
- func (x *TestMessage) GetBytesValue() []byte
- func (x *TestMessage) GetDoubleValue() float64
- func (x *TestMessage) GetEmbeddedMessageValue() *TestMessage_EmbeddedMessage
- func (x *TestMessage) GetEnumValue() TestMessage_TestEnum
- func (x *TestMessage) GetFixed32Value() uint32
- func (x *TestMessage) GetFixed64Value() uint64
- func (x *TestMessage) GetFloatValue() float32
- func (x *TestMessage) GetInt32EmbeddedMessageMapValue() map[int32]*TestMessage_EmbeddedMessage
- func (x *TestMessage) GetInt32Int32MapValue() map[int32]int32
- func (x *TestMessage) GetInt32Int64MapValue() map[int32]int64
- func (x *TestMessage) GetInt32StringMapValue() map[int32]string
- func (x *TestMessage) GetInt32Value() int32
- func (x *TestMessage) GetInt64EmbeddedMessageMapValue() map[int64]*TestMessage_EmbeddedMessage
- func (x *TestMessage) GetInt64Int32MapValue() map[int64]int32
- func (x *TestMessage) GetInt64Int64MapValue() map[int64]int64
- func (x *TestMessage) GetInt64StringMapValue() map[int64]string
- func (x *TestMessage) GetInt64Value() int64
- func (x *TestMessage) GetRepeatedEmbeddedMessageMapValue() []*TestMessage_EmbeddedMessage
- func (x *TestMessage) GetRepeatedInt32MapValue() []int32
- func (x *TestMessage) GetRepeatedInt64MapValue() []int64
- func (x *TestMessage) GetRepeatedStringMapValue() []string
- func (x *TestMessage) GetSfixed64Value() int64
- func (x *TestMessage) GetSfixedValue() int32
- func (x *TestMessage) GetSiblingMessageValue() *SiblingMessage
- func (x *TestMessage) GetSint32Value() int32
- func (x *TestMessage) GetSint64Value() int64
- func (x *TestMessage) GetStringEmbeddedMessageMapValue() map[string]*TestMessage_EmbeddedMessage
- func (x *TestMessage) GetStringInt32MapValue() map[string]int32
- func (x *TestMessage) GetStringInt64MapValue() map[string]int64
- func (x *TestMessage) GetStringStringMapValue() map[string]string
- func (x *TestMessage) GetStringValue() string
- func (x *TestMessage) GetUint32Value() uint32
- func (x *TestMessage) GetUint64Value() uint64
- func (*TestMessage) ProtoMessage()
- func (x *TestMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage) Reset()
- func (x *TestMessage) String() string
- type TestMessage_EmbeddedMessage
- func (*TestMessage_EmbeddedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestMessage_EmbeddedMessage) GetEmbeddedValue() int32
- func (*TestMessage_EmbeddedMessage) ProtoMessage()
- func (x *TestMessage_EmbeddedMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage_EmbeddedMessage) Reset()
- func (x *TestMessage_EmbeddedMessage) String() string
- type TestMessage_TestEnum
- func (TestMessage_TestEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestMessage_TestEnum) Enum() *TestMessage_TestEnum
- func (TestMessage_TestEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestMessage_TestEnum) Number() protoreflect.EnumNumber
- func (x TestMessage_TestEnum) String() string
- func (TestMessage_TestEnum) Type() protoreflect.EnumType
- type UnimplementedRPCTestService
Constants ¶
This section is empty.
Variables ¶
var ( TestMessage_TestEnum_name = map[int32]string{ 0: "TEST_ENUM_VAL_0", 1: "TEST_ENUM_VAL_1", 2: "TEST_ENUM_VAL_2", } TestMessage_TestEnum_value = map[string]int32{ "TEST_ENUM_VAL_0": 0, "TEST_ENUM_VAL_1": 1, "TEST_ENUM_VAL_2": 2, } )
Enum value maps for TestMessage_TestEnum.
var File_test_message_proto protoreflect.FileDescriptor
var File_test_rpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterRPCTestService ¶
func RegisterRPCTestService(host rpc.ServiceRegistry, service RPCTestService)
RegisterRPCTestService ...
Types ¶
type Bar ¶ added in v0.3.3
type Bar struct { TestFoo *Foo `protobuf:"bytes,1,opt,name=test_foo,json=testFoo,proto3" json:"test_foo,omitempty"` TestBarFoo *Bar_Foo `protobuf:"bytes,2,opt,name=test_bar_foo,json=testBarFoo,proto3" json:"test_bar_foo,omitempty"` TestInternalFoo *internal.Foo `protobuf:"bytes,3,opt,name=test_internal_foo,json=testInternalFoo,proto3" json:"test_internal_foo,omitempty"` // contains filtered or unexported fields }
func (*Bar) Descriptor
deprecated
added in
v0.3.3
func (*Bar) GetTestBarFoo ¶ added in v0.3.3
func (*Bar) GetTestFoo ¶ added in v0.3.3
func (*Bar) GetTestInternalFoo ¶ added in v0.3.3
func (*Bar) ProtoMessage ¶ added in v0.3.3
func (*Bar) ProtoMessage()
func (*Bar) ProtoReflect ¶ added in v0.3.3
func (x *Bar) ProtoReflect() protoreflect.Message
type Bar_Foo ¶ added in v0.3.3
type Bar_Foo struct { TestFoo *Foo `protobuf:"bytes,1,opt,name=test_foo,json=testFoo,proto3" json:"test_foo,omitempty"` TestBarFoo *Bar_Foo `protobuf:"bytes,2,opt,name=test_bar_foo,json=testBarFoo,proto3" json:"test_bar_foo,omitempty"` TestInternalFoo *internal.Foo `protobuf:"bytes,3,opt,name=test_internal_foo,json=testInternalFoo,proto3" json:"test_internal_foo,omitempty"` // contains filtered or unexported fields }
func (*Bar_Foo) Descriptor
deprecated
added in
v0.3.3
func (*Bar_Foo) GetTestBarFoo ¶ added in v0.3.3
func (*Bar_Foo) GetTestFoo ¶ added in v0.3.3
func (*Bar_Foo) GetTestInternalFoo ¶ added in v0.3.3
func (*Bar_Foo) ProtoMessage ¶ added in v0.3.3
func (*Bar_Foo) ProtoMessage()
func (*Bar_Foo) ProtoReflect ¶ added in v0.3.3
func (x *Bar_Foo) ProtoReflect() protoreflect.Message
type Bar_Foo_Bar ¶ added in v0.3.3
type Bar_Foo_Bar struct { TestFoo *Foo `protobuf:"bytes,1,opt,name=test_foo,json=testFoo,proto3" json:"test_foo,omitempty"` TestBarFoo *Bar_Foo `protobuf:"bytes,2,opt,name=test_bar_foo,json=testBarFoo,proto3" json:"test_bar_foo,omitempty"` TestBarFoo2 *Bar_Foo `protobuf:"bytes,3,opt,name=test_bar_foo2,json=testBarFoo2,proto3" json:"test_bar_foo2,omitempty"` TestBarFooBar *Bar_Foo_Bar `protobuf:"bytes,4,opt,name=test_bar_foo_bar,json=testBarFooBar,proto3" json:"test_bar_foo_bar,omitempty"` TestBarFooBar2 *Bar_Foo_Bar `protobuf:"bytes,5,opt,name=test_bar_foo_bar2,json=testBarFooBar2,proto3" json:"test_bar_foo_bar2,omitempty"` TestInternalFoo *internal.Foo `protobuf:"bytes,6,opt,name=test_internal_foo,json=testInternalFoo,proto3" json:"test_internal_foo,omitempty"` TestInternalBarFoo *internal.Bar_Foo `protobuf:"bytes,7,opt,name=test_internal_bar_foo,json=testInternalBarFoo,proto3" json:"test_internal_bar_foo,omitempty"` TestInternalBarFooBar *internal.Bar_Foo_Bar `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Bar_Foo_Bar) Descriptor
deprecated
added in
v0.3.3
func (*Bar_Foo_Bar) Descriptor() ([]byte, []int)
Deprecated: Use Bar_Foo_Bar.ProtoReflect.Descriptor instead.
func (*Bar_Foo_Bar) GetTestBarFoo ¶ added in v0.3.3
func (x *Bar_Foo_Bar) GetTestBarFoo() *Bar_Foo
func (*Bar_Foo_Bar) GetTestBarFoo2 ¶ added in v0.3.3
func (x *Bar_Foo_Bar) GetTestBarFoo2() *Bar_Foo
func (*Bar_Foo_Bar) GetTestBarFooBar ¶ added in v0.3.3
func (x *Bar_Foo_Bar) GetTestBarFooBar() *Bar_Foo_Bar
func (*Bar_Foo_Bar) GetTestBarFooBar2 ¶ added in v0.3.3
func (x *Bar_Foo_Bar) GetTestBarFooBar2() *Bar_Foo_Bar
func (*Bar_Foo_Bar) GetTestFoo ¶ added in v0.3.3
func (x *Bar_Foo_Bar) GetTestFoo() *Foo
func (*Bar_Foo_Bar) GetTestInternalBarFoo ¶ added in v0.3.3
func (x *Bar_Foo_Bar) GetTestInternalBarFoo() *internal.Bar_Foo
func (*Bar_Foo_Bar) GetTestInternalBarFooBar ¶ added in v0.3.3
func (x *Bar_Foo_Bar) GetTestInternalBarFooBar() *internal.Bar_Foo_Bar
func (*Bar_Foo_Bar) GetTestInternalFoo ¶ added in v0.3.3
func (x *Bar_Foo_Bar) GetTestInternalFoo() *internal.Foo
func (*Bar_Foo_Bar) ProtoMessage ¶ added in v0.3.3
func (*Bar_Foo_Bar) ProtoMessage()
func (*Bar_Foo_Bar) ProtoReflect ¶ added in v0.3.3
func (x *Bar_Foo_Bar) ProtoReflect() protoreflect.Message
func (*Bar_Foo_Bar) Reset ¶ added in v0.3.3
func (x *Bar_Foo_Bar) Reset()
func (*Bar_Foo_Bar) String ¶ added in v0.3.3
func (x *Bar_Foo_Bar) String() string
type Foo ¶ added in v0.3.3
type Foo struct {
// contains filtered or unexported fields
}
func (*Foo) Descriptor
deprecated
added in
v0.3.3
func (*Foo) ProtoMessage ¶ added in v0.3.3
func (*Foo) ProtoMessage()
func (*Foo) ProtoReflect ¶ added in v0.3.3
func (x *Foo) ProtoReflect() protoreflect.Message
type RPCCallStreamRequest ¶
type RPCCallStreamRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*RPCCallStreamRequest) Descriptor
deprecated
func (*RPCCallStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use RPCCallStreamRequest.ProtoReflect.Descriptor instead.
func (*RPCCallStreamRequest) GetCount ¶
func (x *RPCCallStreamRequest) GetCount() uint64
func (*RPCCallStreamRequest) GetId ¶
func (x *RPCCallStreamRequest) GetId() uint64
func (*RPCCallStreamRequest) ProtoMessage ¶
func (*RPCCallStreamRequest) ProtoMessage()
func (*RPCCallStreamRequest) ProtoReflect ¶
func (x *RPCCallStreamRequest) ProtoReflect() protoreflect.Message
func (*RPCCallStreamRequest) Reset ¶
func (x *RPCCallStreamRequest) Reset()
func (*RPCCallStreamRequest) String ¶
func (x *RPCCallStreamRequest) String() string
type RPCCallStreamResponse ¶
type RPCCallStreamResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RPCCallStreamResponse) Descriptor
deprecated
func (*RPCCallStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use RPCCallStreamResponse.ProtoReflect.Descriptor instead.
func (*RPCCallStreamResponse) GetId ¶
func (x *RPCCallStreamResponse) GetId() uint64
func (*RPCCallStreamResponse) ProtoMessage ¶
func (*RPCCallStreamResponse) ProtoMessage()
func (*RPCCallStreamResponse) ProtoReflect ¶
func (x *RPCCallStreamResponse) ProtoReflect() protoreflect.Message
func (*RPCCallStreamResponse) Reset ¶
func (x *RPCCallStreamResponse) Reset()
func (*RPCCallStreamResponse) String ¶
func (x *RPCCallStreamResponse) String() string
type RPCCallUnaryRequest ¶
type RPCCallUnaryRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RPCCallUnaryRequest) Descriptor
deprecated
func (*RPCCallUnaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RPCCallUnaryRequest.ProtoReflect.Descriptor instead.
func (*RPCCallUnaryRequest) GetId ¶
func (x *RPCCallUnaryRequest) GetId() uint64
func (*RPCCallUnaryRequest) ProtoMessage ¶
func (*RPCCallUnaryRequest) ProtoMessage()
func (*RPCCallUnaryRequest) ProtoReflect ¶
func (x *RPCCallUnaryRequest) ProtoReflect() protoreflect.Message
func (*RPCCallUnaryRequest) Reset ¶
func (x *RPCCallUnaryRequest) Reset()
func (*RPCCallUnaryRequest) String ¶
func (x *RPCCallUnaryRequest) String() string
type RPCCallUnaryResponse ¶
type RPCCallUnaryResponse struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*RPCCallUnaryResponse) Descriptor
deprecated
func (*RPCCallUnaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use RPCCallUnaryResponse.ProtoReflect.Descriptor instead.
func (*RPCCallUnaryResponse) GetId ¶
func (x *RPCCallUnaryResponse) GetId() uint64
func (*RPCCallUnaryResponse) ProtoMessage ¶
func (*RPCCallUnaryResponse) ProtoMessage()
func (*RPCCallUnaryResponse) ProtoReflect ¶
func (x *RPCCallUnaryResponse) ProtoReflect() protoreflect.Message
func (*RPCCallUnaryResponse) Reset ¶
func (x *RPCCallUnaryResponse) Reset()
func (*RPCCallUnaryResponse) String ¶
func (x *RPCCallUnaryResponse) String() string
type RPCTestClient ¶
type RPCTestClient struct {
// contains filtered or unexported fields
}
RPCTestClient ...
func NewRPCTestClient ¶
func NewRPCTestClient(client rpc.Caller) *RPCTestClient
NewRPCTestClient ...
func (*RPCTestClient) CallStream ¶
func (c *RPCTestClient) CallStream( ctx context.Context, req *RPCCallStreamRequest, res chan *RPCCallStreamResponse, ) error
CallStream ...
func (*RPCTestClient) CallUnary ¶
func (c *RPCTestClient) CallUnary( ctx context.Context, req *RPCCallUnaryRequest, res *RPCCallUnaryResponse, ) error
CallUnary ...
type RPCTestService ¶
type RPCTestService interface { CallUnary( ctx context.Context, req *RPCCallUnaryRequest, ) (*RPCCallUnaryResponse, error) CallStream( ctx context.Context, req *RPCCallStreamRequest, ) (<-chan *RPCCallStreamResponse, error) }
RPCTestService ...
type SiblingMessage ¶ added in v0.3.2
type SiblingMessage struct {
// contains filtered or unexported fields
}
func (*SiblingMessage) Descriptor
deprecated
added in
v0.3.2
func (*SiblingMessage) Descriptor() ([]byte, []int)
Deprecated: Use SiblingMessage.ProtoReflect.Descriptor instead.
func (*SiblingMessage) ProtoMessage ¶ added in v0.3.2
func (*SiblingMessage) ProtoMessage()
func (*SiblingMessage) ProtoReflect ¶ added in v0.3.2
func (x *SiblingMessage) ProtoReflect() protoreflect.Message
func (*SiblingMessage) Reset ¶ added in v0.3.2
func (x *SiblingMessage) Reset()
func (*SiblingMessage) String ¶ added in v0.3.2
func (x *SiblingMessage) String() string
type TestMessage ¶
type TestMessage struct { Int32Value int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` Int64Value int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` Uint32Value uint32 `protobuf:"varint,3,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` Sint32Value int32 `protobuf:"zigzag32,5,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"` Sint64Value int64 `protobuf:"zigzag64,6,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"` BoolValue bool `protobuf:"varint,7,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` EnumValue TestMessage_TestEnum `` /* 127-byte string literal not displayed */ Fixed64Value uint64 `protobuf:"fixed64,9,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"` Sfixed64Value int64 `protobuf:"fixed64,10,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"` DoubleValue float64 `protobuf:"fixed64,11,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` StringValue string `protobuf:"bytes,12,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` BytesValue []byte `protobuf:"bytes,13,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` Fixed32Value uint32 `protobuf:"fixed32,14,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"` SfixedValue int32 `protobuf:"fixed32,15,opt,name=sfixed_value,json=sfixedValue,proto3" json:"sfixed_value,omitempty"` FloatValue float32 `protobuf:"fixed32,16,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` EmbeddedMessageValue *TestMessage_EmbeddedMessage `protobuf:"bytes,17,opt,name=embedded_message_value,json=embeddedMessageValue,proto3" json:"embedded_message_value,omitempty"` SiblingMessageValue *SiblingMessage `protobuf:"bytes,18,opt,name=sibling_message_value,json=siblingMessageValue,proto3" json:"sibling_message_value,omitempty"` StringInt32MapValue map[string]int32 `` /* 212-byte string literal not displayed */ StringInt64MapValue map[string]int64 `` /* 212-byte string literal not displayed */ StringStringMapValue map[string]string `` /* 214-byte string literal not displayed */ StringEmbeddedMessageMapValue map[string]*TestMessage_EmbeddedMessage `` /* 243-byte string literal not displayed */ Int32Int32MapValue map[int32]int32 `` /* 210-byte string literal not displayed */ Int32Int64MapValue map[int32]int64 `` /* 210-byte string literal not displayed */ Int32StringMapValue map[int32]string `` /* 212-byte string literal not displayed */ Int32EmbeddedMessageMapValue map[int32]*TestMessage_EmbeddedMessage `` /* 241-byte string literal not displayed */ Int64Int32MapValue map[int64]int32 `` /* 210-byte string literal not displayed */ Int64Int64MapValue map[int64]int64 `` /* 210-byte string literal not displayed */ Int64StringMapValue map[int64]string `` /* 212-byte string literal not displayed */ Int64EmbeddedMessageMapValue map[int64]*TestMessage_EmbeddedMessage `` /* 241-byte string literal not displayed */ RepeatedInt32MapValue []int32 `` /* 137-byte string literal not displayed */ RepeatedInt64MapValue []int64 `` /* 137-byte string literal not displayed */ RepeatedStringMapValue []string `` /* 132-byte string literal not displayed */ RepeatedEmbeddedMessageMapValue []*TestMessage_EmbeddedMessage `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TestMessage) Descriptor
deprecated
func (*TestMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage.ProtoReflect.Descriptor instead.
func (*TestMessage) GetBoolValue ¶
func (x *TestMessage) GetBoolValue() bool
func (*TestMessage) GetBytesValue ¶
func (x *TestMessage) GetBytesValue() []byte
func (*TestMessage) GetDoubleValue ¶
func (x *TestMessage) GetDoubleValue() float64
func (*TestMessage) GetEmbeddedMessageValue ¶ added in v0.3.2
func (x *TestMessage) GetEmbeddedMessageValue() *TestMessage_EmbeddedMessage
func (*TestMessage) GetEnumValue ¶
func (x *TestMessage) GetEnumValue() TestMessage_TestEnum
func (*TestMessage) GetFixed32Value ¶
func (x *TestMessage) GetFixed32Value() uint32
func (*TestMessage) GetFixed64Value ¶
func (x *TestMessage) GetFixed64Value() uint64
func (*TestMessage) GetFloatValue ¶
func (x *TestMessage) GetFloatValue() float32
func (*TestMessage) GetInt32EmbeddedMessageMapValue ¶ added in v0.3.2
func (x *TestMessage) GetInt32EmbeddedMessageMapValue() map[int32]*TestMessage_EmbeddedMessage
func (*TestMessage) GetInt32Int32MapValue ¶ added in v0.3.2
func (x *TestMessage) GetInt32Int32MapValue() map[int32]int32
func (*TestMessage) GetInt32Int64MapValue ¶ added in v0.3.2
func (x *TestMessage) GetInt32Int64MapValue() map[int32]int64
func (*TestMessage) GetInt32StringMapValue ¶ added in v0.3.2
func (x *TestMessage) GetInt32StringMapValue() map[int32]string
func (*TestMessage) GetInt32Value ¶
func (x *TestMessage) GetInt32Value() int32
func (*TestMessage) GetInt64EmbeddedMessageMapValue ¶ added in v0.3.2
func (x *TestMessage) GetInt64EmbeddedMessageMapValue() map[int64]*TestMessage_EmbeddedMessage
func (*TestMessage) GetInt64Int32MapValue ¶ added in v0.3.2
func (x *TestMessage) GetInt64Int32MapValue() map[int64]int32
func (*TestMessage) GetInt64Int64MapValue ¶ added in v0.3.2
func (x *TestMessage) GetInt64Int64MapValue() map[int64]int64
func (*TestMessage) GetInt64StringMapValue ¶ added in v0.3.2
func (x *TestMessage) GetInt64StringMapValue() map[int64]string
func (*TestMessage) GetInt64Value ¶
func (x *TestMessage) GetInt64Value() int64
func (*TestMessage) GetRepeatedEmbeddedMessageMapValue ¶ added in v0.3.2
func (x *TestMessage) GetRepeatedEmbeddedMessageMapValue() []*TestMessage_EmbeddedMessage
func (*TestMessage) GetRepeatedInt32MapValue ¶ added in v0.3.2
func (x *TestMessage) GetRepeatedInt32MapValue() []int32
func (*TestMessage) GetRepeatedInt64MapValue ¶ added in v0.3.2
func (x *TestMessage) GetRepeatedInt64MapValue() []int64
func (*TestMessage) GetRepeatedStringMapValue ¶ added in v0.3.2
func (x *TestMessage) GetRepeatedStringMapValue() []string
func (*TestMessage) GetSfixed64Value ¶
func (x *TestMessage) GetSfixed64Value() int64
func (*TestMessage) GetSfixedValue ¶
func (x *TestMessage) GetSfixedValue() int32
func (*TestMessage) GetSiblingMessageValue ¶ added in v0.3.2
func (x *TestMessage) GetSiblingMessageValue() *SiblingMessage
func (*TestMessage) GetSint32Value ¶
func (x *TestMessage) GetSint32Value() int32
func (*TestMessage) GetSint64Value ¶
func (x *TestMessage) GetSint64Value() int64
func (*TestMessage) GetStringEmbeddedMessageMapValue ¶ added in v0.3.2
func (x *TestMessage) GetStringEmbeddedMessageMapValue() map[string]*TestMessage_EmbeddedMessage
func (*TestMessage) GetStringInt32MapValue ¶ added in v0.3.2
func (x *TestMessage) GetStringInt32MapValue() map[string]int32
func (*TestMessage) GetStringInt64MapValue ¶ added in v0.3.2
func (x *TestMessage) GetStringInt64MapValue() map[string]int64
func (*TestMessage) GetStringStringMapValue ¶ added in v0.3.2
func (x *TestMessage) GetStringStringMapValue() map[string]string
func (*TestMessage) GetStringValue ¶
func (x *TestMessage) GetStringValue() string
func (*TestMessage) GetUint32Value ¶
func (x *TestMessage) GetUint32Value() uint32
func (*TestMessage) GetUint64Value ¶
func (x *TestMessage) GetUint64Value() uint64
func (*TestMessage) ProtoMessage ¶
func (*TestMessage) ProtoMessage()
func (*TestMessage) ProtoReflect ¶
func (x *TestMessage) ProtoReflect() protoreflect.Message
func (*TestMessage) Reset ¶
func (x *TestMessage) Reset()
func (*TestMessage) String ¶
func (x *TestMessage) String() string
type TestMessage_EmbeddedMessage ¶ added in v0.3.2
type TestMessage_EmbeddedMessage struct { EmbeddedValue int32 `protobuf:"varint,1,opt,name=embedded_value,json=embeddedValue,proto3" json:"embedded_value,omitempty"` // contains filtered or unexported fields }
func (*TestMessage_EmbeddedMessage) Descriptor
deprecated
added in
v0.3.2
func (*TestMessage_EmbeddedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage_EmbeddedMessage.ProtoReflect.Descriptor instead.
func (*TestMessage_EmbeddedMessage) GetEmbeddedValue ¶ added in v0.3.2
func (x *TestMessage_EmbeddedMessage) GetEmbeddedValue() int32
func (*TestMessage_EmbeddedMessage) ProtoMessage ¶ added in v0.3.2
func (*TestMessage_EmbeddedMessage) ProtoMessage()
func (*TestMessage_EmbeddedMessage) ProtoReflect ¶ added in v0.3.2
func (x *TestMessage_EmbeddedMessage) ProtoReflect() protoreflect.Message
func (*TestMessage_EmbeddedMessage) Reset ¶ added in v0.3.2
func (x *TestMessage_EmbeddedMessage) Reset()
func (*TestMessage_EmbeddedMessage) String ¶ added in v0.3.2
func (x *TestMessage_EmbeddedMessage) String() string
type TestMessage_TestEnum ¶
type TestMessage_TestEnum int32
const ( TestMessage_TEST_ENUM_VAL_0 TestMessage_TestEnum = 0 TestMessage_TEST_ENUM_VAL_1 TestMessage_TestEnum = 1 TestMessage_TEST_ENUM_VAL_2 TestMessage_TestEnum = 2 )
func (TestMessage_TestEnum) Descriptor ¶
func (TestMessage_TestEnum) Descriptor() protoreflect.EnumDescriptor
func (TestMessage_TestEnum) Enum ¶
func (x TestMessage_TestEnum) Enum() *TestMessage_TestEnum
func (TestMessage_TestEnum) EnumDescriptor
deprecated
func (TestMessage_TestEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestMessage_TestEnum.Descriptor instead.
func (TestMessage_TestEnum) Number ¶
func (x TestMessage_TestEnum) Number() protoreflect.EnumNumber
func (TestMessage_TestEnum) String ¶
func (x TestMessage_TestEnum) String() string
func (TestMessage_TestEnum) Type ¶
func (TestMessage_TestEnum) Type() protoreflect.EnumType
type UnimplementedRPCTestService ¶ added in v0.3.2
type UnimplementedRPCTestService struct{}
RPCTestService ...
func (*UnimplementedRPCTestService) CallStream ¶ added in v0.3.2
func (s *UnimplementedRPCTestService) CallStream( ctx context.Context, req *RPCCallStreamRequest, ) (<-chan *RPCCallStreamResponse, error)
func (*UnimplementedRPCTestService) CallUnary ¶ added in v0.3.2
func (s *UnimplementedRPCTestService) CallUnary( ctx context.Context, req *RPCCallUnaryRequest, ) (*RPCCallUnaryResponse, error)