Documentation ¶
Index ¶
- Variables
- type Brotli
- func (*Brotli) Descriptor() ([]byte, []int)deprecated
- func (x *Brotli) GetChunkSize() *wrapperspb.UInt32Value
- func (x *Brotli) GetDisableRingBufferReallocation() bool
- func (*Brotli) ProtoMessage()
- func (x *Brotli) ProtoReflect() protoreflect.Message
- func (x *Brotli) Reset()
- func (x *Brotli) String() string
- func (m *Brotli) Validate() error
- func (m *Brotli) ValidateAll() error
- type BrotliMultiError
- type BrotliValidationError
Constants ¶
This section is empty.
Variables ¶
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 *wrapperspb.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) GetChunkSize ¶
func (x *Brotli) GetChunkSize() *wrapperspb.UInt32Value
func (*Brotli) GetDisableRingBufferReallocation ¶
func (*Brotli) ProtoMessage ¶
func (*Brotli) ProtoMessage()
func (*Brotli) ProtoReflect ¶
func (x *Brotli) ProtoReflect() protoreflect.Message
func (*Brotli) Validate ¶
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 ¶
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 ¶
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 ¶
func (m BrotliMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BrotliMultiError) Error ¶
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.