pb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2020 License: MIT Imports: 3 Imported by: 0

README

protoc ./model.proto --go_out=./

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object struct {
	A                    uint32   `protobuf:"varint,1,opt,name=A,proto3" json:"A,omitempty"`
	B                    uint64   `protobuf:"varint,2,opt,name=B,proto3" json:"B,omitempty"`
	C                    float32  `protobuf:"fixed32,3,opt,name=C,proto3" json:"C,omitempty"`
	D                    float64  `protobuf:"fixed64,4,opt,name=D,proto3" json:"D,omitempty"`
	E                    string   `protobuf:"bytes,5,opt,name=E,proto3" json:"E,omitempty"`
	F                    bool     `protobuf:"varint,6,opt,name=F,proto3" json:"F,omitempty"`
	G                    []byte   `protobuf:"bytes,7,opt,name=G,proto3" json:"G,omitempty"`
	H                    [][]byte `protobuf:"bytes,8,rep,name=H,proto3" json:"H,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Object) Descriptor

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

func (*Object) GetA

func (m *Object) GetA() uint32

func (*Object) GetB

func (m *Object) GetB() uint64

func (*Object) GetC

func (m *Object) GetC() float32

func (*Object) GetD

func (m *Object) GetD() float64

func (*Object) GetE

func (m *Object) GetE() string

func (*Object) GetF

func (m *Object) GetF() bool

func (*Object) GetG

func (m *Object) GetG() []byte

func (*Object) GetH

func (m *Object) GetH() [][]byte

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) Reset

func (m *Object) Reset()

func (*Object) String

func (m *Object) String() string

func (*Object) XXX_DiscardUnknown

func (m *Object) XXX_DiscardUnknown()

func (*Object) XXX_Marshal

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

func (*Object) XXX_Merge

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

func (*Object) XXX_Size

func (m *Object) XXX_Size() int

func (*Object) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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