prototests

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Nested

type Nested struct {
	One              *Simple   `protobuf:"bytes,1,opt,name=One" json:"One,omitempty"`
	Many             []*Simple `protobuf:"bytes,2,rep,name=Many" json:"Many,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

func NewPopulatedNested

func NewPopulatedNested(r randySimple, easy bool) *Nested

func (*Nested) Descriptor

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

func (*Nested) Equal

func (this *Nested) Equal(that *Nested) bool

func (*Nested) GetMany

func (m *Nested) GetMany() []*Simple

func (*Nested) GetOne

func (m *Nested) GetOne() *Simple

func (*Nested) GoString

func (this *Nested) GoString() string

func (*Nested) ProtoMessage

func (*Nested) ProtoMessage()

func (*Nested) Reset

func (m *Nested) Reset()

func (*Nested) String

func (m *Nested) String() string

func (*Nested) XXX_DiscardUnknown

func (m *Nested) XXX_DiscardUnknown()

func (*Nested) XXX_Marshal

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

func (*Nested) XXX_Merge

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

func (*Nested) XXX_Size

func (m *Nested) XXX_Size() int

func (*Nested) XXX_Unmarshal

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

type Simple

type Simple struct {
	Field1           *float64  `protobuf:"fixed64,1,opt,name=Field1" json:"Field1,omitempty"`
	Field2           *float32  `protobuf:"fixed32,2,opt,name=Field2" json:"Field2,omitempty"`
	Field3           *int32    `protobuf:"varint,3,opt,name=Field3" json:"Field3,omitempty"`
	Field4           *int64    `protobuf:"varint,4,opt,name=Field4" json:"Field4,omitempty"`
	Field5           *uint32   `protobuf:"varint,5,opt,name=Field5" json:"Field5,omitempty"`
	Field6           *uint64   `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
	Field7           *int32    `protobuf:"zigzag32,7,opt,name=Field7" json:"Field7,omitempty"`
	Field8           *int64    `protobuf:"zigzag64,8,opt,name=Field8" json:"Field8,omitempty"`
	Field9           *uint32   `protobuf:"fixed32,9,opt,name=Field9" json:"Field9,omitempty"`
	Field10          *int32    `protobuf:"fixed32,10,opt,name=Field10" json:"Field10,omitempty"`
	Field11          *uint64   `protobuf:"fixed64,11,opt,name=Field11" json:"Field11,omitempty"`
	Field12          *int64    `protobuf:"fixed64,12,opt,name=Field12" json:"Field12,omitempty"`
	Field13          *bool     `protobuf:"varint,13,opt,name=Field13" json:"Field13,omitempty"`
	Field14          *string   `protobuf:"bytes,14,opt,name=Field14" json:"Field14,omitempty"`
	Field15          []byte    `protobuf:"bytes,15,opt,name=Field15" json:"Field15,omitempty"`
	Fields1          []float64 `protobuf:"fixed64,21,rep,name=Fields1" json:"Fields1,omitempty"`
	Fields2          []float32 `protobuf:"fixed32,22,rep,name=Fields2" json:"Fields2,omitempty"`
	Fields3          []int32   `protobuf:"varint,23,rep,name=Fields3" json:"Fields3,omitempty"`
	Fields4          []int64   `protobuf:"varint,24,rep,name=Fields4" json:"Fields4,omitempty"`
	Fields5          []uint32  `protobuf:"varint,25,rep,name=Fields5" json:"Fields5,omitempty"`
	Fields6          []uint64  `protobuf:"varint,26,rep,name=Fields6" json:"Fields6,omitempty"`
	Fields7          []int32   `protobuf:"zigzag32,27,rep,name=Fields7" json:"Fields7,omitempty"`
	Fields8          []int64   `protobuf:"zigzag64,28,rep,name=Fields8" json:"Fields8,omitempty"`
	Fields9          []uint32  `protobuf:"fixed32,29,rep,name=Fields9" json:"Fields9,omitempty"`
	Fields10         []int32   `protobuf:"fixed32,30,rep,name=Fields10" json:"Fields10,omitempty"`
	Fields11         []uint64  `protobuf:"fixed64,31,rep,name=Fields11" json:"Fields11,omitempty"`
	Fields12         []int64   `protobuf:"fixed64,32,rep,name=Fields12" json:"Fields12,omitempty"`
	Fields13         []bool    `protobuf:"varint,33,rep,name=Fields13" json:"Fields13,omitempty"`
	Fields14         []string  `protobuf:"bytes,34,rep,name=Fields14" json:"Fields14,omitempty"`
	Fields15         [][]byte  `protobuf:"bytes,35,rep,name=Fields15" json:"Fields15,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

func NewPopulatedSimple

func NewPopulatedSimple(r randySimple, easy bool) *Simple

func (*Simple) Descriptor

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

func (*Simple) Equal

func (this *Simple) Equal(that *Simple) bool

func (*Simple) GetField1

func (m *Simple) GetField1() float64

func (*Simple) GetField10

func (m *Simple) GetField10() int32

func (*Simple) GetField11

func (m *Simple) GetField11() uint64

func (*Simple) GetField12

func (m *Simple) GetField12() int64

func (*Simple) GetField13

func (m *Simple) GetField13() bool

func (*Simple) GetField14

func (m *Simple) GetField14() string

func (*Simple) GetField15

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

func (*Simple) GetField2

func (m *Simple) GetField2() float32

func (*Simple) GetField3

func (m *Simple) GetField3() int32

func (*Simple) GetField4

func (m *Simple) GetField4() int64

func (*Simple) GetField5

func (m *Simple) GetField5() uint32

func (*Simple) GetField6

func (m *Simple) GetField6() uint64

func (*Simple) GetField7

func (m *Simple) GetField7() int32

func (*Simple) GetField8

func (m *Simple) GetField8() int64

func (*Simple) GetField9

func (m *Simple) GetField9() uint32

func (*Simple) GetFields1

func (m *Simple) GetFields1() []float64

func (*Simple) GetFields10

func (m *Simple) GetFields10() []int32

func (*Simple) GetFields11

func (m *Simple) GetFields11() []uint64

func (*Simple) GetFields12

func (m *Simple) GetFields12() []int64

func (*Simple) GetFields13

func (m *Simple) GetFields13() []bool

func (*Simple) GetFields14

func (m *Simple) GetFields14() []string

func (*Simple) GetFields15

func (m *Simple) GetFields15() [][]byte

func (*Simple) GetFields2

func (m *Simple) GetFields2() []float32

func (*Simple) GetFields3

func (m *Simple) GetFields3() []int32

func (*Simple) GetFields4

func (m *Simple) GetFields4() []int64

func (*Simple) GetFields5

func (m *Simple) GetFields5() []uint32

func (*Simple) GetFields6

func (m *Simple) GetFields6() []uint64

func (*Simple) GetFields7

func (m *Simple) GetFields7() []int32

func (*Simple) GetFields8

func (m *Simple) GetFields8() []int64

func (*Simple) GetFields9

func (m *Simple) GetFields9() []uint32

func (*Simple) GoString

func (this *Simple) GoString() string

func (*Simple) ProtoMessage

func (*Simple) ProtoMessage()

func (*Simple) Reset

func (m *Simple) Reset()

func (*Simple) String

func (m *Simple) String() string

func (*Simple) XXX_DiscardUnknown

func (m *Simple) XXX_DiscardUnknown()

func (*Simple) XXX_Marshal

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

func (*Simple) XXX_Merge

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

func (*Simple) XXX_Size

func (m *Simple) XXX_Size() int

func (*Simple) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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