package setextensionbytes
import "github.com/gogo/protobuf/test/setextensionbytes"
Index ¶
- Variables
- type Foo
- func (*Foo) Descriptor() ([]byte, []int)
- func (this *Foo) Equal(that interface{}) bool
- func (m *Foo) Marshal() (dAtA []byte, err error)
- func (m *Foo) MarshalTo(dAtA []byte) (int, error)
- func (*Foo) ProtoMessage()
- func (m *Foo) Reset()
- func (m *Foo) Size() (n int)
- func (this *Foo) String() string
- func (m *Foo) Unmarshal(dAtA []byte) error
- func (m *Foo) XXX_DiscardUnknown()
- func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Foo) XXX_Merge(src proto.Message)
- func (m *Foo) XXX_Size() int
- func (m *Foo) XXX_Unmarshal(b []byte) error
- type MyExtendable
- func (*MyExtendable) Descriptor() ([]byte, []int)
- func (this *MyExtendable) Equal(that interface{}) bool
- func (*MyExtendable) ExtensionRangeArray() []proto.ExtensionRange
- func (m *MyExtendable) GetExtensions() *[]byte
- func (m *MyExtendable) Marshal() (dAtA []byte, err error)
- func (m *MyExtendable) MarshalTo(dAtA []byte) (int, error)
- func (*MyExtendable) ProtoMessage()
- func (m *MyExtendable) Reset()
- func (m *MyExtendable) Size() (n int)
- func (this *MyExtendable) String() string
- func (m *MyExtendable) Unmarshal(dAtA []byte) error
- func (m *MyExtendable) XXX_DiscardUnknown()
- func (m *MyExtendable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MyExtendable) XXX_Merge(src proto.Message)
- func (m *MyExtendable) XXX_Size() int
- func (m *MyExtendable) XXX_Unmarshal(b []byte) error
Variables ¶
var ( ErrInvalidLengthSetextensionbytes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSetextensionbytes = fmt.Errorf("proto: integer overflow") )
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", }
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) Equal ¶
func (*Foo) Marshal ¶
func (*Foo) MarshalTo ¶
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
func (*Foo) Reset ¶
func (m *Foo) Reset()
func (*Foo) Size ¶
func (*Foo) String ¶
func (*Foo) Unmarshal ¶
func (*Foo) XXX_DiscardUnknown ¶
func (m *Foo) XXX_DiscardUnknown()
func (*Foo) XXX_Marshal ¶
func (*Foo) XXX_Merge ¶
func (*Foo) XXX_Size ¶
func (*Foo) XXX_Unmarshal ¶
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
Source Files ¶
- Version
- v1.3.2 (latest)
- Published
- Jan 10, 2021
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 2 days ago –
Tools for package owners.