Documentation
¶
Index ¶
- Variables
- func RegisterServiceExampleServer(s *grpc.Server, srv ServiceExampleServer)
- type A
- func (*A) Descriptor() ([]byte, []int)
- func (m *A) GetEnumFromContext() SomeEnum
- func (m *A) GetId() string
- func (m *A) GetMapEnum() map[int32]SomeEnum
- func (m *A) GetMapMsg() map[int32]*timestamp.Timestamp
- func (m *A) GetMapScalar() map[int32]int32
- func (m *A) GetMessageFromContext() *timestamp.Timestamp
- func (m *A) GetMessageWithOneoffs() *AOneOffs
- func (m *A) GetNREnum() ASomeEnum3
- func (m *A) GetNRMsg() *timestamp.Timestamp
- func (m *A) GetNRScalar() int32
- func (m *A) GetREnum() []SomeEnum
- func (m *A) GetRMsg() []*timestamp.Timestamp
- func (m *A) GetRScalar() []int32
- func (m *A) GetScalarFromContext() int32
- func (m *A) GetSomeEntityId() []string
- func (m *A) GetSomeEntityIds() []string
- func (m *A) GetTest() []byte
- func (m *A) GetUnwrappedField() *wrappers.FloatValue
- func (*A) ProtoMessage()
- func (m *A) Reset()
- func (m *A) String() string
- func (m *A) XXX_DiscardUnknown()
- func (m *A) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *A) XXX_Merge(src proto.Message)
- func (m *A) XXX_Size() int
- func (m *A) XXX_Unmarshal(b []byte) error
- type AOneOffs
- func (*AOneOffs) Descriptor() ([]byte, []int)
- func (m *AOneOffs) GetENREnum() SomeEnum
- func (m *AOneOffs) GetENRMsg() *timestamp.Timestamp
- func (m *AOneOffs) GetENRScalar() int32
- func (m *AOneOffs) GetFirstEnum() isAOneOffs_FirstEnum
- func (m *AOneOffs) GetFirstMessage() isAOneOffs_FirstMessage
- func (m *AOneOffs) GetFirstScalar() isAOneOffs_FirstScalar
- func (m *AOneOffs) GetMNREnum() SomeEnum
- func (m *AOneOffs) GetMNRMsg() *timestamp.Timestamp
- func (m *AOneOffs) GetMNRScalar() int32
- func (m *AOneOffs) GetSNREnum() SomeEnum
- func (m *AOneOffs) GetSNRMsg() *timestamp.Timestamp
- func (m *AOneOffs) GetSNRScalar() int32
- func (*AOneOffs) ProtoMessage()
- func (m *AOneOffs) Reset()
- func (m *AOneOffs) String() string
- func (m *AOneOffs) XXX_DiscardUnknown()
- func (m *AOneOffs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AOneOffs) XXX_Merge(src proto.Message)
- func (*AOneOffs) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *AOneOffs) XXX_Size() int
- func (m *AOneOffs) XXX_Unmarshal(b []byte) error
- type AOneOffs_ENREnum
- type AOneOffs_ENRMsg
- type AOneOffs_ENRScalar
- type AOneOffs_MNREnum
- type AOneOffs_MNRMsg
- type AOneOffs_MNRScalar
- type AOneOffs_SNREnum
- type AOneOffs_SNRMsg
- type AOneOffs_SNRScalar
- type ASomeEnum3
- type B
- func (*B) Descriptor() ([]byte, []int)
- func (m *B) GetMapEnum() map[int32]SomeEnum
- func (m *B) GetMapMsg() map[int32]*timestamp.Timestamp
- func (m *B) GetMapScalar() map[int32]int32
- func (m *B) GetNREnum() SomeEnum
- func (m *B) GetNRMsg() *timestamp.Timestamp
- func (m *B) GetNRScalar() int32
- func (m *B) GetREnum() []SomeEnum
- func (m *B) GetRMsg() []*timestamp.Timestamp
- func (m *B) GetRScalar() []int32
- func (*B) ProtoMessage()
- func (m *B) Reset()
- func (m *B) String() string
- func (m *B) XXX_DiscardUnknown()
- func (m *B) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *B) XXX_Merge(src proto.Message)
- func (m *B) XXX_Size() int
- func (m *B) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type ListSomeEntitiesRequest
- func (*ListSomeEntitiesRequest) Descriptor() ([]byte, []int)
- func (m *ListSomeEntitiesRequest) GetFilter() *ListSomeEntitiesRequest_Filter
- func (*ListSomeEntitiesRequest) ProtoMessage()
- func (m *ListSomeEntitiesRequest) Reset()
- func (m *ListSomeEntitiesRequest) String() string
- func (m *ListSomeEntitiesRequest) XXX_DiscardUnknown()
- func (m *ListSomeEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListSomeEntitiesRequest) XXX_Merge(src proto.Message)
- func (m *ListSomeEntitiesRequest) XXX_Size() int
- func (m *ListSomeEntitiesRequest) XXX_Unmarshal(b []byte) error
- type ListSomeEntitiesRequest_Filter
- func (*ListSomeEntitiesRequest_Filter) Descriptor() ([]byte, []int)
- func (m *ListSomeEntitiesRequest_Filter) GetAIds() []string
- func (m *ListSomeEntitiesRequest_Filter) GetIds() []string
- func (*ListSomeEntitiesRequest_Filter) ProtoMessage()
- func (m *ListSomeEntitiesRequest_Filter) Reset()
- func (m *ListSomeEntitiesRequest_Filter) String() string
- func (m *ListSomeEntitiesRequest_Filter) XXX_DiscardUnknown()
- func (m *ListSomeEntitiesRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListSomeEntitiesRequest_Filter) XXX_Merge(src proto.Message)
- func (m *ListSomeEntitiesRequest_Filter) XXX_Size() int
- func (m *ListSomeEntitiesRequest_Filter) XXX_Unmarshal(b []byte) error
- type ListSomeEntitiesResponse
- func (*ListSomeEntitiesResponse) Descriptor() ([]byte, []int)
- func (m *ListSomeEntitiesResponse) GetEntities() []*ListSomeEntitiesResponse_SomeEntity
- func (*ListSomeEntitiesResponse) ProtoMessage()
- func (m *ListSomeEntitiesResponse) Reset()
- func (m *ListSomeEntitiesResponse) String() string
- func (m *ListSomeEntitiesResponse) XXX_DiscardUnknown()
- func (m *ListSomeEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListSomeEntitiesResponse) XXX_Merge(src proto.Message)
- func (m *ListSomeEntitiesResponse) XXX_Size() int
- func (m *ListSomeEntitiesResponse) XXX_Unmarshal(b []byte) error
- type ListSomeEntitiesResponse_SomeEntity
- func (*ListSomeEntitiesResponse_SomeEntity) Descriptor() ([]byte, []int)
- func (m *ListSomeEntitiesResponse_SomeEntity) GetAId() string
- func (m *ListSomeEntitiesResponse_SomeEntity) GetId() string
- func (m *ListSomeEntitiesResponse_SomeEntity) GetName() string
- func (*ListSomeEntitiesResponse_SomeEntity) ProtoMessage()
- func (m *ListSomeEntitiesResponse_SomeEntity) Reset()
- func (m *ListSomeEntitiesResponse_SomeEntity) String() string
- func (m *ListSomeEntitiesResponse_SomeEntity) XXX_DiscardUnknown()
- func (m *ListSomeEntitiesResponse_SomeEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListSomeEntitiesResponse_SomeEntity) XXX_Merge(src proto.Message)
- func (m *ListSomeEntitiesResponse_SomeEntity) XXX_Size() int
- func (m *ListSomeEntitiesResponse_SomeEntity) XXX_Unmarshal(b []byte) error
- type MsgWithEmpty
- func (*MsgWithEmpty) Descriptor() ([]byte, []int)
- func (m *MsgWithEmpty) GetEmptyField() *Empty
- func (*MsgWithEmpty) ProtoMessage()
- func (m *MsgWithEmpty) Reset()
- func (m *MsgWithEmpty) String() string
- func (m *MsgWithEmpty) XXX_DiscardUnknown()
- func (m *MsgWithEmpty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MsgWithEmpty) XXX_Merge(src proto.Message)
- func (m *MsgWithEmpty) XXX_Size() int
- func (m *MsgWithEmpty) XXX_Unmarshal(b []byte) error
- type ServiceExampleClient
- type ServiceExampleServer
- type SomeEnum
Constants ¶
This section is empty.
Variables ¶
View Source
var ASomeEnum3_name = map[int32]string{
0: "Val5",
1: "Val6",
}
View Source
var ASomeEnum3_value = map[string]int32{
"Val5": 0,
"Val6": 1,
}
View Source
var SomeEnum_name = map[int32]string{
0: "Val1",
1: "Val2",
}
View Source
var SomeEnum_value = map[string]int32{
"Val1": 0,
"Val2": 1,
}
Functions ¶
func RegisterServiceExampleServer ¶
func RegisterServiceExampleServer(s *grpc.Server, srv ServiceExampleServer)
Types ¶
type A ¶
type A struct { MapEnum map[int32]SomeEnum `` /* 192-byte string literal not displayed */ MapScalar map[int32]int32 `` /* 178-byte string literal not displayed */ MapMsg map[int32]*timestamp.Timestamp `` /* 168-byte string literal not displayed */ RMsg []*timestamp.Timestamp `protobuf:"bytes,4,rep,name=r_msg,json=rMsg,proto3" json:"r_msg,omitempty"` RScalar []int32 `protobuf:"varint,5,rep,packed,name=r_scalar,json=rScalar,proto3" json:"r_scalar,omitempty"` REnum []SomeEnum `protobuf:"varint,6,rep,packed,name=r_enum,json=rEnum,proto3,enum=proto.SomeEnum" json:"r_enum,omitempty"` NREnum ASomeEnum3 `protobuf:"varint,7,opt,name=n_r_enum,json=nREnum,proto3,enum=proto.ASomeEnum3" json:"n_r_enum,omitempty"` NRScalar int32 `protobuf:"varint,8,opt,name=n_r_scalar,json=nRScalar,proto3" json:"n_r_scalar,omitempty"` NRMsg *timestamp.Timestamp `protobuf:"bytes,9,opt,name=n_r_msg,json=nRMsg,proto3" json:"n_r_msg,omitempty"` ScalarFromContext int32 `protobuf:"varint,10,opt,name=scalar_from_context,json=scalarFromContext,proto3" json:"scalar_from_context,omitempty"` EnumFromContext SomeEnum `` /* 130-byte string literal not displayed */ MessageFromContext *timestamp.Timestamp `protobuf:"bytes,12,opt,name=message_from_context,json=messageFromContext,proto3" json:"message_from_context,omitempty"` // repeated bytes r_bytes = 13; // TODO // bytes n_r_bytes = 14; // TODO MessageWithOneoffs *AOneOffs `protobuf:"bytes,13,opt,name=message_with_oneoffs,json=messageWithOneoffs,proto3" json:"message_with_oneoffs,omitempty"` Test []byte `protobuf:"bytes,14,opt,name=test,proto3" json:"test,omitempty"` SomeEntityIds []string `protobuf:"bytes,15,rep,name=some_entity_ids,json=someEntityIds,proto3" json:"some_entity_ids,omitempty"` SomeEntityId []string `protobuf:"bytes,16,rep,name=some_entity_id,json=someEntityId,proto3" json:"some_entity_id,omitempty"` Id string `protobuf:"bytes,17,opt,name=id,proto3" json:"id,omitempty"` UnwrappedField *wrappers.FloatValue `protobuf:"bytes,18,opt,name=unwrapped_field,json=unwrappedField,proto3" json:"unwrapped_field,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*A) Descriptor ¶
func (*A) GetEnumFromContext ¶
func (*A) GetMapEnum ¶
func (*A) GetMapScalar ¶
func (*A) GetMessageFromContext ¶
func (*A) GetMessageWithOneoffs ¶
func (*A) GetNREnum ¶
func (m *A) GetNREnum() ASomeEnum3
func (*A) GetNRScalar ¶
func (*A) GetRScalar ¶
func (*A) GetScalarFromContext ¶
func (*A) GetSomeEntityId ¶
func (*A) GetSomeEntityIds ¶
func (*A) GetUnwrappedField ¶
func (m *A) GetUnwrappedField() *wrappers.FloatValue
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
func (*A) XXX_DiscardUnknown ¶
func (m *A) XXX_DiscardUnknown()
func (*A) XXX_Unmarshal ¶
type AOneOffs ¶
type AOneOffs struct { // Types that are valid to be assigned to FirstEnum: // *AOneOffs_ENREnum // *AOneOffs_ENRScalar // *AOneOffs_ENRMsg FirstEnum isAOneOffs_FirstEnum `protobuf_oneof:"firstEnum"` // Types that are valid to be assigned to FirstScalar: // *AOneOffs_SNRScalar // *AOneOffs_SNREnum // *AOneOffs_SNRMsg FirstScalar isAOneOffs_FirstScalar `protobuf_oneof:"firstScalar"` // Types that are valid to be assigned to FirstMessage: // *AOneOffs_MNRMsg // *AOneOffs_MNRScalar // *AOneOffs_MNREnum FirstMessage isAOneOffs_FirstMessage `protobuf_oneof:"firstMessage"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AOneOffs) Descriptor ¶
func (*AOneOffs) GetENREnum ¶
func (*AOneOffs) GetENRScalar ¶
func (*AOneOffs) GetFirstEnum ¶
func (m *AOneOffs) GetFirstEnum() isAOneOffs_FirstEnum
func (*AOneOffs) GetFirstMessage ¶
func (m *AOneOffs) GetFirstMessage() isAOneOffs_FirstMessage
func (*AOneOffs) GetFirstScalar ¶
func (m *AOneOffs) GetFirstScalar() isAOneOffs_FirstScalar
func (*AOneOffs) GetMNREnum ¶
func (*AOneOffs) GetMNRScalar ¶
func (*AOneOffs) GetSNREnum ¶
func (*AOneOffs) GetSNRScalar ¶
func (*AOneOffs) ProtoMessage ¶
func (*AOneOffs) ProtoMessage()
func (*AOneOffs) XXX_DiscardUnknown ¶
func (m *AOneOffs) XXX_DiscardUnknown()
func (*AOneOffs) XXX_Marshal ¶
func (*AOneOffs) XXX_OneofFuncs ¶
func (*AOneOffs) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*AOneOffs) XXX_Unmarshal ¶
type AOneOffs_ENREnum ¶
type AOneOffs_ENREnum struct {
ENREnum SomeEnum `protobuf:"varint,7,opt,name=e_n_r_enum,json=eNREnum,proto3,enum=proto.SomeEnum,oneof"`
}
type AOneOffs_ENRMsg ¶
type AOneOffs_ENRScalar ¶
type AOneOffs_ENRScalar struct {
ENRScalar int32 `protobuf:"varint,8,opt,name=e_n_r_scalar,json=eNRScalar,proto3,oneof"`
}
type AOneOffs_MNREnum ¶
type AOneOffs_MNREnum struct {
MNREnum SomeEnum `protobuf:"varint,15,opt,name=m_n_r_enum,json=mNREnum,proto3,enum=proto.SomeEnum,oneof"`
}
type AOneOffs_MNRMsg ¶
type AOneOffs_MNRScalar ¶
type AOneOffs_MNRScalar struct {
MNRScalar int32 `protobuf:"varint,14,opt,name=m_n_r_scalar,json=mNRScalar,proto3,oneof"`
}
type AOneOffs_SNREnum ¶
type AOneOffs_SNREnum struct {
SNREnum SomeEnum `protobuf:"varint,11,opt,name=s_n_r_enum,json=sNREnum,proto3,enum=proto.SomeEnum,oneof"`
}
type AOneOffs_SNRMsg ¶
type AOneOffs_SNRScalar ¶
type AOneOffs_SNRScalar struct {
SNRScalar int32 `protobuf:"varint,10,opt,name=s_n_r_scalar,json=sNRScalar,proto3,oneof"`
}
type ASomeEnum3 ¶
type ASomeEnum3 int32
const ( A_Val5 ASomeEnum3 = 0 A_Val6 ASomeEnum3 = 1 )
func (ASomeEnum3) EnumDescriptor ¶
func (ASomeEnum3) EnumDescriptor() ([]byte, []int)
func (ASomeEnum3) String ¶
func (x ASomeEnum3) String() string
type B ¶
type B struct { MapEnum map[int32]SomeEnum `` /* 192-byte string literal not displayed */ MapScalar map[int32]int32 `` /* 178-byte string literal not displayed */ MapMsg map[int32]*timestamp.Timestamp `` /* 168-byte string literal not displayed */ RMsg []*timestamp.Timestamp `protobuf:"bytes,4,rep,name=r_msg,json=rMsg,proto3" json:"r_msg,omitempty"` RScalar []int32 `protobuf:"varint,5,rep,packed,name=r_scalar,json=rScalar,proto3" json:"r_scalar,omitempty"` REnum []SomeEnum `protobuf:"varint,6,rep,packed,name=r_enum,json=rEnum,proto3,enum=proto.SomeEnum" json:"r_enum,omitempty"` NREnum SomeEnum `protobuf:"varint,7,opt,name=n_r_enum,json=nREnum,proto3,enum=proto.SomeEnum" json:"n_r_enum,omitempty"` NRScalar int32 `protobuf:"varint,8,opt,name=n_r_scalar,json=nRScalar,proto3" json:"n_r_scalar,omitempty"` NRMsg *timestamp.Timestamp `protobuf:"bytes,9,opt,name=n_r_msg,json=nRMsg,proto3" json:"n_r_msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*B) Descriptor ¶
func (*B) GetMapEnum ¶
func (*B) GetMapScalar ¶
func (*B) GetNRScalar ¶
func (*B) GetRScalar ¶
func (*B) ProtoMessage ¶
func (*B) ProtoMessage()
func (*B) XXX_DiscardUnknown ¶
func (m *B) XXX_DiscardUnknown()
func (*B) XXX_Unmarshal ¶
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type ListSomeEntitiesRequest ¶
type ListSomeEntitiesRequest struct { Filter *ListSomeEntitiesRequest_Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListSomeEntitiesRequest) Descriptor ¶
func (*ListSomeEntitiesRequest) Descriptor() ([]byte, []int)
func (*ListSomeEntitiesRequest) GetFilter ¶
func (m *ListSomeEntitiesRequest) GetFilter() *ListSomeEntitiesRequest_Filter
func (*ListSomeEntitiesRequest) ProtoMessage ¶
func (*ListSomeEntitiesRequest) ProtoMessage()
func (*ListSomeEntitiesRequest) Reset ¶
func (m *ListSomeEntitiesRequest) Reset()
func (*ListSomeEntitiesRequest) String ¶
func (m *ListSomeEntitiesRequest) String() string
func (*ListSomeEntitiesRequest) XXX_DiscardUnknown ¶
func (m *ListSomeEntitiesRequest) XXX_DiscardUnknown()
func (*ListSomeEntitiesRequest) XXX_Marshal ¶
func (m *ListSomeEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSomeEntitiesRequest) XXX_Merge ¶
func (dst *ListSomeEntitiesRequest) XXX_Merge(src proto.Message)
func (*ListSomeEntitiesRequest) XXX_Size ¶
func (m *ListSomeEntitiesRequest) XXX_Size() int
func (*ListSomeEntitiesRequest) XXX_Unmarshal ¶
func (m *ListSomeEntitiesRequest) XXX_Unmarshal(b []byte) error
type ListSomeEntitiesRequest_Filter ¶
type ListSomeEntitiesRequest_Filter struct { AIds []string `protobuf:"bytes,2,rep,name=a_ids,json=aIds,proto3" json:"a_ids,omitempty"` Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListSomeEntitiesRequest_Filter) Descriptor ¶
func (*ListSomeEntitiesRequest_Filter) Descriptor() ([]byte, []int)
func (*ListSomeEntitiesRequest_Filter) GetAIds ¶
func (m *ListSomeEntitiesRequest_Filter) GetAIds() []string
func (*ListSomeEntitiesRequest_Filter) GetIds ¶
func (m *ListSomeEntitiesRequest_Filter) GetIds() []string
func (*ListSomeEntitiesRequest_Filter) ProtoMessage ¶
func (*ListSomeEntitiesRequest_Filter) ProtoMessage()
func (*ListSomeEntitiesRequest_Filter) Reset ¶
func (m *ListSomeEntitiesRequest_Filter) Reset()
func (*ListSomeEntitiesRequest_Filter) String ¶
func (m *ListSomeEntitiesRequest_Filter) String() string
func (*ListSomeEntitiesRequest_Filter) XXX_DiscardUnknown ¶
func (m *ListSomeEntitiesRequest_Filter) XXX_DiscardUnknown()
func (*ListSomeEntitiesRequest_Filter) XXX_Marshal ¶
func (m *ListSomeEntitiesRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSomeEntitiesRequest_Filter) XXX_Merge ¶
func (dst *ListSomeEntitiesRequest_Filter) XXX_Merge(src proto.Message)
func (*ListSomeEntitiesRequest_Filter) XXX_Size ¶
func (m *ListSomeEntitiesRequest_Filter) XXX_Size() int
func (*ListSomeEntitiesRequest_Filter) XXX_Unmarshal ¶
func (m *ListSomeEntitiesRequest_Filter) XXX_Unmarshal(b []byte) error
type ListSomeEntitiesResponse ¶
type ListSomeEntitiesResponse struct { Entities []*ListSomeEntitiesResponse_SomeEntity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListSomeEntitiesResponse) Descriptor ¶
func (*ListSomeEntitiesResponse) Descriptor() ([]byte, []int)
func (*ListSomeEntitiesResponse) GetEntities ¶
func (m *ListSomeEntitiesResponse) GetEntities() []*ListSomeEntitiesResponse_SomeEntity
func (*ListSomeEntitiesResponse) ProtoMessage ¶
func (*ListSomeEntitiesResponse) ProtoMessage()
func (*ListSomeEntitiesResponse) Reset ¶
func (m *ListSomeEntitiesResponse) Reset()
func (*ListSomeEntitiesResponse) String ¶
func (m *ListSomeEntitiesResponse) String() string
func (*ListSomeEntitiesResponse) XXX_DiscardUnknown ¶
func (m *ListSomeEntitiesResponse) XXX_DiscardUnknown()
func (*ListSomeEntitiesResponse) XXX_Marshal ¶
func (m *ListSomeEntitiesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSomeEntitiesResponse) XXX_Merge ¶
func (dst *ListSomeEntitiesResponse) XXX_Merge(src proto.Message)
func (*ListSomeEntitiesResponse) XXX_Size ¶
func (m *ListSomeEntitiesResponse) XXX_Size() int
func (*ListSomeEntitiesResponse) XXX_Unmarshal ¶
func (m *ListSomeEntitiesResponse) XXX_Unmarshal(b []byte) error
type ListSomeEntitiesResponse_SomeEntity ¶
type ListSomeEntitiesResponse_SomeEntity struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AId string `protobuf:"bytes,3,opt,name=a_id,json=aId,proto3" json:"a_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListSomeEntitiesResponse_SomeEntity) Descriptor ¶
func (*ListSomeEntitiesResponse_SomeEntity) Descriptor() ([]byte, []int)
func (*ListSomeEntitiesResponse_SomeEntity) GetAId ¶
func (m *ListSomeEntitiesResponse_SomeEntity) GetAId() string
func (*ListSomeEntitiesResponse_SomeEntity) GetId ¶
func (m *ListSomeEntitiesResponse_SomeEntity) GetId() string
func (*ListSomeEntitiesResponse_SomeEntity) GetName ¶
func (m *ListSomeEntitiesResponse_SomeEntity) GetName() string
func (*ListSomeEntitiesResponse_SomeEntity) ProtoMessage ¶
func (*ListSomeEntitiesResponse_SomeEntity) ProtoMessage()
func (*ListSomeEntitiesResponse_SomeEntity) Reset ¶
func (m *ListSomeEntitiesResponse_SomeEntity) Reset()
func (*ListSomeEntitiesResponse_SomeEntity) String ¶
func (m *ListSomeEntitiesResponse_SomeEntity) String() string
func (*ListSomeEntitiesResponse_SomeEntity) XXX_DiscardUnknown ¶
func (m *ListSomeEntitiesResponse_SomeEntity) XXX_DiscardUnknown()
func (*ListSomeEntitiesResponse_SomeEntity) XXX_Marshal ¶
func (m *ListSomeEntitiesResponse_SomeEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListSomeEntitiesResponse_SomeEntity) XXX_Merge ¶
func (dst *ListSomeEntitiesResponse_SomeEntity) XXX_Merge(src proto.Message)
func (*ListSomeEntitiesResponse_SomeEntity) XXX_Size ¶
func (m *ListSomeEntitiesResponse_SomeEntity) XXX_Size() int
func (*ListSomeEntitiesResponse_SomeEntity) XXX_Unmarshal ¶
func (m *ListSomeEntitiesResponse_SomeEntity) XXX_Unmarshal(b []byte) error
type MsgWithEmpty ¶
type MsgWithEmpty struct { EmptyField *Empty `protobuf:"bytes,1,opt,name=empty_field,json=emptyField,proto3" json:"empty_field,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MsgWithEmpty) Descriptor ¶
func (*MsgWithEmpty) Descriptor() ([]byte, []int)
func (*MsgWithEmpty) GetEmptyField ¶
func (m *MsgWithEmpty) GetEmptyField() *Empty
func (*MsgWithEmpty) ProtoMessage ¶
func (*MsgWithEmpty) ProtoMessage()
func (*MsgWithEmpty) Reset ¶
func (m *MsgWithEmpty) Reset()
func (*MsgWithEmpty) String ¶
func (m *MsgWithEmpty) String() string
func (*MsgWithEmpty) XXX_DiscardUnknown ¶
func (m *MsgWithEmpty) XXX_DiscardUnknown()
func (*MsgWithEmpty) XXX_Marshal ¶
func (m *MsgWithEmpty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithEmpty) XXX_Merge ¶
func (dst *MsgWithEmpty) XXX_Merge(src proto.Message)
func (*MsgWithEmpty) XXX_Size ¶
func (m *MsgWithEmpty) XXX_Size() int
func (*MsgWithEmpty) XXX_Unmarshal ¶
func (m *MsgWithEmpty) XXX_Unmarshal(b []byte) error
type ServiceExampleClient ¶
type ServiceExampleClient interface { GetQueryMethod(ctx context.Context, in *AOneOffs, opts ...grpc.CallOption) (*B, error) MutationMethod(ctx context.Context, in *B, opts ...grpc.CallOption) (*A, error) QueryMethod(ctx context.Context, in *timestamp.Timestamp, opts ...grpc.CallOption) (*timestamp.Timestamp, error) GetMutatuionMethod(ctx context.Context, in *MsgWithEmpty, opts ...grpc.CallOption) (*MsgWithEmpty, error) GetEmptiesMsg(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) ListSomeEntities(ctx context.Context, in *ListSomeEntitiesRequest, opts ...grpc.CallOption) (*ListSomeEntitiesResponse, error) }
ServiceExampleClient is the client API for ServiceExample service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewServiceExampleClient ¶
func NewServiceExampleClient(cc *grpc.ClientConn) ServiceExampleClient
type ServiceExampleServer ¶
type ServiceExampleServer interface { GetQueryMethod(context.Context, *AOneOffs) (*B, error) MutationMethod(context.Context, *B) (*A, error) QueryMethod(context.Context, *timestamp.Timestamp) (*timestamp.Timestamp, error) GetMutatuionMethod(context.Context, *MsgWithEmpty) (*MsgWithEmpty, error) GetEmptiesMsg(context.Context, *Empty) (*Empty, error) ListSomeEntities(context.Context, *ListSomeEntitiesRequest) (*ListSomeEntitiesResponse, error) }
ServiceExampleServer is the server API for ServiceExample service.
Click to show internal directories.
Click to hide internal directories.