1
2
3
4
5
6
7 package envoy_config_endpoint_v3
8
9 import (
10 _ "github.com/cncf/udpa/go/udpa/annotations"
11 v3 "github.com/datawire/ambassador/v2/pkg/api/envoy/type/v3"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 proto "github.com/golang/protobuf/proto"
14 duration "github.com/golang/protobuf/ptypes/duration"
15 wrappers "github.com/golang/protobuf/ptypes/wrappers"
16 _ "google.golang.org/genproto/googleapis/api/annotations"
17 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
18 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
19 reflect "reflect"
20 sync "sync"
21 )
22
23 const (
24
25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
26
27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
28 )
29
30
31
32 const _ = proto.ProtoPackageIsVersion4
33
34
35
36
37
38
39
40
41
42
43
44 type ClusterLoadAssignment struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49
50
51
52
53 ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
54
55 Endpoints []*LocalityLbEndpoints `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
56
57
58 NamedEndpoints map[string]*Endpoint `protobuf:"bytes,5,rep,name=named_endpoints,json=namedEndpoints,proto3" json:"named_endpoints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
59
60 Policy *ClusterLoadAssignment_Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
61 }
62
63 func (x *ClusterLoadAssignment) Reset() {
64 *x = ClusterLoadAssignment{}
65 if protoimpl.UnsafeEnabled {
66 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[0]
67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
68 ms.StoreMessageInfo(mi)
69 }
70 }
71
72 func (x *ClusterLoadAssignment) String() string {
73 return protoimpl.X.MessageStringOf(x)
74 }
75
76 func (*ClusterLoadAssignment) ProtoMessage() {}
77
78 func (x *ClusterLoadAssignment) ProtoReflect() protoreflect.Message {
79 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[0]
80 if protoimpl.UnsafeEnabled && x != nil {
81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
82 if ms.LoadMessageInfo() == nil {
83 ms.StoreMessageInfo(mi)
84 }
85 return ms
86 }
87 return mi.MessageOf(x)
88 }
89
90
91 func (*ClusterLoadAssignment) Descriptor() ([]byte, []int) {
92 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP(), []int{0}
93 }
94
95 func (x *ClusterLoadAssignment) GetClusterName() string {
96 if x != nil {
97 return x.ClusterName
98 }
99 return ""
100 }
101
102 func (x *ClusterLoadAssignment) GetEndpoints() []*LocalityLbEndpoints {
103 if x != nil {
104 return x.Endpoints
105 }
106 return nil
107 }
108
109 func (x *ClusterLoadAssignment) GetNamedEndpoints() map[string]*Endpoint {
110 if x != nil {
111 return x.NamedEndpoints
112 }
113 return nil
114 }
115
116 func (x *ClusterLoadAssignment) GetPolicy() *ClusterLoadAssignment_Policy {
117 if x != nil {
118 return x.Policy
119 }
120 return nil
121 }
122
123
124
125 type ClusterLoadAssignment_Policy struct {
126 state protoimpl.MessageState
127 sizeCache protoimpl.SizeCache
128 unknownFields protoimpl.UnknownFields
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150 DropOverloads []*ClusterLoadAssignment_Policy_DropOverload `protobuf:"bytes,2,rep,name=drop_overloads,json=dropOverloads,proto3" json:"drop_overloads,omitempty"`
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165 OverprovisioningFactor *wrappers.UInt32Value `protobuf:"bytes,3,opt,name=overprovisioning_factor,json=overprovisioningFactor,proto3" json:"overprovisioning_factor,omitempty"`
166
167
168
169
170 EndpointStaleAfter *duration.Duration `protobuf:"bytes,4,opt,name=endpoint_stale_after,json=endpointStaleAfter,proto3" json:"endpoint_stale_after,omitempty"`
171
172 HiddenEnvoyDeprecatedDisableOverprovisioning bool `protobuf:"varint,5,opt,name=hidden_envoy_deprecated_disable_overprovisioning,json=hiddenEnvoyDeprecatedDisableOverprovisioning,proto3" json:"hidden_envoy_deprecated_disable_overprovisioning,omitempty"`
173 }
174
175 func (x *ClusterLoadAssignment_Policy) Reset() {
176 *x = ClusterLoadAssignment_Policy{}
177 if protoimpl.UnsafeEnabled {
178 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1]
179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
180 ms.StoreMessageInfo(mi)
181 }
182 }
183
184 func (x *ClusterLoadAssignment_Policy) String() string {
185 return protoimpl.X.MessageStringOf(x)
186 }
187
188 func (*ClusterLoadAssignment_Policy) ProtoMessage() {}
189
190 func (x *ClusterLoadAssignment_Policy) ProtoReflect() protoreflect.Message {
191 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1]
192 if protoimpl.UnsafeEnabled && x != nil {
193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
194 if ms.LoadMessageInfo() == nil {
195 ms.StoreMessageInfo(mi)
196 }
197 return ms
198 }
199 return mi.MessageOf(x)
200 }
201
202
203 func (*ClusterLoadAssignment_Policy) Descriptor() ([]byte, []int) {
204 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP(), []int{0, 0}
205 }
206
207 func (x *ClusterLoadAssignment_Policy) GetDropOverloads() []*ClusterLoadAssignment_Policy_DropOverload {
208 if x != nil {
209 return x.DropOverloads
210 }
211 return nil
212 }
213
214 func (x *ClusterLoadAssignment_Policy) GetOverprovisioningFactor() *wrappers.UInt32Value {
215 if x != nil {
216 return x.OverprovisioningFactor
217 }
218 return nil
219 }
220
221 func (x *ClusterLoadAssignment_Policy) GetEndpointStaleAfter() *duration.Duration {
222 if x != nil {
223 return x.EndpointStaleAfter
224 }
225 return nil
226 }
227
228
229 func (x *ClusterLoadAssignment_Policy) GetHiddenEnvoyDeprecatedDisableOverprovisioning() bool {
230 if x != nil {
231 return x.HiddenEnvoyDeprecatedDisableOverprovisioning
232 }
233 return false
234 }
235
236
237 type ClusterLoadAssignment_Policy_DropOverload struct {
238 state protoimpl.MessageState
239 sizeCache protoimpl.SizeCache
240 unknownFields protoimpl.UnknownFields
241
242
243 Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
244
245 DropPercentage *v3.FractionalPercent `protobuf:"bytes,2,opt,name=drop_percentage,json=dropPercentage,proto3" json:"drop_percentage,omitempty"`
246 }
247
248 func (x *ClusterLoadAssignment_Policy_DropOverload) Reset() {
249 *x = ClusterLoadAssignment_Policy_DropOverload{}
250 if protoimpl.UnsafeEnabled {
251 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3]
252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
253 ms.StoreMessageInfo(mi)
254 }
255 }
256
257 func (x *ClusterLoadAssignment_Policy_DropOverload) String() string {
258 return protoimpl.X.MessageStringOf(x)
259 }
260
261 func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage() {}
262
263 func (x *ClusterLoadAssignment_Policy_DropOverload) ProtoReflect() protoreflect.Message {
264 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3]
265 if protoimpl.UnsafeEnabled && x != nil {
266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267 if ms.LoadMessageInfo() == nil {
268 ms.StoreMessageInfo(mi)
269 }
270 return ms
271 }
272 return mi.MessageOf(x)
273 }
274
275
276 func (*ClusterLoadAssignment_Policy_DropOverload) Descriptor() ([]byte, []int) {
277 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP(), []int{0, 0, 0}
278 }
279
280 func (x *ClusterLoadAssignment_Policy_DropOverload) GetCategory() string {
281 if x != nil {
282 return x.Category
283 }
284 return ""
285 }
286
287 func (x *ClusterLoadAssignment_Policy_DropOverload) GetDropPercentage() *v3.FractionalPercent {
288 if x != nil {
289 return x.DropPercentage
290 }
291 return nil
292 }
293
294 var File_envoy_config_endpoint_v3_endpoint_proto protoreflect.FileDescriptor
295
296 var file_envoy_config_endpoint_v3_endpoint_proto_rawDesc = []byte{
297 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x65,
298 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f,
299 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79,
300 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
301 0x2e, 0x76, 0x33, 0x1a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
302 0x67, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e,
303 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74,
304 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74,
305 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70,
306 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
307 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,
308 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
309 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
310 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
311 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f,
312 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
313 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
314 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
315 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70,
316 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76,
317 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x08,
318 0x0a, 0x15, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73,
319 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74,
320 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa,
321 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e,
322 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
323 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
324 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76,
325 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x62, 0x45, 0x6e, 0x64, 0x70,
326 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
327 0x12, 0x6c, 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
328 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
329 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
330 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64,
331 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64,
332 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e,
333 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x4e,
334 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36,
335 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e,
336 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
337 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e,
338 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x1a, 0x8f,
339 0x05, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x6a, 0x0a, 0x0e, 0x64, 0x72, 0x6f,
340 0x70, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
341 0x0b, 0x32, 0x43, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
342 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75,
343 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
344 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x4f, 0x76,
345 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x4f, 0x76, 0x65, 0x72,
346 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x5e, 0x0a, 0x17, 0x6f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f,
347 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72,
348 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
349 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56,
350 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x20, 0x00, 0x52, 0x16, 0x6f,
351 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x46,
352 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x55, 0x0a, 0x14, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
353 0x74, 0x5f, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20,
354 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
355 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08,
356 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 0x12, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
357 0x6e, 0x74, 0x53, 0x74, 0x61, 0x6c, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x6a, 0x0a, 0x30,
358 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x70,
359 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f,
360 0x6f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67,
361 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x2c, 0x68, 0x69, 0x64, 0x64,
362 0x65, 0x6e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
363 0x64, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76,
364 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x1a, 0xbd, 0x01, 0x0a, 0x0c, 0x44, 0x72, 0x6f,
365 0x70, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x08, 0x63, 0x61, 0x74,
366 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04,
367 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x49,
368 0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67,
369 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
370 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
371 0x61, 0x6c, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x50,
372 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x3a, 0x3d, 0x9a, 0xc5, 0x88, 0x1e, 0x38,
373 0x0a, 0x36, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43,
374 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e,
375 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x72, 0x6f, 0x70,
376 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x3a, 0x30, 0x9a, 0xc5, 0x88, 0x1e, 0x2b, 0x0a,
377 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c,
378 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d,
379 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02,
380 0x1a, 0x65, 0x0a, 0x13, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
381 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
382 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x61, 0x6c,
383 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
384 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
385 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61,
386 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x29, 0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22,
387 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x75,
388 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
389 0x6e, 0x74, 0x42, 0x41, 0x0a, 0x26, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72,
390 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
391 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x42, 0x0d, 0x45, 0x6e,
392 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8,
393 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
394 }
395
396 var (
397 file_envoy_config_endpoint_v3_endpoint_proto_rawDescOnce sync.Once
398 file_envoy_config_endpoint_v3_endpoint_proto_rawDescData = file_envoy_config_endpoint_v3_endpoint_proto_rawDesc
399 )
400
401 func file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP() []byte {
402 file_envoy_config_endpoint_v3_endpoint_proto_rawDescOnce.Do(func() {
403 file_envoy_config_endpoint_v3_endpoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_endpoint_v3_endpoint_proto_rawDescData)
404 })
405 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescData
406 }
407
408 var file_envoy_config_endpoint_v3_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
409 var file_envoy_config_endpoint_v3_endpoint_proto_goTypes = []interface{}{
410 (*ClusterLoadAssignment)(nil),
411 (*ClusterLoadAssignment_Policy)(nil),
412 nil,
413 (*ClusterLoadAssignment_Policy_DropOverload)(nil),
414 (*LocalityLbEndpoints)(nil),
415 (*wrappers.UInt32Value)(nil),
416 (*duration.Duration)(nil),
417 (*Endpoint)(nil),
418 (*v3.FractionalPercent)(nil),
419 }
420 var file_envoy_config_endpoint_v3_endpoint_proto_depIdxs = []int32{
421 4,
422 2,
423 1,
424 3,
425 5,
426 6,
427 7,
428 8,
429 8,
430 8,
431 8,
432 8,
433 0,
434 }
435
436 func init() { file_envoy_config_endpoint_v3_endpoint_proto_init() }
437 func file_envoy_config_endpoint_v3_endpoint_proto_init() {
438 if File_envoy_config_endpoint_v3_endpoint_proto != nil {
439 return
440 }
441 file_envoy_config_endpoint_v3_endpoint_components_proto_init()
442 if !protoimpl.UnsafeEnabled {
443 file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
444 switch v := v.(*ClusterLoadAssignment); i {
445 case 0:
446 return &v.state
447 case 1:
448 return &v.sizeCache
449 case 2:
450 return &v.unknownFields
451 default:
452 return nil
453 }
454 }
455 file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
456 switch v := v.(*ClusterLoadAssignment_Policy); i {
457 case 0:
458 return &v.state
459 case 1:
460 return &v.sizeCache
461 case 2:
462 return &v.unknownFields
463 default:
464 return nil
465 }
466 }
467 file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
468 switch v := v.(*ClusterLoadAssignment_Policy_DropOverload); i {
469 case 0:
470 return &v.state
471 case 1:
472 return &v.sizeCache
473 case 2:
474 return &v.unknownFields
475 default:
476 return nil
477 }
478 }
479 }
480 type x struct{}
481 out := protoimpl.TypeBuilder{
482 File: protoimpl.DescBuilder{
483 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
484 RawDescriptor: file_envoy_config_endpoint_v3_endpoint_proto_rawDesc,
485 NumEnums: 0,
486 NumMessages: 4,
487 NumExtensions: 0,
488 NumServices: 0,
489 },
490 GoTypes: file_envoy_config_endpoint_v3_endpoint_proto_goTypes,
491 DependencyIndexes: file_envoy_config_endpoint_v3_endpoint_proto_depIdxs,
492 MessageInfos: file_envoy_config_endpoint_v3_endpoint_proto_msgTypes,
493 }.Build()
494 File_envoy_config_endpoint_v3_endpoint_proto = out.File
495 file_envoy_config_endpoint_v3_endpoint_proto_rawDesc = nil
496 file_envoy_config_endpoint_v3_endpoint_proto_goTypes = nil
497 file_envoy_config_endpoint_v3_endpoint_proto_depIdxs = nil
498 }
499
View as plain text