examplev1

package
v0.0.0-...-795c83b Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tests_example_v1_example_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Coordinates

type Coordinates struct {
	Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"`
	Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"`
	// contains filtered or unexported fields
}

func (*Coordinates) Descriptor deprecated

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

Deprecated: Use Coordinates.ProtoReflect.Descriptor instead.

func (*Coordinates) GetLat

func (x *Coordinates) GetLat() float64

func (*Coordinates) GetLng

func (x *Coordinates) GetLng() float64

func (*Coordinates) ProtoMessage

func (*Coordinates) ProtoMessage()

func (*Coordinates) ProtoReflect

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

func (*Coordinates) Reset

func (x *Coordinates) Reset()

func (*Coordinates) String

func (x *Coordinates) String() string

type Person

type Person struct {
	Id    uint64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Email string       `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Name  string       `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Home  *Coordinates `protobuf:"bytes,4,opt,name=home,proto3" json:"home,omitempty"`
	// contains filtered or unexported fields
}

func (*Person) Descriptor deprecated

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

Deprecated: Use Person.ProtoReflect.Descriptor instead.

func (*Person) GetEmail

func (x *Person) GetEmail() string

func (*Person) GetHome

func (x *Person) GetHome() *Coordinates

func (*Person) GetId

func (x *Person) GetId() uint64

func (*Person) GetName

func (x *Person) GetName() string

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) ProtoReflect

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

func (*Person) Reset

func (x *Person) Reset()

func (*Person) String

func (x *Person) String() string

Jump to

Keyboard shortcuts

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