person

package
v0.0.0-...-156932d Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Person

type Person struct {
	FirstName            string   `protobuf:"bytes,1,opt,name=FirstName,json=first_name,proto3" json:"FirstName,omitempty"`
	LastName             string   `protobuf:"bytes,2,opt,name=LastName,json=last_name,proto3" json:"LastName,omitempty"`
	Age                  uint32   `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"`
	Sex                  uint32   `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Person) Descriptor

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

func (*Person) GetAge

func (m *Person) GetAge() uint32

func (*Person) GetFirstName

func (m *Person) GetFirstName() string

func (*Person) GetLastName

func (m *Person) GetLastName() string

func (*Person) GetSex

func (m *Person) GetSex() uint32

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) Reset

func (m *Person) Reset()

func (*Person) String

func (m *Person) String() string

func (*Person) XXX_DiscardUnknown

func (m *Person) XXX_DiscardUnknown()

func (*Person) XXX_Marshal

func (m *Person) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Person) XXX_Merge

func (m *Person) XXX_Merge(src proto.Message)

func (*Person) XXX_Size

func (m *Person) XXX_Size() int

func (*Person) XXX_Unmarshal

func (m *Person) XXX_Unmarshal(b []byte) error

type PersonX

type PersonX struct {
	FirstName            string   `protobuf:"bytes,1,opt,name=FirstName,proto3" json:"FirstName,omitempty"`
	LastName             string   `protobuf:"bytes,2,opt,name=LastName,proto3" json:"LastName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PersonX) Descriptor

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

func (*PersonX) GetFirstName

func (m *PersonX) GetFirstName() string

func (*PersonX) GetLastName

func (m *PersonX) GetLastName() string

func (*PersonX) ProtoMessage

func (*PersonX) ProtoMessage()

func (*PersonX) Reset

func (m *PersonX) Reset()

func (*PersonX) String

func (m *PersonX) String() string

func (*PersonX) XXX_DiscardUnknown

func (m *PersonX) XXX_DiscardUnknown()

func (*PersonX) XXX_Marshal

func (m *PersonX) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PersonX) XXX_Merge

func (m *PersonX) XXX_Merge(src proto.Message)

func (*PersonX) XXX_Size

func (m *PersonX) XXX_Size() int

func (*PersonX) XXX_Unmarshal

func (m *PersonX) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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