Documentation
¶
Index ¶
- Variables
- type Gzip
- func (*Gzip) Descriptor() ([]byte, []int)
- func (m *Gzip) GetCompressionLevel() Gzip_CompressionLevel_Enum
- func (m *Gzip) GetCompressionStrategy() Gzip_CompressionStrategy
- func (m *Gzip) GetContentLength() *wrappers.UInt32Value
- func (m *Gzip) GetContentType() []string
- func (m *Gzip) GetDisableOnEtagHeader() bool
- func (m *Gzip) GetMemoryLevel() *wrappers.UInt32Value
- func (m *Gzip) GetRemoveAcceptEncodingHeader() bool
- func (m *Gzip) GetWindowBits() *wrappers.UInt32Value
- func (*Gzip) ProtoMessage()
- func (m *Gzip) Reset()
- func (m *Gzip) String() string
- func (m *Gzip) Validate() error
- func (m *Gzip) XXX_DiscardUnknown()
- func (m *Gzip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Gzip) XXX_Merge(src proto.Message)
- func (m *Gzip) XXX_Size() int
- func (m *Gzip) XXX_Unmarshal(b []byte) error
- type GzipValidationError
- type Gzip_CompressionLevel
- func (*Gzip_CompressionLevel) Descriptor() ([]byte, []int)
- func (*Gzip_CompressionLevel) ProtoMessage()
- func (m *Gzip_CompressionLevel) Reset()
- func (m *Gzip_CompressionLevel) String() string
- func (m *Gzip_CompressionLevel) Validate() error
- func (m *Gzip_CompressionLevel) XXX_DiscardUnknown()
- func (m *Gzip_CompressionLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Gzip_CompressionLevel) XXX_Merge(src proto.Message)
- func (m *Gzip_CompressionLevel) XXX_Size() int
- func (m *Gzip_CompressionLevel) XXX_Unmarshal(b []byte) error
- type Gzip_CompressionLevelValidationError
- func (e Gzip_CompressionLevelValidationError) Cause() error
- func (e Gzip_CompressionLevelValidationError) Error() string
- func (e Gzip_CompressionLevelValidationError) ErrorName() string
- func (e Gzip_CompressionLevelValidationError) Field() string
- func (e Gzip_CompressionLevelValidationError) Key() bool
- func (e Gzip_CompressionLevelValidationError) Reason() string
- type Gzip_CompressionLevel_Enum
- type Gzip_CompressionStrategy
Constants ¶
This section is empty.
Variables ¶
var Gzip_CompressionLevel_Enum_name = map[int32]string{
0: "DEFAULT",
1: "BEST",
2: "SPEED",
}
var Gzip_CompressionLevel_Enum_value = map[string]int32{
"DEFAULT": 0,
"BEST": 1,
"SPEED": 2,
}
var Gzip_CompressionStrategy_name = map[int32]string{
0: "DEFAULT",
1: "FILTERED",
2: "HUFFMAN",
3: "RLE",
}
var Gzip_CompressionStrategy_value = map[string]int32{
"DEFAULT": 0,
"FILTERED": 1,
"HUFFMAN": 2,
"RLE": 3,
}
Functions ¶
This section is empty.
Types ¶
type Gzip ¶
type Gzip struct { MemoryLevel *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=memory_level,json=memoryLevel,proto3" json:"memory_level,omitempty"` ContentLength *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"` CompressionLevel Gzip_CompressionLevel_Enum `` /* 180-byte string literal not displayed */ CompressionStrategy Gzip_CompressionStrategy `` /* 187-byte string literal not displayed */ ContentType []string `protobuf:"bytes,6,rep,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` DisableOnEtagHeader bool `protobuf:"varint,7,opt,name=disable_on_etag_header,json=disableOnEtagHeader,proto3" json:"disable_on_etag_header,omitempty"` RemoveAcceptEncodingHeader bool `` /* 144-byte string literal not displayed */ WindowBits *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=window_bits,json=windowBits,proto3" json:"window_bits,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Gzip) Descriptor ¶
func (*Gzip) GetCompressionLevel ¶
func (m *Gzip) GetCompressionLevel() Gzip_CompressionLevel_Enum
func (*Gzip) GetCompressionStrategy ¶
func (m *Gzip) GetCompressionStrategy() Gzip_CompressionStrategy
func (*Gzip) GetContentLength ¶
func (m *Gzip) GetContentLength() *wrappers.UInt32Value
func (*Gzip) GetContentType ¶
func (*Gzip) GetDisableOnEtagHeader ¶
func (*Gzip) GetMemoryLevel ¶
func (m *Gzip) GetMemoryLevel() *wrappers.UInt32Value
func (*Gzip) GetRemoveAcceptEncodingHeader ¶
func (*Gzip) GetWindowBits ¶
func (m *Gzip) GetWindowBits() *wrappers.UInt32Value
func (*Gzip) ProtoMessage ¶
func (*Gzip) ProtoMessage()
func (*Gzip) Validate ¶
Validate checks the field values on Gzip with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Gzip) XXX_DiscardUnknown ¶
func (m *Gzip) XXX_DiscardUnknown()
func (*Gzip) XXX_Unmarshal ¶
type GzipValidationError ¶
type GzipValidationError struct {
// contains filtered or unexported fields
}
GzipValidationError is the validation error returned by Gzip.Validate if the designated constraints aren't met.
func (GzipValidationError) Cause ¶
func (e GzipValidationError) Cause() error
Cause function returns cause value.
func (GzipValidationError) Error ¶
func (e GzipValidationError) Error() string
Error satisfies the builtin error interface
func (GzipValidationError) ErrorName ¶
func (e GzipValidationError) ErrorName() string
ErrorName returns error name.
func (GzipValidationError) Field ¶
func (e GzipValidationError) Field() string
Field function returns field value.
func (GzipValidationError) Key ¶
func (e GzipValidationError) Key() bool
Key function returns key value.
func (GzipValidationError) Reason ¶
func (e GzipValidationError) Reason() string
Reason function returns reason value.
type Gzip_CompressionLevel ¶
type Gzip_CompressionLevel struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Gzip_CompressionLevel) Descriptor ¶
func (*Gzip_CompressionLevel) Descriptor() ([]byte, []int)
func (*Gzip_CompressionLevel) ProtoMessage ¶
func (*Gzip_CompressionLevel) ProtoMessage()
func (*Gzip_CompressionLevel) Reset ¶
func (m *Gzip_CompressionLevel) Reset()
func (*Gzip_CompressionLevel) String ¶
func (m *Gzip_CompressionLevel) String() string
func (*Gzip_CompressionLevel) Validate ¶
func (m *Gzip_CompressionLevel) Validate() error
Validate checks the field values on Gzip_CompressionLevel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Gzip_CompressionLevel) XXX_DiscardUnknown ¶
func (m *Gzip_CompressionLevel) XXX_DiscardUnknown()
func (*Gzip_CompressionLevel) XXX_Marshal ¶
func (m *Gzip_CompressionLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Gzip_CompressionLevel) XXX_Merge ¶
func (m *Gzip_CompressionLevel) XXX_Merge(src proto.Message)
func (*Gzip_CompressionLevel) XXX_Size ¶
func (m *Gzip_CompressionLevel) XXX_Size() int
func (*Gzip_CompressionLevel) XXX_Unmarshal ¶
func (m *Gzip_CompressionLevel) XXX_Unmarshal(b []byte) error
type Gzip_CompressionLevelValidationError ¶
type Gzip_CompressionLevelValidationError struct {
// contains filtered or unexported fields
}
Gzip_CompressionLevelValidationError is the validation error returned by Gzip_CompressionLevel.Validate if the designated constraints aren't met.
func (Gzip_CompressionLevelValidationError) Cause ¶
func (e Gzip_CompressionLevelValidationError) Cause() error
Cause function returns cause value.
func (Gzip_CompressionLevelValidationError) Error ¶
func (e Gzip_CompressionLevelValidationError) Error() string
Error satisfies the builtin error interface
func (Gzip_CompressionLevelValidationError) ErrorName ¶
func (e Gzip_CompressionLevelValidationError) ErrorName() string
ErrorName returns error name.
func (Gzip_CompressionLevelValidationError) Field ¶
func (e Gzip_CompressionLevelValidationError) Field() string
Field function returns field value.
func (Gzip_CompressionLevelValidationError) Key ¶
func (e Gzip_CompressionLevelValidationError) Key() bool
Key function returns key value.
func (Gzip_CompressionLevelValidationError) Reason ¶
func (e Gzip_CompressionLevelValidationError) Reason() string
Reason function returns reason value.
type Gzip_CompressionLevel_Enum ¶
type Gzip_CompressionLevel_Enum int32
const ( Gzip_CompressionLevel_DEFAULT Gzip_CompressionLevel_Enum = 0 Gzip_CompressionLevel_BEST Gzip_CompressionLevel_Enum = 1 Gzip_CompressionLevel_SPEED Gzip_CompressionLevel_Enum = 2 )
func (Gzip_CompressionLevel_Enum) EnumDescriptor ¶
func (Gzip_CompressionLevel_Enum) EnumDescriptor() ([]byte, []int)
func (Gzip_CompressionLevel_Enum) String ¶
func (x Gzip_CompressionLevel_Enum) String() string
type Gzip_CompressionStrategy ¶
type Gzip_CompressionStrategy int32
const ( Gzip_DEFAULT Gzip_CompressionStrategy = 0 Gzip_FILTERED Gzip_CompressionStrategy = 1 Gzip_HUFFMAN Gzip_CompressionStrategy = 2 Gzip_RLE Gzip_CompressionStrategy = 3 )
func (Gzip_CompressionStrategy) EnumDescriptor ¶
func (Gzip_CompressionStrategy) EnumDescriptor() ([]byte, []int)
func (Gzip_CompressionStrategy) String ¶
func (x Gzip_CompressionStrategy) String() string