mymodel

package
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyModel

type MyModel struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Mynum                int32    `protobuf:"varint,2,opt,name=mynum,proto3" json:"mynum,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MyModel) Descriptor

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

func (*MyModel) GetMynum

func (m *MyModel) GetMynum() int32

func (*MyModel) GetName

func (m *MyModel) GetName() string

func (*MyModel) ProtoMessage

func (*MyModel) ProtoMessage()

func (*MyModel) Reset

func (m *MyModel) Reset()

func (*MyModel) String

func (m *MyModel) String() string

func (*MyModel) XXX_DiscardUnknown

func (m *MyModel) XXX_DiscardUnknown()

func (*MyModel) XXX_Marshal

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

func (*MyModel) XXX_Merge

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

func (*MyModel) XXX_MessageName

func (*MyModel) XXX_MessageName() string

func (*MyModel) XXX_Size

func (m *MyModel) XXX_Size() int

func (*MyModel) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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