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 ¶ added in v0.3.0
type Element2 struct {
A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
// contains filtered or unexported fields
}
func (*Element2) Descriptor
deprecated
added in
v0.3.0
func (*Element2) MarshalToSizedBufferVT ¶ added in v0.3.0
func (*Element2) MarshalToVT ¶ added in v0.3.0
func (*Element2) ProtoMessage ¶ added in v0.3.0
func (*Element2) ProtoMessage()
func (*Element2) ProtoReflect ¶ added in v0.3.0
func (x *Element2) ProtoReflect() protoreflect.Message
func (*Element2) UnmarshalVT ¶ added in v0.3.0
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 ¶ added in v0.3.0
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 ¶ added in v0.3.0
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
added in
v0.3.0
func (*Slice2) MarshalToSizedBufferVT ¶ added in v0.3.0
func (*Slice2) ProtoMessage ¶ added in v0.3.0
func (*Slice2) ProtoMessage()
func (*Slice2) ProtoReflect ¶ added in v0.3.0
func (x *Slice2) ProtoReflect() protoreflect.Message
func (*Slice2) UnmarshalVT ¶ added in v0.3.0
type Test1 ¶ added in v0.3.0
type Test1 struct {
Sl []string `protobuf:"bytes,1,rep,name=Sl,proto3" json:"Sl,omitempty"`
// contains filtered or unexported fields
}
func Test1FromVTPool ¶ added in v0.3.0
func Test1FromVTPool() *Test1
func (*Test1) Descriptor
deprecated
added in
v0.3.0
func (*Test1) MarshalToSizedBufferVT ¶ added in v0.3.0
func (*Test1) ProtoMessage ¶ added in v0.3.0
func (*Test1) ProtoMessage()
func (*Test1) ProtoReflect ¶ added in v0.3.0
func (x *Test1) ProtoReflect() protoreflect.Message
func (*Test1) ReturnToVTPool ¶ added in v0.3.0
func (m *Test1) ReturnToVTPool()
func (*Test1) UnmarshalVT ¶ added in v0.3.0
type Test2 ¶ added in v0.3.0
type Test2 struct {
Sl []*Slice2 `protobuf:"bytes,1,rep,name=Sl,proto3" json:"Sl,omitempty"`
// contains filtered or unexported fields
}
func Test2FromVTPool ¶ added in v0.3.0
func Test2FromVTPool() *Test2
func (*Test2) Descriptor
deprecated
added in
v0.3.0
func (*Test2) MarshalToSizedBufferVT ¶ added in v0.3.0
func (*Test2) ProtoMessage ¶ added in v0.3.0
func (*Test2) ProtoMessage()
func (*Test2) ProtoReflect ¶ added in v0.3.0
func (x *Test2) ProtoReflect() protoreflect.Message
func (*Test2) ReturnToVTPool ¶ added in v0.3.0
func (m *Test2) ReturnToVTPool()
func (*Test2) UnmarshalVT ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.