data

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 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) IsNil added in v1.4.9

func (m *MyMessage) IsNil() bool

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.9

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

func (*MyMessage) ProtoMessage

func (*MyMessage) ProtoMessage()

func (*MyMessage) Reset

func (m *MyMessage) Reset()

func (*MyMessage) SetMyData_ added in v1.4.9

func (m *MyMessage) SetMyData_(val uint32)

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

Jump to

Keyboard shortcuts

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