/
gzip.pb.go
executable file
·257 lines (222 loc) · 10.5 KB
/
gzip.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/config/filter/http/gzip/v2/gzip.proto
package envoy_config_filter_http_gzip_v2
import (
fmt "fmt"
_ "github.com/envoyproxy/protoc-gen-validate/validate"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
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
)
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,
}
func (x Gzip_CompressionStrategy) String() string {
return proto.EnumName(Gzip_CompressionStrategy_name, int32(x))
}
func (Gzip_CompressionStrategy) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_e2b7bd5745a19167, []int{0, 0}
}
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
)
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,
}
func (x Gzip_CompressionLevel_Enum) String() string {
return proto.EnumName(Gzip_CompressionLevel_Enum_name, int32(x))
}
func (Gzip_CompressionLevel_Enum) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_e2b7bd5745a19167, []int{0, 0, 0}
}
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 `protobuf:"varint,3,opt,name=compression_level,json=compressionLevel,proto3,enum=envoy.config.filter.http.gzip.v2.Gzip_CompressionLevel_Enum" json:"compression_level,omitempty"`
CompressionStrategy Gzip_CompressionStrategy `protobuf:"varint,4,opt,name=compression_strategy,json=compressionStrategy,proto3,enum=envoy.config.filter.http.gzip.v2.Gzip_CompressionStrategy" json:"compression_strategy,omitempty"`
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 `protobuf:"varint,8,opt,name=remove_accept_encoding_header,json=removeAcceptEncodingHeader,proto3" json:"remove_accept_encoding_header,omitempty"`
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 (m *Gzip) Reset() { *m = Gzip{} }
func (m *Gzip) String() string { return proto.CompactTextString(m) }
func (*Gzip) ProtoMessage() {}
func (*Gzip) Descriptor() ([]byte, []int) {
return fileDescriptor_e2b7bd5745a19167, []int{0}
}
func (m *Gzip) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Gzip.Unmarshal(m, b)
}
func (m *Gzip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Gzip.Marshal(b, m, deterministic)
}
func (m *Gzip) XXX_Merge(src proto.Message) {
xxx_messageInfo_Gzip.Merge(m, src)
}
func (m *Gzip) XXX_Size() int {
return xxx_messageInfo_Gzip.Size(m)
}
func (m *Gzip) XXX_DiscardUnknown() {
xxx_messageInfo_Gzip.DiscardUnknown(m)
}
var xxx_messageInfo_Gzip proto.InternalMessageInfo
func (m *Gzip) GetMemoryLevel() *wrappers.UInt32Value {
if m != nil {
return m.MemoryLevel
}
return nil
}
func (m *Gzip) GetContentLength() *wrappers.UInt32Value {
if m != nil {
return m.ContentLength
}
return nil
}
func (m *Gzip) GetCompressionLevel() Gzip_CompressionLevel_Enum {
if m != nil {
return m.CompressionLevel
}
return Gzip_CompressionLevel_DEFAULT
}
func (m *Gzip) GetCompressionStrategy() Gzip_CompressionStrategy {
if m != nil {
return m.CompressionStrategy
}
return Gzip_DEFAULT
}
func (m *Gzip) GetContentType() []string {
if m != nil {
return m.ContentType
}
return nil
}
func (m *Gzip) GetDisableOnEtagHeader() bool {
if m != nil {
return m.DisableOnEtagHeader
}
return false
}
func (m *Gzip) GetRemoveAcceptEncodingHeader() bool {
if m != nil {
return m.RemoveAcceptEncodingHeader
}
return false
}
func (m *Gzip) GetWindowBits() *wrappers.UInt32Value {
if m != nil {
return m.WindowBits
}
return nil
}
type Gzip_CompressionLevel struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Gzip_CompressionLevel) Reset() { *m = Gzip_CompressionLevel{} }
func (m *Gzip_CompressionLevel) String() string { return proto.CompactTextString(m) }
func (*Gzip_CompressionLevel) ProtoMessage() {}
func (*Gzip_CompressionLevel) Descriptor() ([]byte, []int) {
return fileDescriptor_e2b7bd5745a19167, []int{0, 0}
}
func (m *Gzip_CompressionLevel) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Gzip_CompressionLevel.Unmarshal(m, b)
}
func (m *Gzip_CompressionLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Gzip_CompressionLevel.Marshal(b, m, deterministic)
}
func (m *Gzip_CompressionLevel) XXX_Merge(src proto.Message) {
xxx_messageInfo_Gzip_CompressionLevel.Merge(m, src)
}
func (m *Gzip_CompressionLevel) XXX_Size() int {
return xxx_messageInfo_Gzip_CompressionLevel.Size(m)
}
func (m *Gzip_CompressionLevel) XXX_DiscardUnknown() {
xxx_messageInfo_Gzip_CompressionLevel.DiscardUnknown(m)
}
var xxx_messageInfo_Gzip_CompressionLevel proto.InternalMessageInfo
func init() {
proto.RegisterEnum("envoy.config.filter.http.gzip.v2.Gzip_CompressionStrategy", Gzip_CompressionStrategy_name, Gzip_CompressionStrategy_value)
proto.RegisterEnum("envoy.config.filter.http.gzip.v2.Gzip_CompressionLevel_Enum", Gzip_CompressionLevel_Enum_name, Gzip_CompressionLevel_Enum_value)
proto.RegisterType((*Gzip)(nil), "envoy.config.filter.http.gzip.v2.Gzip")
proto.RegisterType((*Gzip_CompressionLevel)(nil), "envoy.config.filter.http.gzip.v2.Gzip.CompressionLevel")
}
func init() {
proto.RegisterFile("envoy/config/filter/http/gzip/v2/gzip.proto", fileDescriptor_e2b7bd5745a19167)
}
var fileDescriptor_e2b7bd5745a19167 = []byte{
// 538 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x41, 0x8f, 0xd2, 0x4e,
0x18, 0xc6, 0xff, 0x2d, 0x5d, 0xa0, 0xc3, 0xfe, 0xd7, 0x3a, 0x6b, 0xb4, 0x21, 0xba, 0x21, 0x9c,
0x9a, 0xdd, 0x64, 0x9a, 0x94, 0x9b, 0x59, 0x0f, 0x54, 0x8a, 0xac, 0xa9, 0x4a, 0x0a, 0x78, 0x6d,
0x4a, 0x19, 0xca, 0x24, 0x65, 0xa6, 0x69, 0x87, 0x62, 0xf7, 0xa8, 0xdf, 0xc0, 0x8f, 0xcb, 0xc9,
0x74, 0x5a, 0x74, 0x5d, 0x4d, 0x76, 0x3d, 0x41, 0xf2, 0x3c, 0xbf, 0xe7, 0x9d, 0xf7, 0x7d, 0x0a,
0xae, 0x30, 0xcd, 0x59, 0x61, 0x86, 0x8c, 0xae, 0x49, 0x64, 0xae, 0x49, 0xcc, 0x71, 0x6a, 0x6e,
0x38, 0x4f, 0xcc, 0xe8, 0x96, 0x24, 0x66, 0x6e, 0x89, 0x5f, 0x94, 0xa4, 0x8c, 0x33, 0xd8, 0x13,
0x66, 0x54, 0x99, 0x51, 0x65, 0x46, 0xa5, 0x19, 0x09, 0x53, 0x6e, 0x75, 0x2f, 0x22, 0xc6, 0xa2,
0x18, 0x9b, 0xc2, 0xbf, 0xdc, 0xad, 0xcd, 0x7d, 0x1a, 0x24, 0x09, 0x4e, 0xb3, 0x2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