person

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package person is a generated protocol buffer package.

It is generated from these files:

person.proto

It has these top-level messages:

Person

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Person

type Person struct {
	First string `protobuf:"bytes,1,opt,name=first" json:"first,omitempty"`
	Last  string `protobuf:"bytes,2,opt,name=last" json:"last,omitempty"`
	Age   int32  `protobuf:"varint,3,opt,name=age" json:"age,omitempty"`
}

func (*Person) Descriptor

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

func (*Person) GetAge

func (m *Person) GetAge() int32

func (*Person) GetFirst

func (m *Person) GetFirst() string

func (*Person) GetLast

func (m *Person) GetLast() string

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) Reset

func (m *Person) Reset()

func (*Person) String

func (m *Person) String() string

Jump to

Keyboard shortcuts

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