proto

package
v0.0.0-...-331dcc7 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_messages_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Address

type Address struct {
	Street1    string `protobuf:"bytes,1,opt,name=street1,proto3" json:"street1,omitempty"`
	Street2    string `protobuf:"bytes,2,opt,name=street2,proto3" json:"street2,omitempty"`
	City       string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"`
	PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	StateCode  string `protobuf:"bytes,5,opt,name=state_code,json=stateCode,proto3" json:"state_code,omitempty"`
	// contains filtered or unexported fields
}

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetCity

func (x *Address) GetCity() string

func (*Address) GetPostalCode

func (x *Address) GetPostalCode() string

func (*Address) GetStateCode

func (x *Address) GetStateCode() string

func (*Address) GetStreet1

func (x *Address) GetStreet1() string

func (*Address) GetStreet2

func (x *Address) GetStreet2() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type Person

type Person struct {
	Name    string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id      int32    `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Address *Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Emails  []string `protobuf:"bytes,4,rep,name=emails,proto3" json:"emails,omitempty"`
	// contains filtered or unexported fields
}

func (*Person) Descriptor deprecated

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

Deprecated: Use Person.ProtoReflect.Descriptor instead.

func (*Person) GetAddress

func (x *Person) GetAddress() *Address

func (*Person) GetEmails

func (x *Person) GetEmails() []string

func (*Person) GetId

func (x *Person) GetId() int32

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

type UpdatePerson

type UpdatePerson struct {
	Id         int32                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Person     *Person                `protobuf:"bytes,2,opt,name=person,proto3" json:"person,omitempty"`
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePerson) Descriptor deprecated

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

Deprecated: Use UpdatePerson.ProtoReflect.Descriptor instead.

func (*UpdatePerson) GetId

func (x *UpdatePerson) GetId() int32

func (*UpdatePerson) GetPerson

func (x *UpdatePerson) GetPerson() *Person

func (*UpdatePerson) GetUpdateMask

func (x *UpdatePerson) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdatePerson) ProtoMessage

func (*UpdatePerson) ProtoMessage()

func (*UpdatePerson) ProtoReflect

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

func (*UpdatePerson) Reset

func (x *UpdatePerson) Reset()

func (*UpdatePerson) String

func (x *UpdatePerson) String() string

Jump to

Keyboard shortcuts

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