decompressorv3

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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) Descriptor() ([]byte, []int)

Deprecated: Use Zstd.ProtoReflect.Descriptor instead.

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

func (*Zstd) Reset

func (x *Zstd) Reset()

func (*Zstd) String

func (x *Zstd) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL