Documentation ¶
Index ¶
- Constants
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetNonnullableOptional() SubMessage
- func (m *Message) GetNonnullableRepeated() []SubMessage
- func (m *Message) IsNil() bool
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) SetNonnullableOptional_(val SubMessage)
- func (m *Message) SetNonnullableRepeated_(val []SubMessage)
- func (m *Message) String() string
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type SubMessage
- func (*SubMessage) Descriptor() ([]byte, []int)
- func (m *SubMessage) GetValue() int64
- func (m *SubMessage) IsNil() bool
- func (*SubMessage) ProtoMessage()
- func (m *SubMessage) Reset()
- func (m *SubMessage) SetValue_(val int64)
- func (m *SubMessage) String() string
- func (m *SubMessage) XXX_DiscardUnknown()
- func (m *SubMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubMessage) XXX_Merge(src proto.Message)
- func (m *SubMessage) XXX_Size() int
- func (m *SubMessage) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const Default_SubMessage_Value int64 = 7
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { NonnullableOptional SubMessage `protobuf:"bytes,1,opt,name=nonnullable_optional,json=nonnullableOptional" json:"nonnullable_optional"` NonnullableRepeated []SubMessage `protobuf:"bytes,2,rep,name=nonnullable_repeated,json=nonnullableRepeated" json:"nonnullable_repeated"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) GetNonnullableOptional ¶
func (m *Message) GetNonnullableOptional() SubMessage
func (*Message) GetNonnullableRepeated ¶
func (m *Message) GetNonnullableRepeated() []SubMessage
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) SetNonnullableOptional_ ¶ added in v1.4.9
func (m *Message) SetNonnullableOptional_(val SubMessage)
func (*Message) SetNonnullableRepeated_ ¶ added in v1.4.9
func (m *Message) SetNonnullableRepeated_(val []SubMessage)
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type SubMessage ¶
type SubMessage struct { Value *int64 `protobuf:"varint,1,opt,name=value,def=7" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubMessage) Descriptor ¶
func (*SubMessage) Descriptor() ([]byte, []int)
func (*SubMessage) GetValue ¶
func (m *SubMessage) GetValue() int64
func (*SubMessage) IsNil ¶ added in v1.4.9
func (m *SubMessage) IsNil() bool
func (*SubMessage) ProtoMessage ¶
func (*SubMessage) ProtoMessage()
func (*SubMessage) Reset ¶
func (m *SubMessage) Reset()
func (*SubMessage) SetValue_ ¶ added in v1.4.9
func (m *SubMessage) SetValue_(val int64)
func (*SubMessage) String ¶
func (m *SubMessage) String() string
func (*SubMessage) XXX_DiscardUnknown ¶
func (m *SubMessage) XXX_DiscardUnknown()
func (*SubMessage) XXX_Marshal ¶
func (m *SubMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubMessage) XXX_Merge ¶
func (m *SubMessage) XXX_Merge(src proto.Message)
func (*SubMessage) XXX_Size ¶
func (m *SubMessage) XXX_Size() int
func (*SubMessage) XXX_Unmarshal ¶
func (m *SubMessage) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.