staff

package
v0.0.0-...-35254e1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package staff is a generated protocol buffer package.

It is generated from these files:

example.proto

It has these top-level messages:

Staff

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Staff

type Staff struct {
	ID      string       `protobuf:"bytes,1,opt,name=ID"        json:"id,omitempty"     xml:"id,omitempty"`
	Name    string       `protobuf:"bytes,2,opt,name=Name"      json:"name,omitempty"   xml:"name,omitempty"`
	Age     int64        `protobuf:"varint,3,opt,name=Age"      json:"age,omitempty"    xml:"age,omitempty"`
	MyClass *Staff_Class `protobuf:"bytes,4,opt,name=MyClass"   json:"class,omitempty"  xml:"class,omitempty"`
}

func (*Staff) Descriptor

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

func (*Staff) GetAge

func (m *Staff) GetAge() int64

func (*Staff) GetID

func (m *Staff) GetID() string

func (*Staff) GetMyClass

func (m *Staff) GetMyClass() *Staff_Class

func (*Staff) GetName

func (m *Staff) GetName() string

func (*Staff) ProtoMessage

func (*Staff) ProtoMessage()

func (*Staff) Reset

func (m *Staff) Reset()

func (*Staff) String

func (m *Staff) String() string

type Staff_Class

type Staff_Class struct {
	ID   string `protobuf:"bytes,1,opt,name=ID"        json:"id,omitempty"     xml:"id,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=Type"      json:"type,omitempty"   xml:"type,omitempty"`
}

func (*Staff_Class) Descriptor

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

func (*Staff_Class) GetID

func (m *Staff_Class) GetID() string

func (*Staff_Class) GetType

func (m *Staff_Class) GetType() string

func (*Staff_Class) ProtoMessage

func (*Staff_Class) ProtoMessage()

func (*Staff_Class) Reset

func (m *Staff_Class) Reset()

func (*Staff_Class) String

func (m *Staff_Class) String() string

Jump to

Keyboard shortcuts

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