Package issue449
Variables
var (
ErrInvalidLengthIssue498 = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowIssue498 = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupIssue498 = fmt.Errorf("proto: unexpected end of group")
)
type Message struct {
Uint8 *uint8 `protobuf:"varint,1,req,name=uint8,casttype=uint8" json:"uint8,omitempty"`
Uint16 *uint16 `protobuf:"varint,2,req,name=uint16,casttype=uint16" json:"uint16,omitempty"`
Int8 *int8 `protobuf:"varint,3,req,name=int8,casttype=int8" json:"int8,omitempty"`
Int16 *int16 `protobuf:"varint,4,req,name=int16,casttype=int16" json:"int16,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedMessage(r randyIssue498, easy bool) *Message
func (*Message) Descriptor() ([]byte, []int)
func (*Message) Equal
¶
func (this *Message) Equal(that interface{}) bool
func (m *Message) GetInt16() int16
func (*Message) GetInt8
¶
func (m *Message) GetInt8() int8
func (m *Message) GetUint16() uint16
func (m *Message) GetUint8() uint8
func (*Message) Marshal
¶
func (m *Message) Marshal() (dAtA []byte, err error)
func (m *Message) MarshalTo(dAtA []byte) (int, error)
func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message) ProtoMessage()
func (*Message) Reset
¶
func (m *Message) Reset()
func (*Message) Size
¶
func (m *Message) Size() (n int)
func (*Message) String
¶
func (m *Message) String() string
func (m *Message) Unmarshal(dAtA []byte) error
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