pb

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2018 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTest = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTest   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type PbTest

type PbTest struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B int32 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
}

func (*PbTest) Descriptor

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

func (*PbTest) GetA

func (m *PbTest) GetA() int32

func (*PbTest) GetB

func (m *PbTest) GetB() int32

func (*PbTest) Marshal

func (m *PbTest) Marshal() (dAtA []byte, err error)

func (*PbTest) MarshalTo

func (m *PbTest) MarshalTo(dAtA []byte) (int, error)

func (*PbTest) ProtoMessage

func (*PbTest) ProtoMessage()

func (*PbTest) Reset

func (m *PbTest) Reset()

func (*PbTest) Size

func (m *PbTest) Size() (n int)

func (*PbTest) String

func (m *PbTest) String() string

func (*PbTest) Unmarshal

func (m *PbTest) Unmarshal(dAtA []byte) error

func (*PbTest) XXX_DiscardUnknown

func (m *PbTest) XXX_DiscardUnknown()

func (*PbTest) XXX_Marshal

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

func (*PbTest) XXX_Merge

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

func (*PbTest) XXX_Size

func (m *PbTest) XXX_Size() int

func (*PbTest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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