Help us shape the future of Go! Take the 2026 Go Developer Survey

pb

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TestRecord

type TestRecord struct {
	Uint32  uint32 `protobuf:"varint,1,opt,name=uint32,proto3" json:"uint32,omitempty"`
	Uint64  uint64 `protobuf:"varint,2,opt,name=uint64,proto3" json:"uint64,omitempty"`
	Bytes   []byte `protobuf:"bytes,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
	String_ string `protobuf:"bytes,4,opt,name=string,proto3" json:"string,omitempty"`
	Int32   int32  `protobuf:"varint,5,opt,name=int32,proto3" json:"int32,omitempty"`
	Int64   int64  `protobuf:"varint,6,opt,name=int64,proto3" json:"int64,omitempty"`
	// contains filtered or unexported fields
}

func (*TestRecord) Descriptor deprecated

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

Deprecated: Use TestRecord.ProtoReflect.Descriptor instead.

func (*TestRecord) GetBytes

func (x *TestRecord) GetBytes() []byte

func (*TestRecord) GetInt32

func (x *TestRecord) GetInt32() int32

func (*TestRecord) GetInt64

func (x *TestRecord) GetInt64() int64

func (*TestRecord) GetString_

func (x *TestRecord) GetString_() string

func (*TestRecord) GetUint32

func (x *TestRecord) GetUint32() uint32

func (*TestRecord) GetUint64

func (x *TestRecord) GetUint64() uint64

func (*TestRecord) ProtoMessage

func (*TestRecord) ProtoMessage()

func (*TestRecord) ProtoReflect

func (x *TestRecord) ProtoReflect() protoreflect.Message

func (*TestRecord) Reset

func (x *TestRecord) Reset()

func (*TestRecord) String

func (x *TestRecord) String() string

Jump to

Keyboard shortcuts

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