...

Package test

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

Overview ▾

Index ▾

type NativeWithSizeCache
    func NewPopulatedNativeWithSizeCache(r randyXxxfields, easy bool) *NativeWithSizeCache
    func (*NativeWithSizeCache) Descriptor() ([]byte, []int)
    func (this *NativeWithSizeCache) Equal(that interface{}) bool
    func (m *NativeWithSizeCache) GetField1() float64
    func (m *NativeWithSizeCache) GetField11() uint64
    func (m *NativeWithSizeCache) GetField13() bool
    func (m *NativeWithSizeCache) GetField14() string
    func (m *NativeWithSizeCache) GetField15() []byte
    func (m *NativeWithSizeCache) GetField2() float32
    func (m *NativeWithSizeCache) GetField3() int32
    func (m *NativeWithSizeCache) GetField4() int64
    func (*NativeWithSizeCache) ProtoMessage()
    func (m *NativeWithSizeCache) Reset()
    func (m *NativeWithSizeCache) String() string
    func (m *NativeWithSizeCache) XXX_DiscardUnknown()
    func (m *NativeWithSizeCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *NativeWithSizeCache) XXX_Merge(src proto.Message)
    func (m *NativeWithSizeCache) XXX_Size() int
    func (m *NativeWithSizeCache) XXX_Unmarshal(b []byte) error
type NativeWithoutSizeCache
    func NewPopulatedNativeWithoutSizeCache(r randyXxxfields, easy bool) *NativeWithoutSizeCache
    func (*NativeWithoutSizeCache) Descriptor() ([]byte, []int)
    func (this *NativeWithoutSizeCache) Equal(that interface{}) bool
    func (m *NativeWithoutSizeCache) GetField1() float64
    func (m *NativeWithoutSizeCache) GetField11() uint64
    func (m *NativeWithoutSizeCache) GetField13() bool
    func (m *NativeWithoutSizeCache) GetField14() string
    func (m *NativeWithoutSizeCache) GetField15() []byte
    func (m *NativeWithoutSizeCache) GetField2() float32
    func (m *NativeWithoutSizeCache) GetField3() int32
    func (m *NativeWithoutSizeCache) GetField4() int64
    func (*NativeWithoutSizeCache) ProtoMessage()
    func (m *NativeWithoutSizeCache) Reset()
    func (m *NativeWithoutSizeCache) String() string
    func (m *NativeWithoutSizeCache) XXX_DiscardUnknown()
    func (m *NativeWithoutSizeCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *NativeWithoutSizeCache) XXX_Merge(src proto.Message)
    func (m *NativeWithoutSizeCache) XXX_Size() int
    func (m *NativeWithoutSizeCache) XXX_Unmarshal(b []byte) error
type StructWithSizeCache
    func NewPopulatedStructWithSizeCache(r randyXxxfields, easy bool) *StructWithSizeCache
    func (*StructWithSizeCache) Descriptor() ([]byte, []int)
    func (this *StructWithSizeCache) Equal(that interface{}) bool
    func (m *StructWithSizeCache) GetField1() float64
    func (m *StructWithSizeCache) GetField13() []bool
    func (m *StructWithSizeCache) GetField14() string
    func (m *StructWithSizeCache) GetField15() []byte
    func (m *StructWithSizeCache) GetField2() float32
    func (m *StructWithSizeCache) GetField3() NativeWithSizeCache
    func (m *StructWithSizeCache) GetField6() uint64
    func (m *StructWithSizeCache) GetField7() int32
    func (m *StructWithSizeCache) GetField8() NativeWithoutSizeCache
    func (*StructWithSizeCache) ProtoMessage()
    func (m *StructWithSizeCache) Reset()
    func (m *StructWithSizeCache) String() string
    func (m *StructWithSizeCache) XXX_DiscardUnknown()
    func (m *StructWithSizeCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *StructWithSizeCache) XXX_Merge(src proto.Message)
    func (m *StructWithSizeCache) XXX_Size() int
    func (m *StructWithSizeCache) XXX_Unmarshal(b []byte) error
