Package unmarshalmerge
import "github.com/gogo/protobuf/test/unmarshalmerge"
- Overview
- Index
- Variables
- type Big
- func NewPopulatedBig(r randyUnmarshalmerge, easy bool) *Big
- func (*Big) Descriptor() ([]byte, []int)
- func (this *Big) Equal(that interface{}) bool
- func (m *Big) GetNumber() int64
- func (m *Big) GetSub() *Sub
- func (this *Big) GoString() string
- func (*Big) ProtoMessage()
- func (m *Big) Reset()
- func (this *Big) String() string
- func (m *Big) Unmarshal(dAtA []byte) error
- func (this *Big) VerboseEqual(that interface{}) error
- func (m *Big) XXX_DiscardUnknown()
- func (m *Big) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Big) XXX_Merge(src proto.Message)
- func (m *Big) XXX_Size() int
- func (m *Big) XXX_Unmarshal(b []byte) error
- type BigUnsafe
- func NewPopulatedBigUnsafe(r randyUnmarshalmerge, easy bool) *BigUnsafe
- func (*BigUnsafe) Descriptor() ([]byte, []int)
- func (this *BigUnsafe) Equal(that interface{}) bool
- func (m *BigUnsafe) GetNumber() int64
- func (m *BigUnsafe) GetSub() *Sub
- func (this *BigUnsafe) GoString() string
- func (*BigUnsafe) ProtoMessage()
- func (m *BigUnsafe) Reset()
- func (this *BigUnsafe) String() string
- func (m *BigUnsafe) Unmarshal(dAtA []byte) error
- func (this *BigUnsafe) VerboseEqual(that interface{}) error
- func (m *BigUnsafe) XXX_DiscardUnknown()
- func (m *BigUnsafe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BigUnsafe) XXX_Merge(src proto.Message)
- func (m *BigUnsafe) XXX_Size() int
- func (m *BigUnsafe) XXX_Unmarshal(b []byte) error
- type IntMerge
- func NewPopulatedIntMerge(r randyUnmarshalmerge, easy bool) *IntMerge
- func (*IntMerge) Descriptor() ([]byte, []int)
- func (this *IntMerge) Equal(that interface{}) bool
- func (m *IntMerge) GetBool() bool
- func (m *IntMerge) GetFixed32() uint32
- func (m *IntMerge) GetFixed64() uint64
- func (m *IntMerge) GetInt32() int32
- func (m *IntMerge) GetInt64() int64
- func (m *IntMerge) GetSfixed32() int32
- func (m *IntMerge) GetSfixed64() int64
- func (m *IntMerge) GetSint32() int32
- func (m *IntMerge) GetSint64() int64
- func (m *IntMerge) GetUint32() uint32
- func (m *IntMerge) GetUint64() uint64
- func (this *IntMerge) GoString() string
- func (*IntMerge) ProtoMessage()
- func (m *IntMerge) Reset()
- func (this *IntMerge) String() string
- func (m *IntMerge) Unmarshal(dAtA []byte) error
- func (this *IntMerge) VerboseEqual(that interface{}) error
- func (m *IntMerge) XXX_DiscardUnknown()
- func (m *IntMerge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IntMerge) XXX_Merge(src proto.Message)
- func (m *IntMerge) XXX_Size() int
- func (m *IntMerge) XXX_Unmarshal(b []byte) error
- type Sub
- func NewPopulatedSub(r randyUnmarshalmerge, easy bool) *Sub
- func (*Sub) Descriptor() ([]byte, []int)
- func (this *Sub) Equal(that interface{}) bool
- func (m *Sub) GetSubNumber() int64
- func (this *Sub) GoString() string
- func (*Sub) ProtoMessage()
- func (m *Sub) Reset()
- func (this *Sub) String() string
- func (m *Sub) Unmarshal(dAtA []byte) error
- func (this *Sub) VerboseEqual(that interface{}) error
- func (m *Sub) XXX_DiscardUnknown()
- func (m *Sub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sub) XXX_Merge(src proto.Message)
- func (m *Sub) XXX_Size() int
- func (m *Sub) XXX_Unmarshal(b []byte) error
Package files
unmarshalmerge.pb.go
Variables
var (
ErrInvalidLengthUnmarshalmerge = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowUnmarshalmerge = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupUnmarshalmerge = fmt.Errorf("proto: unexpected end of group")
)
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(r randyUnmarshalmerge, easy bool) *Big
func (*Big) Descriptor() ([]byte, []int)
func (*Big) Equal
¶
func (this *Big) Equal(that interface{}) bool
func (m *Big) GetNumber() int64
func (m *Big) GetSub() *Sub
func (this *Big) GoString() string
func (*Big) ProtoMessage()
func (*Big) Reset
¶
func (m *Big) Reset()
func (this *Big) String() string
func (m *Big) Unmarshal(dAtA []byte) error
func (this *Big) VerboseEqual(that interface{}) error
func (m *Big) XXX_DiscardUnknown()
func (m *Big) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Big) XXX_Merge(src proto.Message)
func (m *Big) XXX_Size() int
func (m *Big) XXX_Unmarshal(b []byte) error
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(r randyUnmarshalmerge, easy bool) *BigUnsafe
func (*BigUnsafe) Descriptor() ([]byte, []int)
func (*BigUnsafe) Equal
¶
func (this *BigUnsafe) Equal(that interface{}) bool
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) Reset
¶
func (m *BigUnsafe) Reset()
func (*BigUnsafe) String
¶
func (this *BigUnsafe) String() string
func (m *BigUnsafe) Unmarshal(dAtA []byte) error
func (this *BigUnsafe) VerboseEqual(that interface{}) error
func (m *BigUnsafe) XXX_DiscardUnknown()
func (m *BigUnsafe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *BigUnsafe) XXX_Merge(src proto.Message)
func (*BigUnsafe) XXX_Size
¶
func (m *BigUnsafe) XXX_Size() int
func (m *BigUnsafe) XXX_Unmarshal(b []byte) error
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(r randyUnmarshalmerge, easy bool) *IntMerge
func (*IntMerge) Descriptor() ([]byte, []int)
func (*IntMerge) Equal
¶
func (this *IntMerge) Equal(that interface{}) bool
func (*IntMerge) GetBool
¶
func (m *IntMerge) GetBool() bool
func (m *IntMerge) GetFixed32() uint32
func (m *IntMerge) GetFixed64() uint64
func (m *IntMerge) GetInt32() int32
func (m *IntMerge) GetInt64() int64
func (m *IntMerge) GetSfixed32() int32
func (m *IntMerge) GetSfixed64() int64
func (m *IntMerge) GetSint32() int32
func (m *IntMerge) GetSint64() int64
func (m *IntMerge) GetUint32() uint32
func (m *IntMerge) GetUint64() uint64
func (this *IntMerge) GoString() string
func (*IntMerge) ProtoMessage()
func (*IntMerge) Reset
¶
func (m *IntMerge) Reset()
func (*IntMerge) String
¶
func (this *IntMerge) String() string
func (m *IntMerge) Unmarshal(dAtA []byte) error
func (this *IntMerge) VerboseEqual(that interface{}) error
func (m *IntMerge) XXX_DiscardUnknown()
func (m *IntMerge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *IntMerge) XXX_Merge(src proto.Message)
func (m *IntMerge) XXX_Size() int
func (m *IntMerge) XXX_Unmarshal(b []byte) error
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(r randyUnmarshalmerge, easy bool) *Sub
func (*Sub) Descriptor() ([]byte, []int)
func (*Sub) Equal
¶
func (this *Sub) Equal(that interface{}) bool
func (m *Sub) GetSubNumber() int64
func (this *Sub) GoString() string
func (*Sub) ProtoMessage()
func (*Sub) Reset
¶
func (m *Sub) Reset()
func (this *Sub) String() string
func (m *Sub) Unmarshal(dAtA []byte) error
func (this *Sub) VerboseEqual(that interface{}) error
func (m *Sub) XXX_DiscardUnknown()
func (m *Sub) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Sub) XXX_Merge(src proto.Message)
func (m *Sub) XXX_Size() int
func (m *Sub) XXX_Unmarshal(b []byte) error