testproto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proto2

type Proto2 struct {
	BoolValue  *bool                 `protobuf:"varint,1,opt"`
	Int32Val   *int32                `protobuf:"varint,2,opt"`
	Uint32Val  *uint32               `protobuf:"varint,3,opt"`
	Int64Val   *int64                `protobuf:"varint,4,opt"`
	Uint64Val  *uint64               `protobuf:"varint,5,opt"`
	FloatVal   *float32              `protobuf:"fixed32,6,opt"`
	DoubleVal  *float64              `protobuf:"fixed64,7,opt"`
	StringVal  *string               `protobuf:"bytes,8,opt"`
	BytesVal   []byte                `protobuf:"bytes,9,opt"`
	Fixed32Val *uint32               `protobuf:"fixed32,10,opt"`
	Fixed64Val *uint64               `protobuf:"fixed64,11,opt"`
	Sint32Val  *int32                `protobuf:"zigzag32,12,opt"`
	Sint64Val  *int64                `protobuf:"zigzag64,13,opt"`
	Nested     *Proto2_NestedMessage `protobuf:"bytes,14,opt"`
}

func (*Proto2) GetBoolValue

func (x *Proto2) GetBoolValue() bool

func (*Proto2) GetBytesVal

func (x *Proto2) GetBytesVal() []byte

func (*Proto2) GetDoubleVal

func (x *Proto2) GetDoubleVal() float64

func (*Proto2) GetFixed32Val

func (x *Proto2) GetFixed32Val() uint32

func (*Proto2) GetFixed64Val

func (x *Proto2) GetFixed64Val() uint64

func (*Proto2) GetFloatVal

func (x *Proto2) GetFloatVal() float32

func (*Proto2) GetInt32Val

func (x *Proto2) GetInt32Val() int32

func (*Proto2) GetInt64Val

func (x *Proto2) GetInt64Val() int64

func (*Proto2) GetNested

func (x *Proto2) GetNested() *Proto2_NestedMessage

func (*Proto2) GetSint32Val

func (x *Proto2) GetSint32Val() int32

func (*Proto2) GetSint64Val

func (x *Proto2) GetSint64Val() int64

func (*Proto2) GetStringVal

func (x *Proto2) GetStringVal() string

func (*Proto2) GetUint32Val

func (x *Proto2) GetUint32Val() uint32

func (*Proto2) GetUint64Val

func (x *Proto2) GetUint64Val() uint64

type Proto2_NestedMessage

type Proto2_NestedMessage struct {
	Int32Val  *int32  `protobuf:"varint,1,opt"`
	Int64Val  *int64  `protobuf:"varint,2,opt"`
	StringVal *string `protobuf:"bytes,3,opt"`
}

func (*Proto2_NestedMessage) GetInt32Val

func (x *Proto2_NestedMessage) GetInt32Val() int32

func (*Proto2_NestedMessage) GetInt64Val

func (x *Proto2_NestedMessage) GetInt64Val() int64

func (*Proto2_NestedMessage) GetStringVal

func (x *Proto2_NestedMessage) GetStringVal() string

Jump to

Keyboard shortcuts

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