package pb

import "github.com/libp2p/go-msgio/pbio/pb"

Index

Variables

var File_pb_test_proto protoreflect.FileDescriptor

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

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

Source Files

test.pb.go

Version
v0.3.0 (latest)
Published
Jan 12, 2023
Platform
linux/amd64
Imports
4 packages
Last checked
5 days ago

Tools for package owners.