data - ActiveState ActiveGo 1.8
...

Package data

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

Overview ▾

Package data is a generated protocol buffer package.

It is generated from these files:

data.proto

It has these top-level messages:

MyMessage

Variables

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

type MyMessage

type MyMessage struct {
    MyData uint32 `protobuf:"varint,1,opt,name=my_data,json=myData,proto3" json:"my_data,omitempty"`
}

func NewPopulatedMyMessage

func NewPopulatedMyMessage(r randyData, easy bool) *MyMessage

func (*MyMessage) Descriptor

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

func (*MyMessage) Equal

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

func (*MyMessage) GetMyData

func (m *MyMessage) GetMyData() uint32

func (*MyMessage) GoString

func (this *MyMessage) GoString() string

func (*MyMessage) Marshal

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

func (*MyMessage) MarshalTo

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

func (*MyMessage) ProtoMessage

func (*MyMessage) ProtoMessage()

func (*MyMessage) Reset

func (m *MyMessage) Reset()

func (*MyMessage) Size

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

func (*MyMessage) String

func (this *MyMessage) String() string

func (*MyMessage) Unmarshal

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

func (*MyMessage) VerboseEqual

func (this *MyMessage) VerboseEqual(that interface{}) error