Documentation ¶
Overview ¶
Package testmessage is a generated protocol buffer package.
It is generated from these files:
testmessage.proto
It has these top-level messages:
SmallMessage MediumMessage BigMessage LargeMessage
Index ¶
- type BigMessage
- func (this *BigMessage) Equal(that interface{}) bool
- func (m *BigMessage) GetValues() []string
- func (this *BigMessage) GoString() string
- func (m *BigMessage) Marshal() (data []byte, err error)
- func (m *BigMessage) MarshalTo(data []byte) (n int, err error)
- func (*BigMessage) ProtoMessage()
- func (m *BigMessage) Reset()
- func (m *BigMessage) Size() (n int)
- func (this *BigMessage) String() string
- func (m *BigMessage) Unmarshal(data []byte) error
- func (this *BigMessage) VerboseEqual(that interface{}) error
- type LargeMessage
- func (this *LargeMessage) Equal(that interface{}) bool
- func (m *LargeMessage) GetValues() []string
- func (this *LargeMessage) GoString() string
- func (m *LargeMessage) Marshal() (data []byte, err error)
- func (m *LargeMessage) MarshalTo(data []byte) (n int, err error)
- func (*LargeMessage) ProtoMessage()
- func (m *LargeMessage) Reset()
- func (m *LargeMessage) Size() (n int)
- func (this *LargeMessage) String() string
- func (m *LargeMessage) Unmarshal(data []byte) error
- func (this *LargeMessage) VerboseEqual(that interface{}) error
- type MediumMessage
- func (this *MediumMessage) Equal(that interface{}) bool
- func (m *MediumMessage) GetValues() []string
- func (this *MediumMessage) GoString() string
- func (m *MediumMessage) Marshal() (data []byte, err error)
- func (m *MediumMessage) MarshalTo(data []byte) (n int, err error)
- func (*MediumMessage) ProtoMessage()
- func (m *MediumMessage) Reset()
- func (m *MediumMessage) Size() (n int)
- func (this *MediumMessage) String() string
- func (m *MediumMessage) Unmarshal(data []byte) error
- func (this *MediumMessage) VerboseEqual(that interface{}) error
- type SmallMessage
- func (this *SmallMessage) Equal(that interface{}) bool
- func (m *SmallMessage) GetValues() []string
- func (this *SmallMessage) GoString() string
- func (m *SmallMessage) Marshal() (data []byte, err error)
- func (m *SmallMessage) MarshalTo(data []byte) (n int, err error)
- func (*SmallMessage) ProtoMessage()
- func (m *SmallMessage) Reset()
- func (m *SmallMessage) Size() (n int)
- func (this *SmallMessage) String() string
- func (m *SmallMessage) Unmarshal(data []byte) error
- func (this *SmallMessage) VerboseEqual(that interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigMessage ¶
type BigMessage struct { Values []string `protobuf:"bytes,1,rep" json:"Values,omitempty"` XXX_unrecognized []byte `json:"-"` }
func GenerateBigMessage ¶
func GenerateBigMessage() *BigMessage
GenerateBigMessage generates a big size message.
func NewPopulatedBigMessage ¶
func NewPopulatedBigMessage(r randyTestmessage, easy bool) *BigMessage
func (*BigMessage) Equal ¶
func (this *BigMessage) Equal(that interface{}) bool
func (*BigMessage) GetValues ¶
func (m *BigMessage) GetValues() []string
func (*BigMessage) GoString ¶
func (this *BigMessage) GoString() string
func (*BigMessage) Marshal ¶
func (m *BigMessage) Marshal() (data []byte, err error)
func (*BigMessage) ProtoMessage ¶
func (*BigMessage) ProtoMessage()
func (*BigMessage) Reset ¶
func (m *BigMessage) Reset()
func (*BigMessage) Size ¶
func (m *BigMessage) Size() (n int)
func (*BigMessage) String ¶
func (this *BigMessage) String() string
func (*BigMessage) Unmarshal ¶
func (m *BigMessage) Unmarshal(data []byte) error
func (*BigMessage) VerboseEqual ¶
func (this *BigMessage) VerboseEqual(that interface{}) error
type LargeMessage ¶
type LargeMessage struct { Values []string `protobuf:"bytes,1,rep" json:"Values,omitempty"` XXX_unrecognized []byte `json:"-"` }
func GenerateLargeMessage ¶
func GenerateLargeMessage() *LargeMessage
GenerateLargeMessage generates a large size message.
func NewPopulatedLargeMessage ¶
func NewPopulatedLargeMessage(r randyTestmessage, easy bool) *LargeMessage
func (*LargeMessage) Equal ¶
func (this *LargeMessage) Equal(that interface{}) bool
func (*LargeMessage) GetValues ¶
func (m *LargeMessage) GetValues() []string
func (*LargeMessage) GoString ¶
func (this *LargeMessage) GoString() string
func (*LargeMessage) Marshal ¶
func (m *LargeMessage) Marshal() (data []byte, err error)
func (*LargeMessage) ProtoMessage ¶
func (*LargeMessage) ProtoMessage()
func (*LargeMessage) Reset ¶
func (m *LargeMessage) Reset()
func (*LargeMessage) Size ¶
func (m *LargeMessage) Size() (n int)
func (*LargeMessage) String ¶
func (this *LargeMessage) String() string
func (*LargeMessage) Unmarshal ¶
func (m *LargeMessage) Unmarshal(data []byte) error
func (*LargeMessage) VerboseEqual ¶
func (this *LargeMessage) VerboseEqual(that interface{}) error
type MediumMessage ¶
type MediumMessage struct { Values []string `protobuf:"bytes,1,rep" json:"Values,omitempty"` XXX_unrecognized []byte `json:"-"` }
func GenerateMediumMessage ¶
func GenerateMediumMessage() *MediumMessage
GenerateMediumMessage generates a medium size message.
func NewPopulatedMediumMessage ¶
func NewPopulatedMediumMessage(r randyTestmessage, easy bool) *MediumMessage
func (*MediumMessage) Equal ¶
func (this *MediumMessage) Equal(that interface{}) bool
func (*MediumMessage) GetValues ¶
func (m *MediumMessage) GetValues() []string
func (*MediumMessage) GoString ¶
func (this *MediumMessage) GoString() string
func (*MediumMessage) Marshal ¶
func (m *MediumMessage) Marshal() (data []byte, err error)
func (*MediumMessage) ProtoMessage ¶
func (*MediumMessage) ProtoMessage()
func (*MediumMessage) Reset ¶
func (m *MediumMessage) Reset()
func (*MediumMessage) Size ¶
func (m *MediumMessage) Size() (n int)
func (*MediumMessage) String ¶
func (this *MediumMessage) String() string
func (*MediumMessage) Unmarshal ¶
func (m *MediumMessage) Unmarshal(data []byte) error
func (*MediumMessage) VerboseEqual ¶
func (this *MediumMessage) VerboseEqual(that interface{}) error
type SmallMessage ¶
type SmallMessage struct { Values []string `protobuf:"bytes,1,rep" json:"Values,omitempty"` XXX_unrecognized []byte `json:"-"` }
func GenerateSmallMessage ¶
func GenerateSmallMessage() *SmallMessage
GenerateSmallMessage generates a small size message.
func NewPopulatedSmallMessage ¶
func NewPopulatedSmallMessage(r randyTestmessage, easy bool) *SmallMessage
func (*SmallMessage) Equal ¶
func (this *SmallMessage) Equal(that interface{}) bool
func (*SmallMessage) GetValues ¶
func (m *SmallMessage) GetValues() []string
func (*SmallMessage) GoString ¶
func (this *SmallMessage) GoString() string
func (*SmallMessage) Marshal ¶
func (m *SmallMessage) Marshal() (data []byte, err error)
func (*SmallMessage) ProtoMessage ¶
func (*SmallMessage) ProtoMessage()
func (*SmallMessage) Reset ¶
func (m *SmallMessage) Reset()
func (*SmallMessage) Size ¶
func (m *SmallMessage) Size() (n int)
func (*SmallMessage) String ¶
func (this *SmallMessage) String() string
func (*SmallMessage) Unmarshal ¶
func (m *SmallMessage) Unmarshal(data []byte) error
func (*SmallMessage) VerboseEqual ¶
func (this *SmallMessage) VerboseEqual(that interface{}) error
Click to show internal directories.
Click to hide internal directories.