package envoy_extensions_compression_brotli_decompressor_v3
import "github.com/envoyproxy/go-control-plane/envoy/extensions/compression/brotli/decompressor/v3"
Index ¶
- Variables
- type Brotli
- func (*Brotli) Descriptor() ([]byte, []int)
- func (x *Brotli) GetChunkSize() *wrappers.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
- type BrotliValidationError
Variables ¶
var File_envoy_extensions_compression_brotli_decompressor_v3_brotli_proto protoreflect.FileDescriptor
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 `protobuf:"varint,1,opt,name=disable_ring_buffer_reallocation,json=disableRingBufferReallocation,proto3" json:"disable_ring_buffer_reallocation,omitempty"` // 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: Use Brotli.ProtoReflect.Descriptor instead.
func (*Brotli) GetChunkSize ¶
func (x *Brotli) GetChunkSize() *wrappers.UInt32Value
func (*Brotli) GetDisableRingBufferReallocation ¶
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 (*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, an error is returned.
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.
Source Files ¶
brotli.pb.go brotli.pb.validate.go
- Version
- v0.9.9
- Published
- May 21, 2021
- Platform
- darwin/amd64
- Imports
- 19 packages
- Last checked
- 30 minutes ago –
Tools for package owners.