type StructWithoutSizeCache
    func NewPopulatedStructWithoutSizeCache(r randyXxxfields, easy bool) *StructWithoutSizeCache
    func (*StructWithoutSizeCache) Descriptor() ([]byte, []int)
    func (this *StructWithoutSizeCache) Equal(that interface{}) bool
    func (m *StructWithoutSizeCache) GetField1() float64
    func (m *StructWithoutSizeCache) GetField13() []bool
    func (m *StructWithoutSizeCache) GetField14() string
    func (m *StructWithoutSizeCache) GetField15() []byte
    func (m *StructWithoutSizeCache) GetField2() float32
    func (m *StructWithoutSizeCache) GetField3() NativeWithSizeCache
    func (m *StructWithoutSizeCache) GetField6() uint64
    func (m *StructWithoutSizeCache) GetField7() int32
    func (m *StructWithoutSizeCache) GetField8() NativeWithoutSizeCache
    func (*StructWithoutSizeCache) ProtoMessage()
    func (m *StructWithoutSizeCache) Reset()
    func (m *StructWithoutSizeCache) String() string
    func (m *StructWithoutSizeCache) XXX_DiscardUnknown()
    func (m *StructWithoutSizeCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
    func (m *StructWithoutSizeCache) XXX_Merge(src proto.Message)
    func (m *StructWithoutSizeCache) XXX_Size() int
    func (m *StructWithoutSizeCache) XXX_Unmarshal(b []byte) error

Package files

xxxfields.pb.go

type NativeWithSizeCache

type NativeWithSizeCache struct {
    Field1        *float64 `protobuf:"fixed64,1,opt,name=Field1" json:"Field1,omitempty"`
    Field2        *float32 `protobuf:"fixed32,2,opt,name=Field2" json:"Field2,omitempty"`
    Field3        *int32   `protobuf:"varint,3,opt,name=Field3" json:"Field3,omitempty"`
    Field4        *int64   `protobuf:"varint,4,opt,name=Field4" json:"Field4,omitempty"`
    Field11       uint64   `protobuf:"fixed64,11,opt,name=Field11" json:"Field11"`
    Field13       *bool    `protobuf:"varint,13,opt,name=Field13" json:"Field13,omitempty"`
    Field14       *string  `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
    Field15       []byte   `protobuf:"bytes,15,opt,name=Field15" json:"Field15,omitempty"`
    XXX_sizecache int32    `json:"-"`
}

func NewPopulatedNativeWithSizeCache

func NewPopulatedNativeWithSizeCache(r randyXxxfields, easy bool) *NativeWithSizeCache

func (*NativeWithSizeCache) Descriptor

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

func (*NativeWithSizeCache) Equal

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

func (*NativeWithSizeCache) GetField1

func (m *NativeWithSizeCache) GetField1() float64

func (*NativeWithSizeCache) GetField11

func (m *NativeWithSizeCache) GetField11() uint64

func (*NativeWithSizeCache) GetField13

func (m *NativeWithSizeCache) GetField13() bool

func (*NativeWithSizeCache) GetField14

func (m *NativeWithSizeCache) GetField14() string

func (*NativeWithSizeCache) GetField15

func (m *NativeWithSizeCache) GetField15() []byte

func (*NativeWithSizeCache) GetField2

func (m *NativeWithSizeCache) GetField2() float32

func (*NativeWithSizeCache) GetField3

func (m *NativeWithSizeCache) GetField3() int32

func (*NativeWithSizeCache) GetField4

func (m *NativeWithSizeCache) GetField4() int64

func (*NativeWithSizeCache) ProtoMessage

func (*NativeWithSizeCache) ProtoMessage()

func (*NativeWithSizeCache) Reset

func (m *NativeWithSizeCache) Reset()

func (*NativeWithSizeCache) String

func (m *NativeWithSizeCache) String() string

func (*NativeWithSizeCache) XXX_DiscardUnknown

func (m *NativeWithSizeCache) XXX_DiscardUnknown()

func (*NativeWithSizeCache) XXX_Marshal

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

func (*NativeWithSizeCache) XXX_Merge

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

func (*NativeWithSizeCache) XXX_Size

func (m *NativeWithSizeCache) XXX_Size() int

func (*NativeWithSizeCache) XXX_Unmarshal

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

type NativeWithoutSizeCache

type NativeWithoutSizeCache struct {
    Field1  *float64 `protobuf:"fixed64,1,opt,name=Field1" json:"Field1,omitempty"`
    Field2  *float32 `protobuf:"fixed32,2,opt,name=Field2" json:"Field2,omitempty"`
    Field3  *int32   `protobuf:"varint,3,opt,name=Field3" json:"Field3,omitempty"`
    Field4  *int64   `protobuf:"varint,4,opt,name=Field4" json:"Field4,omitempty"`
    Field11 uint64   `protobuf:"fixed64,11,opt,name=Field11" json:"Field11"`
    Field13 *bool    `protobuf:"varint,13,opt,name=Field13" json:"Field13,omitempty"`
    Field14 *string  `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
    Field15 []byte   `protobuf:"bytes,15,opt,name=Field15" json:"Field15,omitempty"`
}

func NewPopulatedNativeWithoutSizeCache

func NewPopulatedNativeWithoutSizeCache(r randyXxxfields, easy bool) *NativeWithoutSizeCache

func (*NativeWithoutSizeCache) Descriptor

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

func (*NativeWithoutSizeCache) Equal

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

func (*NativeWithoutSizeCache) GetField1

func (m *NativeWithoutSizeCache) GetField1() float64

func (*NativeWithoutSizeCache) GetField11

func (m *NativeWithoutSizeCache) GetField11() uint64

func (*NativeWithoutSizeCache) GetField13

func (m *NativeWithoutSizeCache) GetField13() bool

func (*NativeWithoutSizeCache) GetField14

func (m *NativeWithoutSizeCache) GetField14() string

func (*NativeWithoutSizeCache) GetField15

func (m *NativeWithoutSizeCache) GetField15() []byte

func (*NativeWithoutSizeCache) GetField2

func (m *NativeWithoutSizeCache) GetField2() float32

func (*NativeWithoutSizeCache) GetField3

func (m *NativeWithoutSizeCache) GetField3() int32

func (*NativeWithoutSizeCache) GetField4

func (m *NativeWithoutSizeCache) GetField4() int64

func (*NativeWithoutSizeCache) ProtoMessage

func (*NativeWithoutSizeCache) ProtoMessage()

func (*NativeWithoutSizeCache) Reset

func (m *NativeWithoutSizeCache) Reset()

func (*NativeWithoutSizeCache) String

func (m *NativeWithoutSizeCache) String() string

func (*NativeWithoutSizeCache) XXX_DiscardUnknown

func (m *NativeWithoutSizeCache) XXX_DiscardUnknown()

func (*NativeWithoutSizeCache) XXX_Marshal

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

func (*NativeWithoutSizeCache) XXX_Merge

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

func (*NativeWithoutSizeCache) XXX_Size

func (m *NativeWithoutSizeCache) XXX_Size() int

func (*NativeWithoutSizeCache) XXX_Unmarshal

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

type StructWithSizeCache

type StructWithSizeCache struct {
    Field1        float64                `protobuf:"fixed64,1,opt,name=Field1" json:"Field1"`
    Field2        float32                `protobuf:"fixed32,2,opt,name=Field2" json:"Field2"`
    Field3        NativeWithSizeCache    `protobuf:"bytes,3,opt,name=Field3" json:"Field3"`
    Field6        *uint64                `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
    Field7        int32                  `protobuf:"zigzag32,7,opt,name=Field7" json:"Field7"`
    Field8        NativeWithoutSizeCache `protobuf:"bytes,8,opt,name=Field8" json:"Field8"`
    Field13       []bool                 `protobuf:"varint,13,rep,name=Field13" json:"Field13,omitempty"`
    Field14       *string                `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
    Field15       []byte                 `protobuf:"bytes,15,opt,name=Field15" json:"Field15"`
    XXX_sizecache int32                  `json:"-"`
}

func NewPopulatedStructWithSizeCache

func NewPopulatedStructWithSizeCache(r randyXxxfields, easy bool) *StructWithSizeCache

func (*StructWithSizeCache) Descriptor

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

func (*StructWithSizeCache) Equal

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

func (*StructWithSizeCache) GetField1

func (m *StructWithSizeCache) GetField1() float64

func (*StructWithSizeCache) GetField13

func (m *StructWithSizeCache) GetField13() []bool

func (*StructWithSizeCache) GetField14

func (m *StructWithSizeCache) GetField14() string

func (*StructWithSizeCache) GetField15

func (m *StructWithSizeCache) GetField15() []byte

func (*StructWithSizeCache) GetField2

func (m *StructWithSizeCache) GetField2() float32

func (*StructWithSizeCache) GetField3

func (m *StructWithSizeCache) GetField3() NativeWithSizeCache

func (*StructWithSizeCache) GetField6

func (m *StructWithSizeCache) GetField6() uint64

func (*StructWithSizeCache) GetField7

func (m *StructWithSizeCache) GetField7() int32

func (*StructWithSizeCache) GetField8

func (m *StructWithSizeCache) GetField8() NativeWithoutSizeCache

func (*StructWithSizeCache) ProtoMessage

func (*StructWithSizeCache) ProtoMessage()

func (*StructWithSizeCache) Reset

func (m *StructWithSizeCache) Reset()

func (*StructWithSizeCache) String

func (m *StructWithSizeCache) String() string

func (*StructWithSizeCache) XXX_DiscardUnknown

func (m *StructWithSizeCache) XXX_DiscardUnknown()

func (*StructWithSizeCache) XXX_Marshal

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

func (*StructWithSizeCache) XXX_Merge

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

func (*StructWithSizeCache) XXX_Size

func (m *StructWithSizeCache) XXX_Size() int

func (*StructWithSizeCache) XXX_Unmarshal

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

type StructWithoutSizeCache

type StructWithoutSizeCache struct {
    Field1  float64                `protobuf:"fixed64,1,opt,name=Field1" json:"Field1"`
    Field2  float32                `protobuf:"fixed32,2,opt,name=Field2" json:"Field2"`
    Field3  NativeWithSizeCache    `protobuf:"bytes,3,opt,name=Field3" json:"Field3"`
    Field6  *uint64                `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
    Field7  int32                  `protobuf:"zigzag32,7,opt,name=Field7" json:"Field7"`
    Field8  NativeWithoutSizeCache `protobuf:"bytes,8,opt,name=Field8" json:"Field8"`
    Field13 []bool                 `protobuf:"varint,13,rep,name=Field13" json:"Field13,omitempty"`
    Field14 *string                `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
    Field15 []byte                 `protobuf:"bytes,15,opt,name=Field15" json:"Field15"`
}

func NewPopulatedStructWithoutSizeCache

func NewPopulatedStructWithoutSizeCache(r randyXxxfields, easy bool) *StructWithoutSizeCache

func (*StructWithoutSizeCache) Descriptor

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

func (*StructWithoutSizeCache) Equal

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

func (*StructWithoutSizeCache) GetField1

func (m *StructWithoutSizeCache) GetField1() float64

func (*StructWithoutSizeCache) GetField13

func (m *StructWithoutSizeCache) GetField13() []bool

func (*StructWithoutSizeCache) GetField14

func (m *StructWithoutSizeCache) GetField14() string

func (*StructWithoutSizeCache) GetField15

func (m *StructWithoutSizeCache) GetField15() []byte

func (*StructWithoutSizeCache) GetField2

func (m *StructWithoutSizeCache) GetField2() float32

func (*StructWithoutSizeCache) GetField3

func (m *StructWithoutSizeCache) GetField3() NativeWithSizeCache

func (*StructWithoutSizeCache) GetField6

func (m *StructWithoutSizeCache) GetField6() uint64

func (*StructWithoutSizeCache) GetField7

func (m *StructWithoutSizeCache) GetField7() int32

func (*StructWithoutSizeCache) GetField8

func (m *StructWithoutSizeCache) GetField8() NativeWithoutSizeCache

func (*StructWithoutSizeCache) ProtoMessage

func (*StructWithoutSizeCache) ProtoMessage()

func (*StructWithoutSizeCache) Reset

func (m *StructWithoutSizeCache) Reset()

func (*StructWithoutSizeCache) String

func (m *StructWithoutSizeCache) String() string

func (*StructWithoutSizeCache) XXX_DiscardUnknown

func (m *StructWithoutSizeCache) XXX_DiscardUnknown()

func (*StructWithoutSizeCache) XXX_Marshal

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

func (*StructWithoutSizeCache) XXX_Merge

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

func (*StructWithoutSizeCache) XXX_Size

func (m *StructWithoutSizeCache) XXX_Size() int

func (*StructWithoutSizeCache) XXX_Unmarshal

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