setextensionbytes

package
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 (
	ErrInvalidLengthSetextensionbytes = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSetextensionbytes   = fmt.Errorf("proto: integer overflow")
)
View Source
var E_Foos = &proto.ExtensionDesc{
	ExtendedType:  (*MyExtendable)(nil),
	ExtensionType: (*Foo)(nil),
	Field:         2,
	Name:          "setextensionbytes.Foos",
	Tag:           "bytes,2,opt,name=Foos",
	Filename:      "setextensionbytes.proto",
}

Functions

This section is empty.

Types

type Foo

type Foo struct {
	IntFoo               int64    `protobuf:"varint,1,opt,name=intFoo" json:"intFoo"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Foo) Descriptor

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

func (*Foo) Equal

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

func (*Foo) Marshal

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

func (*Foo) MarshalTo

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

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) Size

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

func (*Foo) String

func (this *Foo) String() string

func (*Foo) Unmarshal

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

func (*Foo) XXX_DiscardUnknown

func (m *Foo) XXX_DiscardUnknown()

func (*Foo) XXX_Marshal

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

func (*Foo) XXX_Merge

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

func (*Foo) XXX_Size

func (m *Foo) XXX_Size() int

func (*Foo) XXX_Unmarshal

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

type MyExtendable

type MyExtendable struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_extensions       []byte   `protobuf:"bytes,0,opt" json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MyExtendable) Descriptor

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

func (*MyExtendable) Equal

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

func (*MyExtendable) ExtensionRangeArray

func (*MyExtendable) ExtensionRangeArray() []proto.ExtensionRange

func (*MyExtendable) GetExtensions

func (m *MyExtendable) GetExtensions() *[]byte

func (*MyExtendable) Marshal

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

func (*MyExtendable) MarshalTo

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

func (*MyExtendable) ProtoMessage

func (*MyExtendable) ProtoMessage()

func (*MyExtendable) Reset

func (m *MyExtendable) Reset()

func (*MyExtendable) Size

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

func (*MyExtendable) String

func (this *MyExtendable) String() string

func (*MyExtendable) Unmarshal

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

func (*MyExtendable) XXX_DiscardUnknown

func (m *MyExtendable) XXX_DiscardUnknown()

func (*MyExtendable) XXX_Marshal

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

func (*MyExtendable) XXX_Merge

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

func (*MyExtendable) XXX_Size

func (m *MyExtendable) XXX_Size() int

func (*MyExtendable) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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