example

package
v0.0.0-...-baca2f0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceMsg

type ServiceMsg struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServiceMsg) Descriptor

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

func (*ServiceMsg) GetId

func (m *ServiceMsg) GetId() string

func (*ServiceMsg) GetName

func (m *ServiceMsg) GetName() string

func (*ServiceMsg) MarshalLogObject

func (u *ServiceMsg) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ServiceMsg) ProtoMessage

func (*ServiceMsg) ProtoMessage()

func (*ServiceMsg) Reset

func (m *ServiceMsg) Reset()

func (*ServiceMsg) String

func (m *ServiceMsg) String() string

func (*ServiceMsg) XXX_DiscardUnknown

func (m *ServiceMsg) XXX_DiscardUnknown()

func (*ServiceMsg) XXX_Marshal

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

func (*ServiceMsg) XXX_Merge

func (dst *ServiceMsg) XXX_Merge(src proto.Message)

func (*ServiceMsg) XXX_Size

func (m *ServiceMsg) XXX_Size() int

func (*ServiceMsg) XXX_Unmarshal

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

type User

type User struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	FirstName            string               `protobuf:"bytes,2,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName             string               `protobuf:"bytes,3,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
	EmployeeNumber       int64                `protobuf:"varint,4,opt,name=employee_number,json=employeeNumber" json:"employee_number,omitempty"`
	PhysicalDesk         string               `protobuf:"bytes,6,opt,name=physical_desk,json=physicalDesk" json:"physical_desk,omitempty"`
	Service              *ServiceMsg          `protobuf:"bytes,8,opt,name=service" json:"service,omitempty"`
	Blocked              []string             `protobuf:"bytes,9,rep,name=blocked" json:"blocked,omitempty"`
	Extra                map[string]string    `` /* 131-byte string literal not displayed */
	HireDate             *timestamp.Timestamp `protobuf:"bytes,11,opt,name=hire_date,json=hireDate" json:"hire_date,omitempty"`
	List                 []*ServiceMsg        `protobuf:"bytes,12,rep,name=list" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*User) Descriptor

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

func (*User) GetBlocked

func (m *User) GetBlocked() []string

func (*User) GetEmployeeNumber

func (m *User) GetEmployeeNumber() int64

func (*User) GetExtra

func (m *User) GetExtra() map[string]string

func (*User) GetFirstName

func (m *User) GetFirstName() string

func (*User) GetHireDate

func (m *User) GetHireDate() *timestamp.Timestamp

func (*User) GetId

func (m *User) GetId() string

func (*User) GetLastName

func (m *User) GetLastName() string

func (*User) GetList

func (m *User) GetList() []*ServiceMsg

func (*User) GetPhysicalDesk

func (m *User) GetPhysicalDesk() string

func (*User) GetService

func (m *User) GetService() *ServiceMsg

func (*User) MarshalLogObject

func (u *User) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

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

func (*User) XXX_Merge

func (dst *User) XXX_Merge(src proto.Message)

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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