package pool
import "github.com/planetscale/vtprotobuf/testproto/pool"
Index ¶
- Variables
- type Element2
- func (m *Element2) CloneMessageVT() proto.Message
- func (m *Element2) CloneVT() *Element2
- func (*Element2) Descriptor() ([]byte, []int)
- func (this *Element2) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Element2) EqualVT(that *Element2) bool
- func (x *Element2) GetA() int32
- func (m *Element2) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Element2) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Element2) MarshalToVT(dAtA []byte) (int, error)
- func (m *Element2) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Element2) MarshalVT() (dAtA []byte, err error)
- func (m *Element2) MarshalVTStrict() (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 MemoryPoolExtensionFromVTPool() *MemoryPoolExtension
- func (m *MemoryPoolExtension) CloneMessageVT() proto.Message
- func (m *MemoryPoolExtension) CloneVT() *MemoryPoolExtension
- func (*MemoryPoolExtension) Descriptor() ([]byte, []int)
- func (this *MemoryPoolExtension) EqualMessageVT(thatMsg proto.Message) bool
- 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) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *MemoryPoolExtension) MarshalToVT(dAtA []byte) (int, error)
- func (m *MemoryPoolExtension) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *MemoryPoolExtension) MarshalVT() (dAtA []byte, err error)
- func (m *MemoryPoolExtension) MarshalVTStrict() (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 (m *Slice2) CloneMessageVT() proto.Message
- func (m *Slice2) CloneVT() *Slice2
- func (*Slice2) Descriptor() ([]byte, []int)
- func (this *Slice2) EqualMessageVT(thatMsg proto.Message) bool
- 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) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Slice2) MarshalToVT(dAtA []byte) (int, error)
- func (m *Slice2) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Slice2) MarshalVT() (dAtA []byte, err error)
- func (m *Slice2) MarshalVTStrict() (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 Test1FromVTPool() *Test1
- func (m *Test1) CloneMessageVT() proto.Message
- func (m *Test1) CloneVT() *Test1
- func (*Test1) Descriptor() ([]byte, []int)
- func (this *Test1) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Test1) EqualVT(that *Test1) bool
- func (x *Test1) GetSl() []string
- func (m *Test1) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Test1) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Test1) MarshalToVT(dAtA []byte) (int, error)
- func (m *Test1) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Test1) MarshalVT() (dAtA []byte, err error)
- func (m *Test1) MarshalVTStrict() (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 Test2FromVTPool() *Test2
- func (m *Test2) CloneMessageVT() proto.Message
- func (m *Test2) CloneVT() *Test2
- func (*Test2) Descriptor() ([]byte, []int)
- func (this *Test2) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Test2) EqualVT(that *Test2) bool
- func (x *Test2) GetSl() []*Slice2
- func (m *Test2) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Test2) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Test2) MarshalToVT(dAtA []byte) (int, error)
- func (m *Test2) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Test2) MarshalVT() (dAtA []byte, err error)
- func (m *Test2) MarshalVTStrict() (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
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
var File_pool_pool_proto protoreflect.FileDescriptor
var File_pool_pool_with_slice_reuse_proto protoreflect.FileDescriptor
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) CloneMessageVT ¶
func (*Element2) CloneVT ¶
func (*Element2) Descriptor ¶
Deprecated: Use Element2.ProtoReflect.Descriptor instead.
func (*Element2) EqualMessageVT ¶
func (*Element2) EqualVT ¶
func (*Element2) GetA ¶
func (*Element2) MarshalToSizedBufferVT ¶
func (*Element2) MarshalToSizedBufferVTStrict ¶
func (*Element2) MarshalToVT ¶
func (*Element2) MarshalToVTStrict ¶
func (*Element2) MarshalVT ¶
func (*Element2) MarshalVTStrict ¶
func (*Element2) ProtoMessage ¶
func (*Element2) ProtoMessage()
func (*Element2) ProtoReflect ¶
func (x *Element2) ProtoReflect() protoreflect.Message
func (*Element2) Reset ¶
func (x *Element2) Reset()
func (*Element2) SizeVT ¶
func (*Element2) String ¶
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) CloneMessageVT ¶
func (m *MemoryPoolExtension) CloneMessageVT() proto.Message
func (*MemoryPoolExtension) CloneVT ¶
func (m *MemoryPoolExtension) CloneVT() *MemoryPoolExtension
func (*MemoryPoolExtension) Descriptor ¶
func (*MemoryPoolExtension) Descriptor() ([]byte, []int)
Deprecated: Use MemoryPoolExtension.ProtoReflect.Descriptor instead.
func (*MemoryPoolExtension) EqualMessageVT ¶
func (this *MemoryPoolExtension) EqualMessageVT(thatMsg proto.Message) bool
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) MarshalToSizedBufferVTStrict ¶
func (m *MemoryPoolExtension) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
func (*MemoryPoolExtension) MarshalToVT ¶
func (m *MemoryPoolExtension) MarshalToVT(dAtA []byte) (int, error)
func (*MemoryPoolExtension) MarshalToVTStrict ¶
func (m *MemoryPoolExtension) MarshalToVTStrict(dAtA []byte) (int, error)
func (*MemoryPoolExtension) MarshalVT ¶
func (m *MemoryPoolExtension) MarshalVT() (dAtA []byte, err error)
func (*MemoryPoolExtension) MarshalVTStrict ¶
func (m *MemoryPoolExtension) MarshalVTStrict() (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 `protobuf:"bytes,1,rep,name=a,proto3" json:"a,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 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) CloneMessageVT ¶
func (*Slice2) CloneVT ¶
func (*Slice2) Descriptor ¶
Deprecated: Use Slice2.ProtoReflect.Descriptor instead.
func (*Slice2) EqualMessageVT ¶
func (*Slice2) EqualVT ¶
func (*Slice2) GetA ¶
func (*Slice2) GetB ¶
func (*Slice2) GetC ¶
func (*Slice2) GetD ¶
func (*Slice2) GetE ¶
func (*Slice2) GetF ¶
func (*Slice2) MarshalToSizedBufferVT ¶
func (*Slice2) MarshalToSizedBufferVTStrict ¶
func (*Slice2) MarshalToVT ¶
func (*Slice2) MarshalToVTStrict ¶
func (*Slice2) MarshalVT ¶
func (*Slice2) MarshalVTStrict ¶
func (*Slice2) ProtoMessage ¶
func (*Slice2) ProtoMessage()
func (*Slice2) ProtoReflect ¶
func (x *Slice2) ProtoReflect() protoreflect.Message
func (*Slice2) Reset ¶
func (x *Slice2) Reset()
func (*Slice2) SizeVT ¶
func (*Slice2) String ¶
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) CloneMessageVT ¶
func (*Test1) CloneVT ¶
func (*Test1) Descriptor ¶
Deprecated: Use Test1.ProtoReflect.Descriptor instead.
func (*Test1) EqualMessageVT ¶
func (*Test1) EqualVT ¶
func (*Test1) GetSl ¶
func (*Test1) MarshalToSizedBufferVT ¶
func (*Test1) MarshalToSizedBufferVTStrict ¶
func (*Test1) MarshalToVT ¶
func (*Test1) MarshalToVTStrict ¶
func (*Test1) MarshalVT ¶
func (*Test1) MarshalVTStrict ¶
func (*Test1) ProtoMessage ¶
func (*Test1) ProtoMessage()
func (*Test1) ProtoReflect ¶
func (x *Test1) ProtoReflect() protoreflect.Message
func (*Test1) Reset ¶
func (x *Test1) Reset()
func (*Test1) ResetVT ¶
func (m *Test1) ResetVT()
func (*Test1) ReturnToVTPool ¶
func (m *Test1) ReturnToVTPool()
func (*Test1) SizeVT ¶
func (*Test1) String ¶
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) CloneMessageVT ¶
func (*Test2) CloneVT ¶
func (*Test2) Descriptor ¶
Deprecated: Use Test2.ProtoReflect.Descriptor instead.
func (*Test2) EqualMessageVT ¶
func (*Test2) EqualVT ¶
func (*Test2) GetSl ¶
func (*Test2) MarshalToSizedBufferVT ¶
func (*Test2) MarshalToSizedBufferVTStrict ¶
func (*Test2) MarshalToVT ¶
func (*Test2) MarshalToVTStrict ¶
func (*Test2) MarshalVT ¶
func (*Test2) MarshalVTStrict ¶
func (*Test2) ProtoMessage ¶
func (*Test2) ProtoMessage()
func (*Test2) ProtoReflect ¶
func (x *Test2) ProtoReflect() protoreflect.Message
func (*Test2) Reset ¶
func (x *Test2) Reset()
func (*Test2) ResetVT ¶
func (m *Test2) ResetVT()
func (*Test2) ReturnToVTPool ¶
func (m *Test2) ReturnToVTPool()
func (*Test2) SizeVT ¶
func (*Test2) String ¶
func (*Test2) UnmarshalVT ¶
Source Files ¶
pool.pb.go pool_vtproto.pb.go pool_with_slice_reuse.pb.go pool_with_slice_reuse_vtproto.pb.go
- Version
- v0.4.0
- Published
- Jan 27, 2023
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 9 minutes ago –
Tools for package owners.