...

Package issue449

import "github.com/gogo/protobuf/test/issue498"
Overview
Index

Overview ▾

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

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

func NewPopulatedMessage(r randyIssue498, easy bool) *Message

func (*Message) Descriptor

func (*Message) Descriptor() ([]byte, []int)

func (*Message) Equal

func (this *Message) Equal(that interface{}) bool

func (*Message) GetInt16

func (m *Message) GetInt16() int16

func (*Message) GetInt8

func (m *Message) GetInt8() int8

func (*Message) GetUint16

func (m *Message) GetUint16() uint16

func (*Message) GetUint8

func (m *Message) GetUint8() uint8

func (*Message) Marshal

func (m *Message) Marshal() (dAtA []byte, err error)

func (*Message) MarshalTo

func (m *Message) MarshalTo(dAtA []byte) (int, error)

func (*Message) MarshalToSizedBuffer

func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Message) ProtoMessage

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 (*Message) Unmarshal

func (m *Message) Unmarshal(dAtA []byte) error

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Message) XXX_Merge

func (m *Message) XXX_Merge(src proto.Message)

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

func (m *Message) XXX_Unmarshal(b []byte) error