Documentation ¶
Index ¶
- Variables
- func OneDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- type AllTypesOneOf
- func (this *AllTypesOneOf) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*AllTypesOneOf) Descriptor() ([]byte, []int)
- func (this *AllTypesOneOf) Equal(that interface{}) bool
- func (m *AllTypesOneOf) GetField1() float64
- func (m *AllTypesOneOf) GetField10() int32
- func (m *AllTypesOneOf) GetField11() uint64
- func (m *AllTypesOneOf) GetField12() int64
- func (m *AllTypesOneOf) GetField13() bool
- func (m *AllTypesOneOf) GetField14() string
- func (m *AllTypesOneOf) GetField15() []byte
- func (m *AllTypesOneOf) GetField2() float32
- func (m *AllTypesOneOf) GetField3() int32
- func (m *AllTypesOneOf) GetField4() int64
- func (m *AllTypesOneOf) GetField5() uint32
- func (m *AllTypesOneOf) GetField6() uint64
- func (m *AllTypesOneOf) GetField7() int32
- func (m *AllTypesOneOf) GetField8() int64
- func (m *AllTypesOneOf) GetField9() uint32
- func (m *AllTypesOneOf) GetSubMessage() *Subby
- func (m *AllTypesOneOf) GetTestOneof() isAllTypesOneOf_TestOneof
- func (this *AllTypesOneOf) GoString() string
- func (*AllTypesOneOf) ProtoMessage()
- func (m *AllTypesOneOf) Reset()
- func (m *AllTypesOneOf) Size() (n int)
- func (this *AllTypesOneOf) String() string
- func (m *AllTypesOneOf) Unmarshal(dAtA []byte) error
- func (this *AllTypesOneOf) VerboseEqual(that interface{}) error
- func (m *AllTypesOneOf) XXX_DiscardUnknown()
- func (m *AllTypesOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AllTypesOneOf) XXX_Merge(src proto.Message)
- func (*AllTypesOneOf) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *AllTypesOneOf) XXX_Size() int
- func (m *AllTypesOneOf) XXX_Unmarshal(b []byte) error
- type AllTypesOneOf_Field1
- type AllTypesOneOf_Field10
- type AllTypesOneOf_Field11
- type AllTypesOneOf_Field12
- type AllTypesOneOf_Field13
- type AllTypesOneOf_Field14
- type AllTypesOneOf_Field15
- type AllTypesOneOf_Field2
- type AllTypesOneOf_Field3
- type AllTypesOneOf_Field4
- type AllTypesOneOf_Field5
- type AllTypesOneOf_Field6
- type AllTypesOneOf_Field7
- type AllTypesOneOf_Field8
- type AllTypesOneOf_Field9
- type AllTypesOneOf_SubMessage
- func (this *AllTypesOneOf_SubMessage) Equal(that interface{}) bool
- func (this *AllTypesOneOf_SubMessage) GoString() string
- func (m *AllTypesOneOf_SubMessage) Size() (n int)
- func (this *AllTypesOneOf_SubMessage) String() string
- func (this *AllTypesOneOf_SubMessage) VerboseEqual(that interface{}) error
- type CustomOneof
- func (this *CustomOneof) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*CustomOneof) Descriptor() ([]byte, []int)
- func (this *CustomOneof) Equal(that interface{}) bool
- func (m *CustomOneof) GetCastType() github_com_gogo_protobuf_test_casttype.MyUint64Type
- func (m *CustomOneof) GetCustom() isCustomOneof_Custom
- func (m *CustomOneof) GetMyCustomName() int64
- func (m *CustomOneof) GetStringy() string
- func (this *CustomOneof) GoString() string
- func (*CustomOneof) ProtoMessage()
- func (m *CustomOneof) Reset()
- func (m *CustomOneof) Size() (n int)
- func (this *CustomOneof) String() string
- func (m *CustomOneof) Unmarshal(dAtA []byte) error
- func (this *CustomOneof) VerboseEqual(that interface{}) error
- func (m *CustomOneof) XXX_DiscardUnknown()
- func (m *CustomOneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CustomOneof) XXX_Merge(src proto.Message)
- func (*CustomOneof) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *CustomOneof) XXX_Size() int
- func (m *CustomOneof) XXX_Unmarshal(b []byte) error
- type CustomOneof_CastType
- type CustomOneof_CustomType
- type CustomOneof_MyCustomName
- func (this *CustomOneof_MyCustomName) Equal(that interface{}) bool
- func (this *CustomOneof_MyCustomName) GoString() string
- func (m *CustomOneof_MyCustomName) Size() (n int)
- func (this *CustomOneof_MyCustomName) String() string
- func (this *CustomOneof_MyCustomName) VerboseEqual(that interface{}) error
- type CustomOneof_Stringy
- type Subby
- func (this *Subby) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Subby) Descriptor() ([]byte, []int)
- func (this *Subby) Equal(that interface{}) bool
- func (this *Subby) GoString() string
- func (*Subby) ProtoMessage()
- func (m *Subby) Reset()
- func (m *Subby) Size() (n int)
- func (this *Subby) String() string
- func (m *Subby) Unmarshal(dAtA []byte) error
- func (this *Subby) VerboseEqual(that interface{}) error
- func (m *Subby) XXX_DiscardUnknown()
- func (m *Subby) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Subby) XXX_Merge(src proto.Message)
- func (m *Subby) XXX_Size() int
- func (m *Subby) XXX_Unmarshal(b []byte) error
- type TwoOneofs
- func (this *TwoOneofs) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*TwoOneofs) Descriptor() ([]byte, []int)
- func (this *TwoOneofs) Equal(that interface{}) bool
- func (m *TwoOneofs) GetField1() float64
- func (m *TwoOneofs) GetField2() float32
- func (m *TwoOneofs) GetField3() int32
- func (m *TwoOneofs) GetField34() string
- func (m *TwoOneofs) GetField35() []byte
- func (m *TwoOneofs) GetOne() isTwoOneofs_One
- func (m *TwoOneofs) GetSubMessage2() *Subby
- func (m *TwoOneofs) GetTwo() isTwoOneofs_Two
- func (this *TwoOneofs) GoString() string
- func (*TwoOneofs) ProtoMessage()
- func (m *TwoOneofs) Reset()
- func (m *TwoOneofs) Size() (n int)
- func (this *TwoOneofs) String() string
- func (m *TwoOneofs) Unmarshal(dAtA []byte) error
- func (this *TwoOneofs) VerboseEqual(that interface{}) error
- func (m *TwoOneofs) XXX_DiscardUnknown()
- func (m *TwoOneofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TwoOneofs) XXX_Merge(src proto.Message)
- func (*TwoOneofs) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *TwoOneofs) XXX_Size() int
- func (m *TwoOneofs) XXX_Unmarshal(b []byte) error
- type TwoOneofs_Field1
- type TwoOneofs_Field2
- type TwoOneofs_Field3
- type TwoOneofs_Field34
- type TwoOneofs_Field35
- type TwoOneofs_SubMessage2
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthOne = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOne = fmt.Errorf("proto: integer overflow") )
Functions ¶
func OneDescription ¶
func OneDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
Types ¶
type AllTypesOneOf ¶
type AllTypesOneOf struct { // Types that are valid to be assigned to TestOneof: // *AllTypesOneOf_Field1 // *AllTypesOneOf_Field2 // *AllTypesOneOf_Field3 // *AllTypesOneOf_Field4 // *AllTypesOneOf_Field5 // *AllTypesOneOf_Field6 // *AllTypesOneOf_Field7 // *AllTypesOneOf_Field8 // *AllTypesOneOf_Field9 // *AllTypesOneOf_Field10 // *AllTypesOneOf_Field11 // *AllTypesOneOf_Field12 // *AllTypesOneOf_Field13 // *AllTypesOneOf_Field14 // *AllTypesOneOf_Field15 // *AllTypesOneOf_SubMessage TestOneof isAllTypesOneOf_TestOneof `protobuf_oneof:"test_oneof"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedAllTypesOneOf ¶
func NewPopulatedAllTypesOneOf(r randyOne, easy bool) *AllTypesOneOf
func (*AllTypesOneOf) Description ¶
func (this *AllTypesOneOf) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*AllTypesOneOf) Descriptor ¶
func (*AllTypesOneOf) Descriptor() ([]byte, []int)
func (*AllTypesOneOf) Equal ¶
func (this *AllTypesOneOf) Equal(that interface{}) bool
func (*AllTypesOneOf) GetField1 ¶
func (m *AllTypesOneOf) GetField1() float64
func (*AllTypesOneOf) GetField10 ¶
func (m *AllTypesOneOf) GetField10() int32
func (*AllTypesOneOf) GetField11 ¶
func (m *AllTypesOneOf) GetField11() uint64
func (*AllTypesOneOf) GetField12 ¶
func (m *AllTypesOneOf) GetField12() int64
func (*AllTypesOneOf) GetField13 ¶
func (m *AllTypesOneOf) GetField13() bool
func (*AllTypesOneOf) GetField14 ¶
func (m *AllTypesOneOf) GetField14() string
func (*AllTypesOneOf) GetField15 ¶
func (m *AllTypesOneOf) GetField15() []byte
func (*AllTypesOneOf) GetField2 ¶
func (m *AllTypesOneOf) GetField2() float32
func (*AllTypesOneOf) GetField3 ¶
func (m *AllTypesOneOf) GetField3() int32
func (*AllTypesOneOf) GetField4 ¶
func (m *AllTypesOneOf) GetField4() int64
func (*AllTypesOneOf) GetField5 ¶
func (m *AllTypesOneOf) GetField5() uint32
func (*AllTypesOneOf) GetField6 ¶
func (m *AllTypesOneOf) GetField6() uint64
func (*AllTypesOneOf) GetField7 ¶
func (m *AllTypesOneOf) GetField7() int32
func (*AllTypesOneOf) GetField8 ¶
func (m *AllTypesOneOf) GetField8() int64
func (*AllTypesOneOf) GetField9 ¶
func (m *AllTypesOneOf) GetField9() uint32
func (*AllTypesOneOf) GetSubMessage ¶
func (m *AllTypesOneOf) GetSubMessage() *Subby
func (*AllTypesOneOf) GetTestOneof ¶
func (m *AllTypesOneOf) GetTestOneof() isAllTypesOneOf_TestOneof
func (*AllTypesOneOf) GoString ¶
func (this *AllTypesOneOf) GoString() string
func (*AllTypesOneOf) ProtoMessage ¶
func (*AllTypesOneOf) ProtoMessage()
func (*AllTypesOneOf) Reset ¶
func (m *AllTypesOneOf) Reset()
func (*AllTypesOneOf) Size ¶
func (m *AllTypesOneOf) Size() (n int)
func (*AllTypesOneOf) String ¶
func (this *AllTypesOneOf) String() string
func (*AllTypesOneOf) Unmarshal ¶
func (m *AllTypesOneOf) Unmarshal(dAtA []byte) error
func (*AllTypesOneOf) VerboseEqual ¶
func (this *AllTypesOneOf) VerboseEqual(that interface{}) error
func (*AllTypesOneOf) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *AllTypesOneOf) XXX_DiscardUnknown()
func (*AllTypesOneOf) XXX_Marshal ¶ added in v1.1.1
func (m *AllTypesOneOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllTypesOneOf) XXX_Merge ¶ added in v1.1.1
func (dst *AllTypesOneOf) XXX_Merge(src proto.Message)
func (*AllTypesOneOf) XXX_OneofFuncs ¶
func (*AllTypesOneOf) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*AllTypesOneOf) XXX_Size ¶ added in v1.1.1
func (m *AllTypesOneOf) XXX_Size() int
func (*AllTypesOneOf) XXX_Unmarshal ¶ added in v1.1.1
func (m *AllTypesOneOf) XXX_Unmarshal(b []byte) error
type AllTypesOneOf_Field1 ¶
type AllTypesOneOf_Field1 struct {
Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof"`
}
func NewPopulatedAllTypesOneOf_Field1 ¶
func NewPopulatedAllTypesOneOf_Field1(r randyOne, easy bool) *AllTypesOneOf_Field1
func (*AllTypesOneOf_Field1) Equal ¶
func (this *AllTypesOneOf_Field1) Equal(that interface{}) bool
func (*AllTypesOneOf_Field1) GoString ¶
func (this *AllTypesOneOf_Field1) GoString() string
func (*AllTypesOneOf_Field1) Size ¶
func (m *AllTypesOneOf_Field1) Size() (n int)
func (*AllTypesOneOf_Field1) String ¶
func (this *AllTypesOneOf_Field1) String() string
func (*AllTypesOneOf_Field1) VerboseEqual ¶
func (this *AllTypesOneOf_Field1) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field10 ¶
type AllTypesOneOf_Field10 struct {
Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,oneof"`
}
func NewPopulatedAllTypesOneOf_Field10 ¶
func NewPopulatedAllTypesOneOf_Field10(r randyOne, easy bool) *AllTypesOneOf_Field10
func (*AllTypesOneOf_Field10) Equal ¶
func (this *AllTypesOneOf_Field10) Equal(that interface{}) bool
func (*AllTypesOneOf_Field10) GoString ¶
func (this *AllTypesOneOf_Field10) GoString() string
func (*AllTypesOneOf_Field10) Size ¶
func (m *AllTypesOneOf_Field10) Size() (n int)
func (*AllTypesOneOf_Field10) String ¶
func (this *AllTypesOneOf_Field10) String() string
func (*AllTypesOneOf_Field10) VerboseEqual ¶
func (this *AllTypesOneOf_Field10) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field11 ¶
type AllTypesOneOf_Field11 struct {
Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,oneof"`
}
func NewPopulatedAllTypesOneOf_Field11 ¶
func NewPopulatedAllTypesOneOf_Field11(r randyOne, easy bool) *AllTypesOneOf_Field11
func (*AllTypesOneOf_Field11) Equal ¶
func (this *AllTypesOneOf_Field11) Equal(that interface{}) bool
func (*AllTypesOneOf_Field11) GoString ¶
func (this *AllTypesOneOf_Field11) GoString() string
func (*AllTypesOneOf_Field11) Size ¶
func (m *AllTypesOneOf_Field11) Size() (n int)
func (*AllTypesOneOf_Field11) String ¶
func (this *AllTypesOneOf_Field11) String() string
func (*AllTypesOneOf_Field11) VerboseEqual ¶
func (this *AllTypesOneOf_Field11) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field12 ¶
type AllTypesOneOf_Field12 struct {
Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,oneof"`
}
func NewPopulatedAllTypesOneOf_Field12 ¶
func NewPopulatedAllTypesOneOf_Field12(r randyOne, easy bool) *AllTypesOneOf_Field12
func (*AllTypesOneOf_Field12) Equal ¶
func (this *AllTypesOneOf_Field12) Equal(that interface{}) bool
func (*AllTypesOneOf_Field12) GoString ¶
func (this *AllTypesOneOf_Field12) GoString() string
func (*AllTypesOneOf_Field12) Size ¶
func (m *AllTypesOneOf_Field12) Size() (n int)
func (*AllTypesOneOf_Field12) String ¶
func (this *AllTypesOneOf_Field12) String() string
func (*AllTypesOneOf_Field12) VerboseEqual ¶
func (this *AllTypesOneOf_Field12) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field13 ¶
type AllTypesOneOf_Field13 struct {
Field13 bool `protobuf:"varint,13,opt,name=Field13,oneof"`
}
func NewPopulatedAllTypesOneOf_Field13 ¶
func NewPopulatedAllTypesOneOf_Field13(r randyOne, easy bool) *AllTypesOneOf_Field13
func (*AllTypesOneOf_Field13) Equal ¶
func (this *AllTypesOneOf_Field13) Equal(that interface{}) bool
func (*AllTypesOneOf_Field13) GoString ¶
func (this *AllTypesOneOf_Field13) GoString() string
func (*AllTypesOneOf_Field13) Size ¶
func (m *AllTypesOneOf_Field13) Size() (n int)
func (*AllTypesOneOf_Field13) String ¶
func (this *AllTypesOneOf_Field13) String() string
func (*AllTypesOneOf_Field13) VerboseEqual ¶
func (this *AllTypesOneOf_Field13) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field14 ¶
type AllTypesOneOf_Field14 struct {
Field14 string `protobuf:"bytes,14,opt,name=Field14,oneof"`
}
func NewPopulatedAllTypesOneOf_Field14 ¶
func NewPopulatedAllTypesOneOf_Field14(r randyOne, easy bool) *AllTypesOneOf_Field14
func (*AllTypesOneOf_Field14) Equal ¶
func (this *AllTypesOneOf_Field14) Equal(that interface{}) bool
func (*AllTypesOneOf_Field14) GoString ¶
func (this *AllTypesOneOf_Field14) GoString() string
func (*AllTypesOneOf_Field14) Size ¶
func (m *AllTypesOneOf_Field14) Size() (n int)
func (*AllTypesOneOf_Field14) String ¶
func (this *AllTypesOneOf_Field14) String() string
func (*AllTypesOneOf_Field14) VerboseEqual ¶
func (this *AllTypesOneOf_Field14) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field15 ¶
type AllTypesOneOf_Field15 struct {
Field15 []byte `protobuf:"bytes,15,opt,name=Field15,oneof"`
}
func NewPopulatedAllTypesOneOf_Field15 ¶
func NewPopulatedAllTypesOneOf_Field15(r randyOne, easy bool) *AllTypesOneOf_Field15
func (*AllTypesOneOf_Field15) Equal ¶
func (this *AllTypesOneOf_Field15) Equal(that interface{}) bool
func (*AllTypesOneOf_Field15) GoString ¶
func (this *AllTypesOneOf_Field15) GoString() string
func (*AllTypesOneOf_Field15) Size ¶
func (m *AllTypesOneOf_Field15) Size() (n int)
func (*AllTypesOneOf_Field15) String ¶
func (this *AllTypesOneOf_Field15) String() string
func (*AllTypesOneOf_Field15) VerboseEqual ¶
func (this *AllTypesOneOf_Field15) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field2 ¶
type AllTypesOneOf_Field2 struct {
Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof"`
}
func NewPopulatedAllTypesOneOf_Field2 ¶
func NewPopulatedAllTypesOneOf_Field2(r randyOne, easy bool) *AllTypesOneOf_Field2
func (*AllTypesOneOf_Field2) Equal ¶
func (this *AllTypesOneOf_Field2) Equal(that interface{}) bool
func (*AllTypesOneOf_Field2) GoString ¶
func (this *AllTypesOneOf_Field2) GoString() string
func (*AllTypesOneOf_Field2) Size ¶
func (m *AllTypesOneOf_Field2) Size() (n int)
func (*AllTypesOneOf_Field2) String ¶
func (this *AllTypesOneOf_Field2) String() string
func (*AllTypesOneOf_Field2) VerboseEqual ¶
func (this *AllTypesOneOf_Field2) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field3 ¶
type AllTypesOneOf_Field3 struct {
Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof"`
}
func NewPopulatedAllTypesOneOf_Field3 ¶
func NewPopulatedAllTypesOneOf_Field3(r randyOne, easy bool) *AllTypesOneOf_Field3
func (*AllTypesOneOf_Field3) Equal ¶
func (this *AllTypesOneOf_Field3) Equal(that interface{}) bool
func (*AllTypesOneOf_Field3) GoString ¶
func (this *AllTypesOneOf_Field3) GoString() string
func (*AllTypesOneOf_Field3) Size ¶
func (m *AllTypesOneOf_Field3) Size() (n int)
func (*AllTypesOneOf_Field3) String ¶
func (this *AllTypesOneOf_Field3) String() string
func (*AllTypesOneOf_Field3) VerboseEqual ¶
func (this *AllTypesOneOf_Field3) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field4 ¶
type AllTypesOneOf_Field4 struct {
Field4 int64 `protobuf:"varint,4,opt,name=Field4,oneof"`
}
func NewPopulatedAllTypesOneOf_Field4 ¶
func NewPopulatedAllTypesOneOf_Field4(r randyOne, easy bool) *AllTypesOneOf_Field4
func (*AllTypesOneOf_Field4) Equal ¶
func (this *AllTypesOneOf_Field4) Equal(that interface{}) bool
func (*AllTypesOneOf_Field4) GoString ¶
func (this *AllTypesOneOf_Field4) GoString() string
func (*AllTypesOneOf_Field4) Size ¶
func (m *AllTypesOneOf_Field4) Size() (n int)
func (*AllTypesOneOf_Field4) String ¶
func (this *AllTypesOneOf_Field4) String() string
func (*AllTypesOneOf_Field4) VerboseEqual ¶
func (this *AllTypesOneOf_Field4) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field5 ¶
type AllTypesOneOf_Field5 struct {
Field5 uint32 `protobuf:"varint,5,opt,name=Field5,oneof"`
}
func NewPopulatedAllTypesOneOf_Field5 ¶
func NewPopulatedAllTypesOneOf_Field5(r randyOne, easy bool) *AllTypesOneOf_Field5
func (*AllTypesOneOf_Field5) Equal ¶
func (this *AllTypesOneOf_Field5) Equal(that interface{}) bool
func (*AllTypesOneOf_Field5) GoString ¶
func (this *AllTypesOneOf_Field5) GoString() string
func (*AllTypesOneOf_Field5) Size ¶
func (m *AllTypesOneOf_Field5) Size() (n int)
func (*AllTypesOneOf_Field5) String ¶
func (this *AllTypesOneOf_Field5) String() string
func (*AllTypesOneOf_Field5) VerboseEqual ¶
func (this *AllTypesOneOf_Field5) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field6 ¶
type AllTypesOneOf_Field6 struct {
Field6 uint64 `protobuf:"varint,6,opt,name=Field6,oneof"`
}
func NewPopulatedAllTypesOneOf_Field6 ¶
func NewPopulatedAllTypesOneOf_Field6(r randyOne, easy bool) *AllTypesOneOf_Field6
func (*AllTypesOneOf_Field6) Equal ¶
func (this *AllTypesOneOf_Field6) Equal(that interface{}) bool
func (*AllTypesOneOf_Field6) GoString ¶
func (this *AllTypesOneOf_Field6) GoString() string
func (*AllTypesOneOf_Field6) Size ¶
func (m *AllTypesOneOf_Field6) Size() (n int)
func (*AllTypesOneOf_Field6) String ¶
func (this *AllTypesOneOf_Field6) String() string
func (*AllTypesOneOf_Field6) VerboseEqual ¶
func (this *AllTypesOneOf_Field6) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field7 ¶
type AllTypesOneOf_Field7 struct {
Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,oneof"`
}
func NewPopulatedAllTypesOneOf_Field7 ¶
func NewPopulatedAllTypesOneOf_Field7(r randyOne, easy bool) *AllTypesOneOf_Field7
func (*AllTypesOneOf_Field7) Equal ¶
func (this *AllTypesOneOf_Field7) Equal(that interface{}) bool
func (*AllTypesOneOf_Field7) GoString ¶
func (this *AllTypesOneOf_Field7) GoString() string
func (*AllTypesOneOf_Field7) Size ¶
func (m *AllTypesOneOf_Field7) Size() (n int)
func (*AllTypesOneOf_Field7) String ¶
func (this *AllTypesOneOf_Field7) String() string
func (*AllTypesOneOf_Field7) VerboseEqual ¶
func (this *AllTypesOneOf_Field7) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field8 ¶
type AllTypesOneOf_Field8 struct {
Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,oneof"`
}
func NewPopulatedAllTypesOneOf_Field8 ¶
func NewPopulatedAllTypesOneOf_Field8(r randyOne, easy bool) *AllTypesOneOf_Field8
func (*AllTypesOneOf_Field8) Equal ¶
func (this *AllTypesOneOf_Field8) Equal(that interface{}) bool
func (*AllTypesOneOf_Field8) GoString ¶
func (this *AllTypesOneOf_Field8) GoString() string
func (*AllTypesOneOf_Field8) Size ¶
func (m *AllTypesOneOf_Field8) Size() (n int)
func (*AllTypesOneOf_Field8) String ¶
func (this *AllTypesOneOf_Field8) String() string
func (*AllTypesOneOf_Field8) VerboseEqual ¶
func (this *AllTypesOneOf_Field8) VerboseEqual(that interface{}) error
type AllTypesOneOf_Field9 ¶
type AllTypesOneOf_Field9 struct {
Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,oneof"`
}
func NewPopulatedAllTypesOneOf_Field9 ¶
func NewPopulatedAllTypesOneOf_Field9(r randyOne, easy bool) *AllTypesOneOf_Field9
func (*AllTypesOneOf_Field9) Equal ¶
func (this *AllTypesOneOf_Field9) Equal(that interface{}) bool
func (*AllTypesOneOf_Field9) GoString ¶
func (this *AllTypesOneOf_Field9) GoString() string
func (*AllTypesOneOf_Field9) Size ¶
func (m *AllTypesOneOf_Field9) Size() (n int)
func (*AllTypesOneOf_Field9) String ¶
func (this *AllTypesOneOf_Field9) String() string
func (*AllTypesOneOf_Field9) VerboseEqual ¶
func (this *AllTypesOneOf_Field9) VerboseEqual(that interface{}) error
type AllTypesOneOf_SubMessage ¶
type AllTypesOneOf_SubMessage struct {
SubMessage *Subby `protobuf:"bytes,16,opt,name=sub_message,json=subMessage,oneof"`
}
func NewPopulatedAllTypesOneOf_SubMessage ¶
func NewPopulatedAllTypesOneOf_SubMessage(r randyOne, easy bool) *AllTypesOneOf_SubMessage
func (*AllTypesOneOf_SubMessage) Equal ¶
func (this *AllTypesOneOf_SubMessage) Equal(that interface{}) bool
func (*AllTypesOneOf_SubMessage) GoString ¶
func (this *AllTypesOneOf_SubMessage) GoString() string
func (*AllTypesOneOf_SubMessage) Size ¶
func (m *AllTypesOneOf_SubMessage) Size() (n int)
func (*AllTypesOneOf_SubMessage) String ¶
func (this *AllTypesOneOf_SubMessage) String() string
func (*AllTypesOneOf_SubMessage) VerboseEqual ¶
func (this *AllTypesOneOf_SubMessage) VerboseEqual(that interface{}) error
type CustomOneof ¶
type CustomOneof struct { // Types that are valid to be assigned to Custom: // *CustomOneof_Stringy // *CustomOneof_CustomType // *CustomOneof_CastType // *CustomOneof_MyCustomName Custom isCustomOneof_Custom `protobuf_oneof:"custom"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedCustomOneof ¶
func NewPopulatedCustomOneof(r randyOne, easy bool) *CustomOneof
func (*CustomOneof) Description ¶
func (this *CustomOneof) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*CustomOneof) Descriptor ¶
func (*CustomOneof) Descriptor() ([]byte, []int)
func (*CustomOneof) Equal ¶
func (this *CustomOneof) Equal(that interface{}) bool
func (*CustomOneof) GetCastType ¶
func (m *CustomOneof) GetCastType() github_com_gogo_protobuf_test_casttype.MyUint64Type
func (*CustomOneof) GetCustom ¶
func (m *CustomOneof) GetCustom() isCustomOneof_Custom
func (*CustomOneof) GetMyCustomName ¶
func (m *CustomOneof) GetMyCustomName() int64
func (*CustomOneof) GetStringy ¶
func (m *CustomOneof) GetStringy() string
func (*CustomOneof) GoString ¶
func (this *CustomOneof) GoString() string
func (*CustomOneof) ProtoMessage ¶
func (*CustomOneof) ProtoMessage()
func (*CustomOneof) Reset ¶
func (m *CustomOneof) Reset()
func (*CustomOneof) Size ¶
func (m *CustomOneof) Size() (n int)
func (*CustomOneof) String ¶
func (this *CustomOneof) String() string
func (*CustomOneof) Unmarshal ¶
func (m *CustomOneof) Unmarshal(dAtA []byte) error
func (*CustomOneof) VerboseEqual ¶
func (this *CustomOneof) VerboseEqual(that interface{}) error
func (*CustomOneof) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *CustomOneof) XXX_DiscardUnknown()
func (*CustomOneof) XXX_Marshal ¶ added in v1.1.1
func (m *CustomOneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CustomOneof) XXX_Merge ¶ added in v1.1.1
func (dst *CustomOneof) XXX_Merge(src proto.Message)
func (*CustomOneof) XXX_OneofFuncs ¶
func (*CustomOneof) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*CustomOneof) XXX_Size ¶ added in v1.1.1
func (m *CustomOneof) XXX_Size() int
func (*CustomOneof) XXX_Unmarshal ¶ added in v1.1.1
func (m *CustomOneof) XXX_Unmarshal(b []byte) error
type CustomOneof_CastType ¶
type CustomOneof_CastType struct {
CastType github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,36,opt,name=CastType,oneof,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type"`
}
func NewPopulatedCustomOneof_CastType ¶
func NewPopulatedCustomOneof_CastType(r randyOne, easy bool) *CustomOneof_CastType
func (*CustomOneof_CastType) Equal ¶
func (this *CustomOneof_CastType) Equal(that interface{}) bool
func (*CustomOneof_CastType) GoString ¶
func (this *CustomOneof_CastType) GoString() string
func (*CustomOneof_CastType) Size ¶
func (m *CustomOneof_CastType) Size() (n int)
func (*CustomOneof_CastType) String ¶
func (this *CustomOneof_CastType) String() string
func (*CustomOneof_CastType) VerboseEqual ¶
func (this *CustomOneof_CastType) VerboseEqual(that interface{}) error
type CustomOneof_CustomType ¶
type CustomOneof_CustomType struct {
CustomType github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,35,opt,name=CustomType,oneof,customtype=github.com/gogo/protobuf/test/custom.Uint128"`
}
func NewPopulatedCustomOneof_CustomType ¶
func NewPopulatedCustomOneof_CustomType(r randyOne, easy bool) *CustomOneof_CustomType
func (*CustomOneof_CustomType) Equal ¶
func (this *CustomOneof_CustomType) Equal(that interface{}) bool
func (*CustomOneof_CustomType) GoString ¶
func (this *CustomOneof_CustomType) GoString() string
func (*CustomOneof_CustomType) Size ¶
func (m *CustomOneof_CustomType) Size() (n int)
func (*CustomOneof_CustomType) String ¶
func (this *CustomOneof_CustomType) String() string
func (*CustomOneof_CustomType) VerboseEqual ¶
func (this *CustomOneof_CustomType) VerboseEqual(that interface{}) error
type CustomOneof_MyCustomName ¶
type CustomOneof_MyCustomName struct {
MyCustomName int64 `protobuf:"varint,37,opt,name=CustomName,oneof"`
}
func NewPopulatedCustomOneof_MyCustomName ¶
func NewPopulatedCustomOneof_MyCustomName(r randyOne, easy bool) *CustomOneof_MyCustomName
func (*CustomOneof_MyCustomName) Equal ¶
func (this *CustomOneof_MyCustomName) Equal(that interface{}) bool
func (*CustomOneof_MyCustomName) GoString ¶
func (this *CustomOneof_MyCustomName) GoString() string
func (*CustomOneof_MyCustomName) Size ¶
func (m *CustomOneof_MyCustomName) Size() (n int)
func (*CustomOneof_MyCustomName) String ¶
func (this *CustomOneof_MyCustomName) String() string
func (*CustomOneof_MyCustomName) VerboseEqual ¶
func (this *CustomOneof_MyCustomName) VerboseEqual(that interface{}) error
type CustomOneof_Stringy ¶
type CustomOneof_Stringy struct {
Stringy string `protobuf:"bytes,34,opt,name=Stringy,oneof"`
}
func NewPopulatedCustomOneof_Stringy ¶
func NewPopulatedCustomOneof_Stringy(r randyOne, easy bool) *CustomOneof_Stringy
func (*CustomOneof_Stringy) Equal ¶
func (this *CustomOneof_Stringy) Equal(that interface{}) bool
func (*CustomOneof_Stringy) GoString ¶
func (this *CustomOneof_Stringy) GoString() string
func (*CustomOneof_Stringy) Size ¶
func (m *CustomOneof_Stringy) Size() (n int)
func (*CustomOneof_Stringy) String ¶
func (this *CustomOneof_Stringy) String() string
func (*CustomOneof_Stringy) VerboseEqual ¶
func (this *CustomOneof_Stringy) VerboseEqual(that interface{}) error
type Subby ¶
type Subby struct { Sub *string `protobuf:"bytes,1,opt,name=sub" json:"sub,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedSubby ¶
func (*Subby) Description ¶
func (this *Subby) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Subby) Descriptor ¶
func (*Subby) ProtoMessage ¶
func (*Subby) ProtoMessage()
func (*Subby) VerboseEqual ¶
func (*Subby) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *Subby) XXX_DiscardUnknown()
func (*Subby) XXX_Marshal ¶ added in v1.1.1
func (*Subby) XXX_Unmarshal ¶ added in v1.1.1
type TwoOneofs ¶
type TwoOneofs struct { // Types that are valid to be assigned to One: // *TwoOneofs_Field1 // *TwoOneofs_Field2 // *TwoOneofs_Field3 One isTwoOneofs_One `protobuf_oneof:"one"` // Types that are valid to be assigned to Two: // *TwoOneofs_Field34 // *TwoOneofs_Field35 // *TwoOneofs_SubMessage2 Two isTwoOneofs_Two `protobuf_oneof:"two"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedTwoOneofs ¶
func (*TwoOneofs) Description ¶
func (this *TwoOneofs) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*TwoOneofs) Descriptor ¶
func (*TwoOneofs) GetField34 ¶
func (*TwoOneofs) GetField35 ¶
func (*TwoOneofs) GetSubMessage2 ¶
func (*TwoOneofs) ProtoMessage ¶
func (*TwoOneofs) ProtoMessage()
func (*TwoOneofs) VerboseEqual ¶
func (*TwoOneofs) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *TwoOneofs) XXX_DiscardUnknown()
func (*TwoOneofs) XXX_Marshal ¶ added in v1.1.1
func (*TwoOneofs) XXX_OneofFuncs ¶
func (*TwoOneofs) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*TwoOneofs) XXX_Unmarshal ¶ added in v1.1.1
type TwoOneofs_Field1 ¶
type TwoOneofs_Field1 struct {
Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,oneof"`
}
func NewPopulatedTwoOneofs_Field1 ¶
func NewPopulatedTwoOneofs_Field1(r randyOne, easy bool) *TwoOneofs_Field1
func (*TwoOneofs_Field1) Equal ¶
func (this *TwoOneofs_Field1) Equal(that interface{}) bool
func (*TwoOneofs_Field1) GoString ¶
func (this *TwoOneofs_Field1) GoString() string
func (*TwoOneofs_Field1) Size ¶
func (m *TwoOneofs_Field1) Size() (n int)
func (*TwoOneofs_Field1) String ¶
func (this *TwoOneofs_Field1) String() string
func (*TwoOneofs_Field1) VerboseEqual ¶
func (this *TwoOneofs_Field1) VerboseEqual(that interface{}) error
type TwoOneofs_Field2 ¶
type TwoOneofs_Field2 struct {
Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,oneof"`
}
func NewPopulatedTwoOneofs_Field2 ¶
func NewPopulatedTwoOneofs_Field2(r randyOne, easy bool) *TwoOneofs_Field2
func (*TwoOneofs_Field2) Equal ¶
func (this *TwoOneofs_Field2) Equal(that interface{}) bool
func (*TwoOneofs_Field2) GoString ¶
func (this *TwoOneofs_Field2) GoString() string
func (*TwoOneofs_Field2) Size ¶
func (m *TwoOneofs_Field2) Size() (n int)
func (*TwoOneofs_Field2) String ¶
func (this *TwoOneofs_Field2) String() string
func (*TwoOneofs_Field2) VerboseEqual ¶
func (this *TwoOneofs_Field2) VerboseEqual(that interface{}) error
type TwoOneofs_Field3 ¶
type TwoOneofs_Field3 struct {
Field3 int32 `protobuf:"varint,3,opt,name=Field3,oneof"`
}
func NewPopulatedTwoOneofs_Field3 ¶
func NewPopulatedTwoOneofs_Field3(r randyOne, easy bool) *TwoOneofs_Field3
func (*TwoOneofs_Field3) Equal ¶
func (this *TwoOneofs_Field3) Equal(that interface{}) bool
func (*TwoOneofs_Field3) GoString ¶
func (this *TwoOneofs_Field3) GoString() string
func (*TwoOneofs_Field3) Size ¶
func (m *TwoOneofs_Field3) Size() (n int)
func (*TwoOneofs_Field3) String ¶
func (this *TwoOneofs_Field3) String() string
func (*TwoOneofs_Field3) VerboseEqual ¶
func (this *TwoOneofs_Field3) VerboseEqual(that interface{}) error
type TwoOneofs_Field34 ¶
type TwoOneofs_Field34 struct {
Field34 string `protobuf:"bytes,34,opt,name=Field34,oneof"`
}
func NewPopulatedTwoOneofs_Field34 ¶
func NewPopulatedTwoOneofs_Field34(r randyOne, easy bool) *TwoOneofs_Field34
func (*TwoOneofs_Field34) Equal ¶
func (this *TwoOneofs_Field34) Equal(that interface{}) bool
func (*TwoOneofs_Field34) GoString ¶
func (this *TwoOneofs_Field34) GoString() string
func (*TwoOneofs_Field34) Size ¶
func (m *TwoOneofs_Field34) Size() (n int)
func (*TwoOneofs_Field34) String ¶
func (this *TwoOneofs_Field34) String() string
func (*TwoOneofs_Field34) VerboseEqual ¶
func (this *TwoOneofs_Field34) VerboseEqual(that interface{}) error
type TwoOneofs_Field35 ¶
type TwoOneofs_Field35 struct {
Field35 []byte `protobuf:"bytes,35,opt,name=Field35,oneof"`
}
func NewPopulatedTwoOneofs_Field35 ¶
func NewPopulatedTwoOneofs_Field35(r randyOne, easy bool) *TwoOneofs_Field35
func (*TwoOneofs_Field35) Equal ¶
func (this *TwoOneofs_Field35) Equal(that interface{}) bool
func (*TwoOneofs_Field35) GoString ¶
func (this *TwoOneofs_Field35) GoString() string
func (*TwoOneofs_Field35) Size ¶
func (m *TwoOneofs_Field35) Size() (n int)
func (*TwoOneofs_Field35) String ¶
func (this *TwoOneofs_Field35) String() string
func (*TwoOneofs_Field35) VerboseEqual ¶
func (this *TwoOneofs_Field35) VerboseEqual(that interface{}) error
type TwoOneofs_SubMessage2 ¶
type TwoOneofs_SubMessage2 struct {
SubMessage2 *Subby `protobuf:"bytes,36,opt,name=sub_message2,json=subMessage2,oneof"`
}
func NewPopulatedTwoOneofs_SubMessage2 ¶
func NewPopulatedTwoOneofs_SubMessage2(r randyOne, easy bool) *TwoOneofs_SubMessage2
func (*TwoOneofs_SubMessage2) Equal ¶
func (this *TwoOneofs_SubMessage2) Equal(that interface{}) bool
func (*TwoOneofs_SubMessage2) GoString ¶
func (this *TwoOneofs_SubMessage2) GoString() string
func (*TwoOneofs_SubMessage2) Size ¶
func (m *TwoOneofs_SubMessage2) Size() (n int)
func (*TwoOneofs_SubMessage2) String ¶
func (this *TwoOneofs_SubMessage2) String() string
func (*TwoOneofs_SubMessage2) VerboseEqual ¶
func (this *TwoOneofs_SubMessage2) VerboseEqual(that interface{}) error
Click to show internal directories.
Click to hide internal directories.