...
Package protosize
Overview ▹
Index ▹
Variables
var ( ErrInvalidLengthProtosize = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProtosize = fmt.Errorf("proto: integer overflow") )
type SizeMessage ¶
type SizeMessage struct { Size *int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"` ProtoSize_ *int64 `protobuf:"varint,2,opt,name=proto_size,json=protoSize" json:"proto_size,omitempty"` Equal_ *bool `protobuf:"varint,3,opt,name=Equal" json:"Equal,omitempty"` String_ *string `protobuf:"bytes,4,opt,name=String" json:"String,omitempty"` XXX_unrecognized []byte `json:"-"` }
func NewPopulatedSizeMessage ¶
func NewPopulatedSizeMessage(r randyProtosize, easy bool) *SizeMessage
func (*SizeMessage) Descriptor ¶
func (*SizeMessage) Descriptor() ([]byte, []int)
func (*SizeMessage) Equal ¶
func (this *SizeMessage) Equal(that interface{}) bool
func (*SizeMessage) GetEqual_ ¶
func (m *SizeMessage) GetEqual_() bool
func (*SizeMessage) GetProtoSize_ ¶
func (m *SizeMessage) GetProtoSize_() int64
func (*SizeMessage) GetSize ¶
func (m *SizeMessage) GetSize() int64
func (*SizeMessage) GetString_ ¶
func (m *SizeMessage) GetString_() string
func (*SizeMessage) Marshal ¶
func (m *SizeMessage) Marshal() (dAtA []byte, err error)
func (*SizeMessage) MarshalTo ¶
func (m *SizeMessage) MarshalTo(dAtA []byte) (int, error)
func (*SizeMessage) ProtoMessage ¶
func (*SizeMessage) ProtoMessage()
func (*SizeMessage) ProtoSize ¶
func (m *SizeMessage) ProtoSize() (n int)
func (*SizeMessage) Reset ¶
func (m *SizeMessage) Reset()
func (*SizeMessage) String ¶
func (m *SizeMessage) String() string
func (*SizeMessage) Unmarshal ¶
func (m *SizeMessage) Unmarshal(dAtA []byte) error