...

Package moredefaults

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

Overview ▾

Index ▾

Constants
type MoreDefaultsA
    func NewPopulatedMoreDefaultsA(r randyMd, easy bool) *MoreDefaultsA
    func (*MoreDefaultsA) Descriptor() ([]byte, []int)
    func (this *MoreDefaultsA) Equal(that interface{}) bool
    func (m *MoreDefaultsA) GetA1() *example.A
    func (m *MoreDefaultsA) GetA2() example.A
    func (m *MoreDefaultsA) GetB1() *MoreDefaultsB
    func (m *MoreDefaultsA) GetB2() MoreDefaultsB
    func (m *MoreDefaultsA) GetField1() int64
    func (m *MoreDefaultsA) GetField2() int64
    func (*MoreDefaultsA) ProtoMessage()
    func (m *MoreDefaultsA) Reset()
    func (m *MoreDefaultsA) String() string
    func (m *MoreDefaultsA) XXX_DiscardUnknown()
    func (m *MoreDefaultsA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *MoreDefaultsA) XXX_Merge(src proto.Message)
    func (m *MoreDefaultsA) XXX_Size() int
    func (m *MoreDefaultsA) XXX_Unmarshal(b []byte) error
type MoreDefaultsB
    func NewPopulatedMoreDefaultsB(r randyMd, easy bool) *MoreDefaultsB
    func (*MoreDefaultsB) Descriptor() ([]byte, []int)
    func (this *MoreDefaultsB) Equal(that interface{}) bool
    func (m *MoreDefaultsB) GetField1() string
    func (*MoreDefaultsB) ProtoMessage()
    func (m *MoreDefaultsB) Reset()
    func (m *MoreDefaultsB) String() string
    func (m *MoreDefaultsB) XXX_DiscardUnknown()
    func (m *MoreDefaultsB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *MoreDefaultsB) XXX_Merge(src proto.Message)
    func (m *MoreDefaultsB) XXX_Size() int
    func (m *MoreDefaultsB) XXX_Unmarshal(b []byte) error

Package files

md.pb.go

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                   *example.A     `protobuf:"bytes,5,opt,name=A1" json:"A1,omitempty"`
    A2                   example.A      `protobuf:"bytes,6,opt,name=A2" json:"A2"`
    XXX_NoUnkeyedLiteral struct{}       `json:"-"`
    XXX_unrecognized     []byte         `json:"-"`
    XXX_sizecache        int32          `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() *example.A

func (*MoreDefaultsA) GetA2

func (m *MoreDefaultsA) GetA2() example.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

func (*MoreDefaultsA) XXX_DiscardUnknown

func (m *MoreDefaultsA) XXX_DiscardUnknown()

func (*MoreDefaultsA) XXX_Marshal

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

func (*MoreDefaultsA) XXX_Merge

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

func (*MoreDefaultsA) XXX_Size

func (m *MoreDefaultsA) XXX_Size() int

func (*MoreDefaultsA) XXX_Unmarshal

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

type MoreDefaultsB

type MoreDefaultsB struct {
    Field1               *string  `protobuf:"bytes,1,opt,name=Field1" json:"Field1,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `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

func (*MoreDefaultsB) XXX_DiscardUnknown

func (m *MoreDefaultsB) XXX_DiscardUnknown()

func (*MoreDefaultsB) XXX_Marshal

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

func (*MoreDefaultsB) XXX_Merge

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

func (*MoreDefaultsB) XXX_Size

func (m *MoreDefaultsB) XXX_Size() int

func (*MoreDefaultsB) XXX_Unmarshal

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