data

package
Version: v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthData        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowData          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupData = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type MyMessage

type MyMessage struct {
	MyData               uint32   `protobuf:"varint,1,opt,name=my_data,json=myData,proto3" json:"my_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedMyMessage

func NewPopulatedMyMessage(r randyData, easy bool) *MyMessage

func (*MyMessage) Descriptor

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

func (*MyMessage) Equal

func (this *MyMessage) Equal(that interface{}) bool

func (*MyMessage) GetMyData

func (m *MyMessage) GetMyData() uint32

func (*MyMessage) GoString

func (this *MyMessage) GoString() string

func (*MyMessage) Marshal

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

func (*MyMessage) MarshalTo

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

func (*MyMessage) MarshalToSizedBuffer added in v1.3.0

func (m *MyMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MyMessage) ProtoMessage

func (*MyMessage) ProtoMessage()

func (*MyMessage) Reset

func (m *MyMessage) Reset()

func (*MyMessage) Size

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

func (*MyMessage) String

func (this *MyMessage) String() string

func (*MyMessage) Unmarshal

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

func (*MyMessage) VerboseEqual

func (this *MyMessage) VerboseEqual(that interface{}) error

func (*MyMessage) XXX_DiscardUnknown added in v1.1.0

func (m *MyMessage) XXX_DiscardUnknown()

func (*MyMessage) XXX_Marshal added in v1.1.0

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

func (*MyMessage) XXX_Merge added in v1.1.0

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

func (*MyMessage) XXX_Size added in v1.1.0

func (m *MyMessage) XXX_Size() int

func (*MyMessage) XXX_Unmarshal added in v1.1.0

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL