Help us shape the future of Go! Take the 2026 Go Developer Survey

packed

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPacked        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPacked          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPacked = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type NinRepNative

type NinRepNative struct {
	Field1               []float64 `protobuf:"fixed64,1,rep,name=Field1" json:"Field1,omitempty"`
	Field2               []float32 `protobuf:"fixed32,2,rep,name=Field2" json:"Field2,omitempty"`
	Field3               []int32   `protobuf:"varint,3,rep,name=Field3" json:"Field3,omitempty"`
	Field4               []int64   `protobuf:"varint,4,rep,name=Field4" json:"Field4,omitempty"`
	Field5               []uint32  `protobuf:"varint,5,rep,name=Field5" json:"Field5,omitempty"`
	Field6               []uint64  `protobuf:"varint,6,rep,name=Field6" json:"Field6,omitempty"`
	Field7               []int32   `protobuf:"zigzag32,7,rep,name=Field7" json:"Field7,omitempty"`
	Field8               []int64   `protobuf:"zigzag64,8,rep,name=Field8" json:"Field8,omitempty"`
	Field9               []uint32  `protobuf:"fixed32,9,rep,name=Field9" json:"Field9,omitempty"`
	Field10              []int32   `protobuf:"fixed32,10,rep,name=Field10" json:"Field10,omitempty"`
	Field11              []uint64  `protobuf:"fixed64,11,rep,name=Field11" json:"Field11,omitempty"`
	Field12              []int64   `protobuf:"fixed64,12,rep,name=Field12" json:"Field12,omitempty"`
	Field13              []bool    `protobuf:"varint,13,rep,name=Field13" json:"Field13,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedNinRepNative

func NewPopulatedNinRepNative(r randyPacked, easy bool) *NinRepNative

func (*NinRepNative) Descriptor

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

func (*NinRepNative) GetField1

func (m *NinRepNative) GetField1() []float64

func (*NinRepNative) GetField2

func (m *NinRepNative) GetField2() []float32

func (*NinRepNative) GetField3

func (m *NinRepNative) GetField3() []int32

func (*NinRepNative) GetField4

func (m *NinRepNative) GetField4() []int64

func (*NinRepNative) GetField5

func (m *NinRepNative) GetField5() []uint32

func (*NinRepNative) GetField6

func (m *NinRepNative) GetField6() []uint64

func (*NinRepNative) GetField7

func (m *NinRepNative) GetField7() []int32

func (*NinRepNative) GetField8

func (m *NinRepNative) GetField8() []int64

func (*NinRepNative) GetField9

func (m *NinRepNative) GetField9() []uint32

func (*NinRepNative) GetField10

func (m *NinRepNative) GetField10() []int32

func (*NinRepNative) GetField11

func (m *NinRepNative) GetField11() []uint64

func (*NinRepNative) GetField12

func (m *NinRepNative) GetField12() []int64

func (*NinRepNative) GetField13

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

func (*NinRepNative) ProtoMessage

func (*NinRepNative) ProtoMessage()

func (*NinRepNative) Reset

func (m *NinRepNative) Reset()

func (*NinRepNative) String

func (m *NinRepNative) String() string

func (*NinRepNative) Unmarshal

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

func (*NinRepNative) XXX_DiscardUnknown added in v1.1.0

func (m *NinRepNative) XXX_DiscardUnknown()

func (*NinRepNative) XXX_Marshal added in v1.1.0

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

func (*NinRepNative) XXX_Merge added in v1.1.0

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

func (*NinRepNative) XXX_Size added in v1.1.0

func (m *NinRepNative) XXX_Size() int

func (*NinRepNative) XXX_Unmarshal added in v1.1.0

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

type NinRepNativeUnsafe

type NinRepNativeUnsafe struct {
	Field1               []float64 `protobuf:"fixed64,1,rep,name=Field1" json:"Field1,omitempty"`
	Field2               []float32 `protobuf:"fixed32,2,rep,name=Field2" json:"Field2,omitempty"`
	Field3               []int32   `protobuf:"varint,3,rep,name=Field3" json:"Field3,omitempty"`
	Field4               []int64   `protobuf:"varint,4,rep,name=Field4" json:"Field4,omitempty"`
	Field5               []uint32  `protobuf:"varint,5,rep,name=Field5" json:"Field5,omitempty"`
	Field6               []uint64  `protobuf:"varint,6,rep,name=Field6" json:"Field6,omitempty"`
	Field7               []int32   `protobuf:"zigzag32,7,rep,name=Field7" json:"Field7,omitempty"`
	Field8               []int64   `protobuf:"zigzag64,8,rep,name=Field8" json:"Field8,omitempty"`
	Field9               []uint32  `protobuf:"fixed32,9,rep,name=Field9" json:"Field9,omitempty"`
	Field10              []int32   `protobuf:"fixed32,10,rep,name=Field10" json:"Field10,omitempty"`
	Field11              []uint64  `protobuf:"fixed64,11,rep,name=Field11" json:"Field11,omitempty"`
	Field12              []int64   `protobuf:"fixed64,12,rep,name=Field12" json:"Field12,omitempty"`
	Field13              []bool    `protobuf:"varint,13,rep,name=Field13" json:"Field13,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedNinRepNativeUnsafe

func NewPopulatedNinRepNativeUnsafe(r randyPacked, easy bool) *NinRepNativeUnsafe

func (*NinRepNativeUnsafe) Descriptor

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

func (*NinRepNativeUnsafe) GetField1

func (m *NinRepNativeUnsafe) GetField1() []float64

func (*NinRepNativeUnsafe) GetField2

func (m *NinRepNativeUnsafe) GetField2() []float32

func (*NinRepNativeUnsafe) GetField3

func (m *NinRepNativeUnsafe) GetField3() []int32

func (*NinRepNativeUnsafe) GetField4

func (m *NinRepNativeUnsafe) GetField4() []int64

func (*NinRepNativeUnsafe) GetField5

func (m *NinRepNativeUnsafe) GetField5() []uint32

func (*NinRepNativeUnsafe) GetField6

func (m *NinRepNativeUnsafe) GetField6() []uint64

func (*NinRepNativeUnsafe) GetField7

func (m *NinRepNativeUnsafe) GetField7() []int32

func (*NinRepNativeUnsafe) GetField8

func (m *NinRepNativeUnsafe) GetField8() []int64

func (*NinRepNativeUnsafe) GetField9

func (m *NinRepNativeUnsafe) GetField9() []uint32

func (*NinRepNativeUnsafe) GetField10

func (m *NinRepNativeUnsafe) GetField10() []int32

func (*NinRepNativeUnsafe) GetField11

func (m *NinRepNativeUnsafe) GetField11() []uint64

func (*NinRepNativeUnsafe) GetField12

func (m *NinRepNativeUnsafe) GetField12() []int64

func (*NinRepNativeUnsafe) GetField13

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

func (*NinRepNativeUnsafe) ProtoMessage

func (*NinRepNativeUnsafe) ProtoMessage()

func (*NinRepNativeUnsafe) Reset

func (m *NinRepNativeUnsafe) Reset()

func (*NinRepNativeUnsafe) String

func (m *NinRepNativeUnsafe) String() string

func (*NinRepNativeUnsafe) Unmarshal

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

func (*NinRepNativeUnsafe) XXX_DiscardUnknown added in v1.1.0

func (m *NinRepNativeUnsafe) XXX_DiscardUnknown()

func (*NinRepNativeUnsafe) XXX_Marshal added in v1.1.0

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

func (*NinRepNativeUnsafe) XXX_Merge added in v1.1.0

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

func (*NinRepNativeUnsafe) XXX_Size added in v1.1.0

func (m *NinRepNativeUnsafe) XXX_Size() int

func (*NinRepNativeUnsafe) XXX_Unmarshal added in v1.1.0

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

type NinRepPackedNative

type NinRepPackedNative struct {
	Field1               []float64 `protobuf:"fixed64,1,rep,packed,name=Field1" json:"Field1,omitempty"`
	Field2               []float32 `protobuf:"fixed32,2,rep,packed,name=Field2" json:"Field2,omitempty"`
	Field3               []int32   `protobuf:"varint,3,rep,packed,name=Field3" json:"Field3,omitempty"`
	Field4               []int64   `protobuf:"varint,4,rep,packed,name=Field4" json:"Field4,omitempty"`
	Field5               []uint32  `protobuf:"varint,5,rep,packed,name=Field5" json:"Field5,omitempty"`
	Field6               []uint64  `protobuf:"varint,6,rep,packed,name=Field6" json:"Field6,omitempty"`
	Field7               []int32   `protobuf:"zigzag32,7,rep,packed,name=Field7" json:"Field7,omitempty"`
	Field8               []int64   `protobuf:"zigzag64,8,rep,packed,name=Field8" json:"Field8,omitempty"`
	Field9               []uint32  `protobuf:"fixed32,9,rep,packed,name=Field9" json:"Field9,omitempty"`
	Field10              []int32   `protobuf:"fixed32,10,rep,packed,name=Field10" json:"Field10,omitempty"`
	Field11              []uint64  `protobuf:"fixed64,11,rep,packed,name=Field11" json:"Field11,omitempty"`
	Field12              []int64   `protobuf:"fixed64,12,rep,packed,name=Field12" json:"Field12,omitempty"`
	Field13              []bool    `protobuf:"varint,13,rep,packed,name=Field13" json:"Field13,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedNinRepPackedNative

func NewPopulatedNinRepPackedNative(r randyPacked, easy bool) *NinRepPackedNative

func (*NinRepPackedNative) Descriptor

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

func (*NinRepPackedNative) GetField1

func (m *NinRepPackedNative) GetField1() []float64

func (*NinRepPackedNative) GetField2

func (m *NinRepPackedNative) GetField2() []float32

func (*NinRepPackedNative) GetField3

func (m *NinRepPackedNative) GetField3() []int32

func (*NinRepPackedNative) GetField4

func (m *NinRepPackedNative) GetField4() []int64

func (*NinRepPackedNative) GetField5

func (m *NinRepPackedNative) GetField5() []uint32

func (*NinRepPackedNative) GetField6

func (m *NinRepPackedNative) GetField6() []uint64

func (*NinRepPackedNative) GetField7

func (m *NinRepPackedNative) GetField7() []int32

func (*NinRepPackedNative) GetField8

func (m *NinRepPackedNative) GetField8() []int64

func (*NinRepPackedNative) GetField9

func (m *NinRepPackedNative) GetField9() []uint32

func (*NinRepPackedNative) GetField10

func (m *NinRepPackedNative) GetField10() []int32

func (*NinRepPackedNative) GetField11

func (m *NinRepPackedNative) GetField11() []uint64

func (*NinRepPackedNative) GetField12

func (m *NinRepPackedNative) GetField12() []int64

func (*NinRepPackedNative) GetField13

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

func (*NinRepPackedNative) ProtoMessage

func (*NinRepPackedNative) ProtoMessage()

func (*NinRepPackedNative) Reset

func (m *NinRepPackedNative) Reset()

func (*NinRepPackedNative) String

func (m *NinRepPackedNative) String() string

func (*NinRepPackedNative) Unmarshal

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

func (*NinRepPackedNative) XXX_DiscardUnknown added in v1.1.0

func (m *NinRepPackedNative) XXX_DiscardUnknown()

func (*NinRepPackedNative) XXX_Marshal added in v1.1.0

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

func (*NinRepPackedNative) XXX_Merge added in v1.1.0

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

func (*NinRepPackedNative) XXX_Size added in v1.1.0

func (m *NinRepPackedNative) XXX_Size() int

func (*NinRepPackedNative) XXX_Unmarshal added in v1.1.0

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

type NinRepPackedNativeUnsafe

type NinRepPackedNativeUnsafe struct {
	Field1               []float64 `protobuf:"fixed64,1,rep,packed,name=Field1" json:"Field1,omitempty"`
	Field2               []float32 `protobuf:"fixed32,2,rep,packed,name=Field2" json:"Field2,omitempty"`
	Field3               []int32   `protobuf:"varint,3,rep,packed,name=Field3" json:"Field3,omitempty"`
	Field4               []int64   `protobuf:"varint,4,rep,packed,name=Field4" json:"Field4,omitempty"`
	Field5               []uint32  `protobuf:"varint,5,rep,packed,name=Field5" json:"Field5,omitempty"`
	Field6               []uint64  `protobuf:"varint,6,rep,packed,name=Field6" json:"Field6,omitempty"`
	Field7               []int32   `protobuf:"zigzag32,7,rep,packed,name=Field7" json:"Field7,omitempty"`
	Field8               []int64   `protobuf:"zigzag64,8,rep,packed,name=Field8" json:"Field8,omitempty"`
	Field9               []uint32  `protobuf:"fixed32,9,rep,packed,name=Field9" json:"Field9,omitempty"`
	Field10              []int32   `protobuf:"fixed32,10,rep,packed,name=Field10" json:"Field10,omitempty"`
	Field11              []uint64  `protobuf:"fixed64,11,rep,packed,name=Field11" json:"Field11,omitempty"`
	Field12              []int64   `protobuf:"fixed64,12,rep,packed,name=Field12" json:"Field12,omitempty"`
	Field13              []bool    `protobuf:"varint,13,rep,packed,name=Field13" json:"Field13,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedNinRepPackedNativeUnsafe

func NewPopulatedNinRepPackedNativeUnsafe(r randyPacked, easy bool) *NinRepPackedNativeUnsafe

func (*NinRepPackedNativeUnsafe) Descriptor

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

func (*NinRepPackedNativeUnsafe) GetField1

func (m *NinRepPackedNativeUnsafe) GetField1() []float64

func (*NinRepPackedNativeUnsafe) GetField2

func (m *NinRepPackedNativeUnsafe) GetField2() []float32

func (*NinRepPackedNativeUnsafe) GetField3

func (m *NinRepPackedNativeUnsafe) GetField3() []int32

func (*NinRepPackedNativeUnsafe) GetField4

func (m *NinRepPackedNativeUnsafe) GetField4() []int64

func (*NinRepPackedNativeUnsafe) GetField5

func (m *NinRepPackedNativeUnsafe) GetField5() []uint32

func (*NinRepPackedNativeUnsafe) GetField6

func (m *NinRepPackedNativeUnsafe) GetField6() []uint64

func (*NinRepPackedNativeUnsafe) GetField7

func (m *NinRepPackedNativeUnsafe) GetField7() []int32

func (*NinRepPackedNativeUnsafe) GetField8

func (m *NinRepPackedNativeUnsafe) GetField8() []int64

func (*NinRepPackedNativeUnsafe) GetField9

func (m *NinRepPackedNativeUnsafe) GetField9() []uint32

func (*NinRepPackedNativeUnsafe) GetField10

func (m *NinRepPackedNativeUnsafe) GetField10() []int32

func (*NinRepPackedNativeUnsafe) GetField11

func (m *NinRepPackedNativeUnsafe) GetField11() []uint64

func (*NinRepPackedNativeUnsafe) GetField12

func (m *NinRepPackedNativeUnsafe) GetField12() []int64

func (*NinRepPackedNativeUnsafe) GetField13

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

func (*NinRepPackedNativeUnsafe) ProtoMessage

func (*NinRepPackedNativeUnsafe) ProtoMessage()

func (*NinRepPackedNativeUnsafe) Reset

func (m *NinRepPackedNativeUnsafe) Reset()

func (*NinRepPackedNativeUnsafe) String

func (m *NinRepPackedNativeUnsafe) String() string

func (*NinRepPackedNativeUnsafe) Unmarshal

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

func (*NinRepPackedNativeUnsafe) XXX_DiscardUnknown added in v1.1.0

func (m *NinRepPackedNativeUnsafe) XXX_DiscardUnknown()

func (*NinRepPackedNativeUnsafe) XXX_Marshal added in v1.1.0

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

func (*NinRepPackedNativeUnsafe) XXX_Merge added in v1.1.0

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

func (*NinRepPackedNativeUnsafe) XXX_Size added in v1.1.0

func (m *NinRepPackedNativeUnsafe) XXX_Size() int

func (*NinRepPackedNativeUnsafe) XXX_Unmarshal added in v1.1.0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL