Debian Codegraph @

envoy/config/endpoint/v3/endpoint.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/config/endpoint/v3/endpoint.proto
6
7 package endpointv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/type/v3"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 durationpb "google.golang.org/protobuf/types/known/durationpb"
16 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
17 reflect "reflect"
18 sync "sync"
19 )
20
21 const (
22 // Verify that this generated code is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24 // Verify that runtime/protoimpl is sufficiently up-to-date.
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26 )
27
28 // Each route from RDS will map to a single cluster or traffic split across
29 // clusters using weights expressed in the RDS WeightedCluster.
30 //
31 // With EDS, each cluster is treated independently from a LB perspective, with
32 // LB taking place between the Localities within a cluster and at a finer
33 // granularity between the hosts within a locality. The percentage of traffic
34 // for each endpoint is determined by both its load_balancing_weight, and the
35 // load_balancing_weight of its locality. First, a locality will be selected,
36 // then an endpoint within that locality will be chose based on its weight.
37 // [#next-free-field: 6]
38 type ClusterLoadAssignment struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // Name of the cluster. This will be the :ref:`service_name
44 // <envoy_v3_api_field_config.cluster.v3.Cluster.EdsClusterConfig.service_name>` value if specified
45 // in the cluster :ref:`EdsClusterConfig
46 // <envoy_v3_api_msg_config.cluster.v3.Cluster.EdsClusterConfig>`.
47 ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
48 // List of endpoints to load balance to.
49 Endpoints []*LocalityLbEndpoints `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
50 // Map of named endpoints that can be referenced in LocalityLbEndpoints.
51 // [#not-implemented-hide:]
52 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"`
53 // Load balancing policy settings.
54 Policy *ClusterLoadAssignment_Policy `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
55 }
56
57 func (x *ClusterLoadAssignment) Reset() {
58 *x = ClusterLoadAssignment{}
59 if protoimpl.UnsafeEnabled {
60 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64 }
65
66 func (x *ClusterLoadAssignment) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*ClusterLoadAssignment) ProtoMessage() {}
71
72 func (x *ClusterLoadAssignment) ProtoReflect() protoreflect.Message {
73 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[0]
74 if protoimpl.UnsafeEnabled && x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use ClusterLoadAssignment.ProtoReflect.Descriptor instead.
85 func (*ClusterLoadAssignment) Descriptor() ([]byte, []int) {
86 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *ClusterLoadAssignment) GetClusterName() string {
90 if x != nil {
91 return x.ClusterName
92 }
93 return ""
94 }
95
96 func (x *ClusterLoadAssignment) GetEndpoints() []*LocalityLbEndpoints {
97 if x != nil {
98 return x.Endpoints
99 }
100 return nil
101 }
102
103 func (x *ClusterLoadAssignment) GetNamedEndpoints() map[string]*Endpoint {
104 if x != nil {
105 return x.NamedEndpoints
106 }
107 return nil
108 }
109
110 func (x *ClusterLoadAssignment) GetPolicy() *ClusterLoadAssignment_Policy {
111 if x != nil {
112 return x.Policy
113 }
114 return nil
115 }
116
117 // Load balancing policy settings.
118 // [#next-free-field: 7]
119 type ClusterLoadAssignment_Policy struct {
120 state protoimpl.MessageState
121 sizeCache protoimpl.SizeCache
122 unknownFields protoimpl.UnknownFields
123
124 // Action to trim the overall incoming traffic to protect the upstream
125 // hosts. This action allows protection in case the hosts are unable to
126 // recover from an outage, or unable to autoscale or unable to handle
127 // incoming traffic volume for any reason.
128 //
129 // At the client each category is applied one after the other to generate
130 // the 'actual' drop percentage on all outgoing traffic. For example:
131 //
132 // .. code-block:: json
133 //
134 // { "drop_overloads": [
135 // { "category": "throttle", "drop_percentage": 60 }
136 // { "category": "lb", "drop_percentage": 50 }
137 // ]}
138 //
139 // The actual drop percentages applied to the traffic at the clients will be
140 //
141 // "throttle"_drop = 60%
142 // "lb"_drop = 20% // 50% of the remaining 'actual' load, which is 40%.
143 // actual_outgoing_load = 20% // remaining after applying all categories.
144 //
145 // Envoy supports only one element and will NACK if more than one element is present.
146 // Other xDS-capable data planes will not necessarily have this limitation.
147 //
148 // In Envoy, this “drop_overloads“ config can be overridden by a runtime key
149 // "load_balancing_policy.drop_overload_limit" setting. This runtime key can be set to
150 // any integer number between 0 and 100. 0 means drop 0%. 100 means drop 100%.
151 // When both “drop_overloads“ config and "load_balancing_policy.drop_overload_limit"
152 // setting are in place, the min of these two wins.
153 DropOverloads []*ClusterLoadAssignment_Policy_DropOverload `protobuf:"bytes,2,rep,name=drop_overloads,json=dropOverloads,proto3" json:"drop_overloads,omitempty"`
154 // Priority levels and localities are considered overprovisioned with this
155 // factor (in percentage). This means that we don't consider a priority
156 // level or locality unhealthy until the fraction of healthy hosts
157 // multiplied by the overprovisioning factor drops below 100.
158 // With the default value 140(1.4), Envoy doesn't consider a priority level
159 // or a locality unhealthy until their percentage of healthy hosts drops
160 // below 72%. For example:
161 //
162 // .. code-block:: json
163 //
164 // { "overprovisioning_factor": 100 }
165 //
166 // Read more at :ref:`priority levels <arch_overview_load_balancing_priority_levels>` and
167 // :ref:`localities <arch_overview_load_balancing_locality_weighted_lb>`.
168 OverprovisioningFactor *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=overprovisioning_factor,json=overprovisioningFactor,proto3" json:"overprovisioning_factor,omitempty"`
169 // The max time until which the endpoints from this assignment can be used.
170 // If no new assignments are received before this time expires the endpoints
171 // are considered stale and should be marked unhealthy.
172 // Defaults to 0 which means endpoints never go stale.
173 EndpointStaleAfter *durationpb.Duration `protobuf:"bytes,4,opt,name=endpoint_stale_after,json=endpointStaleAfter,proto3" json:"endpoint_stale_after,omitempty"`
174 // If true, use the :ref:`load balancing weight
175 // <envoy_v3_api_field_config.endpoint.v3.LbEndpoint.load_balancing_weight>` of healthy and unhealthy
176 // hosts to determine the health of the priority level. If false, use the number of healthy and unhealthy hosts
177 // to determine the health of the priority level, or in other words assume each host has a weight of 1 for
178 // this calculation.
179 //
180 // Note: this is not currently implemented for
181 // :ref:`locality weighted load balancing <arch_overview_load_balancing_locality_weighted_lb>`.
182 WeightedPriorityHealth bool `protobuf:"varint,6,opt,name=weighted_priority_health,json=weightedPriorityHealth,proto3" json:"weighted_priority_health,omitempty"`
183 }
184
185 func (x *ClusterLoadAssignment_Policy) Reset() {
186 *x = ClusterLoadAssignment_Policy{}
187 if protoimpl.UnsafeEnabled {
188 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1]
189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190 ms.StoreMessageInfo(mi)
191 }
192 }
193
194 func (x *ClusterLoadAssignment_Policy) String() string {
195 return protoimpl.X.MessageStringOf(x)
196 }
197
198 func (*ClusterLoadAssignment_Policy) ProtoMessage() {}
199
200 func (x *ClusterLoadAssignment_Policy) ProtoReflect() protoreflect.Message {
201 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1]
202 if protoimpl.UnsafeEnabled && x != nil {
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 if ms.LoadMessageInfo() == nil {
205 ms.StoreMessageInfo(mi)
206 }
207 return ms
208 }
209 return mi.MessageOf(x)
210 }
211
212 // Deprecated: Use ClusterLoadAssignment_Policy.ProtoReflect.Descriptor instead.
213 func (*ClusterLoadAssignment_Policy) Descriptor() ([]byte, []int) {
214 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP(), []int{0, 0}
215 }
216
217 func (x *ClusterLoadAssignment_Policy) GetDropOverloads() []*ClusterLoadAssignment_Policy_DropOverload {
218 if x != nil {
219 return x.DropOverloads
220 }
221 return nil
222 }
223
224 func (x *ClusterLoadAssignment_Policy) GetOverprovisioningFactor() *wrapperspb.UInt32Value {
225 if x != nil {
226 return x.OverprovisioningFactor
227 }
228 return nil
229 }
230
231 func (x *ClusterLoadAssignment_Policy) GetEndpointStaleAfter() *durationpb.Duration {
232 if x != nil {
233 return x.EndpointStaleAfter
234 }
235 return nil
236 }
237
238 func (x *ClusterLoadAssignment_Policy) GetWeightedPriorityHealth() bool {
239 if x != nil {
240 return x.WeightedPriorityHealth
241 }
242 return false
243 }
244
245 type ClusterLoadAssignment_Policy_DropOverload struct {
246 state protoimpl.MessageState
247 sizeCache protoimpl.SizeCache
248 unknownFields protoimpl.UnknownFields
249
250 // Identifier for the policy specifying the drop.
251 Category string `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
252 // Percentage of traffic that should be dropped for the category.
253 DropPercentage *v3.FractionalPercent `protobuf:"bytes,2,opt,name=drop_percentage,json=dropPercentage,proto3" json:"drop_percentage,omitempty"`
254 }
255
256 func (x *ClusterLoadAssignment_Policy_DropOverload) Reset() {
257 *x = ClusterLoadAssignment_Policy_DropOverload{}
258 if protoimpl.UnsafeEnabled {
259 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3]
260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
261 ms.StoreMessageInfo(mi)
262 }
263 }
264
265 func (x *ClusterLoadAssignment_Policy_DropOverload) String() string {
266 return protoimpl.X.MessageStringOf(x)
267 }
268
269 func (*ClusterLoadAssignment_Policy_DropOverload) ProtoMessage() {}
270
271 func (x *ClusterLoadAssignment_Policy_DropOverload) ProtoReflect() protoreflect.Message {
272 mi := &file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3]
273 if protoimpl.UnsafeEnabled && x != nil {
274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
275 if ms.LoadMessageInfo() == nil {
276 ms.StoreMessageInfo(mi)
277 }
278 return ms
279 }
280 return mi.MessageOf(x)
281 }
282
283 // Deprecated: Use ClusterLoadAssignment_Policy_DropOverload.ProtoReflect.Descriptor instead.
284 func (*ClusterLoadAssignment_Policy_DropOverload) Descriptor() ([]byte, []int) {
285 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP(), []int{0, 0, 0}
286 }
287
288 func (x *ClusterLoadAssignment_Policy_DropOverload) GetCategory() string {
289 if x != nil {
290 return x.Category
291 }
292 return ""
293 }
294
295 func (x *ClusterLoadAssignment_Policy_DropOverload) GetDropPercentage() *v3.FractionalPercent {
296 if x != nil {
297 return x.DropPercentage
298 }
299 return nil
300 }
301
302 var File_envoy_config_endpoint_v3_endpoint_proto protoreflect.FileDescriptor
303
304 var file_envoy_config_endpoint_v3_endpoint_proto_rawDesc = []byte{
305 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x65,
306 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f,
307 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x65, 0x6e, 0x76, 0x6f, 0x79,
308 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
309 0x2e, 0x76, 0x33, 0x1a, 0x32, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
310 0x67, 0x2f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x6e,
311 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74,
312 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74,
313 0x79, 0x70, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x2e, 0x70,
314 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
315 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70,
316 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
317 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70,
318 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
319 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
320 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
321 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67,
322 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
323 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
324 0xe0, 0x08, 0x0a, 0x15, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41,
325 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x0c, 0x63, 0x6c, 0x75,
326 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
327 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65,
328 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
329 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
330 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
331 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x4c, 0x62, 0x45, 0x6e,
332 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
333 0x74, 0x73, 0x12, 0x6c, 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x70,
334 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x65, 0x6e,
335 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f,
336 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f,
337 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x61, 0x6d,
338 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
339 0x52, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73,
340 0x12, 0x4e, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
341 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
342 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73,
343 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e,
344 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
345 0x1a, 0xfd, 0x04, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x6a, 0x0a, 0x0e, 0x64,
346 0x72, 0x6f, 0x70, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x18, 0x02, 0x20,
347 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
348 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x2e, 0x43,
349 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e,
350 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x72, 0x6f, 0x70,
351 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x4f, 0x76,
352 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x73, 0x12, 0x5e, 0x0a, 0x17, 0x6f, 0x76, 0x65, 0x72, 0x70,
353 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x61, 0x63, 0x74,
354 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
355 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33,
356 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x2a, 0x02, 0x20, 0x00, 0x52,
357 0x16, 0x6f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e,
358 0x67, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x55, 0x0a, 0x14, 0x65, 0x6e, 0x64, 0x70, 0x6f,
359 0x69, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x6c, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18,
360 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
361 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
362 0x42, 0x08, 0xfa, 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 0x12, 0x65, 0x6e, 0x64, 0x70,
363 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x6c, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x38,
364 0x0a, 0x18, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6f, 0x72,
365 0x69, 0x74, 0x79, 0x5f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
366 0x52, 0x16, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6f, 0x72, 0x69,
367 0x74, 0x79, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x1a, 0xbd, 0x01, 0x0a, 0x0c, 0x44, 0x72, 0x6f,
368 0x70, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x08, 0x63, 0x61, 0x74,
369 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04,
370 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x49,
371 0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67,
372 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
373 0x74, 0x79, 0x70, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
374 0x61, 0x6c, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x50,
375 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x3a, 0x3d, 0x9a, 0xc5, 0x88, 0x1e, 0x38,
376 0x0a, 0x36, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43,
377 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e,
378 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x44, 0x72, 0x6f, 0x70,
379 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x6f, 0x61, 0x64, 0x3a, 0x30, 0x9a, 0xc5, 0x88, 0x1e, 0x2b, 0x0a,
380 0x29, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c,
381 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d,
382 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02,
383 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x52, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f,
384 0x6f, 0x76, 0x65, 0x72, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67,
385 0x1a, 0x65, 0x0a, 0x13, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
386 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
387 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x05, 0x76, 0x61, 0x6c,
388 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
389 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
390 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61,
391 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x29, 0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22,
392 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x75,
393 0x73, 0x74, 0x65, 0x72, 0x4c, 0x6f, 0x61, 0x64, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65,
394 0x6e, 0x74, 0x42, 0x8d, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x26, 0x69,
395 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
396 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
397 0x6e, 0x74, 0x2e, 0x76, 0x33, 0x42, 0x0d, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x50,
398 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
399 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f,
400 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65,
401 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x65, 0x6e, 0x64, 0x70,
402 0x6f, 0x69, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x3b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
403 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
404 }
405
406 var (
407 file_envoy_config_endpoint_v3_endpoint_proto_rawDescOnce sync.Once
408 file_envoy_config_endpoint_v3_endpoint_proto_rawDescData = file_envoy_config_endpoint_v3_endpoint_proto_rawDesc
409 )
410
411 func file_envoy_config_endpoint_v3_endpoint_proto_rawDescGZIP() []byte {
412 file_envoy_config_endpoint_v3_endpoint_proto_rawDescOnce.Do(func() {
413 file_envoy_config_endpoint_v3_endpoint_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_endpoint_v3_endpoint_proto_rawDescData)
414 })
415 return file_envoy_config_endpoint_v3_endpoint_proto_rawDescData
416 }
417
418 var file_envoy_config_endpoint_v3_endpoint_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
419 var file_envoy_config_endpoint_v3_endpoint_proto_goTypes = []interface{}{
420 (*ClusterLoadAssignment)(nil), // 0: envoy.config.endpoint.v3.ClusterLoadAssignment
421 (*ClusterLoadAssignment_Policy)(nil), // 1: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy
422 nil, // 2: envoy.config.endpoint.v3.ClusterLoadAssignment.NamedEndpointsEntry
423 (*ClusterLoadAssignment_Policy_DropOverload)(nil), // 3: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload
424 (*LocalityLbEndpoints)(nil), // 4: envoy.config.endpoint.v3.LocalityLbEndpoints
425 (*wrapperspb.UInt32Value)(nil), // 5: google.protobuf.UInt32Value
426 (*durationpb.Duration)(nil), // 6: google.protobuf.Duration
427 (*Endpoint)(nil), // 7: envoy.config.endpoint.v3.Endpoint
428 (*v3.FractionalPercent)(nil), // 8: envoy.type.v3.FractionalPercent
429 }
430 var file_envoy_config_endpoint_v3_endpoint_proto_depIdxs = []int32{
431 4, // 0: envoy.config.endpoint.v3.ClusterLoadAssignment.endpoints:type_name -> envoy.config.endpoint.v3.LocalityLbEndpoints
432 2, // 1: envoy.config.endpoint.v3.ClusterLoadAssignment.named_endpoints:type_name -> envoy.config.endpoint.v3.ClusterLoadAssignment.NamedEndpointsEntry
433 1, // 2: envoy.config.endpoint.v3.ClusterLoadAssignment.policy:type_name -> envoy.config.endpoint.v3.ClusterLoadAssignment.Policy
434 3, // 3: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.drop_overloads:type_name -> envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload
435 5, // 4: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.overprovisioning_factor:type_name -> google.protobuf.UInt32Value
436 6, // 5: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.endpoint_stale_after:type_name -> google.protobuf.Duration
437 7, // 6: envoy.config.endpoint.v3.ClusterLoadAssignment.NamedEndpointsEntry.value:type_name -> envoy.config.endpoint.v3.Endpoint
438 8, // 7: envoy.config.endpoint.v3.ClusterLoadAssignment.Policy.DropOverload.drop_percentage:type_name -> envoy.type.v3.FractionalPercent
439 8, // [8:8] is the sub-list for method output_type
440 8, // [8:8] is the sub-list for method input_type
441 8, // [8:8] is the sub-list for extension type_name
442 8, // [8:8] is the sub-list for extension extendee
443 0, // [0:8] is the sub-list for field type_name
444 }
445
446 func init() { file_envoy_config_endpoint_v3_endpoint_proto_init() }
447 func file_envoy_config_endpoint_v3_endpoint_proto_init() {
448 if File_envoy_config_endpoint_v3_endpoint_proto != nil {
449 return
450 }
451 file_envoy_config_endpoint_v3_endpoint_components_proto_init()
452 if !protoimpl.UnsafeEnabled {
453 file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
454 switch v := v.(*ClusterLoadAssignment); i {
455 case 0:
456 return &v.state
457 case 1:
458 return &v.sizeCache
459 case 2:
460 return &v.unknownFields
461 default:
462 return nil
463 }
464 }
465 file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
466 switch v := v.(*ClusterLoadAssignment_Policy); i {
467 case 0:
468 return &v.state
469 case 1:
470 return &v.sizeCache
471 case 2:
472 return &v.unknownFields
473 default:
474 return nil
475 }
476 }
477 file_envoy_config_endpoint_v3_endpoint_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
478 switch v := v.(*ClusterLoadAssignment_Policy_DropOverload); i {
479 case 0:
480 return &v.state
481 case 1:
482 return &v.sizeCache
483 case 2:
484 return &v.unknownFields
485 default:
486 return nil
487 }
488 }
489 }
490 type x struct{}
491 out := protoimpl.TypeBuilder{
492 File: protoimpl.DescBuilder{
493 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
494 RawDescriptor: file_envoy_config_endpoint_v3_endpoint_proto_rawDesc,
495 NumEnums: 0,
496 NumMessages: 4,
497 NumExtensions: 0,
498 NumServices: 0,
499 },
500 GoTypes: file_envoy_config_endpoint_v3_endpoint_proto_goTypes,
501 DependencyIndexes: file_envoy_config_endpoint_v3_endpoint_proto_depIdxs,
502 MessageInfos: file_envoy_config_endpoint_v3_endpoint_proto_msgTypes,
503 }.Build()
504 File_envoy_config_endpoint_v3_endpoint_proto = out.File
505 file_envoy_config_endpoint_v3_endpoint_proto_rawDesc = nil
506 file_envoy_config_endpoint_v3_endpoint_proto_goTypes = nil
507 file_envoy_config_endpoint_v3_endpoint_proto_depIdxs = nil
508 }