issue42 - ActiveState ActiveGo 1.8
...

Package issue42

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

Overview ▾

Package issue42 is a generated protocol buffer package.

It is generated from these files:

issue42.proto

It has these top-level messages:

UnorderedFields
OrderedFields

Variables

var (
    ErrInvalidLengthIssue42 = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowIssue42   = fmt.Errorf("proto: integer overflow")
)

type OrderedFields

type OrderedFields struct {
    B                *uint64 `protobuf:"fixed64,1,opt,name=B" json:"B,omitempty"`
    A                *int64  `protobuf:"varint,10,opt,name=A" json:"A,omitempty"`
    XXX_unrecognized []byte  `json:"-"`
}

func NewPopulatedOrderedFields

func NewPopulatedOrderedFields(r randyIssue42, easy bool) *OrderedFields

func (*OrderedFields) Descriptor

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

func (*OrderedFields) GetA

func (m *OrderedFields) GetA() int64

func (*OrderedFields) GetB

func (m *OrderedFields) GetB() uint64

func (*OrderedFields) Marshal

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

func (*OrderedFields) MarshalTo

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

func (*OrderedFields) ProtoMessage

func (*OrderedFields) ProtoMessage()

func (*OrderedFields) Reset

func (m *OrderedFields) Reset()

func (*OrderedFields) Size

func (m *OrderedFields) Size() (n int)

func (*OrderedFields) String

func (m *OrderedFields) String() string

func (*OrderedFields) Unmarshal

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

type UnorderedFields

type UnorderedFields struct {
    A                *int64  `protobuf:"varint,10,opt,name=A" json:"A,omitempty"`
    B                *uint64 `protobuf:"fixed64,1,opt,name=B" json:"B,omitempty"`
    XXX_unrecognized []byte  `json:"-"`
}

func NewPopulatedUnorderedFields

func NewPopulatedUnorderedFields(r randyIssue42, easy bool) *UnorderedFields

func (*UnorderedFields) Descriptor

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

func (*UnorderedFields) GetA

func (m *UnorderedFields) GetA() int64

func (*UnorderedFields) GetB

func (m *UnorderedFields) GetB() uint64

func (*UnorderedFields) Marshal

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

func (*UnorderedFields) MarshalTo

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

func (*UnorderedFields) ProtoMessage

func (*UnorderedFields) ProtoMessage()

func (*UnorderedFields) Reset

func (m *UnorderedFields) Reset()

func (*UnorderedFields) Size

func (m *UnorderedFields) Size() (n int)

func (*UnorderedFields) String

func (m *UnorderedFields) String() string

func (*UnorderedFields) Unmarshal

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