one

package
v0.0.0-...-8d70fb3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2016 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package one is a generated protocol buffer package.

It is generated from these files:

combos/unsafeunmarshaler/one.proto

It has these top-level messages:

Subby
SampleOneOf

Index

Constants

This section is empty.

Variables

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

Functions

Types

type SampleOneOf

type SampleOneOf struct {
	// Types that are valid to be assigned to TestOneof:
	//	*SampleOneOf_Field1
	//	*SampleOneOf_Field2
	//	*SampleOneOf_Field3
	//	*SampleOneOf_Field4
	//	*SampleOneOf_Field5
	//	*SampleOneOf_Field6
	//	*SampleOneOf_Field7
	//	*SampleOneOf_Field8
	//	*SampleOneOf_Field9
	//	*SampleOneOf_Field10
	//	*SampleOneOf_Field11
	//	*SampleOneOf_Field12
	//	*SampleOneOf_Field13
	//	*SampleOneOf_Field14
	//	*SampleOneOf_Field15
	//	*SampleOneOf_SubMessage
	TestOneof isSampleOneOf_TestOneof `protobuf_oneof:"test_oneof"`
}

func NewPopulatedSampleOneOf

func NewPopulatedSampleOneOf(r randyOne, easy bool) *SampleOneOf

func (*SampleOneOf) Descriptor

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

func (*SampleOneOf) Equal

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

func (*SampleOneOf) GetField1

func (m *SampleOneOf) GetField1() float64

func (*SampleOneOf) GetField10

func (m *SampleOneOf) GetField10() int32

func (*SampleOneOf) GetField11

func (m *SampleOneOf) GetField11() uint64

func (*SampleOneOf) GetField12

func (m *SampleOneOf) GetField12() int64

func (*SampleOneOf) GetField13

func (m *SampleOneOf) GetField13() bool

func (*SampleOneOf) GetField14

func (m *SampleOneOf) GetField14() string

func (*SampleOneOf) GetField15

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

func (*SampleOneOf) GetField2

func (m *SampleOneOf) GetField2() float32

func (*SampleOneOf) GetField3

func (m *SampleOneOf) GetField3() int32

func (*SampleOneOf) GetField4

func (m *SampleOneOf) GetField4() int64

func (*SampleOneOf) GetField5

func (m *SampleOneOf) GetField5() uint32

func (*SampleOneOf) GetField6

func (m *SampleOneOf) GetField6() uint64

func (*SampleOneOf) GetField7

func (m *SampleOneOf) GetField7() int32

func (*SampleOneOf) GetField8

func (m *SampleOneOf) GetField8() int64

func (*SampleOneOf) GetField9

func (m *SampleOneOf) GetField9() uint32

func (*SampleOneOf) GetSubMessage

func (m *SampleOneOf) GetSubMessage() *Subby

func (*SampleOneOf) GetTestOneof

func (m *SampleOneOf) GetTestOneof() isSampleOneOf_TestOneof

func (*SampleOneOf) GoString

func (this *SampleOneOf) GoString() string

func (*SampleOneOf) ProtoMessage

func (*SampleOneOf) ProtoMessage()

func (*SampleOneOf) Reset

func (m *SampleOneOf) Reset()

func (*SampleOneOf) Size

func (m *SampleOneOf) Size() (n int)

func (*SampleOneOf) String

func (this *SampleOneOf) String() string

func (*SampleOneOf) Unmarshal

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

func (*SampleOneOf) VerboseEqual

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

func (*SampleOneOf) XXX_OneofFuncs

func (*SampleOneOf) 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.

type SampleOneOf_Field1

