simplepb

package
v0.0.0-...-5248fbd Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_simple_simple_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SimpleMessage

type SimpleMessage struct {
	Id         int32   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	IsSimple   bool    `protobuf:"varint,2,opt,name=is_simple,json=isSimple,proto3" json:"is_simple,omitempty"`
	Name       string  `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	SimpleList []int32 `protobuf:"varint,4,rep,packed,name=simple_list,json=simpleList,proto3" json:"simple_list,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleMessage) Descriptor deprecated

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

Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead.

func (*SimpleMessage) GetId

func (x *SimpleMessage) GetId() int32

func (*SimpleMessage) GetIsSimple

func (x *SimpleMessage) GetIsSimple() bool

func (*SimpleMessage) GetName

func (x *SimpleMessage) GetName() string

func (*SimpleMessage) GetSimpleList

func (x *SimpleMessage) GetSimpleList() []int32

func (*SimpleMessage) ProtoMessage

func (*SimpleMessage) ProtoMessage()

func (*SimpleMessage) ProtoReflect

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

func (*SimpleMessage) Reset

func (x *SimpleMessage) Reset()

func (*SimpleMessage) String

func (x *SimpleMessage) String() string

Jump to

Keyboard shortcuts

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