moredefaults - ActiveState ActiveGo 1.8
...

Package moredefaults

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

Overview ▾

Package moredefaults is a generated protocol buffer package.

It is generated from these files:

md.proto

It has these top-level messages:

MoreDefaultsB
MoreDefaultsA

Constants

const Default_MoreDefaultsA_Field1 int64 = 1234

type MoreDefaultsA

type MoreDefaultsA struct {
    Field1           *int64         `protobuf:"varint,1,opt,name=Field1,def=1234" json:"Field1,omitempty"`
    Field2           int64          `protobuf:"varint,2,opt,name=Field2" json:"Field2"`
    B1               *MoreDefaultsB `protobuf:"bytes,3,opt,name=B1" json:"B1,omitempty"`
    B2               MoreDefaultsB  `protobuf:"bytes,4,opt,name=B2" json:"B2"`
    A1               *test.A        `protobuf:"bytes,5,opt,name=A1" json:"A1,omitempty"`
    A2               test.A         `protobuf:"bytes,6,opt,name=A2" json:"A2"`
    XXX_unrecognized []byte         `json:"-"`
}

func NewPopulatedMoreDefaultsA

func NewPopulatedMoreDefaultsA(r randyMd, easy bool) *MoreDefaultsA

func (*MoreDefaultsA) Descriptor

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

func (*MoreDefaultsA) Equal

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

func (*MoreDefaultsA) GetA1

func (m *MoreDefaultsA) GetA1() *test.A

func (*MoreDefaultsA) GetA2

func (m *MoreDefaultsA) GetA2() test.A

func (*MoreDefaultsA) GetB1

func (m *MoreDefaultsA) GetB1() *MoreDefaultsB

func (*MoreDefaultsA) GetB2

func (m *MoreDefaultsA) GetB2() MoreDefaultsB

func (*MoreDefaultsA) GetField1

func (m *MoreDefaultsA) GetField1() int64

func (*MoreDefaultsA) GetField2

func (m *MoreDefaultsA) GetField2() int64

func (*MoreDefaultsA) ProtoMessage

func (*MoreDefaultsA) ProtoMessage()

func (*MoreDefaultsA) Reset

func (m *MoreDefaultsA) Reset()

func (*MoreDefaultsA) String

func (m *MoreDefaultsA) String() string

type MoreDefaultsB

type MoreDefaultsB struct {
    Field1           *string `protobuf:"bytes,1,opt,name=Field1" json:"Field1,omitempty"`
    XXX_unrecognized []byte  `json:"-"`
}

func NewPopulatedMoreDefaultsB

func NewPopulatedMoreDefaultsB(r randyMd, easy bool) *MoreDefaultsB

func (*MoreDefaultsB) Descriptor

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

func (*MoreDefaultsB) Equal

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

func (*MoreDefaultsB) GetField1

func (m *MoreDefaultsB) GetField1() string

func (*MoreDefaultsB) ProtoMessage

func (*MoreDefaultsB) ProtoMessage()

func (*MoreDefaultsB) Reset

func (m *MoreDefaultsB) Reset()

func (*MoreDefaultsB) String

func (m *MoreDefaultsB) String() string