Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_compression_zstd_decompressor_v3_zstd_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Zstd ¶
type Zstd struct {
// Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
// efficiency on small files and messages. It is necessary to ensure that the dictionary used for
// decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
// dictionary will be automatically selected for decompression according to the dictionary ID in the
// source content.
// Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
// to train specific dictionaries for decompression.
Dictionaries []*v3.DataSource `protobuf:"bytes,1,rep,name=dictionaries,proto3" json:"dictionaries,omitempty"`
// Value for decompressor's next output buffer. If not set, defaults to 4096.
ChunkSize *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
// contains filtered or unexported fields
}
func (*Zstd) Descriptor
deprecated
func (*Zstd) GetChunkSize ¶
func (x *Zstd) GetChunkSize() *wrapperspb.UInt32Value
func (*Zstd) GetDictionaries ¶
func (x *Zstd) GetDictionaries() []*v3.DataSource
func (*Zstd) ProtoMessage ¶
func (*Zstd) ProtoMessage()
func (*Zstd) ProtoReflect ¶
func (x *Zstd) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.