protobuffer

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PBuffMarshal

type PBuffMarshal struct {
	Field1               []byte   `protobuf:"bytes,1,opt,name=Field1" json:"Field1,omitempty"`
	Field2               *int32   `protobuf:"varint,2,opt,name=Field2" json:"Field2,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PBuffMarshal) Descriptor

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

func (*PBuffMarshal) GetField1

func (m *PBuffMarshal) GetField1() []byte

func (*PBuffMarshal) GetField2

func (m *PBuffMarshal) GetField2() int32

func (*PBuffMarshal) IsNil added in v1.4.9

func (m *PBuffMarshal) IsNil() bool

func (*PBuffMarshal) ProtoMessage

func (*PBuffMarshal) ProtoMessage()

func (*PBuffMarshal) Reset

func (m *PBuffMarshal) Reset()

func (*PBuffMarshal) SetField1_ added in v1.4.9

func (m *PBuffMarshal) SetField1_(val []byte)

func (*PBuffMarshal) SetField2_ added in v1.4.9

func (m *PBuffMarshal) SetField2_(val int32)

func (*PBuffMarshal) String

func (m *PBuffMarshal) String() string

func (*PBuffMarshal) XXX_DiscardUnknown

func (m *PBuffMarshal) XXX_DiscardUnknown()

func (*PBuffMarshal) XXX_Marshal

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

func (*PBuffMarshal) XXX_Merge

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

func (*PBuffMarshal) XXX_Size

func (m *PBuffMarshal) XXX_Size() int

func (*PBuffMarshal) XXX_Unmarshal

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

type PBuffMarshaler

type PBuffMarshaler struct {
	Field1               []byte   `protobuf:"bytes,1,opt,name=Field1" json:"Field1,omitempty"`
	Field2               *int32   `protobuf:"varint,2,opt,name=Field2" json:"Field2,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PBuffMarshaler) Descriptor

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

func (*PBuffMarshaler) GetField1

func (m *PBuffMarshaler) GetField1() []byte

func (*PBuffMarshaler) GetField2

func (m *PBuffMarshaler) GetField2() int32

func (*PBuffMarshaler) IsNil added in v1.4.9

func (m *PBuffMarshaler) IsNil() bool

func (*PBuffMarshaler) Marshal

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

func (*PBuffMarshaler) MarshalTo

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

func (*PBuffMarshaler) MarshalToSizedBuffer

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

func (*PBuffMarshaler) ProtoMessage

func (*PBuffMarshaler) ProtoMessage()

func (*PBuffMarshaler) Reset

func (m *PBuffMarshaler) Reset()

func (*PBuffMarshaler) SetField1_ added in v1.4.9

func (m *PBuffMarshaler) SetField1_(val []byte)

func (*PBuffMarshaler) SetField2_ added in v1.4.9

func (m *PBuffMarshaler) SetField2_(val int32)

func (*PBuffMarshaler) Size

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

func (*PBuffMarshaler) String

func (m *PBuffMarshaler) String() string

func (*PBuffMarshaler) XXX_DiscardUnknown

func (m *PBuffMarshaler) XXX_DiscardUnknown()

func (*PBuffMarshaler) XXX_Marshal

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

func (*PBuffMarshaler) XXX_Merge

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

func (*PBuffMarshaler) XXX_Size

func (m *PBuffMarshaler) XXX_Size() int

func (*PBuffMarshaler) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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