Documentation
¶
Index ¶
- Variables
- type Element2
- func (*Element2) Descriptor() ([]byte, []int)deprecated
- func (this *Element2) EqualVT(that *Element2) bool
- func (x *Element2) GetA() int32
- func (m *Element2) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Element2) MarshalToVT(dAtA []byte) (int, error)
- func (m *Element2) MarshalVT() (dAtA []byte, err error)
- func (*Element2) ProtoMessage()
- func (x *Element2) ProtoReflect() protoreflect.Message
- func (x *Element2) Reset()
- func (m *Element2) SizeVT() (n int)
- func (x *Element2) String() string
- func (m *Element2) UnmarshalVT(dAtA []byte) error
- type MemoryPoolExtension
- func (*MemoryPoolExtension) Descriptor() ([]byte, []int)deprecated
- func (this *MemoryPoolExtension) EqualVT(that *MemoryPoolExtension) bool
- func (x *MemoryPoolExtension) GetFoo1() string
- func (x *MemoryPoolExtension) GetFoo2() uint64
- func (m *MemoryPoolExtension) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *MemoryPoolExtension) MarshalToVT(dAtA []byte) (int, error)
- func (m *MemoryPoolExtension) MarshalVT() (dAtA []byte, err error)
- func (*MemoryPoolExtension) ProtoMessage()
- func (x *MemoryPoolExtension) ProtoReflect() protoreflect.Message
- func (x *MemoryPoolExtension) Reset()
- func (m *MemoryPoolExtension) ResetVT()
- func (m *MemoryPoolExtension) ReturnToVTPool()
- func (m *MemoryPoolExtension) SizeVT() (n int)
- func (x *MemoryPoolExtension) String() string
- func (m *MemoryPoolExtension) UnmarshalVT(dAtA []byte) error
- type Slice2
- func (*Slice2) Descriptor() ([]byte, []int)deprecated
- func (this *Slice2) EqualVT(that *Slice2) bool
- func (x *Slice2) GetA() map[int64]int64
- func (x *Slice2) GetB() int32
- func (x *Slice2) GetC() []string
- func (x *Slice2) GetD() *Element2
- func (x *Slice2) GetE() string
- func (x *Slice2) GetF() int64
- func (m *Slice2) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Slice2) MarshalToVT(dAtA []byte) (int, error)
- func (m *Slice2) MarshalVT() (dAtA []byte, err error)
- func (*Slice2) ProtoMessage()
- func (x *Slice2) ProtoReflect() protoreflect.Message
- func (x *Slice2) Reset()
- func (m *Slice2) SizeVT() (n int)
- func (x *Slice2) String() string
- func (m *Slice2) UnmarshalVT(dAtA []byte) error
- type Test1
- func (*Test1) Descriptor() ([]byte, []int)deprecated
- func (this *Test1) EqualVT(that *Test1) bool
- func (x *Test1) GetSl() []string
- func (m *Test1) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Test1) MarshalToVT(dAtA []byte) (int, error)
- func (m *Test1) MarshalVT() (dAtA []byte, err error)
- func (*Test1) ProtoMessage()
- func (x *Test1) ProtoReflect() protoreflect.Message
- func (x *Test1) Reset()
- func (m *Test1) ResetVT()
- func (m *Test1) ReturnToVTPool()
- func (m *Test1) SizeVT() (n int)
- func (x *Test1) String() string
- func (m *Test1) UnmarshalVT(dAtA []byte) error
- type Test2
- func (*Test2) Descriptor() ([]byte, []int)deprecated
- func (this *Test2) EqualVT(that *Test2) bool
- func (x *Test2) GetSl() []*Slice2
- func (m *Test2) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Test2) MarshalToVT(dAtA []byte) (int, error)
- func (m *Test2) MarshalVT() (dAtA []byte, err error)
- func (*Test2) ProtoMessage()
- func (x *Test2) ProtoReflect() protoreflect.Message
- func (x *Test2) Reset()
- func (m *Test2) ResetVT()
- func (m *Test2) ReturnToVTPool()
- func (m *Test2) SizeVT() (n int)
- func (x *Test2) String() string
- func (m *Test2) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_pool_pool_proto protoreflect.FileDescriptor
View Source
var File_pool_pool_with_slice_reuse_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Element2 ¶
type Element2 struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*Element2) Descriptor
deprecated
func (*Element2) MarshalToSizedBufferVT ¶
func (*Element2) ProtoMessage ¶
func (*Element2) ProtoMessage()
func (*Element2) ProtoReflect ¶
func (x *Element2) ProtoReflect() protoreflect.Message
func (*Element2) UnmarshalVT ¶
type MemoryPoolExtension ¶
type MemoryPoolExtension struct { Foo1 string `protobuf:"bytes,1,opt,name=foo1,proto3" json:"foo1,omitempty"` Foo2 uint64 `protobuf:"varint,2,opt,name=foo2,proto3" json:"foo2,omitempty"` // contains filtered or unexported fields }
func MemoryPoolExtensionFromVTPool ¶
func MemoryPoolExtensionFromVTPool() *MemoryPoolExtension
func (*MemoryPoolExtension) Descriptor
deprecated
func (*MemoryPoolExtension) Descriptor() ([]byte, []int)
Deprecated: Use MemoryPoolExtension.ProtoReflect.Descriptor instead.
func (*MemoryPoolExtension) EqualVT ¶
func (this *MemoryPoolExtension) EqualVT(that *MemoryPoolExtension) bool
func (*MemoryPoolExtension) GetFoo1 ¶
func (x *MemoryPoolExtension) GetFoo1() string
func (*MemoryPoolExtension) GetFoo2 ¶
func (x *MemoryPoolExtension) GetFoo2() uint64
func (*MemoryPoolExtension) MarshalToSizedBufferVT ¶
func (m *MemoryPoolExtension) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*MemoryPoolExtension) MarshalToVT ¶
func (m *MemoryPoolExtension) MarshalToVT(dAtA []byte) (int, error)
func (*MemoryPoolExtension) MarshalVT ¶
func (m *MemoryPoolExtension) MarshalVT() (dAtA []byte, err error)
func (*MemoryPoolExtension) ProtoMessage ¶
func (*MemoryPoolExtension) ProtoMessage()
func (*MemoryPoolExtension) ProtoReflect ¶
func (x *MemoryPoolExtension) ProtoReflect() protoreflect.Message
func (*MemoryPoolExtension) Reset ¶
func (x *MemoryPoolExtension) Reset()
func (*MemoryPoolExtension) ResetVT ¶
func (m *MemoryPoolExtension) ResetVT()
func (*MemoryPoolExtension) ReturnToVTPool ¶
func (m *MemoryPoolExtension) ReturnToVTPool()
func (*MemoryPoolExtension) SizeVT ¶
func (m *MemoryPoolExtension) SizeVT() (n int)
func (*MemoryPoolExtension) String ¶
func (x *MemoryPoolExtension) String() string
func (*MemoryPoolExtension) UnmarshalVT ¶
func (m *MemoryPoolExtension) UnmarshalVT(dAtA []byte) error
type Slice2 ¶
type Slice2 struct { A map[int64]int64 `` /* 145-byte string literal not displayed */ B *int32 `protobuf:"varint,2,opt,name=b,proto3,oneof" json:"b,omitempty"` C []string `protobuf:"bytes,3,rep,name=c,proto3" json:"c,omitempty"` D *Element2 `protobuf:"bytes,4,opt,name=d,proto3" json:"d,omitempty"` E string `protobuf:"bytes,5,opt,name=e,proto3" json:"e,omitempty"` F int64 `protobuf:"varint,6,opt,name=f,proto3" json:"f,omitempty"` // contains filtered or unexported fields }
func (*Slice2) Descriptor
deprecated
func (*Slice2) MarshalToSizedBufferVT ¶
func (*Slice2) ProtoMessage ¶
func (*Slice2) ProtoMessage()
func (*Slice2) ProtoReflect ¶
func (x *Slice2) ProtoReflect() protoreflect.Message
func (*Slice2) UnmarshalVT ¶
type Test1 ¶
type Test1 struct { Sl []string `protobuf:"bytes,1,rep,name=Sl,proto3" json:"Sl,omitempty"` // contains filtered or unexported fields }
func Test1FromVTPool ¶
func Test1FromVTPool() *Test1
func (*Test1) Descriptor
deprecated
func (*Test1) MarshalToSizedBufferVT ¶
func (*Test1) ProtoMessage ¶
func (*Test1) ProtoMessage()
func (*Test1) ProtoReflect ¶
func (x *Test1) ProtoReflect() protoreflect.Message
func (*Test1) ReturnToVTPool ¶
func (m *Test1) ReturnToVTPool()
func (*Test1) UnmarshalVT ¶
type Test2 ¶
type Test2 struct { Sl []*Slice2 `protobuf:"bytes,1,rep,name=Sl,proto3" json:"Sl,omitempty"` // contains filtered or unexported fields }
func Test2FromVTPool ¶
func Test2FromVTPool() *Test2
func (*Test2) Descriptor
deprecated
func (*Test2) MarshalToSizedBufferVT ¶
func (*Test2) ProtoMessage ¶
func (*Test2) ProtoMessage()
func (*Test2) ProtoReflect ¶
func (x *Test2) ProtoReflect() protoreflect.Message
func (*Test2) ReturnToVTPool ¶
func (m *Test2) ReturnToVTPool()
func (*Test2) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.