envoy_extensions_compression_brotli_decompressor_v3

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 20 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Brotli

type Brotli struct {

	// If true, disables "canny" ring buffer allocation strategy.
	// Ring buffer is allocated according to window size, despite the real size of the content.
	DisableRingBufferReallocation bool `` /* 153-byte string literal not displayed */
	// Value for decompressor's next output buffer. If not set, defaults to 4096.
	ChunkSize *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
	// contains filtered or unexported fields
}

func (*Brotli) Descriptor deprecated

func (*Brotli) Descriptor() ([]byte, []int)

Deprecated: Use Brotli.ProtoReflect.Descriptor instead.

func (*Brotli) GetChunkSize

func (x *Brotli) GetChunkSize() *wrappers.UInt32Value

func (*Brotli) GetDisableRingBufferReallocation

func (x *Brotli) GetDisableRingBufferReallocation() bool

func (*Brotli) ProtoMessage

func (*Brotli) ProtoMessage()

func (*Brotli) ProtoReflect

func (x *Brotli) ProtoReflect() protoreflect.Message

func (*Brotli) Reset

func (x *Brotli) Reset()

func (*Brotli) String

func (x *Brotli) String() string

func (*Brotli) Validate

func (m *Brotli) Validate() error

Validate checks the field values on Brotli with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Brotli) ValidateAll added in v0.10.0

func (m *Brotli) ValidateAll() error

ValidateAll checks the field values on Brotli with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BrotliMultiError, or nil if none found.

type BrotliMultiError added in v0.10.0

type BrotliMultiError []error

BrotliMultiError is an error wrapping multiple validation errors returned by Brotli.ValidateAll() if the designated constraints aren't met.

func (BrotliMultiError) AllErrors added in v0.10.0

func (m BrotliMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BrotliMultiError) Error added in v0.10.0

func (m BrotliMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BrotliValidationError

type BrotliValidationError struct {
	// contains filtered or unexported fields
}

BrotliValidationError is the validation error returned by Brotli.Validate if the designated constraints aren't met.

func (BrotliValidationError) Cause

func (e BrotliValidationError) Cause() error

Cause function returns cause value.

func (BrotliValidationError) Error

func (e BrotliValidationError) Error() string

Error satisfies the builtin error interface

func (BrotliValidationError) ErrorName

func (e BrotliValidationError) ErrorName() string

ErrorName returns error name.

func (BrotliValidationError) Field

func (e BrotliValidationError) Field() string

Field function returns field value.

func (BrotliValidationError) Key

func (e BrotliValidationError) Key() bool

Key function returns key value.

func (BrotliValidationError) Reason

func (e BrotliValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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