unmarshalmerge

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthUnmarshalmerge = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUnmarshalmerge   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Big

type Big struct {
	Sub                  *Sub     `protobuf:"bytes,1,opt,name=Sub" json:"Sub,omitempty"`
	Number               *int64   `protobuf:"varint,2,opt,name=Number" json:"Number,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedBig

func NewPopulatedBig(r randyUnmarshalmerge, easy bool) *Big

func (*Big) Descriptor

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

func (*Big) Equal

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

func (*Big) GetNumber

func (m *Big) GetNumber() int64

func (*Big) GetSub

func (m *Big) GetSub() *Sub

func (*Big) GoString

func (this *Big) GoString() string

func (*Big) ProtoMessage

func (*Big) ProtoMessage()

func (*Big) Reset

func (m *Big) Reset()

func (*Big) String

func (this *Big) String() string

func (*Big) Unmarshal

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

func (*Big) VerboseEqual

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

func (*Big) XXX_DiscardUnknown added in v1.1.0

func (m *Big) XXX_DiscardUnknown()

func (*Big) XXX_Marshal added in v1.1.0

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

func (*Big) XXX_Merge added in v1.1.0

func (dst *Big) XXX_Merge(src proto.Message)

func (*Big) XXX_Size added in v1.1.0

func (m *Big) XXX_Size() int

func (*Big) XXX_Unmarshal added in v1.1.0

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

type BigUnsafe

type BigUnsafe struct {
	Sub                  *Sub     `protobuf:"bytes,1,opt,name=Sub" json:"Sub,omitempty"`
	Number               *int64   `protobuf:"varint,2,opt,name=Number" json:"Number,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedBigUnsafe

func NewPopulatedBigUnsafe(r randyUnmarshalmerge, easy bool) *BigUnsafe

func (*BigUnsafe) Descriptor

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

func (*BigUnsafe) Equal

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

func (*BigUnsafe) GetNumber

func (m *BigUnsafe) GetNumber() int64

func (*BigUnsafe) GetSub

func (m *BigUnsafe) GetSub() *Sub

func (*BigUnsafe) GoString

func (this *BigUnsafe) GoString() string

func (*BigUnsafe) ProtoMessage

func (*BigUnsafe) ProtoMessage()

func (*BigUnsafe) Reset

func (m *BigUnsafe) Reset()

func (*BigUnsafe) String

func (this *BigUnsafe) String() string

func (*BigUnsafe) Unmarshal

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

func (*BigUnsafe) VerboseEqual

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

func (*BigUnsafe) XXX_DiscardUnknown added in v1.1.0

func (m *BigUnsafe) XXX_DiscardUnknown()

func (*BigUnsafe) XXX_Marshal added in v1.1.0

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

func (*BigUnsafe) XXX_Merge added in v1.1.0

func (dst *BigUnsafe) XXX_Merge(src proto.Message)

func (*BigUnsafe) XXX_Size added in v1.1.0

func (m *BigUnsafe) XXX_Size() int

func (*BigUnsafe) XXX_Unmarshal added in v1.1.0

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

type IntMerge

type IntMerge struct {
	Int64                int64    `protobuf:"varint,1,req,name=Int64" json:"Int64"`
	Int32                int32    `protobuf:"varint,2,opt,name=Int32" json:"Int32"`
	Sint32               int32    `protobuf:"zigzag32,3,req,name=Sint32" json:"Sint32"`
	Sint64               int64    `protobuf:"zigzag64,4,opt,name=Sint64" json:"Sint64"`
	Uint64               uint64   `protobuf:"varint,5,opt,name=Uint64" json:"Uint64"`
	Uint32               uint32   `protobuf:"varint,6,req,name=Uint32" json:"Uint32"`
	Fixed64              uint64   `protobuf:"fixed64,7,opt,name=Fixed64" json:"Fixed64"`
	Fixed32              uint32   `protobuf:"fixed32,8,opt,name=Fixed32" json:"Fixed32"`
	Sfixed32             int32    `protobuf:"fixed32,9,req,name=Sfixed32" json:"Sfixed32"`
	Sfixed64             int64    `protobuf:"fixed64,10,opt,name=Sfixed64" json:"Sfixed64"`
	Bool                 bool     `protobuf:"varint,11,opt,name=Bool" json:"Bool"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedIntMerge

func NewPopulatedIntMerge(r randyUnmarshalmerge, easy bool) *IntMerge

func (*IntMerge) Descriptor

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

func (*IntMerge) Equal

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

func (*IntMerge) GetBool

func (m *IntMerge) GetBool() bool

func (*IntMerge) GetFixed32

func (m *IntMerge) GetFixed32() uint32

func (*IntMerge) GetFixed64

func (m *IntMerge) GetFixed64() uint64

func (*IntMerge) GetInt32

func (m *IntMerge) GetInt32() int32

func (*IntMerge) GetInt64

func (m *IntMerge) GetInt64() int64

func (*IntMerge) GetSfixed32

func (m *IntMerge) GetSfixed32() int32

func (*IntMerge) GetSfixed64

func (m *IntMerge) GetSfixed64() int64

func (*IntMerge) GetSint32

func (m *IntMerge) GetSint32() int32

func (*IntMerge) GetSint64

func (m *IntMerge) GetSint64() int64

func (*IntMerge) GetUint32

func (m *IntMerge) GetUint32() uint32

func (*IntMerge) GetUint64

func (m *IntMerge) GetUint64() uint64

func (*IntMerge) GoString

func (this *IntMerge) GoString() string

func (*IntMerge) ProtoMessage

func (*IntMerge) ProtoMessage()

func (*IntMerge) Reset

func (m *IntMerge) Reset()

func (*IntMerge) String

func (this *IntMerge) String() string

func (*IntMerge) Unmarshal

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

func (*IntMerge) VerboseEqual

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

func (*IntMerge) XXX_DiscardUnknown added in v1.1.0

func (m *IntMerge) XXX_DiscardUnknown()

func (*IntMerge) XXX_Marshal added in v1.1.0

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

func (*IntMerge) XXX_Merge added in v1.1.0

func (dst *IntMerge) XXX_Merge(src proto.Message)

func (*IntMerge) XXX_Size added in v1.1.0

func (m *IntMerge) XXX_Size() int

func (*IntMerge) XXX_Unmarshal added in v1.1.0

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

type Sub

type Sub struct {
	SubNumber            *int64   `protobuf:"varint,1,opt,name=SubNumber" json:"SubNumber,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedSub

func NewPopulatedSub(r randyUnmarshalmerge, easy bool) *Sub

func (*Sub) Descriptor

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

func (*Sub) Equal

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

func (*Sub) GetSubNumber

func (m *Sub) GetSubNumber() int64

func (*Sub) GoString

func (this *Sub) GoString() string

func (*Sub) ProtoMessage

func (*Sub) ProtoMessage()

func (*Sub) Reset

func (m *Sub) Reset()

func (*Sub) String

func (this *Sub) String() string

func (*Sub) Unmarshal

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

func (*Sub) VerboseEqual

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

func (*Sub) XXX_DiscardUnknown added in v1.1.0

func (m *Sub) XXX_DiscardUnknown()

func (*Sub) XXX_Marshal added in v1.1.0

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

func (*Sub) XXX_Merge added in v1.1.0

func (dst *Sub) XXX_Merge(src proto.Message)

func (*Sub) XXX_Size added in v1.1.0

func (m *Sub) XXX_Size() int

func (*Sub) XXX_Unmarshal added in v1.1.0

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

Jump to

Keyboard shortcuts

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