type SampleOneOf_Field1 struct {
	Field1 float64 `protobuf:"fixed64,1,opt,name=Field1,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field1

func NewPopulatedSampleOneOf_Field1(r randyOne, easy bool) *SampleOneOf_Field1

func (*SampleOneOf_Field1) Equal

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

func (*SampleOneOf_Field1) GoString

func (this *SampleOneOf_Field1) GoString() string

func (*SampleOneOf_Field1) Size

func (m *SampleOneOf_Field1) Size() (n int)

func (*SampleOneOf_Field1) String

func (this *SampleOneOf_Field1) String() string

func (*SampleOneOf_Field1) VerboseEqual

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

type SampleOneOf_Field10

type SampleOneOf_Field10 struct {
	Field10 int32 `protobuf:"fixed32,10,opt,name=Field10,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field10

func NewPopulatedSampleOneOf_Field10(r randyOne, easy bool) *SampleOneOf_Field10

func (*SampleOneOf_Field10) Equal

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

func (*SampleOneOf_Field10) GoString

func (this *SampleOneOf_Field10) GoString() string

func (*SampleOneOf_Field10) Size

func (m *SampleOneOf_Field10) Size() (n int)

func (*SampleOneOf_Field10) String

func (this *SampleOneOf_Field10) String() string

func (*SampleOneOf_Field10) VerboseEqual

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

type SampleOneOf_Field11

type SampleOneOf_Field11 struct {
	Field11 uint64 `protobuf:"fixed64,11,opt,name=Field11,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field11

func NewPopulatedSampleOneOf_Field11(r randyOne, easy bool) *SampleOneOf_Field11

func (*SampleOneOf_Field11) Equal

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

func (*SampleOneOf_Field11) GoString

func (this *SampleOneOf_Field11) GoString() string

func (*SampleOneOf_Field11) Size

func (m *SampleOneOf_Field11) Size() (n int)

func (*SampleOneOf_Field11) String

func (this *SampleOneOf_Field11) String() string

func (*SampleOneOf_Field11) VerboseEqual

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

type SampleOneOf_Field12

type SampleOneOf_Field12 struct {
	Field12 int64 `protobuf:"fixed64,12,opt,name=Field12,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field12

func NewPopulatedSampleOneOf_Field12(r randyOne, easy bool) *SampleOneOf_Field12

func (*SampleOneOf_Field12) Equal

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

func (*SampleOneOf_Field12) GoString

func (this *SampleOneOf_Field12) GoString() string

func (*SampleOneOf_Field12) Size

func (m *SampleOneOf_Field12) Size() (n int)

func (*SampleOneOf_Field12) String

func (this *SampleOneOf_Field12) String() string

func (*SampleOneOf_Field12) VerboseEqual

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

type SampleOneOf_Field13

type SampleOneOf_Field13 struct {
	Field13 bool `protobuf:"varint,13,opt,name=Field13,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field13

func NewPopulatedSampleOneOf_Field13(r randyOne, easy bool) *SampleOneOf_Field13

func (*SampleOneOf_Field13) Equal

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

func (*SampleOneOf_Field13) GoString

func (this *SampleOneOf_Field13) GoString() string

func (*SampleOneOf_Field13) Size

func (m *SampleOneOf_Field13) Size() (n int)

func (*SampleOneOf_Field13) String

func (this *SampleOneOf_Field13) String() string

func (*SampleOneOf_Field13) VerboseEqual

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

type SampleOneOf_Field14

type SampleOneOf_Field14 struct {
	Field14 string `protobuf:"bytes,14,opt,name=Field14,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field14

func NewPopulatedSampleOneOf_Field14(r randyOne, easy bool) *SampleOneOf_Field14

func (*SampleOneOf_Field14) Equal

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

func (*SampleOneOf_Field14) GoString

func (this *SampleOneOf_Field14) GoString() string

func (*SampleOneOf_Field14) Size

func (m *SampleOneOf_Field14) Size() (n int)

func (*SampleOneOf_Field14) String

func (this *SampleOneOf_Field14) String() string

func (*SampleOneOf_Field14) VerboseEqual

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

type SampleOneOf_Field15

type SampleOneOf_Field15 struct {
	Field15 []byte `protobuf:"bytes,15,opt,name=Field15,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field15

func NewPopulatedSampleOneOf_Field15(r randyOne, easy bool) *SampleOneOf_Field15

func (*SampleOneOf_Field15) Equal

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

func (*SampleOneOf_Field15) GoString

func (this *SampleOneOf_Field15) GoString() string

func (*SampleOneOf_Field15) Size

func (m *SampleOneOf_Field15) Size() (n int)

func (*SampleOneOf_Field15) String

func (this *SampleOneOf_Field15) String() string

func (*SampleOneOf_Field15) VerboseEqual

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

type SampleOneOf_Field2

type SampleOneOf_Field2 struct {
	Field2 float32 `protobuf:"fixed32,2,opt,name=Field2,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field2

func NewPopulatedSampleOneOf_Field2(r randyOne, easy bool) *SampleOneOf_Field2

func (*SampleOneOf_Field2) Equal

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

func (*SampleOneOf_Field2) GoString

func (this *SampleOneOf_Field2) GoString() string

func (*SampleOneOf_Field2) Size

func (m *SampleOneOf_Field2) Size() (n int)

func (*SampleOneOf_Field2) String

func (this *SampleOneOf_Field2) String() string

func (*SampleOneOf_Field2) VerboseEqual

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

type SampleOneOf_Field3

type SampleOneOf_Field3 struct {
	Field3 int32 `protobuf:"varint,3,opt,name=Field3,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field3

func NewPopulatedSampleOneOf_Field3(r randyOne, easy bool) *SampleOneOf_Field3

func (*SampleOneOf_Field3) Equal

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

func (*SampleOneOf_Field3) GoString

func (this *SampleOneOf_Field3) GoString() string

func (*SampleOneOf_Field3) Size

func (m *SampleOneOf_Field3) Size() (n int)

func (*SampleOneOf_Field3) String

func (this *SampleOneOf_Field3) String() string

func (*SampleOneOf_Field3) VerboseEqual

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

type SampleOneOf_Field4

type SampleOneOf_Field4 struct {
	Field4 int64 `protobuf:"varint,4,opt,name=Field4,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field4

func NewPopulatedSampleOneOf_Field4(r randyOne, easy bool) *SampleOneOf_Field4

func (*SampleOneOf_Field4) Equal

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

func (*SampleOneOf_Field4) GoString

func (this *SampleOneOf_Field4) GoString() string

func (*SampleOneOf_Field4) Size

func (m *SampleOneOf_Field4) Size() (n int)

func (*SampleOneOf_Field4) String

func (this *SampleOneOf_Field4) String() string

func (*SampleOneOf_Field4) VerboseEqual

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

type SampleOneOf_Field5

type SampleOneOf_Field5 struct {
	Field5 uint32 `protobuf:"varint,5,opt,name=Field5,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field5

func NewPopulatedSampleOneOf_Field5(r randyOne, easy bool) *SampleOneOf_Field5

func (*SampleOneOf_Field5) Equal

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

func (*SampleOneOf_Field5) GoString

func (this *SampleOneOf_Field5) GoString() string

func (*SampleOneOf_Field5) Size

func (m *SampleOneOf_Field5) Size() (n int)

func (*SampleOneOf_Field5) String

func (this *SampleOneOf_Field5) String() string

func (*SampleOneOf_Field5) VerboseEqual

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

type SampleOneOf_Field6

type SampleOneOf_Field6 struct {
	Field6 uint64 `protobuf:"varint,6,opt,name=Field6,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field6

func NewPopulatedSampleOneOf_Field6(r randyOne, easy bool) *SampleOneOf_Field6

func (*SampleOneOf_Field6) Equal

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

func (*SampleOneOf_Field6) GoString

func (this *SampleOneOf_Field6) GoString() string

func (*SampleOneOf_Field6) Size

func (m *SampleOneOf_Field6) Size() (n int)

func (*SampleOneOf_Field6) String

func (this *SampleOneOf_Field6) String() string

func (*SampleOneOf_Field6) VerboseEqual

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

type SampleOneOf_Field7

type SampleOneOf_Field7 struct {
	Field7 int32 `protobuf:"zigzag32,7,opt,name=Field7,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field7

func NewPopulatedSampleOneOf_Field7(r randyOne, easy bool) *SampleOneOf_Field7

func (*SampleOneOf_Field7) Equal

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

func (*SampleOneOf_Field7) GoString

func (this *SampleOneOf_Field7) GoString() string

func (*SampleOneOf_Field7) Size

func (m *SampleOneOf_Field7) Size() (n int)

func (*SampleOneOf_Field7) String

func (this *SampleOneOf_Field7) String() string

func (*SampleOneOf_Field7) VerboseEqual

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

type SampleOneOf_Field8

type SampleOneOf_Field8 struct {
	Field8 int64 `protobuf:"zigzag64,8,opt,name=Field8,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field8

func NewPopulatedSampleOneOf_Field8(r randyOne, easy bool) *SampleOneOf_Field8

func (*SampleOneOf_Field8) Equal

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

func (*SampleOneOf_Field8) GoString

func (this *SampleOneOf_Field8) GoString() string

func (*SampleOneOf_Field8) Size

func (m *SampleOneOf_Field8) Size() (n int)

func (*SampleOneOf_Field8) String

func (this *SampleOneOf_Field8) String() string

func (*SampleOneOf_Field8) VerboseEqual

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

type SampleOneOf_Field9

type SampleOneOf_Field9 struct {
	Field9 uint32 `protobuf:"fixed32,9,opt,name=Field9,proto3,oneof"`
}

func NewPopulatedSampleOneOf_Field9

func NewPopulatedSampleOneOf_Field9(r randyOne, easy bool) *SampleOneOf_Field9

func (*SampleOneOf_Field9) Equal

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

func (*SampleOneOf_Field9) GoString

func (this *SampleOneOf_Field9) GoString() string

func (*SampleOneOf_Field9) Size

func (m *SampleOneOf_Field9) Size() (n int)

func (*SampleOneOf_Field9) String

func (this *SampleOneOf_Field9) String() string

func (*SampleOneOf_Field9) VerboseEqual

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

type SampleOneOf_SubMessage

type SampleOneOf_SubMessage struct {
	SubMessage *Subby `protobuf:"bytes,16,opt,name=sub_message,json=subMessage,oneof"`
}

func NewPopulatedSampleOneOf_SubMessage

func NewPopulatedSampleOneOf_SubMessage(r randyOne, easy bool) *SampleOneOf_SubMessage

func (*SampleOneOf_SubMessage) Equal

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

func (*SampleOneOf_SubMessage) GoString

func (this *SampleOneOf_SubMessage) GoString() string

func (*SampleOneOf_SubMessage) Size

func (m *SampleOneOf_SubMessage) Size() (n int)

func (*SampleOneOf_SubMessage) String

func (this *SampleOneOf_SubMessage) String() string

func (*SampleOneOf_SubMessage) VerboseEqual

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

type Subby

type Subby struct {
	Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"`
}

func NewPopulatedSubby

func NewPopulatedSubby(r randyOne, easy bool) *Subby

func (*Subby) Descriptor

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

func (*Subby) Equal

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

func (*Subby) GoString

func (this *Subby) GoString() string

func (*Subby) ProtoMessage

func (*Subby) ProtoMessage()

func (*Subby) Reset

func (m *Subby) Reset()

func (*Subby) Size

func (m *Subby) Size() (n int)

func (*Subby) String

func (this *Subby) String() string

func (*Subby) Unmarshal

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

func (*Subby) VerboseEqual

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

Jump to

Keyboard shortcuts

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