__

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_hello_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Foo added in v0.11.0

type Foo struct {
	Name  string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value int32    `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*Foo) Descriptor deprecated added in v0.11.0

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

Deprecated: Use Foo.ProtoReflect.Descriptor instead.

func (*Foo) GetName added in v0.11.0

func (x *Foo) GetName() string

func (*Foo) GetNames added in v0.11.0

func (x *Foo) GetNames() []string

func (*Foo) GetValue added in v0.11.0

func (x *Foo) GetValue() int32

func (*Foo) ProtoMessage added in v0.11.0

func (*Foo) ProtoMessage()

func (*Foo) ProtoReflect added in v0.11.0

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

func (*Foo) Reset added in v0.11.0

func (x *Foo) Reset()

func (*Foo) String added in v0.11.0

func (x *Foo) String() string

type HiContent added in v0.11.0

type HiContent struct {
	Id      int32  `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*HiContent) Descriptor deprecated added in v0.11.0

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

Deprecated: Use HiContent.ProtoReflect.Descriptor instead.

func (*HiContent) GetContent added in v0.11.0

func (x *HiContent) GetContent() string

func (*HiContent) GetId added in v0.11.0

func (x *HiContent) GetId() int32

func (*HiContent) ProtoMessage added in v0.11.0

func (*HiContent) ProtoMessage()

func (*HiContent) ProtoReflect added in v0.11.0

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

func (*HiContent) Reset added in v0.11.0

func (x *HiContent) Reset()

func (*HiContent) String added in v0.11.0

func (x *HiContent) String() string

type Test

type Test struct {
	Num       int32      `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
	Msf       string     `protobuf:"bytes,2,opt,name=msf,proto3" json:"msf,omitempty"`
	Foo       *Foo       `protobuf:"bytes,3,opt,name=foo,proto3" json:"foo,omitempty"`
	HiContent *HiContent `protobuf:"bytes,4,opt,name=hiContent,proto3" json:"hiContent,omitempty"`
	// contains filtered or unexported fields
}

func (*Test) Descriptor deprecated

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

Deprecated: Use Test.ProtoReflect.Descriptor instead.

func (*Test) GetFoo added in v0.11.0

func (x *Test) GetFoo() *Foo

func (*Test) GetHiContent added in v0.11.0

func (x *Test) GetHiContent() *HiContent

func (*Test) GetMsf

func (x *Test) GetMsf() string

func (*Test) GetNum

func (x *Test) GetNum() int32

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) ProtoReflect added in v0.10.0

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

func (*Test) Reset

func (x *Test) Reset()

func (*Test) String

func (x *Test) String() string

Jump to

Keyboard shortcuts

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