GRPC Core  9.0.0
cds.upb.h
Go to the documentation of this file.
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  * envoy/api/v2/cds.proto
5  *
6  * Do not edit -- your changes will be discarded when the file is
7  * regenerated. */
8 
9 #ifndef ENVOY_API_V2_CDS_PROTO_UPB_H_
10 #define ENVOY_API_V2_CDS_PROTO_UPB_H_
11 
12 #include "upb/generated_util.h"
13 #include "upb/msg.h"
14 #include "upb/decode.h"
15 #include "upb/encode.h"
16 
17 #include "upb/port_def.inc"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
61 extern const upb_msglayout envoy_api_v2_Cluster_msginit;
62 extern const upb_msglayout envoy_api_v2_Cluster_TransportSocketMatch_msginit;
63 extern const upb_msglayout envoy_api_v2_Cluster_CustomClusterType_msginit;
64 extern const upb_msglayout envoy_api_v2_Cluster_EdsClusterConfig_msginit;
65 extern const upb_msglayout envoy_api_v2_Cluster_LbSubsetConfig_msginit;
67 extern const upb_msglayout envoy_api_v2_Cluster_LeastRequestLbConfig_msginit;
68 extern const upb_msglayout envoy_api_v2_Cluster_RingHashLbConfig_msginit;
69 extern const upb_msglayout envoy_api_v2_Cluster_OriginalDstLbConfig_msginit;
70 extern const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_msginit;
73 extern const upb_msglayout envoy_api_v2_Cluster_RefreshRate_msginit;
76 extern const upb_msglayout envoy_api_v2_LoadBalancingPolicy_msginit;
77 extern const upb_msglayout envoy_api_v2_LoadBalancingPolicy_Policy_msginit;
78 extern const upb_msglayout envoy_api_v2_UpstreamBindConfig_msginit;
79 extern const upb_msglayout envoy_api_v2_UpstreamConnectionOptions_msginit;
95 struct envoy_type_Percent;
96 struct google_protobuf_Any;
101 extern const upb_msglayout envoy_api_v2_ClusterLoadAssignment_msginit;
102 extern const upb_msglayout envoy_api_v2_auth_UpstreamTlsContext_msginit;
103 extern const upb_msglayout envoy_api_v2_cluster_CircuitBreakers_msginit;
104 extern const upb_msglayout envoy_api_v2_cluster_Filter_msginit;
105 extern const upb_msglayout envoy_api_v2_cluster_OutlierDetection_msginit;
106 extern const upb_msglayout envoy_api_v2_core_Address_msginit;
107 extern const upb_msglayout envoy_api_v2_core_BindConfig_msginit;
108 extern const upb_msglayout envoy_api_v2_core_ConfigSource_msginit;
109 extern const upb_msglayout envoy_api_v2_core_HealthCheck_msginit;
110 extern const upb_msglayout envoy_api_v2_core_Http1ProtocolOptions_msginit;
111 extern const upb_msglayout envoy_api_v2_core_Http2ProtocolOptions_msginit;
112 extern const upb_msglayout envoy_api_v2_core_HttpProtocolOptions_msginit;
113 extern const upb_msglayout envoy_api_v2_core_Metadata_msginit;
114 extern const upb_msglayout envoy_api_v2_core_TcpKeepalive_msginit;
115 extern const upb_msglayout envoy_api_v2_core_TransportSocket_msginit;
116 extern const upb_msglayout envoy_type_Percent_msginit;
117 extern const upb_msglayout google_protobuf_Any_msginit;
118 extern const upb_msglayout google_protobuf_Duration_msginit;
119 extern const upb_msglayout google_protobuf_Struct_msginit;
120 extern const upb_msglayout google_protobuf_UInt32Value_msginit;
121 extern const upb_msglayout google_protobuf_UInt64Value_msginit;
122 
123 typedef enum {
127 
128 typedef enum {
135 
136 typedef enum {
141 
142 typedef enum {
152 
153 typedef enum {
158 
159 typedef enum {
165 
166 typedef enum {
170 
171 
172 /* envoy.api.v2.Cluster */
173 
174 UPB_INLINE envoy_api_v2_Cluster *envoy_api_v2_Cluster_new(upb_arena *arena) {
175  return (envoy_api_v2_Cluster *)upb_msg_new(&envoy_api_v2_Cluster_msginit, arena);
176 }
177 UPB_INLINE envoy_api_v2_Cluster *envoy_api_v2_Cluster_parse(const char *buf, size_t size,
178  upb_arena *arena) {
180  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_msginit, arena)) ? ret : NULL;
181 }
182 UPB_INLINE char *envoy_api_v2_Cluster_serialize(const envoy_api_v2_Cluster *msg, upb_arena *arena, size_t *len) {
183  return upb_encode(msg, &envoy_api_v2_Cluster_msginit, arena, len);
184 }
185 
186 typedef enum {
192 
193 typedef enum {
200 
201 UPB_INLINE upb_strview envoy_api_v2_Cluster_name(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(28, 32)); }
202 UPB_INLINE bool envoy_api_v2_Cluster_has_type(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(168, 304), 2); }
203 UPB_INLINE int32_t envoy_api_v2_Cluster_type(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, int32_t, UPB_SIZE(160, 296), UPB_SIZE(168, 304), 2, envoy_api_v2_Cluster_STATIC); }
205 UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_connect_timeout(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(48, 72)); }
206 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_api_v2_Cluster_per_connection_buffer_limit_bytes(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt32Value*, UPB_SIZE(52, 80)); }
207 UPB_INLINE int32_t envoy_api_v2_Cluster_lb_policy(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
208 UPB_INLINE const struct envoy_api_v2_core_Address* const* envoy_api_v2_Cluster_hosts(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_core_Address* const*)_upb_array_accessor(msg, UPB_SIZE(132, 240), len); }
209 UPB_INLINE const struct envoy_api_v2_core_HealthCheck* const* envoy_api_v2_Cluster_health_checks(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_core_HealthCheck* const*)_upb_array_accessor(msg, UPB_SIZE(136, 248), len); }
210 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_api_v2_Cluster_max_requests_per_connection(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt32Value*, UPB_SIZE(56, 88)); }
211 UPB_INLINE const struct envoy_api_v2_cluster_CircuitBreakers* envoy_api_v2_Cluster_circuit_breakers(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_cluster_CircuitBreakers*, UPB_SIZE(60, 96)); }
212 UPB_INLINE const struct envoy_api_v2_auth_UpstreamTlsContext* envoy_api_v2_Cluster_tls_context(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_auth_UpstreamTlsContext*, UPB_SIZE(64, 104)); }
213 UPB_INLINE const struct envoy_api_v2_core_Http1ProtocolOptions* envoy_api_v2_Cluster_http_protocol_options(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_Http1ProtocolOptions*, UPB_SIZE(68, 112)); }
214 UPB_INLINE const struct envoy_api_v2_core_Http2ProtocolOptions* envoy_api_v2_Cluster_http2_protocol_options(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_Http2ProtocolOptions*, UPB_SIZE(72, 120)); }
215 UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_dns_refresh_rate(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(76, 128)); }
216 UPB_INLINE int32_t envoy_api_v2_Cluster_dns_lookup_family(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(8, 8)); }
217 UPB_INLINE const struct envoy_api_v2_core_Address* const* envoy_api_v2_Cluster_dns_resolvers(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_core_Address* const*)_upb_array_accessor(msg, UPB_SIZE(140, 256), len); }
218 UPB_INLINE const struct envoy_api_v2_cluster_OutlierDetection* envoy_api_v2_Cluster_outlier_detection(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_cluster_OutlierDetection*, UPB_SIZE(80, 136)); }
219 UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_cleanup_interval(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(84, 144)); }
220 UPB_INLINE const struct envoy_api_v2_core_BindConfig* envoy_api_v2_Cluster_upstream_bind_config(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_BindConfig*, UPB_SIZE(88, 152)); }
221 UPB_INLINE const envoy_api_v2_Cluster_LbSubsetConfig* envoy_api_v2_Cluster_lb_subset_config(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const envoy_api_v2_Cluster_LbSubsetConfig*, UPB_SIZE(92, 160)); }
222 UPB_INLINE bool envoy_api_v2_Cluster_has_ring_hash_lb_config(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(176, 320), 23); }
223 UPB_INLINE const envoy_api_v2_Cluster_RingHashLbConfig* envoy_api_v2_Cluster_ring_hash_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_RingHashLbConfig*, UPB_SIZE(172, 312), UPB_SIZE(176, 320), 23, NULL); }
224 UPB_INLINE const struct envoy_api_v2_core_TransportSocket* envoy_api_v2_Cluster_transport_socket(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_TransportSocket*, UPB_SIZE(96, 168)); }
225 UPB_INLINE const struct envoy_api_v2_core_Metadata* envoy_api_v2_Cluster_metadata(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_Metadata*, UPB_SIZE(100, 176)); }
226 UPB_INLINE int32_t envoy_api_v2_Cluster_protocol_selection(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(16, 16)); }
227 UPB_INLINE const envoy_api_v2_Cluster_CommonLbConfig* envoy_api_v2_Cluster_common_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const envoy_api_v2_Cluster_CommonLbConfig*, UPB_SIZE(104, 184)); }
228 UPB_INLINE upb_strview envoy_api_v2_Cluster_alt_stat_name(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(36, 48)); }
229 UPB_INLINE const struct envoy_api_v2_core_HttpProtocolOptions* envoy_api_v2_Cluster_common_http_protocol_options(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_HttpProtocolOptions*, UPB_SIZE(108, 192)); }
231 UPB_INLINE bool envoy_api_v2_Cluster_close_connections_on_host_health_failure(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(24, 24)); }
232 UPB_INLINE bool envoy_api_v2_Cluster_drain_connections_on_host_removal(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(25, 25)); }
233 UPB_INLINE const struct envoy_api_v2_ClusterLoadAssignment* envoy_api_v2_Cluster_load_assignment(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_ClusterLoadAssignment*, UPB_SIZE(116, 208)); }
234 UPB_INLINE bool envoy_api_v2_Cluster_has_original_dst_lb_config(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(176, 320), 34); }
235 UPB_INLINE const envoy_api_v2_Cluster_OriginalDstLbConfig* envoy_api_v2_Cluster_original_dst_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_OriginalDstLbConfig*, UPB_SIZE(172, 312), UPB_SIZE(176, 320), 34, NULL); }
236 UPB_INLINE const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry* const* envoy_api_v2_Cluster_extension_protocol_options(const envoy_api_v2_Cluster *msg, size_t *len) { return (const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry* const*)_upb_array_accessor(msg, UPB_SIZE(144, 264), len); }
237 UPB_INLINE const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry* const* envoy_api_v2_Cluster_typed_extension_protocol_options(const envoy_api_v2_Cluster *msg, size_t *len) { return (const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry* const*)_upb_array_accessor(msg, UPB_SIZE(148, 272), len); }
238 UPB_INLINE bool envoy_api_v2_Cluster_has_least_request_lb_config(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(176, 320), 37); }
239 UPB_INLINE const envoy_api_v2_Cluster_LeastRequestLbConfig* envoy_api_v2_Cluster_least_request_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_LeastRequestLbConfig*, UPB_SIZE(172, 312), UPB_SIZE(176, 320), 37, NULL); }
240 UPB_INLINE bool envoy_api_v2_Cluster_has_cluster_type(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(168, 304), 38); }
241 UPB_INLINE const envoy_api_v2_Cluster_CustomClusterType* envoy_api_v2_Cluster_cluster_type(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_CustomClusterType*, UPB_SIZE(160, 296), UPB_SIZE(168, 304), 38, NULL); }
242 UPB_INLINE bool envoy_api_v2_Cluster_respect_dns_ttl(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(26, 26)); }
243 UPB_INLINE const struct envoy_api_v2_cluster_Filter* const* envoy_api_v2_Cluster_filters(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_cluster_Filter* const*)_upb_array_accessor(msg, UPB_SIZE(152, 280), len); }
244 UPB_INLINE const envoy_api_v2_LoadBalancingPolicy* envoy_api_v2_Cluster_load_balancing_policy(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const envoy_api_v2_LoadBalancingPolicy*, UPB_SIZE(120, 216)); }
245 UPB_INLINE const struct envoy_api_v2_core_ConfigSource* envoy_api_v2_Cluster_lrs_server(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_ConfigSource*, UPB_SIZE(124, 224)); }
246 UPB_INLINE const envoy_api_v2_Cluster_TransportSocketMatch* const* envoy_api_v2_Cluster_transport_socket_matches(const envoy_api_v2_Cluster *msg, size_t *len) { return (const envoy_api_v2_Cluster_TransportSocketMatch* const*)_upb_array_accessor(msg, UPB_SIZE(156, 288), len); }
247 UPB_INLINE const envoy_api_v2_Cluster_RefreshRate* envoy_api_v2_Cluster_dns_failure_refresh_rate(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const envoy_api_v2_Cluster_RefreshRate*, UPB_SIZE(128, 232)); }
248 
249 UPB_INLINE void envoy_api_v2_Cluster_set_name(envoy_api_v2_Cluster *msg, upb_strview value) {
250  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(28, 32)) = value;
251 }
252 UPB_INLINE void envoy_api_v2_Cluster_set_type(envoy_api_v2_Cluster *msg, int32_t value) {
253  UPB_WRITE_ONEOF(msg, int32_t, UPB_SIZE(160, 296), value, UPB_SIZE(168, 304), 2);
254 }
256  UPB_FIELD_AT(msg, envoy_api_v2_Cluster_EdsClusterConfig*, UPB_SIZE(44, 64)) = value;
257 }
260  if (sub == NULL) {
262  if (!sub) return NULL;
264  }
265  return sub;
266 }
268  UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(48, 72)) = value;
269 }
272  if (sub == NULL) {
273  sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
274  if (!sub) return NULL;
276  }
277  return sub;
278 }
280  UPB_FIELD_AT(msg, struct google_protobuf_UInt32Value*, UPB_SIZE(52, 80)) = value;
281 }
284  if (sub == NULL) {
285  sub = (struct google_protobuf_UInt32Value*)upb_msg_new(&google_protobuf_UInt32Value_msginit, arena);
286  if (!sub) return NULL;
288  }
289  return sub;
290 }
291 UPB_INLINE void envoy_api_v2_Cluster_set_lb_policy(envoy_api_v2_Cluster *msg, int32_t value) {
292  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
293 }
295  return (struct envoy_api_v2_core_Address**)_upb_array_mutable_accessor(msg, UPB_SIZE(132, 240), len);
296 }
297 UPB_INLINE struct envoy_api_v2_core_Address** envoy_api_v2_Cluster_resize_hosts(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
298  return (struct envoy_api_v2_core_Address**)_upb_array_resize_accessor(msg, UPB_SIZE(132, 240), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
299 }
302  bool ok = _upb_array_append_accessor(
303  msg, UPB_SIZE(132, 240), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
304  if (!ok) return NULL;
305  return sub;
306 }
308  return (struct envoy_api_v2_core_HealthCheck**)_upb_array_mutable_accessor(msg, UPB_SIZE(136, 248), len);
309 }
311  return (struct envoy_api_v2_core_HealthCheck**)_upb_array_resize_accessor(msg, UPB_SIZE(136, 248), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
312 }
315  bool ok = _upb_array_append_accessor(
316  msg, UPB_SIZE(136, 248), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
317  if (!ok) return NULL;
318  return sub;
319 }
321  UPB_FIELD_AT(msg, struct google_protobuf_UInt32Value*, UPB_SIZE(56, 88)) = value;
322 }
325  if (sub == NULL) {
326  sub = (struct google_protobuf_UInt32Value*)upb_msg_new(&google_protobuf_UInt32Value_msginit, arena);
327  if (!sub) return NULL;
329  }
330  return sub;
331 }
333  UPB_FIELD_AT(msg, struct envoy_api_v2_cluster_CircuitBreakers*, UPB_SIZE(60, 96)) = value;
334 }
337  if (sub == NULL) {
339  if (!sub) return NULL;
341  }
342  return sub;
343 }
345  UPB_FIELD_AT(msg, struct envoy_api_v2_auth_UpstreamTlsContext*, UPB_SIZE(64, 104)) = value;
346 }
349  if (sub == NULL) {
351  if (!sub) return NULL;
353  }
354  return sub;
355 }
357  UPB_FIELD_AT(msg, struct envoy_api_v2_core_Http1ProtocolOptions*, UPB_SIZE(68, 112)) = value;
358 }
361  if (sub == NULL) {
363  if (!sub) return NULL;
365  }
366  return sub;
367 }
369  UPB_FIELD_AT(msg, struct envoy_api_v2_core_Http2ProtocolOptions*, UPB_SIZE(72, 120)) = value;
370 }
373  if (sub == NULL) {
375  if (!sub) return NULL;
377  }
378  return sub;
379 }
381  UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(76, 128)) = value;
382 }
385  if (sub == NULL) {
386  sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
387  if (!sub) return NULL;
389  }
390  return sub;
391 }
393  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(8, 8)) = value;
394 }
396  return (struct envoy_api_v2_core_Address**)_upb_array_mutable_accessor(msg, UPB_SIZE(140, 256), len);
397 }
398 UPB_INLINE struct envoy_api_v2_core_Address** envoy_api_v2_Cluster_resize_dns_resolvers(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
399  return (struct envoy_api_v2_core_Address**)_upb_array_resize_accessor(msg, UPB_SIZE(140, 256), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
400 }
403  bool ok = _upb_array_append_accessor(
404  msg, UPB_SIZE(140, 256), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
405  if (!ok) return NULL;
406  return sub;
407 }
409  UPB_FIELD_AT(msg, struct envoy_api_v2_cluster_OutlierDetection*, UPB_SIZE(80, 136)) = value;
410 }
413  if (sub == NULL) {
415  if (!sub) return NULL;
417  }
418  return sub;
419 }
421  UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(84, 144)) = value;
422 }
425  if (sub == NULL) {
426  sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
427  if (!sub) return NULL;
429  }
430  return sub;
431 }
433  UPB_FIELD_AT(msg, struct envoy_api_v2_core_BindConfig*, UPB_SIZE(88, 152)) = value;
434 }
437  if (sub == NULL) {
438  sub = (struct envoy_api_v2_core_BindConfig*)upb_msg_new(&envoy_api_v2_core_BindConfig_msginit, arena);
439  if (!sub) return NULL;
441  }
442  return sub;
443 }
445  UPB_FIELD_AT(msg, envoy_api_v2_Cluster_LbSubsetConfig*, UPB_SIZE(92, 160)) = value;
446 }
449  if (sub == NULL) {
451  if (!sub) return NULL;
453  }
454  return sub;
455 }
457  UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_RingHashLbConfig*, UPB_SIZE(172, 312), value, UPB_SIZE(176, 320), 23);
458 }
461  if (sub == NULL) {
463  if (!sub) return NULL;
465  }
466  return sub;
467 }
469  UPB_FIELD_AT(msg, struct envoy_api_v2_core_TransportSocket*, UPB_SIZE(96, 168)) = value;
470 }
473  if (sub == NULL) {
475  if (!sub) return NULL;
477  }
478  return sub;
479 }
481  UPB_FIELD_AT(msg, struct envoy_api_v2_core_Metadata*, UPB_SIZE(100, 176)) = value;
482 }
485  if (sub == NULL) {
486  sub = (struct envoy_api_v2_core_Metadata*)upb_msg_new(&envoy_api_v2_core_Metadata_msginit, arena);
487  if (!sub) return NULL;
489  }
490  return sub;
491 }
493  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(16, 16)) = value;
494 }
496  UPB_FIELD_AT(msg, envoy_api_v2_Cluster_CommonLbConfig*, UPB_SIZE(104, 184)) = value;
497 }
500  if (sub == NULL) {
502  if (!sub) return NULL;
504  }
505  return sub;
506 }
507 UPB_INLINE void envoy_api_v2_Cluster_set_alt_stat_name(envoy_api_v2_Cluster *msg, upb_strview value) {
508  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(36, 48)) = value;
509 }
511  UPB_FIELD_AT(msg, struct envoy_api_v2_core_HttpProtocolOptions*, UPB_SIZE(108, 192)) = value;
512 }
515  if (sub == NULL) {
517  if (!sub) return NULL;
519  }
520  return sub;
521 }
523  UPB_FIELD_AT(msg, envoy_api_v2_UpstreamConnectionOptions*, UPB_SIZE(112, 200)) = value;
524 }
527  if (sub == NULL) {
529  if (!sub) return NULL;
531  }
532  return sub;
533 }
535  UPB_FIELD_AT(msg, bool, UPB_SIZE(24, 24)) = value;
536 }
538  UPB_FIELD_AT(msg, bool, UPB_SIZE(25, 25)) = value;
539 }
541  UPB_FIELD_AT(msg, struct envoy_api_v2_ClusterLoadAssignment*, UPB_SIZE(116, 208)) = value;
542 }
545  if (sub == NULL) {
547  if (!sub) return NULL;
549  }
550  return sub;
551 }
553  UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_OriginalDstLbConfig*, UPB_SIZE(172, 312), value, UPB_SIZE(176, 320), 34);
554 }
557  if (sub == NULL) {
559  if (!sub) return NULL;
561  }
562  return sub;
563 }
565  return (envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry**)_upb_array_mutable_accessor(msg, UPB_SIZE(144, 264), len);
566 }
568  return (envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry**)_upb_array_resize_accessor(msg, UPB_SIZE(144, 264), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
569 }
572  bool ok = _upb_array_append_accessor(
573  msg, UPB_SIZE(144, 264), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
574  if (!ok) return NULL;
575  return sub;
576 }
578  return (envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry**)_upb_array_mutable_accessor(msg, UPB_SIZE(148, 272), len);
579 }
581  return (envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry**)_upb_array_resize_accessor(msg, UPB_SIZE(148, 272), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
582 }
585  bool ok = _upb_array_append_accessor(
586  msg, UPB_SIZE(148, 272), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
587  if (!ok) return NULL;
588  return sub;
589 }
591  UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_LeastRequestLbConfig*, UPB_SIZE(172, 312), value, UPB_SIZE(176, 320), 37);
592 }
595  if (sub == NULL) {
597  if (!sub) return NULL;
599  }
600  return sub;
601 }
603  UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_CustomClusterType*, UPB_SIZE(160, 296), value, UPB_SIZE(168, 304), 38);
604 }
607  if (sub == NULL) {
609  if (!sub) return NULL;
611  }
612  return sub;
613 }
615  UPB_FIELD_AT(msg, bool, UPB_SIZE(26, 26)) = value;
616 }
618  return (struct envoy_api_v2_cluster_Filter**)_upb_array_mutable_accessor(msg, UPB_SIZE(152, 280), len);
619 }
620 UPB_INLINE struct envoy_api_v2_cluster_Filter** envoy_api_v2_Cluster_resize_filters(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
621  return (struct envoy_api_v2_cluster_Filter**)_upb_array_resize_accessor(msg, UPB_SIZE(152, 280), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
622 }
625  bool ok = _upb_array_append_accessor(
626  msg, UPB_SIZE(152, 280), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
627  if (!ok) return NULL;
628  return sub;
629 }
631  UPB_FIELD_AT(msg, envoy_api_v2_LoadBalancingPolicy*, UPB_SIZE(120, 216)) = value;
632 }
635  if (sub == NULL) {
637  if (!sub) return NULL;
639  }
640  return sub;
641 }
643  UPB_FIELD_AT(msg, struct envoy_api_v2_core_ConfigSource*, UPB_SIZE(124, 224)) = value;
644 }
647  if (sub == NULL) {
649  if (!sub) return NULL;
651  }
652  return sub;
653 }
655  return (envoy_api_v2_Cluster_TransportSocketMatch**)_upb_array_mutable_accessor(msg, UPB_SIZE(156, 288), len);
656 }
658  return (envoy_api_v2_Cluster_TransportSocketMatch**)_upb_array_resize_accessor(msg, UPB_SIZE(156, 288), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
659 }
662  bool ok = _upb_array_append_accessor(
663  msg, UPB_SIZE(156, 288), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
664  if (!ok) return NULL;
665  return sub;
666 }
668  UPB_FIELD_AT(msg, envoy_api_v2_Cluster_RefreshRate*, UPB_SIZE(128, 232)) = value;
669 }
672  if (sub == NULL) {
674  if (!sub) return NULL;
676  }
677  return sub;
678 }
679 
680 /* envoy.api.v2.Cluster.TransportSocketMatch */
681 
684 }
686  upb_arena *arena) {
688  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_TransportSocketMatch_msginit, arena)) ? ret : NULL;
689 }
690 UPB_INLINE char *envoy_api_v2_Cluster_TransportSocketMatch_serialize(const envoy_api_v2_Cluster_TransportSocketMatch *msg, upb_arena *arena, size_t *len) {
691  return upb_encode(msg, &envoy_api_v2_Cluster_TransportSocketMatch_msginit, arena, len);
692 }
693 
694 UPB_INLINE upb_strview envoy_api_v2_Cluster_TransportSocketMatch_name(const envoy_api_v2_Cluster_TransportSocketMatch *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
695 UPB_INLINE const struct google_protobuf_Struct* envoy_api_v2_Cluster_TransportSocketMatch_match(const envoy_api_v2_Cluster_TransportSocketMatch *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Struct*, UPB_SIZE(8, 16)); }
697 
699  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
700 }
702  UPB_FIELD_AT(msg, struct google_protobuf_Struct*, UPB_SIZE(8, 16)) = value;
703 }
706  if (sub == NULL) {
707  sub = (struct google_protobuf_Struct*)upb_msg_new(&google_protobuf_Struct_msginit, arena);
708  if (!sub) return NULL;
710  }
711  return sub;
712 }
714  UPB_FIELD_AT(msg, struct envoy_api_v2_core_TransportSocket*, UPB_SIZE(12, 24)) = value;
715 }
718  if (sub == NULL) {
720  if (!sub) return NULL;
722  }
723  return sub;
724 }
725 
726 /* envoy.api.v2.Cluster.CustomClusterType */
727 
730 }
732  upb_arena *arena) {
734  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_CustomClusterType_msginit, arena)) ? ret : NULL;
735 }
736 UPB_INLINE char *envoy_api_v2_Cluster_CustomClusterType_serialize(const envoy_api_v2_Cluster_CustomClusterType *msg, upb_arena *arena, size_t *len) {
737  return upb_encode(msg, &envoy_api_v2_Cluster_CustomClusterType_msginit, arena, len);
738 }
739 
740 UPB_INLINE upb_strview envoy_api_v2_Cluster_CustomClusterType_name(const envoy_api_v2_Cluster_CustomClusterType *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
741 UPB_INLINE const struct google_protobuf_Any* envoy_api_v2_Cluster_CustomClusterType_typed_config(const envoy_api_v2_Cluster_CustomClusterType *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Any*, UPB_SIZE(8, 16)); }
742 
744  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
745 }
747  UPB_FIELD_AT(msg, struct google_protobuf_Any*, UPB_SIZE(8, 16)) = value;
748 }
751  if (sub == NULL) {
752  sub = (struct google_protobuf_Any*)upb_msg_new(&google_protobuf_Any_msginit, arena);
753  if (!sub) return NULL;
755  }
756  return sub;
757 }
758 
759 /* envoy.api.v2.Cluster.EdsClusterConfig */
760 
763 }
765  upb_arena *arena) {
767  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_EdsClusterConfig_msginit, arena)) ? ret : NULL;
768 }
769 UPB_INLINE char *envoy_api_v2_Cluster_EdsClusterConfig_serialize(const envoy_api_v2_Cluster_EdsClusterConfig *msg, upb_arena *arena, size_t *len) {
770  return upb_encode(msg, &envoy_api_v2_Cluster_EdsClusterConfig_msginit, arena, len);
771 }
772 
773 UPB_INLINE const struct envoy_api_v2_core_ConfigSource* envoy_api_v2_Cluster_EdsClusterConfig_eds_config(const envoy_api_v2_Cluster_EdsClusterConfig *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_ConfigSource*, UPB_SIZE(8, 16)); }
774 UPB_INLINE upb_strview envoy_api_v2_Cluster_EdsClusterConfig_service_name(const envoy_api_v2_Cluster_EdsClusterConfig *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
775 
777  UPB_FIELD_AT(msg, struct envoy_api_v2_core_ConfigSource*, UPB_SIZE(8, 16)) = value;
778 }
781  if (sub == NULL) {
783  if (!sub) return NULL;
785  }
786  return sub;
787 }
789  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
790 }
791 
792 /* envoy.api.v2.Cluster.LbSubsetConfig */
793 
796 }
798  upb_arena *arena) {
800  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_LbSubsetConfig_msginit, arena)) ? ret : NULL;
801 }
802 UPB_INLINE char *envoy_api_v2_Cluster_LbSubsetConfig_serialize(const envoy_api_v2_Cluster_LbSubsetConfig *msg, upb_arena *arena, size_t *len) {
803  return upb_encode(msg, &envoy_api_v2_Cluster_LbSubsetConfig_msginit, arena, len);
804 }
805 
806 UPB_INLINE int32_t envoy_api_v2_Cluster_LbSubsetConfig_fallback_policy(const envoy_api_v2_Cluster_LbSubsetConfig *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
807 UPB_INLINE const struct google_protobuf_Struct* envoy_api_v2_Cluster_LbSubsetConfig_default_subset(const envoy_api_v2_Cluster_LbSubsetConfig *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Struct*, UPB_SIZE(12, 16)); }
808 UPB_INLINE const envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector* const* envoy_api_v2_Cluster_LbSubsetConfig_subset_selectors(const envoy_api_v2_Cluster_LbSubsetConfig *msg, size_t *len) { return (const envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector* const*)_upb_array_accessor(msg, UPB_SIZE(16, 24), len); }
809 UPB_INLINE bool envoy_api_v2_Cluster_LbSubsetConfig_locality_weight_aware(const envoy_api_v2_Cluster_LbSubsetConfig *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(8, 8)); }
810 UPB_INLINE bool envoy_api_v2_Cluster_LbSubsetConfig_scale_locality_weight(const envoy_api_v2_Cluster_LbSubsetConfig *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(9, 9)); }
811 UPB_INLINE bool envoy_api_v2_Cluster_LbSubsetConfig_panic_mode_any(const envoy_api_v2_Cluster_LbSubsetConfig *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(10, 10)); }
812 UPB_INLINE bool envoy_api_v2_Cluster_LbSubsetConfig_list_as_any(const envoy_api_v2_Cluster_LbSubsetConfig *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(11, 11)); }
813 
815  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
816 }
818  UPB_FIELD_AT(msg, struct google_protobuf_Struct*, UPB_SIZE(12, 16)) = value;
819 }
822  if (sub == NULL) {
823  sub = (struct google_protobuf_Struct*)upb_msg_new(&google_protobuf_Struct_msginit, arena);
824  if (!sub) return NULL;
826  }
827  return sub;
828 }
830  return (envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector**)_upb_array_mutable_accessor(msg, UPB_SIZE(16, 24), len);
831 }
833  return (envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector**)_upb_array_resize_accessor(msg, UPB_SIZE(16, 24), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
834 }
837  bool ok = _upb_array_append_accessor(
838  msg, UPB_SIZE(16, 24), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
839  if (!ok) return NULL;
840  return sub;
841 }
843  UPB_FIELD_AT(msg, bool, UPB_SIZE(8, 8)) = value;
844 }
846  UPB_FIELD_AT(msg, bool, UPB_SIZE(9, 9)) = value;
847 }
849  UPB_FIELD_AT(msg, bool, UPB_SIZE(10, 10)) = value;
850 }
852  UPB_FIELD_AT(msg, bool, UPB_SIZE(11, 11)) = value;
853 }
854 
855 /* envoy.api.v2.Cluster.LbSubsetConfig.LbSubsetSelector */
856 
859 }
861  upb_arena *arena) {
863  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_msginit, arena)) ? ret : NULL;
864 }
866  return upb_encode(msg, &envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_msginit, arena, len);
867 }
868 
869 UPB_INLINE upb_strview const* envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_keys(const envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *msg, size_t *len) { return (upb_strview const*)_upb_array_accessor(msg, UPB_SIZE(8, 8), len); }
870 UPB_INLINE int32_t envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_policy(const envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
871 
873  return (upb_strview*)_upb_array_mutable_accessor(msg, UPB_SIZE(8, 8), len);
874 }
876  return (upb_strview*)_upb_array_resize_accessor(msg, UPB_SIZE(8, 8), len, UPB_SIZE(8, 16), UPB_TYPE_STRING, arena);
877 }
879  return _upb_array_append_accessor(
880  msg, UPB_SIZE(8, 8), UPB_SIZE(8, 16), UPB_TYPE_STRING, &val, arena);
881 }
883  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
884 }
885 
886 /* envoy.api.v2.Cluster.LeastRequestLbConfig */
887 
890 }
892  upb_arena *arena) {
894  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_LeastRequestLbConfig_msginit, arena)) ? ret : NULL;
895 }
896 UPB_INLINE char *envoy_api_v2_Cluster_LeastRequestLbConfig_serialize(const envoy_api_v2_Cluster_LeastRequestLbConfig *msg, upb_arena *arena, size_t *len) {
897  return upb_encode(msg, &envoy_api_v2_Cluster_LeastRequestLbConfig_msginit, arena, len);
898 }
899 
900 UPB_INLINE const struct google_protobuf_UInt32Value* envoy_api_v2_Cluster_LeastRequestLbConfig_choice_count(const envoy_api_v2_Cluster_LeastRequestLbConfig *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt32Value*, UPB_SIZE(0, 0)); }
901 
903  UPB_FIELD_AT(msg, struct google_protobuf_UInt32Value*, UPB_SIZE(0, 0)) = value;
904 }
907  if (sub == NULL) {
908  sub = (struct google_protobuf_UInt32Value*)upb_msg_new(&google_protobuf_UInt32Value_msginit, arena);
909  if (!sub) return NULL;
911  }
912  return sub;
913 }
914 
915 /* envoy.api.v2.Cluster.RingHashLbConfig */
916 
919 }
921  upb_arena *arena) {
923  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_RingHashLbConfig_msginit, arena)) ? ret : NULL;
924 }
925 UPB_INLINE char *envoy_api_v2_Cluster_RingHashLbConfig_serialize(const envoy_api_v2_Cluster_RingHashLbConfig *msg, upb_arena *arena, size_t *len) {
926  return upb_encode(msg, &envoy_api_v2_Cluster_RingHashLbConfig_msginit, arena, len);
927 }
928 
929 UPB_INLINE const struct google_protobuf_UInt64Value* envoy_api_v2_Cluster_RingHashLbConfig_minimum_ring_size(const envoy_api_v2_Cluster_RingHashLbConfig *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt64Value*, UPB_SIZE(8, 8)); }
930 UPB_INLINE int32_t envoy_api_v2_Cluster_RingHashLbConfig_hash_function(const envoy_api_v2_Cluster_RingHashLbConfig *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
931 UPB_INLINE const struct google_protobuf_UInt64Value* envoy_api_v2_Cluster_RingHashLbConfig_maximum_ring_size(const envoy_api_v2_Cluster_RingHashLbConfig *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt64Value*, UPB_SIZE(12, 16)); }
932 
934  UPB_FIELD_AT(msg, struct google_protobuf_UInt64Value*, UPB_SIZE(8, 8)) = value;
935 }
938  if (sub == NULL) {
939  sub = (struct google_protobuf_UInt64Value*)upb_msg_new(&google_protobuf_UInt64Value_msginit, arena);
940  if (!sub) return NULL;
942  }
943  return sub;
944 }
946  UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
947 }
949  UPB_FIELD_AT(msg, struct google_protobuf_UInt64Value*, UPB_SIZE(12, 16)) = value;
950 }
953  if (sub == NULL) {
954  sub = (struct google_protobuf_UInt64Value*)upb_msg_new(&google_protobuf_UInt64Value_msginit, arena);
955  if (!sub) return NULL;
957  }
958  return sub;
959 }
960 
961 /* envoy.api.v2.Cluster.OriginalDstLbConfig */
962 
965 }
967  upb_arena *arena) {
969  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_OriginalDstLbConfig_msginit, arena)) ? ret : NULL;
970 }
971 UPB_INLINE char *envoy_api_v2_Cluster_OriginalDstLbConfig_serialize(const envoy_api_v2_Cluster_OriginalDstLbConfig *msg, upb_arena *arena, size_t *len) {
972  return upb_encode(msg, &envoy_api_v2_Cluster_OriginalDstLbConfig_msginit, arena, len);
973 }
974 
975 UPB_INLINE bool envoy_api_v2_Cluster_OriginalDstLbConfig_use_http_header(const envoy_api_v2_Cluster_OriginalDstLbConfig *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)); }
976 
978  UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)) = value;
979 }
980 
981 /* envoy.api.v2.Cluster.CommonLbConfig */
982 
985 }
987  upb_arena *arena) {
989  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_CommonLbConfig_msginit, arena)) ? ret : NULL;
990 }
991 UPB_INLINE char *envoy_api_v2_Cluster_CommonLbConfig_serialize(const envoy_api_v2_Cluster_CommonLbConfig *msg, upb_arena *arena, size_t *len) {
992  return upb_encode(msg, &envoy_api_v2_Cluster_CommonLbConfig_msginit, arena, len);
993 }
994 
995 typedef enum {
1001 
1002 UPB_INLINE const struct envoy_type_Percent* envoy_api_v2_Cluster_CommonLbConfig_healthy_panic_threshold(const envoy_api_v2_Cluster_CommonLbConfig *msg) { return UPB_FIELD_AT(msg, const struct envoy_type_Percent*, UPB_SIZE(4, 8)); }
1003 UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_has_zone_aware_lb_config(const envoy_api_v2_Cluster_CommonLbConfig *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(16, 32), 2); }
1005 UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_has_locality_weighted_lb_config(const envoy_api_v2_Cluster_CommonLbConfig *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(16, 32), 3); }
1007 UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_CommonLbConfig_update_merge_window(const envoy_api_v2_Cluster_CommonLbConfig *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(8, 16)); }
1008 UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_ignore_new_hosts_until_first_hc(const envoy_api_v2_Cluster_CommonLbConfig *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)); }
1009 UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_close_connections_on_host_set_change(const envoy_api_v2_Cluster_CommonLbConfig *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(1, 1)); }
1010 
1012  UPB_FIELD_AT(msg, struct envoy_type_Percent*, UPB_SIZE(4, 8)) = value;
1013 }
1016  if (sub == NULL) {
1017  sub = (struct envoy_type_Percent*)upb_msg_new(&envoy_type_Percent_msginit, arena);
1018  if (!sub) return NULL;
1020  }
1021  return sub;
1022 }
1024  UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig*, UPB_SIZE(12, 24), value, UPB_SIZE(16, 32), 2);
1025 }
1028  if (sub == NULL) {
1030  if (!sub) return NULL;
1032  }
1033  return sub;
1034 }
1036  UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig*, UPB_SIZE(12, 24), value, UPB_SIZE(16, 32), 3);
1037 }
1040  if (sub == NULL) {
1042  if (!sub) return NULL;
1044  }
1045  return sub;
1046 }
1048  UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(8, 16)) = value;
1049 }
1052  if (sub == NULL) {
1053  sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
1054  if (!sub) return NULL;
1056  }
1057  return sub;
1058 }
1060  UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)) = value;
1061 }
1063  UPB_FIELD_AT(msg, bool, UPB_SIZE(1, 1)) = value;
1064 }
1065 
1066 /* envoy.api.v2.Cluster.CommonLbConfig.ZoneAwareLbConfig */
1067 
1070 }
1072  upb_arena *arena) {
1074  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit, arena)) ? ret : NULL;
1075 }
1077  return upb_encode(msg, &envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit, arena, len);
1078 }
1079 
1083 
1085  UPB_FIELD_AT(msg, struct envoy_type_Percent*, UPB_SIZE(4, 8)) = value;
1086 }
1089  if (sub == NULL) {
1090  sub = (struct envoy_type_Percent*)upb_msg_new(&envoy_type_Percent_msginit, arena);
1091  if (!sub) return NULL;
1093  }
1094  return sub;
1095 }
1097  UPB_FIELD_AT(msg, struct google_protobuf_UInt64Value*, UPB_SIZE(8, 16)) = value;
1098 }
1101  if (sub == NULL) {
1102  sub = (struct google_protobuf_UInt64Value*)upb_msg_new(&google_protobuf_UInt64Value_msginit, arena);
1103  if (!sub) return NULL;
1105  }
1106  return sub;
1107 }
1109  UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)) = value;
1110 }
1111 
1112 /* envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig */
1113 
1116 }
1118  upb_arena *arena) {
1120  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit, arena)) ? ret : NULL;
1121 }
1123  return upb_encode(msg, &envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit, arena, len);
1124 }
1125 
1126 
1127 
1128 /* envoy.api.v2.Cluster.RefreshRate */
1129 
1132 }
1134  upb_arena *arena) {
1136  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_RefreshRate_msginit, arena)) ? ret : NULL;
1137 }
1138 UPB_INLINE char *envoy_api_v2_Cluster_RefreshRate_serialize(const envoy_api_v2_Cluster_RefreshRate *msg, upb_arena *arena, size_t *len) {
1139  return upb_encode(msg, &envoy_api_v2_Cluster_RefreshRate_msginit, arena, len);
1140 }
1141 
1142 UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_RefreshRate_base_interval(const envoy_api_v2_Cluster_RefreshRate *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(0, 0)); }
1143 UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_RefreshRate_max_interval(const envoy_api_v2_Cluster_RefreshRate *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(4, 8)); }
1144 
1146  UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(0, 0)) = value;
1147 }
1150  if (sub == NULL) {
1151  sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
1152  if (!sub) return NULL;
1154  }
1155  return sub;
1156 }
1158  UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(4, 8)) = value;
1159 }
1162  if (sub == NULL) {
1163  sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
1164  if (!sub) return NULL;
1166  }
1167  return sub;
1168 }
1169 
1170 /* envoy.api.v2.Cluster.ExtensionProtocolOptionsEntry */
1171 
1174 }
1176  upb_arena *arena) {
1178  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit, arena)) ? ret : NULL;
1179 }
1181  return upb_encode(msg, &envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit, arena, len);
1182 }
1183 
1184 UPB_INLINE upb_strview envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_key(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
1185 UPB_INLINE const struct google_protobuf_Struct* envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_value(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Struct*, UPB_SIZE(8, 16)); }
1186 
1188  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
1189 }
1191  UPB_FIELD_AT(msg, struct google_protobuf_Struct*, UPB_SIZE(8, 16)) = value;
1192 }
1195  if (sub == NULL) {
1196  sub = (struct google_protobuf_Struct*)upb_msg_new(&google_protobuf_Struct_msginit, arena);
1197  if (!sub) return NULL;
1199  }
1200  return sub;
1201 }
1202 
1203 /* envoy.api.v2.Cluster.TypedExtensionProtocolOptionsEntry */
1204 
1207 }
1209  upb_arena *arena) {
1211  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit, arena)) ? ret : NULL;
1212 }
1214  return upb_encode(msg, &envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit, arena, len);
1215 }
1216 
1217 UPB_INLINE upb_strview envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_key(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
1219 
1221  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
1222 }
1224  UPB_FIELD_AT(msg, struct google_protobuf_Any*, UPB_SIZE(8, 16)) = value;
1225 }
1228  if (sub == NULL) {
1229  sub = (struct google_protobuf_Any*)upb_msg_new(&google_protobuf_Any_msginit, arena);
1230  if (!sub) return NULL;
1232  }
1233  return sub;
1234 }
1235 
1236 /* envoy.api.v2.LoadBalancingPolicy */
1237 
1240 }
1242  upb_arena *arena) {
1244  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_LoadBalancingPolicy_msginit, arena)) ? ret : NULL;
1245 }
1246 UPB_INLINE char *envoy_api_v2_LoadBalancingPolicy_serialize(const envoy_api_v2_LoadBalancingPolicy *msg, upb_arena *arena, size_t *len) {
1247  return upb_encode(msg, &envoy_api_v2_LoadBalancingPolicy_msginit, arena, len);
1248 }
1249 
1250 UPB_INLINE const envoy_api_v2_LoadBalancingPolicy_Policy* const* envoy_api_v2_LoadBalancingPolicy_policies(const envoy_api_v2_LoadBalancingPolicy *msg, size_t *len) { return (const envoy_api_v2_LoadBalancingPolicy_Policy* const*)_upb_array_accessor(msg, UPB_SIZE(0, 0), len); }
1251 
1253  return (envoy_api_v2_LoadBalancingPolicy_Policy**)_upb_array_mutable_accessor(msg, UPB_SIZE(0, 0), len);
1254 }
1256  return (envoy_api_v2_LoadBalancingPolicy_Policy**)_upb_array_resize_accessor(msg, UPB_SIZE(0, 0), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
1257 }
1260  bool ok = _upb_array_append_accessor(
1261  msg, UPB_SIZE(0, 0), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
1262  if (!ok) return NULL;
1263  return sub;
1264 }
1265 
1266 /* envoy.api.v2.LoadBalancingPolicy.Policy */
1267 
1270 }
1272  upb_arena *arena) {
1274  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_LoadBalancingPolicy_Policy_msginit, arena)) ? ret : NULL;
1275 }
1276 UPB_INLINE char *envoy_api_v2_LoadBalancingPolicy_Policy_serialize(const envoy_api_v2_LoadBalancingPolicy_Policy *msg, upb_arena *arena, size_t *len) {
1277  return upb_encode(msg, &envoy_api_v2_LoadBalancingPolicy_Policy_msginit, arena, len);
1278 }
1279 
1280 UPB_INLINE upb_strview envoy_api_v2_LoadBalancingPolicy_Policy_name(const envoy_api_v2_LoadBalancingPolicy_Policy *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
1281 UPB_INLINE const struct google_protobuf_Struct* envoy_api_v2_LoadBalancingPolicy_Policy_config(const envoy_api_v2_LoadBalancingPolicy_Policy *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Struct*, UPB_SIZE(8, 16)); }
1282 UPB_INLINE const struct google_protobuf_Any* envoy_api_v2_LoadBalancingPolicy_Policy_typed_config(const envoy_api_v2_LoadBalancingPolicy_Policy *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Any*, UPB_SIZE(12, 24)); }
1283 
1285  UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
1286 }
1288  UPB_FIELD_AT(msg, struct google_protobuf_Struct*, UPB_SIZE(8, 16)) = value;
1289 }
1292  if (sub == NULL) {
1293  sub = (struct google_protobuf_Struct*)upb_msg_new(&google_protobuf_Struct_msginit, arena);
1294  if (!sub) return NULL;
1296  }
1297  return sub;
1298 }
1300  UPB_FIELD_AT(msg, struct google_protobuf_Any*, UPB_SIZE(12, 24)) = value;
1301 }
1304  if (sub == NULL) {
1305  sub = (struct google_protobuf_Any*)upb_msg_new(&google_protobuf_Any_msginit, arena);
1306  if (!sub) return NULL;
1308  }
1309  return sub;
1310 }
1311 
1312 /* envoy.api.v2.UpstreamBindConfig */
1313 
1316 }
1318  upb_arena *arena) {
1320  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_UpstreamBindConfig_msginit, arena)) ? ret : NULL;
1321 }
1322 UPB_INLINE char *envoy_api_v2_UpstreamBindConfig_serialize(const envoy_api_v2_UpstreamBindConfig *msg, upb_arena *arena, size_t *len) {
1323  return upb_encode(msg, &envoy_api_v2_UpstreamBindConfig_msginit, arena, len);
1324 }
1325 
1326 UPB_INLINE const struct envoy_api_v2_core_Address* envoy_api_v2_UpstreamBindConfig_source_address(const envoy_api_v2_UpstreamBindConfig *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_Address*, UPB_SIZE(0, 0)); }
1327 
1329  UPB_FIELD_AT(msg, struct envoy_api_v2_core_Address*, UPB_SIZE(0, 0)) = value;
1330 }
1333  if (sub == NULL) {
1334  sub = (struct envoy_api_v2_core_Address*)upb_msg_new(&envoy_api_v2_core_Address_msginit, arena);
1335  if (!sub) return NULL;
1337  }
1338  return sub;
1339 }
1340 
1341 /* envoy.api.v2.UpstreamConnectionOptions */
1342 
1345 }
1347  upb_arena *arena) {
1349  return (ret && upb_decode(buf, size, ret, &envoy_api_v2_UpstreamConnectionOptions_msginit, arena)) ? ret : NULL;
1350 }
1351 UPB_INLINE char *envoy_api_v2_UpstreamConnectionOptions_serialize(const envoy_api_v2_UpstreamConnectionOptions *msg, upb_arena *arena, size_t *len) {
1352  return upb_encode(msg, &envoy_api_v2_UpstreamConnectionOptions_msginit, arena, len);
1353 }
1354 
1356 
1358  UPB_FIELD_AT(msg, struct envoy_api_v2_core_TcpKeepalive*, UPB_SIZE(0, 0)) = value;
1359 }
1362  if (sub == NULL) {
1363  sub = (struct envoy_api_v2_core_TcpKeepalive*)upb_msg_new(&envoy_api_v2_core_TcpKeepalive_msginit, arena);
1364  if (!sub) return NULL;
1366  }
1367  return sub;
1368 }
1369 
1370 #ifdef __cplusplus
1371 } /* extern "C" */
1372 #endif
1373 
1374 #include "upb/port_undef.inc"
1375 
1376 #endif /* ENVOY_API_V2_CDS_PROTO_UPB_H_ */
UPB_INLINE struct envoy_api_v2_Cluster_TransportSocketMatch * envoy_api_v2_Cluster_add_transport_socket_matches(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:660
UPB_INLINE envoy_api_v2_Cluster_EdsClusterConfig * envoy_api_v2_Cluster_EdsClusterConfig_new(upb_arena *arena)
Definition: cds.upb.h:761
UPB_INLINE struct envoy_api_v2_Cluster_CommonLbConfig * envoy_api_v2_Cluster_mutable_common_lb_config(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:498
UPB_INLINE const envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *const * envoy_api_v2_Cluster_LbSubsetConfig_subset_selectors(const envoy_api_v2_Cluster_LbSubsetConfig *msg, size_t *len)
Definition: cds.upb.h:808
UPB_INLINE char * envoy_api_v2_Cluster_CustomClusterType_serialize(const envoy_api_v2_Cluster_CustomClusterType *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:736
UPB_INLINE char * envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_serialize(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:1180
UPB_INLINE envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector * envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:860
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_Cluster_mutable_per_connection_buffer_limit_bytes(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:282
UPB_INLINE void envoy_api_v2_Cluster_set_name(envoy_api_v2_Cluster *msg, upb_strview value)
Definition: cds.upb.h:249
UPB_INLINE const struct envoy_type_Percent * envoy_api_v2_Cluster_CommonLbConfig_healthy_panic_threshold(const envoy_api_v2_Cluster_CommonLbConfig *msg)
Definition: cds.upb.h:1002
UPB_INLINE envoy_api_v2_Cluster_RingHashLbConfig * envoy_api_v2_Cluster_RingHashLbConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:920
Definition: cds.upb.h:129
UPB_INLINE struct google_protobuf_Struct * envoy_api_v2_Cluster_LbSubsetConfig_mutable_default_subset(envoy_api_v2_Cluster_LbSubsetConfig *msg, upb_arena *arena)
Definition: cds.upb.h:820
struct envoy_api_v2_UpstreamConnectionOptions envoy_api_v2_UpstreamConnectionOptions
Definition: cds.upb.h:60
const upb_msglayout envoy_api_v2_cluster_OutlierDetection_msginit
Definition: outlier_detection.upb.c:46
UPB_INLINE struct envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry * envoy_api_v2_Cluster_add_extension_protocol_options(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:570
const upb_msglayout envoy_api_v2_UpstreamConnectionOptions_msginit
Definition: cds.upb.c:378
UPB_INLINE const struct envoy_api_v2_core_TransportSocket * envoy_api_v2_Cluster_TransportSocketMatch_transport_socket(const envoy_api_v2_Cluster_TransportSocketMatch *msg)
Definition: cds.upb.h:696
UPB_INLINE struct envoy_api_v2_core_Http2ProtocolOptions * envoy_api_v2_Cluster_mutable_http2_protocol_options(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:371
UPB_INLINE void envoy_api_v2_Cluster_set_lb_policy(envoy_api_v2_Cluster *msg, int32_t value)
Definition: cds.upb.h:291
Definition: cds.upb.h:139
struct google_protobuf_UInt32Value google_protobuf_UInt32Value
Definition: wrappers.upb.h:37
UPB_INLINE envoy_api_v2_Cluster_cluster_discovery_type_oneofcases envoy_api_v2_Cluster_cluster_discovery_type_case(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:191
UPB_INLINE void envoy_api_v2_Cluster_OriginalDstLbConfig_set_use_http_header(envoy_api_v2_Cluster_OriginalDstLbConfig *msg, bool value)
Definition: cds.upb.h:977
UPB_INLINE struct envoy_api_v2_core_HealthCheck ** envoy_api_v2_Cluster_mutable_health_checks(envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:307
UPB_INLINE void envoy_api_v2_LoadBalancingPolicy_Policy_set_name(envoy_api_v2_LoadBalancingPolicy_Policy *msg, upb_strview value)
Definition: cds.upb.h:1284
UPB_INLINE struct envoy_api_v2_core_HealthCheck * envoy_api_v2_Cluster_add_health_checks(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:313
UPB_INLINE const struct google_protobuf_Duration * envoy_api_v2_Cluster_connect_timeout(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:205
UPB_INLINE envoy_api_v2_Cluster_LbSubsetConfig * envoy_api_v2_Cluster_LbSubsetConfig_new(upb_arena *arena)
Definition: cds.upb.h:794
const upb_msglayout envoy_api_v2_Cluster_RefreshRate_msginit
Definition: cds.upb.c:289
envoy_api_v2_Cluster_DiscoveryType
Definition: cds.upb.h:128
const upb_msglayout envoy_api_v2_auth_UpstreamTlsContext_msginit
Definition: cert.upb.c:159
UPB_INLINE const struct envoy_api_v2_core_Http1ProtocolOptions * envoy_api_v2_Cluster_http_protocol_options(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:213
UPB_INLINE const struct google_protobuf_Struct * envoy_api_v2_Cluster_LbSubsetConfig_default_subset(const envoy_api_v2_Cluster_LbSubsetConfig *msg)
Definition: cds.upb.h:807
const upb_msglayout envoy_api_v2_Cluster_LeastRequestLbConfig_msginit
Definition: cds.upb.c:203
UPB_INLINE const struct google_protobuf_Any * envoy_api_v2_LoadBalancingPolicy_Policy_typed_config(const envoy_api_v2_LoadBalancingPolicy_Policy *msg)
Definition: cds.upb.h:1282
const upb_msglayout envoy_api_v2_ClusterLoadAssignment_msginit
Definition: eds.upb.c:35
UPB_INLINE const struct envoy_api_v2_core_Address *const * envoy_api_v2_Cluster_dns_resolvers(const envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:217
UPB_INLINE struct envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig * envoy_api_v2_Cluster_CommonLbConfig_mutable_zone_aware_lb_config(envoy_api_v2_Cluster_CommonLbConfig *msg, upb_arena *arena)
Definition: cds.upb.h:1026
UPB_INLINE bool envoy_api_v2_Cluster_close_connections_on_host_health_failure(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:231
const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit
Definition: cds.upb.c:274
UPB_INLINE const struct google_protobuf_Duration * envoy_api_v2_Cluster_cleanup_interval(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:219
struct envoy_api_v2_Cluster_LeastRequestLbConfig envoy_api_v2_Cluster_LeastRequestLbConfig
Definition: cds.upb.h:48
UPB_INLINE envoy_api_v2_Cluster_TransportSocketMatch ** envoy_api_v2_Cluster_resize_transport_socket_matches(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:657
struct envoy_api_v2_Cluster_EdsClusterConfig envoy_api_v2_Cluster_EdsClusterConfig
Definition: cds.upb.h:45
UPB_INLINE struct envoy_type_Percent * envoy_api_v2_Cluster_CommonLbConfig_mutable_healthy_panic_threshold(envoy_api_v2_Cluster_CommonLbConfig *msg, upb_arena *arena)
Definition: cds.upb.h:1014
UPB_INLINE const struct envoy_api_v2_core_TransportSocket * envoy_api_v2_Cluster_transport_socket(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:224
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry ** envoy_api_v2_Cluster_resize_typed_extension_protocol_options(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:580
struct envoy_api_v2_Cluster_TransportSocketMatch envoy_api_v2_Cluster_TransportSocketMatch
Definition: cds.upb.h:43
UPB_INLINE const struct google_protobuf_Struct * envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_value(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg)
Definition: cds.upb.h:1185
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry * envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_new(upb_arena *arena)
Definition: cds.upb.h:1172
UPB_INLINE const struct google_protobuf_Any * envoy_api_v2_Cluster_CustomClusterType_typed_config(const envoy_api_v2_Cluster_CustomClusterType *msg)
Definition: cds.upb.h:741
UPB_INLINE struct envoy_api_v2_UpstreamConnectionOptions * envoy_api_v2_Cluster_mutable_upstream_connection_options(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:525
const upb_msglayout envoy_api_v2_Cluster_OriginalDstLbConfig_msginit
Definition: cds.upb.c:229
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_set_zone_aware_lb_config(envoy_api_v2_Cluster_CommonLbConfig *msg, envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *value)
Definition: cds.upb.h:1023
UPB_INLINE const envoy_api_v2_LoadBalancingPolicy_Policy *const * envoy_api_v2_LoadBalancingPolicy_policies(const envoy_api_v2_LoadBalancingPolicy *msg, size_t *len)
Definition: cds.upb.h:1250
const upb_msglayout google_protobuf_UInt64Value_msginit
Definition: wrappers.upb.c:49
UPB_INLINE const struct google_protobuf_Duration * envoy_api_v2_Cluster_CommonLbConfig_update_merge_window(const envoy_api_v2_Cluster_CommonLbConfig *msg)
Definition: cds.upb.h:1007
UPB_INLINE const struct envoy_api_v2_core_Address *const * envoy_api_v2_Cluster_hosts(const envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:208
UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_ignore_new_hosts_until_first_hc(const envoy_api_v2_Cluster_CommonLbConfig *msg)
Definition: cds.upb.h:1008
UPB_INLINE envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector * envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_new(upb_arena *arena)
Definition: cds.upb.h:857
UPB_INLINE int32_t envoy_api_v2_Cluster_type(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:203
UPB_INLINE const envoy_api_v2_Cluster_TransportSocketMatch *const * envoy_api_v2_Cluster_transport_socket_matches(const envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:246
UPB_INLINE const struct envoy_api_v2_core_Address * envoy_api_v2_UpstreamBindConfig_source_address(const envoy_api_v2_UpstreamBindConfig *msg)
Definition: cds.upb.h:1326
struct envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry
Definition: cds.upb.h:55
UPB_INLINE void envoy_api_v2_Cluster_set_respect_dns_ttl(envoy_api_v2_Cluster *msg, bool value)
Definition: cds.upb.h:614
Definition: cds.upb.h:144
UPB_INLINE void envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_set_value(envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, struct google_protobuf_Struct *value)
Definition: cds.upb.h:1190
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_routing_enabled(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, struct envoy_type_Percent *value)
Definition: cds.upb.h:1084
const upb_msglayout envoy_api_v2_core_TcpKeepalive_msginit
Definition: address.upb.c:53
struct envoy_api_v2_core_HttpProtocolOptions envoy_api_v2_core_HttpProtocolOptions
Definition: protocol.upb.h:29
UPB_INLINE bool envoy_api_v2_Cluster_has_least_request_lb_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:238
struct envoy_api_v2_Cluster_CustomClusterType envoy_api_v2_Cluster_CustomClusterType
Definition: cds.upb.h:44
struct envoy_api_v2_core_Metadata envoy_api_v2_core_Metadata
Definition: base.upb.h:41
struct google_protobuf_Struct google_protobuf_Struct
Definition: struct.upb.h:27
UPB_INLINE const struct google_protobuf_Any * envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_value(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg)
Definition: cds.upb.h:1218
UPB_INLINE envoy_api_v2_Cluster_RefreshRate * envoy_api_v2_Cluster_RefreshRate_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:1133
UPB_INLINE void envoy_api_v2_Cluster_set_cleanup_interval(envoy_api_v2_Cluster *msg, struct google_protobuf_Duration *value)
Definition: cds.upb.h:420
struct envoy_api_v2_core_HealthCheck envoy_api_v2_core_HealthCheck
Definition: health_check.upb.h:30
UPB_INLINE const struct envoy_api_v2_core_HealthCheck *const * envoy_api_v2_Cluster_health_checks(const envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:209
UPB_INLINE void envoy_api_v2_Cluster_set_common_http_protocol_options(envoy_api_v2_Cluster *msg, struct envoy_api_v2_core_HttpProtocolOptions *value)
Definition: cds.upb.h:510
struct envoy_api_v2_core_Address envoy_api_v2_core_Address
Definition: address.upb.h:33
UPB_INLINE envoy_api_v2_Cluster_RingHashLbConfig * envoy_api_v2_Cluster_RingHashLbConfig_new(upb_arena *arena)
Definition: cds.upb.h:917
UPB_INLINE const struct envoy_api_v2_cluster_CircuitBreakers * envoy_api_v2_Cluster_circuit_breakers(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:211
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_Cluster_mutable_max_requests_per_connection(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:323
UPB_INLINE struct google_protobuf_Struct * envoy_api_v2_Cluster_TransportSocketMatch_mutable_match(envoy_api_v2_Cluster_TransportSocketMatch *msg, upb_arena *arena)
Definition: cds.upb.h:704
UPB_INLINE const struct google_protobuf_Struct * envoy_api_v2_LoadBalancingPolicy_Policy_config(const envoy_api_v2_LoadBalancingPolicy_Policy *msg)
Definition: cds.upb.h:1281
UPB_INLINE void envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_set_value(envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, struct google_protobuf_Any *value)
Definition: cds.upb.h:1223
UPB_INLINE struct google_protobuf_UInt64Value * envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_mutable_min_cluster_size(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, upb_arena *arena)
Definition: cds.upb.h:1099
UPB_INLINE struct envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector * envoy_api_v2_Cluster_LbSubsetConfig_add_subset_selectors(envoy_api_v2_Cluster_LbSubsetConfig *msg, upb_arena *arena)
Definition: cds.upb.h:835
UPB_INLINE void envoy_api_v2_Cluster_RingHashLbConfig_set_minimum_ring_size(envoy_api_v2_Cluster_RingHashLbConfig *msg, struct google_protobuf_UInt64Value *value)
Definition: cds.upb.h:933
UPB_INLINE void envoy_api_v2_Cluster_EdsClusterConfig_set_service_name(envoy_api_v2_Cluster_EdsClusterConfig *msg, upb_strview value)
Definition: cds.upb.h:788
UPB_INLINE envoy_api_v2_Cluster_TransportSocketMatch * envoy_api_v2_Cluster_TransportSocketMatch_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:685
UPB_INLINE const struct envoy_api_v2_core_Http2ProtocolOptions * envoy_api_v2_Cluster_http2_protocol_options(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:214
UPB_INLINE struct google_protobuf_Duration * envoy_api_v2_Cluster_CommonLbConfig_mutable_update_merge_window(envoy_api_v2_Cluster_CommonLbConfig *msg, upb_arena *arena)
Definition: cds.upb.h:1050
const upb_msglayout envoy_api_v2_core_ConfigSource_msginit
Definition: config_source.upb.c:84
envoy_api_v2_Cluster_lb_config_oneofcases
Definition: cds.upb.h:193
envoy_api_v2_Cluster_LbPolicy
Definition: cds.upb.h:142
UPB_INLINE envoy_api_v2_Cluster_CustomClusterType * envoy_api_v2_Cluster_CustomClusterType_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:731
UPB_INLINE struct envoy_api_v2_core_Address ** envoy_api_v2_Cluster_resize_hosts(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:297
UPB_INLINE void envoy_api_v2_Cluster_LbSubsetConfig_set_list_as_any(envoy_api_v2_Cluster_LbSubsetConfig *msg, bool value)
Definition: cds.upb.h:851
UPB_INLINE bool envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_add_keys(envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *msg, upb_strview val, upb_arena *arena)
Definition: cds.upb.h:878
UPB_INLINE const struct google_protobuf_Struct * envoy_api_v2_Cluster_TransportSocketMatch_match(const envoy_api_v2_Cluster_TransportSocketMatch *msg)
Definition: cds.upb.h:695
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_Cluster_max_requests_per_connection(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:210
UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_has_zone_aware_lb_config(const envoy_api_v2_Cluster_CommonLbConfig *msg)
Definition: cds.upb.h:1003
UPB_INLINE void envoy_api_v2_LoadBalancingPolicy_Policy_set_typed_config(envoy_api_v2_LoadBalancingPolicy_Policy *msg, struct google_protobuf_Any *value)
Definition: cds.upb.h:1299
UPB_INLINE const envoy_api_v2_Cluster_RefreshRate * envoy_api_v2_Cluster_dns_failure_refresh_rate(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:247
UPB_INLINE const struct envoy_api_v2_ClusterLoadAssignment * envoy_api_v2_Cluster_load_assignment(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:233
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_set_close_connections_on_host_set_change(envoy_api_v2_Cluster_CommonLbConfig *msg, bool value)
Definition: cds.upb.h:1062
UPB_INLINE bool envoy_api_v2_Cluster_has_ring_hash_lb_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:222
UPB_INLINE upb_strview * envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_resize_keys(envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:875
UPB_INLINE void envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_set_fallback_policy(envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *msg, int32_t value)
Definition: cds.upb.h:882
UPB_INLINE void envoy_api_v2_Cluster_LbSubsetConfig_set_fallback_policy(envoy_api_v2_Cluster_LbSubsetConfig *msg, int32_t value)
Definition: cds.upb.h:814
UPB_INLINE char * envoy_api_v2_Cluster_LeastRequestLbConfig_serialize(const envoy_api_v2_Cluster_LeastRequestLbConfig *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:896
UPB_INLINE struct envoy_api_v2_core_Address * envoy_api_v2_Cluster_add_dns_resolvers(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:401
UPB_INLINE upb_strview envoy_api_v2_Cluster_EdsClusterConfig_service_name(const envoy_api_v2_Cluster_EdsClusterConfig *msg)
Definition: cds.upb.h:774
UPB_INLINE void envoy_api_v2_Cluster_CustomClusterType_set_name(envoy_api_v2_Cluster_CustomClusterType *msg, upb_strview value)
Definition: cds.upb.h:743
UPB_INLINE const struct google_protobuf_Duration * envoy_api_v2_Cluster_RefreshRate_max_interval(const envoy_api_v2_Cluster_RefreshRate *msg)
Definition: cds.upb.h:1143
const upb_msglayout google_protobuf_Any_msginit
Definition: any.upb.c:20
UPB_INLINE struct envoy_api_v2_core_HealthCheck ** envoy_api_v2_Cluster_resize_health_checks(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:310
UPB_INLINE struct google_protobuf_Any * envoy_api_v2_LoadBalancingPolicy_Policy_mutable_typed_config(envoy_api_v2_LoadBalancingPolicy_Policy *msg, upb_arena *arena)
Definition: cds.upb.h:1302
UPB_INLINE envoy_api_v2_LoadBalancingPolicy_Policy * envoy_api_v2_LoadBalancingPolicy_Policy_new(upb_arena *arena)
Definition: cds.upb.h:1268
UPB_INLINE const struct google_protobuf_UInt64Value * envoy_api_v2_Cluster_RingHashLbConfig_maximum_ring_size(const envoy_api_v2_Cluster_RingHashLbConfig *msg)
Definition: cds.upb.h:931
UPB_INLINE bool envoy_api_v2_Cluster_LbSubsetConfig_list_as_any(const envoy_api_v2_Cluster_LbSubsetConfig *msg)
Definition: cds.upb.h:812
UPB_INLINE const struct envoy_type_Percent * envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_routing_enabled(const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg)
Definition: cds.upb.h:1080
UPB_INLINE void envoy_api_v2_Cluster_set_alt_stat_name(envoy_api_v2_Cluster *msg, upb_strview value)
Definition: cds.upb.h:507
UPB_INLINE bool envoy_api_v2_Cluster_has_original_dst_lb_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:234
UPB_INLINE const envoy_api_v2_Cluster_EdsClusterConfig * envoy_api_v2_Cluster_eds_cluster_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:204
UPB_INLINE const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *const * envoy_api_v2_Cluster_extension_protocol_options(const envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:236
UPB_INLINE struct envoy_api_v2_cluster_CircuitBreakers * envoy_api_v2_Cluster_mutable_circuit_breakers(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:335
const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit
Definition: cds.upb.c:268
const upb_msglayout envoy_api_v2_core_Http2ProtocolOptions_msginit
Definition: protocol.upb.c:75
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_set_healthy_panic_threshold(envoy_api_v2_Cluster_CommonLbConfig *msg, struct envoy_type_Percent *value)
Definition: cds.upb.h:1011
UPB_INLINE void envoy_api_v2_Cluster_set_http_protocol_options(envoy_api_v2_Cluster *msg, struct envoy_api_v2_core_Http1ProtocolOptions *value)
Definition: cds.upb.h:356
UPB_INLINE envoy_api_v2_Cluster * envoy_api_v2_Cluster_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:177
const upb_msglayout envoy_api_v2_Cluster_CustomClusterType_msginit
Definition: cds.upb.c:142
UPB_INLINE envoy_api_v2_LoadBalancingPolicy_Policy * envoy_api_v2_LoadBalancingPolicy_Policy_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:1271
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_Cluster_LeastRequestLbConfig_choice_count(const envoy_api_v2_Cluster_LeastRequestLbConfig *msg)
Definition: cds.upb.h:900
UPB_INLINE upb_strview envoy_api_v2_Cluster_name(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:201
Definition: cds.upb.h:137
struct envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig
Definition: cds.upb.h:53
UPB_INLINE void envoy_api_v2_Cluster_LbSubsetConfig_set_scale_locality_weight(envoy_api_v2_Cluster_LbSubsetConfig *msg, bool value)
Definition: cds.upb.h:845
UPB_INLINE char * envoy_api_v2_Cluster_RefreshRate_serialize(const envoy_api_v2_Cluster_RefreshRate *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:1138
UPB_INLINE envoy_api_v2_Cluster_EdsClusterConfig * envoy_api_v2_Cluster_EdsClusterConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:764
UPB_INLINE struct google_protobuf_Any * envoy_api_v2_Cluster_CustomClusterType_mutable_typed_config(envoy_api_v2_Cluster_CustomClusterType *msg, upb_arena *arena)
Definition: cds.upb.h:749
UPB_INLINE upb_strview envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_key(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg)
Definition: cds.upb.h:1217
struct envoy_api_v2_Cluster_RingHashLbConfig envoy_api_v2_Cluster_RingHashLbConfig
Definition: cds.upb.h:49
UPB_INLINE char * envoy_api_v2_LoadBalancingPolicy_Policy_serialize(const envoy_api_v2_LoadBalancingPolicy_Policy *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:1276
UPB_INLINE void envoy_api_v2_Cluster_RingHashLbConfig_set_maximum_ring_size(envoy_api_v2_Cluster_RingHashLbConfig *msg, struct google_protobuf_UInt64Value *value)
Definition: cds.upb.h:948
UPB_INLINE char * envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_serialize(const envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:1122
const upb_msglayout envoy_api_v2_Cluster_TransportSocketMatch_msginit
Definition: cds.upb.c:127
UPB_INLINE envoy_api_v2_LoadBalancingPolicy_Policy ** envoy_api_v2_LoadBalancingPolicy_mutable_policies(envoy_api_v2_LoadBalancingPolicy *msg, size_t *len)
Definition: cds.upb.h:1252
struct envoy_api_v2_core_ConfigSource envoy_api_v2_core_ConfigSource
Definition: config_source.upb.h:32
UPB_INLINE const envoy_api_v2_Cluster_LbSubsetConfig * envoy_api_v2_Cluster_lb_subset_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:221
UPB_INLINE char * envoy_api_v2_Cluster_RingHashLbConfig_serialize(const envoy_api_v2_Cluster_RingHashLbConfig *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:925
UPB_INLINE void envoy_api_v2_Cluster_set_dns_failure_refresh_rate(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_RefreshRate *value)
Definition: cds.upb.h:667
UPB_INLINE struct envoy_api_v2_core_HttpProtocolOptions * envoy_api_v2_Cluster_mutable_common_http_protocol_options(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:513
UPB_INLINE void envoy_api_v2_Cluster_LbSubsetConfig_set_default_subset(envoy_api_v2_Cluster_LbSubsetConfig *msg, struct google_protobuf_Struct *value)
Definition: cds.upb.h:817
UPB_INLINE const struct envoy_api_v2_core_BindConfig * envoy_api_v2_Cluster_upstream_bind_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:220
UPB_INLINE bool envoy_api_v2_Cluster_has_cluster_type(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:240
UPB_INLINE struct envoy_api_v2_auth_UpstreamTlsContext * envoy_api_v2_Cluster_mutable_tls_context(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:347
UPB_INLINE struct envoy_api_v2_core_TcpKeepalive * envoy_api_v2_UpstreamConnectionOptions_mutable_tcp_keepalive(envoy_api_v2_UpstreamConnectionOptions *msg, upb_arena *arena)
Definition: cds.upb.h:1360
UPB_INLINE const envoy_api_v2_Cluster_OriginalDstLbConfig * envoy_api_v2_Cluster_original_dst_lb_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:235
UPB_INLINE void envoy_api_v2_Cluster_set_outlier_detection(envoy_api_v2_Cluster *msg, struct envoy_api_v2_cluster_OutlierDetection *value)
Definition: cds.upb.h:408
UPB_INLINE const struct envoy_api_v2_core_Metadata * envoy_api_v2_Cluster_metadata(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:225
struct envoy_api_v2_core_BindConfig envoy_api_v2_core_BindConfig
Definition: address.upb.h:32
UPB_INLINE const envoy_api_v2_Cluster_LeastRequestLbConfig * envoy_api_v2_Cluster_least_request_lb_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:239
const upb_msglayout envoy_api_v2_cluster_Filter_msginit
Definition: filter.upb.c:26
UPB_INLINE struct envoy_api_v2_Cluster_RefreshRate * envoy_api_v2_Cluster_mutable_dns_failure_refresh_rate(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:670
envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_LbSubsetSelectorFallbackPolicy
Definition: cds.upb.h:159
UPB_INLINE struct envoy_api_v2_core_TransportSocket * envoy_api_v2_Cluster_TransportSocketMatch_mutable_transport_socket(envoy_api_v2_Cluster_TransportSocketMatch *msg, upb_arena *arena)
Definition: cds.upb.h:716
struct envoy_api_v2_Cluster_RefreshRate envoy_api_v2_Cluster_RefreshRate
Definition: cds.upb.h:54
UPB_INLINE bool envoy_api_v2_Cluster_has_type(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:202
Definition: cds.upb.h:143
struct envoy_api_v2_core_TransportSocket envoy_api_v2_core_TransportSocket
Definition: base.upb.h:51
const upb_msglayout envoy_type_Percent_msginit
Definition: percent.upb.c:20
UPB_INLINE struct envoy_api_v2_LoadBalancingPolicy * envoy_api_v2_Cluster_mutable_load_balancing_policy(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:633
UPB_INLINE struct google_protobuf_UInt64Value * envoy_api_v2_Cluster_RingHashLbConfig_mutable_minimum_ring_size(envoy_api_v2_Cluster_RingHashLbConfig *msg, upb_arena *arena)
Definition: cds.upb.h:936
const upb_msglayout google_protobuf_Struct_msginit
Definition: struct.upb.c:23
UPB_INLINE const envoy_api_v2_Cluster_RingHashLbConfig * envoy_api_v2_Cluster_ring_hash_lb_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:223
const upb_msglayout envoy_api_v2_Cluster_RingHashLbConfig_msginit
Definition: cds.upb.c:219
UPB_INLINE const struct google_protobuf_Duration * envoy_api_v2_Cluster_dns_refresh_rate(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:215
UPB_INLINE envoy_api_v2_Cluster_RefreshRate * envoy_api_v2_Cluster_RefreshRate_new(upb_arena *arena)
Definition: cds.upb.h:1130
UPB_INLINE void envoy_api_v2_Cluster_set_protocol_selection(envoy_api_v2_Cluster *msg, int32_t value)
Definition: cds.upb.h:492
Definition: cds.upb.h:146
const upb_msglayout envoy_api_v2_UpstreamBindConfig_msginit
Definition: cds.upb.c:364
UPB_INLINE void envoy_api_v2_Cluster_set_transport_socket(envoy_api_v2_Cluster *msg, struct envoy_api_v2_core_TransportSocket *value)
Definition: cds.upb.h:468
UPB_INLINE bool envoy_api_v2_Cluster_OriginalDstLbConfig_use_http_header(const envoy_api_v2_Cluster_OriginalDstLbConfig *msg)
Definition: cds.upb.h:975
struct envoy_api_v2_Cluster envoy_api_v2_Cluster
Definition: cds.upb.h:42
UPB_INLINE struct envoy_api_v2_core_Http1ProtocolOptions * envoy_api_v2_Cluster_mutable_http_protocol_options(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:359
UPB_INLINE struct google_protobuf_Duration * envoy_api_v2_Cluster_RefreshRate_mutable_max_interval(envoy_api_v2_Cluster_RefreshRate *msg, upb_arena *arena)
Definition: cds.upb.h:1160
UPB_INLINE void envoy_api_v2_Cluster_TransportSocketMatch_set_match(envoy_api_v2_Cluster_TransportSocketMatch *msg, struct google_protobuf_Struct *value)
Definition: cds.upb.h:701
UPB_INLINE struct envoy_api_v2_cluster_Filter ** envoy_api_v2_Cluster_mutable_filters(envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:617
UPB_INLINE char * envoy_api_v2_Cluster_serialize(const envoy_api_v2_Cluster *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:182
const upb_msglayout envoy_api_v2_core_HttpProtocolOptions_msginit
Definition: protocol.upb.c:34
UPB_INLINE envoy_api_v2_Cluster_CommonLbConfig * envoy_api_v2_Cluster_CommonLbConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:986
UPB_INLINE int32_t envoy_api_v2_Cluster_lb_policy(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:207
const upb_msglayout envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit
Definition: cds.upb.c:319
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry * envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:1175
UPB_INLINE struct envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry * envoy_api_v2_Cluster_add_typed_extension_protocol_options(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:583
UPB_INLINE char * envoy_api_v2_Cluster_OriginalDstLbConfig_serialize(const envoy_api_v2_Cluster_OriginalDstLbConfig *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:971
UPB_INLINE envoy_api_v2_Cluster * envoy_api_v2_Cluster_new(upb_arena *arena)
Definition: cds.upb.h:174
UPB_INLINE const struct envoy_api_v2_core_ConfigSource * envoy_api_v2_Cluster_EdsClusterConfig_eds_config(const envoy_api_v2_Cluster_EdsClusterConfig *msg)
Definition: cds.upb.h:773
UPB_INLINE envoy_api_v2_Cluster_lb_config_oneofcases envoy_api_v2_Cluster_lb_config_case(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:199
UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_has_locality_weighted_lb_config(const envoy_api_v2_Cluster_CommonLbConfig *msg)
Definition: cds.upb.h:1005
UPB_INLINE struct google_protobuf_Struct * envoy_api_v2_LoadBalancingPolicy_Policy_mutable_config(envoy_api_v2_LoadBalancingPolicy_Policy *msg, upb_arena *arena)
Definition: cds.upb.h:1290
const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_msginit
Definition: cds.upb.c:251
struct envoy_api_v2_core_Http2ProtocolOptions envoy_api_v2_core_Http2ProtocolOptions
Definition: protocol.upb.h:31
UPB_INLINE struct envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig * envoy_api_v2_Cluster_CommonLbConfig_mutable_locality_weighted_lb_config(envoy_api_v2_Cluster_CommonLbConfig *msg, upb_arena *arena)
Definition: cds.upb.h:1038
UPB_INLINE char * envoy_api_v2_UpstreamConnectionOptions_serialize(const envoy_api_v2_UpstreamConnectionOptions *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:1351
UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_close_connections_on_host_set_change(const envoy_api_v2_Cluster_CommonLbConfig *msg)
Definition: cds.upb.h:1009
envoy_api_v2_Cluster_DnsLookupFamily
Definition: cds.upb.h:136
UPB_INLINE void envoy_api_v2_Cluster_set_upstream_bind_config(envoy_api_v2_Cluster *msg, struct envoy_api_v2_core_BindConfig *value)
Definition: cds.upb.h:432
UPB_INLINE const envoy_api_v2_Cluster_CustomClusterType * envoy_api_v2_Cluster_cluster_type(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:241
UPB_INLINE void envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_set_key(envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, upb_strview value)
Definition: cds.upb.h:1220
struct envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry
Definition: cds.upb.h:56
UPB_INLINE void envoy_api_v2_LoadBalancingPolicy_Policy_set_config(envoy_api_v2_LoadBalancingPolicy_Policy *msg, struct google_protobuf_Struct *value)
Definition: cds.upb.h:1287
UPB_INLINE void envoy_api_v2_Cluster_set_drain_connections_on_host_removal(envoy_api_v2_Cluster *msg, bool value)
Definition: cds.upb.h:537
UPB_INLINE char * envoy_api_v2_Cluster_CommonLbConfig_serialize(const envoy_api_v2_Cluster_CommonLbConfig *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:991
UPB_INLINE envoy_api_v2_UpstreamConnectionOptions * envoy_api_v2_UpstreamConnectionOptions_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:1346
UPB_INLINE void envoy_api_v2_Cluster_set_dns_lookup_family(envoy_api_v2_Cluster *msg, int32_t value)
Definition: cds.upb.h:392
const upb_msglayout envoy_api_v2_Cluster_LbSubsetConfig_msginit
Definition: cds.upb.c:178
UPB_INLINE struct google_protobuf_Struct * envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_mutable_value(envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, upb_arena *arena)
Definition: cds.upb.h:1193
UPB_INLINE struct envoy_api_v2_core_Address ** envoy_api_v2_Cluster_resize_dns_resolvers(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:398
UPB_INLINE const struct envoy_api_v2_auth_UpstreamTlsContext * envoy_api_v2_Cluster_tls_context(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:212
const upb_msglayout envoy_api_v2_core_HealthCheck_msginit
Definition: health_check.upb.c:55
UPB_INLINE void envoy_api_v2_UpstreamConnectionOptions_set_tcp_keepalive(envoy_api_v2_UpstreamConnectionOptions *msg, struct envoy_api_v2_core_TcpKeepalive *value)
Definition: cds.upb.h:1357
UPB_INLINE char * envoy_api_v2_LoadBalancingPolicy_serialize(const envoy_api_v2_LoadBalancingPolicy *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:1246
UPB_INLINE int32_t envoy_api_v2_Cluster_LbSubsetConfig_fallback_policy(const envoy_api_v2_Cluster_LbSubsetConfig *msg)
Definition: cds.upb.h:806
const upb_msglayout envoy_api_v2_Cluster_EdsClusterConfig_msginit
Definition: cds.upb.c:157
struct envoy_api_v2_Cluster_OriginalDstLbConfig envoy_api_v2_Cluster_OriginalDstLbConfig
Definition: cds.upb.h:50
struct envoy_api_v2_Cluster_CommonLbConfig envoy_api_v2_Cluster_CommonLbConfig
Definition: cds.upb.h:51
Definition: cds.upb.h:145
UPB_INLINE struct envoy_api_v2_cluster_OutlierDetection * envoy_api_v2_Cluster_mutable_outlier_detection(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:411
const upb_msglayout envoy_api_v2_core_Http1ProtocolOptions_msginit
Definition: protocol.upb.c:50
const upb_msglayout envoy_api_v2_core_BindConfig_msginit
Definition: address.upb.c:71
UPB_INLINE int32_t envoy_api_v2_Cluster_RingHashLbConfig_hash_function(const envoy_api_v2_Cluster_RingHashLbConfig *msg)
Definition: cds.upb.h:930
UPB_INLINE envoy_api_v2_Cluster_OriginalDstLbConfig * envoy_api_v2_Cluster_OriginalDstLbConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:966
UPB_INLINE upb_strview envoy_api_v2_Cluster_alt_stat_name(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:228
UPB_INLINE struct google_protobuf_UInt64Value * envoy_api_v2_Cluster_RingHashLbConfig_mutable_maximum_ring_size(envoy_api_v2_Cluster_RingHashLbConfig *msg, upb_arena *arena)
Definition: cds.upb.h:951
UPB_INLINE void envoy_api_v2_Cluster_set_metadata(envoy_api_v2_Cluster *msg, struct envoy_api_v2_core_Metadata *value)
Definition: cds.upb.h:480
UPB_INLINE void envoy_api_v2_Cluster_set_circuit_breakers(envoy_api_v2_Cluster *msg, struct envoy_api_v2_cluster_CircuitBreakers *value)
Definition: cds.upb.h:332
envoy_api_v2_Cluster_ClusterProtocolSelection
Definition: cds.upb.h:123
UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_fail_traffic_on_panic(const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg)
Definition: cds.upb.h:1082
struct envoy_api_v2_ClusterLoadAssignment envoy_api_v2_ClusterLoadAssignment
Definition: eds.upb.h:27
UPB_INLINE void envoy_api_v2_Cluster_set_load_balancing_policy(envoy_api_v2_Cluster *msg, envoy_api_v2_LoadBalancingPolicy *value)
Definition: cds.upb.h:630
UPB_INLINE void envoy_api_v2_UpstreamBindConfig_set_source_address(envoy_api_v2_UpstreamBindConfig *msg, struct envoy_api_v2_core_Address *value)
Definition: cds.upb.h:1328
struct envoy_api_v2_core_Http1ProtocolOptions envoy_api_v2_core_Http1ProtocolOptions
Definition: protocol.upb.h:30
UPB_INLINE envoy_api_v2_LoadBalancingPolicy * envoy_api_v2_LoadBalancingPolicy_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:1241
const upb_msglayout envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit
Definition: cds.upb.c:304
struct envoy_api_v2_cluster_OutlierDetection envoy_api_v2_cluster_OutlierDetection
Definition: outlier_detection.upb.h:24
struct envoy_api_v2_Cluster_LbSubsetConfig envoy_api_v2_Cluster_LbSubsetConfig
Definition: cds.upb.h:46
UPB_INLINE bool envoy_api_v2_Cluster_LbSubsetConfig_locality_weight_aware(const envoy_api_v2_Cluster_LbSubsetConfig *msg)
Definition: cds.upb.h:809
struct envoy_api_v2_core_TcpKeepalive envoy_api_v2_core_TcpKeepalive
Definition: address.upb.h:31
const upb_msglayout envoy_api_v2_core_Address_msginit
Definition: address.upb.c:87
UPB_INLINE void envoy_api_v2_Cluster_set_original_dst_lb_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_OriginalDstLbConfig *value)
Definition: cds.upb.h:552
UPB_INLINE envoy_api_v2_Cluster_LeastRequestLbConfig * envoy_api_v2_Cluster_LeastRequestLbConfig_new(upb_arena *arena)
Definition: cds.upb.h:888
UPB_INLINE char * envoy_api_v2_Cluster_EdsClusterConfig_serialize(const envoy_api_v2_Cluster_EdsClusterConfig *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:769
UPB_INLINE const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *const * envoy_api_v2_Cluster_typed_extension_protocol_options(const envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:237
UPB_INLINE struct google_protobuf_Any * envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_mutable_value(envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, upb_arena *arena)
Definition: cds.upb.h:1226
UPB_INLINE const envoy_api_v2_Cluster_CommonLbConfig * envoy_api_v2_Cluster_common_lb_config(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:227
UPB_INLINE const struct google_protobuf_UInt64Value * envoy_api_v2_Cluster_RingHashLbConfig_minimum_ring_size(const envoy_api_v2_Cluster_RingHashLbConfig *msg)
Definition: cds.upb.h:929
UPB_INLINE void envoy_api_v2_Cluster_set_http2_protocol_options(envoy_api_v2_Cluster *msg, struct envoy_api_v2_core_Http2ProtocolOptions *value)
Definition: cds.upb.h:368
UPB_INLINE int32_t envoy_api_v2_Cluster_dns_lookup_family(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:216
UPB_INLINE void envoy_api_v2_Cluster_TransportSocketMatch_set_transport_socket(envoy_api_v2_Cluster_TransportSocketMatch *msg, struct envoy_api_v2_core_TransportSocket *value)
Definition: cds.upb.h:713
UPB_INLINE void envoy_api_v2_Cluster_set_type(envoy_api_v2_Cluster *msg, int32_t value)
Definition: cds.upb.h:252
UPB_INLINE char * envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_serialize(const envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:865
UPB_INLINE int32_t envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_fallback_policy(const envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *msg)
Definition: cds.upb.h:870
struct envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector
Definition: cds.upb.h:47
UPB_INLINE void envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_set_key(envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, upb_strview value)
Definition: cds.upb.h:1187
struct google_protobuf_UInt64Value google_protobuf_UInt64Value
Definition: wrappers.upb.h:35
UPB_INLINE struct google_protobuf_Duration * envoy_api_v2_Cluster_mutable_dns_refresh_rate(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:383
UPB_INLINE void envoy_api_v2_Cluster_set_eds_cluster_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_EdsClusterConfig *value)
Definition: cds.upb.h:255
UPB_INLINE struct envoy_api_v2_core_ConfigSource * envoy_api_v2_Cluster_mutable_lrs_server(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:645
UPB_INLINE envoy_api_v2_Cluster_TransportSocketMatch ** envoy_api_v2_Cluster_mutable_transport_socket_matches(envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:654
UPB_INLINE struct envoy_api_v2_Cluster_RingHashLbConfig * envoy_api_v2_Cluster_mutable_ring_hash_lb_config(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:459
UPB_INLINE envoy_api_v2_Cluster_TransportSocketMatch * envoy_api_v2_Cluster_TransportSocketMatch_new(upb_arena *arena)
Definition: cds.upb.h:682
const upb_msglayout google_protobuf_UInt32Value_msginit
Definition: wrappers.upb.c:69
Definition: cds.upb.h:132
envoy_api_v2_Cluster_cluster_discovery_type_oneofcases
Definition: cds.upb.h:186
UPB_INLINE struct envoy_api_v2_core_Address * envoy_api_v2_UpstreamBindConfig_mutable_source_address(envoy_api_v2_UpstreamBindConfig *msg, upb_arena *arena)
Definition: cds.upb.h:1331
const upb_msglayout envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_msginit
Definition: cds.upb.c:189
const upb_msglayout google_protobuf_Duration_msginit
Definition: duration.upb.c:20
envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetFallbackPolicy
Definition: cds.upb.h:153
UPB_INLINE void envoy_api_v2_Cluster_LbSubsetConfig_set_panic_mode_any(envoy_api_v2_Cluster_LbSubsetConfig *msg, bool value)
Definition: cds.upb.h:848
UPB_INLINE const struct envoy_api_v2_core_TcpKeepalive * envoy_api_v2_UpstreamConnectionOptions_tcp_keepalive(const envoy_api_v2_UpstreamConnectionOptions *msg)
Definition: cds.upb.h:1355
UPB_INLINE upb_strview envoy_api_v2_LoadBalancingPolicy_Policy_name(const envoy_api_v2_LoadBalancingPolicy_Policy *msg)
Definition: cds.upb.h:1280
UPB_INLINE envoy_api_v2_Cluster_CommonLbConfig_locality_config_specifier_oneofcases envoy_api_v2_Cluster_CommonLbConfig_locality_config_specifier_case(const envoy_api_v2_Cluster_CommonLbConfig *msg)
Definition: cds.upb.h:1000
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_set_ignore_new_hosts_until_first_hc(envoy_api_v2_Cluster_CommonLbConfig *msg, bool value)
Definition: cds.upb.h:1059
struct envoy_type_Percent envoy_type_Percent
Definition: percent.upb.h:25
UPB_INLINE struct envoy_api_v2_core_ConfigSource * envoy_api_v2_Cluster_EdsClusterConfig_mutable_eds_config(envoy_api_v2_Cluster_EdsClusterConfig *msg, upb_arena *arena)
Definition: cds.upb.h:779
UPB_INLINE envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig * envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_new(upb_arena *arena)
Definition: cds.upb.h:1068
struct envoy_api_v2_auth_UpstreamTlsContext envoy_api_v2_auth_UpstreamTlsContext
Definition: cert.upb.h:41
UPB_INLINE upb_strview envoy_api_v2_Cluster_CustomClusterType_name(const envoy_api_v2_Cluster_CustomClusterType *msg)
Definition: cds.upb.h:740
const upb_msglayout envoy_api_v2_LoadBalancingPolicy_msginit
Definition: cds.upb.c:333
Definition: cds.upb.h:131
UPB_INLINE void envoy_api_v2_Cluster_set_ring_hash_lb_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_RingHashLbConfig *value)
Definition: cds.upb.h:456
UPB_INLINE void envoy_api_v2_Cluster_set_dns_refresh_rate(envoy_api_v2_Cluster *msg, struct google_protobuf_Duration *value)
Definition: cds.upb.h:380
UPB_INLINE upb_strview const * envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_keys(const envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *msg, size_t *len)
Definition: cds.upb.h:869
UPB_INLINE struct envoy_api_v2_cluster_Filter ** envoy_api_v2_Cluster_resize_filters(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:620
UPB_INLINE envoy_api_v2_Cluster_LeastRequestLbConfig * envoy_api_v2_Cluster_LeastRequestLbConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:891
UPB_INLINE void envoy_api_v2_Cluster_set_upstream_connection_options(envoy_api_v2_Cluster *msg, envoy_api_v2_UpstreamConnectionOptions *value)
Definition: cds.upb.h:522
UPB_INLINE struct envoy_api_v2_core_Address ** envoy_api_v2_Cluster_mutable_dns_resolvers(envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:395
UPB_INLINE int32_t envoy_api_v2_Cluster_protocol_selection(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:226
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_Cluster_per_connection_buffer_limit_bytes(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:206
UPB_INLINE void envoy_api_v2_Cluster_set_least_request_lb_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_LeastRequestLbConfig *value)
Definition: cds.upb.h:590
UPB_INLINE struct envoy_api_v2_Cluster_LeastRequestLbConfig * envoy_api_v2_Cluster_mutable_least_request_lb_config(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:593
struct envoy_api_v2_LoadBalancingPolicy_Policy envoy_api_v2_LoadBalancingPolicy_Policy
Definition: cds.upb.h:58
UPB_INLINE const struct envoy_api_v2_core_HttpProtocolOptions * envoy_api_v2_Cluster_common_http_protocol_options(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:229
UPB_INLINE struct envoy_api_v2_Cluster_LbSubsetConfig * envoy_api_v2_Cluster_mutable_lb_subset_config(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:447
UPB_INLINE char * envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_serialize(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:1213
struct envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig
Definition: cds.upb.h:52
UPB_INLINE struct envoy_api_v2_ClusterLoadAssignment * envoy_api_v2_Cluster_mutable_load_assignment(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:543
UPB_INLINE char * envoy_api_v2_Cluster_TransportSocketMatch_serialize(const envoy_api_v2_Cluster_TransportSocketMatch *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:690
envoy_api_v2_Cluster_RingHashLbConfig_HashFunction
Definition: cds.upb.h:166
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_min_cluster_size(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, struct google_protobuf_UInt64Value *value)
Definition: cds.upb.h:1096
UPB_INLINE const envoy_api_v2_LoadBalancingPolicy * envoy_api_v2_Cluster_load_balancing_policy(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:244
UPB_INLINE envoy_api_v2_LoadBalancingPolicy_Policy ** envoy_api_v2_LoadBalancingPolicy_resize_policies(envoy_api_v2_LoadBalancingPolicy *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:1255
UPB_INLINE bool envoy_api_v2_Cluster_respect_dns_ttl(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:242
UPB_INLINE void envoy_api_v2_Cluster_RefreshRate_set_max_interval(envoy_api_v2_Cluster_RefreshRate *msg, struct google_protobuf_Duration *value)
Definition: cds.upb.h:1157
UPB_INLINE void envoy_api_v2_Cluster_CustomClusterType_set_typed_config(envoy_api_v2_Cluster_CustomClusterType *msg, struct google_protobuf_Any *value)
Definition: cds.upb.h:746
UPB_INLINE struct envoy_api_v2_Cluster_CustomClusterType * envoy_api_v2_Cluster_mutable_cluster_type(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:605
UPB_INLINE struct envoy_api_v2_core_TransportSocket * envoy_api_v2_Cluster_mutable_transport_socket(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:471
UPB_INLINE void envoy_api_v2_Cluster_set_lrs_server(envoy_api_v2_Cluster *msg, struct envoy_api_v2_core_ConfigSource *value)
Definition: cds.upb.h:642
UPB_INLINE bool envoy_api_v2_Cluster_LbSubsetConfig_panic_mode_any(const envoy_api_v2_Cluster_LbSubsetConfig *msg)
Definition: cds.upb.h:811
UPB_INLINE void envoy_api_v2_Cluster_EdsClusterConfig_set_eds_config(envoy_api_v2_Cluster_EdsClusterConfig *msg, struct envoy_api_v2_core_ConfigSource *value)
Definition: cds.upb.h:776
const upb_msglayout envoy_api_v2_core_TransportSocket_msginit
Definition: base.upb.c:202
Definition: cds.upb.h:130
UPB_INLINE char * envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_serialize(const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:1076
UPB_INLINE envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig * envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:1071
struct envoy_api_v2_UpstreamBindConfig envoy_api_v2_UpstreamBindConfig
Definition: cds.upb.h:59
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_Cluster_LeastRequestLbConfig_mutable_choice_count(envoy_api_v2_Cluster_LeastRequestLbConfig *msg, upb_arena *arena)
Definition: cds.upb.h:905
UPB_INLINE void envoy_api_v2_Cluster_LbSubsetConfig_set_locality_weight_aware(envoy_api_v2_Cluster_LbSubsetConfig *msg, bool value)
Definition: cds.upb.h:842
UPB_INLINE envoy_api_v2_Cluster_CommonLbConfig * envoy_api_v2_Cluster_CommonLbConfig_new(upb_arena *arena)
Definition: cds.upb.h:983
UPB_INLINE struct envoy_api_v2_Cluster_EdsClusterConfig * envoy_api_v2_Cluster_mutable_eds_cluster_config(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:258
UPB_INLINE envoy_api_v2_UpstreamBindConfig * envoy_api_v2_UpstreamBindConfig_new(upb_arena *arena)
Definition: cds.upb.h:1314
UPB_INLINE bool envoy_api_v2_Cluster_LbSubsetConfig_scale_locality_weight(const envoy_api_v2_Cluster_LbSubsetConfig *msg)
Definition: cds.upb.h:810
Definition: cds.upb.h:133
UPB_INLINE upb_strview envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_key(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg)
Definition: cds.upb.h:1184
UPB_INLINE envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector ** envoy_api_v2_Cluster_LbSubsetConfig_resize_subset_selectors(envoy_api_v2_Cluster_LbSubsetConfig *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:832
UPB_INLINE void envoy_api_v2_Cluster_set_per_connection_buffer_limit_bytes(envoy_api_v2_Cluster *msg, struct google_protobuf_UInt32Value *value)
Definition: cds.upb.h:279
UPB_INLINE const struct envoy_api_v2_cluster_Filter *const * envoy_api_v2_Cluster_filters(const envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:243
UPB_INLINE void envoy_api_v2_Cluster_set_common_lb_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_CommonLbConfig *value)
Definition: cds.upb.h:495
struct google_protobuf_Any google_protobuf_Any
Definition: any.upb.h:24
UPB_INLINE struct envoy_api_v2_core_Address ** envoy_api_v2_Cluster_mutable_hosts(envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:294
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry ** envoy_api_v2_Cluster_mutable_typed_extension_protocol_options(envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:577
struct envoy_api_v2_LoadBalancingPolicy envoy_api_v2_LoadBalancingPolicy
Definition: cds.upb.h:57
struct envoy_api_v2_cluster_Filter envoy_api_v2_cluster_Filter
Definition: filter.upb.h:24
UPB_INLINE envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig * envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_new(upb_arena *arena)
Definition: cds.upb.h:1114
UPB_INLINE envoy_api_v2_LoadBalancingPolicy * envoy_api_v2_LoadBalancingPolicy_new(upb_arena *arena)
Definition: cds.upb.h:1238
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_fail_traffic_on_panic(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, bool value)
Definition: cds.upb.h:1108
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_set_locality_weighted_lb_config(envoy_api_v2_Cluster_CommonLbConfig *msg, envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig *value)
Definition: cds.upb.h:1035
UPB_INLINE char * envoy_api_v2_Cluster_LbSubsetConfig_serialize(const envoy_api_v2_Cluster_LbSubsetConfig *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:802
Definition: cds.upb.h:147
UPB_INLINE void envoy_api_v2_Cluster_set_load_assignment(envoy_api_v2_Cluster *msg, struct envoy_api_v2_ClusterLoadAssignment *value)
Definition: cds.upb.h:540
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry * envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_new(upb_arena *arena)
Definition: cds.upb.h:1205
Definition: cds.upb.h:138
Definition: cds.upb.h:149
UPB_INLINE const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig * envoy_api_v2_Cluster_CommonLbConfig_zone_aware_lb_config(const envoy_api_v2_Cluster_CommonLbConfig *msg)
Definition: cds.upb.h:1004
UPB_INLINE bool envoy_api_v2_Cluster_drain_connections_on_host_removal(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:232
const upb_msglayout envoy_api_v2_Cluster_msginit
Definition: cds.upb.c:110
UPB_INLINE envoy_api_v2_Cluster_LbSubsetConfig * envoy_api_v2_Cluster_LbSubsetConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:797
UPB_INLINE void envoy_api_v2_Cluster_set_lb_subset_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_LbSubsetConfig *value)
Definition: cds.upb.h:444
UPB_INLINE void envoy_api_v2_Cluster_set_close_connections_on_host_health_failure(envoy_api_v2_Cluster *msg, bool value)
Definition: cds.upb.h:534
UPB_INLINE struct google_protobuf_Duration * envoy_api_v2_Cluster_mutable_connect_timeout(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:270
UPB_INLINE struct envoy_api_v2_core_Address * envoy_api_v2_Cluster_add_hosts(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:300
envoy_api_v2_Cluster_CommonLbConfig_locality_config_specifier_oneofcases
Definition: cds.upb.h:995
UPB_INLINE envoy_api_v2_UpstreamConnectionOptions * envoy_api_v2_UpstreamConnectionOptions_new(upb_arena *arena)
Definition: cds.upb.h:1343
const upb_msglayout envoy_api_v2_core_Metadata_msginit
Definition: base.upb.c:60
const upb_msglayout envoy_api_v2_LoadBalancingPolicy_Policy_msginit
Definition: cds.upb.c:350
UPB_INLINE envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig * envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:1117
struct envoy_api_v2_cluster_CircuitBreakers envoy_api_v2_cluster_CircuitBreakers
Definition: circuit_breaker.upb.h:25
Definition: cds.upb.h:148
UPB_INLINE struct envoy_api_v2_core_Metadata * envoy_api_v2_Cluster_mutable_metadata(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:483
UPB_INLINE struct envoy_api_v2_cluster_Filter * envoy_api_v2_Cluster_add_filters(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:623
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry ** envoy_api_v2_Cluster_resize_extension_protocol_options(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena)
Definition: cds.upb.h:567
UPB_INLINE void envoy_api_v2_Cluster_LeastRequestLbConfig_set_choice_count(envoy_api_v2_Cluster_LeastRequestLbConfig *msg, struct google_protobuf_UInt32Value *value)
Definition: cds.upb.h:902
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry * envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:1208
UPB_INLINE const struct envoy_api_v2_cluster_OutlierDetection * envoy_api_v2_Cluster_outlier_detection(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:218
UPB_INLINE struct google_protobuf_Duration * envoy_api_v2_Cluster_mutable_cleanup_interval(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:423
UPB_INLINE envoy_api_v2_UpstreamBindConfig * envoy_api_v2_UpstreamBindConfig_parse(const char *buf, size_t size, upb_arena *arena)
Definition: cds.upb.h:1317
UPB_INLINE upb_strview envoy_api_v2_Cluster_TransportSocketMatch_name(const envoy_api_v2_Cluster_TransportSocketMatch *msg)
Definition: cds.upb.h:694
UPB_INLINE void envoy_api_v2_Cluster_set_cluster_type(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_CustomClusterType *value)
Definition: cds.upb.h:602
UPB_INLINE const struct envoy_api_v2_core_ConfigSource * envoy_api_v2_Cluster_lrs_server(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:245
UPB_INLINE void envoy_api_v2_Cluster_RingHashLbConfig_set_hash_function(envoy_api_v2_Cluster_RingHashLbConfig *msg, int32_t value)
Definition: cds.upb.h:945
struct google_protobuf_Duration google_protobuf_Duration
Definition: duration.upb.h:24
UPB_INLINE envoy_api_v2_Cluster_CustomClusterType * envoy_api_v2_Cluster_CustomClusterType_new(upb_arena *arena)
Definition: cds.upb.h:728
UPB_INLINE struct envoy_api_v2_LoadBalancingPolicy_Policy * envoy_api_v2_LoadBalancingPolicy_add_policies(envoy_api_v2_LoadBalancingPolicy *msg, upb_arena *arena)
Definition: cds.upb.h:1258
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry ** envoy_api_v2_Cluster_mutable_extension_protocol_options(envoy_api_v2_Cluster *msg, size_t *len)
Definition: cds.upb.h:564
const upb_msglayout envoy_api_v2_cluster_CircuitBreakers_msginit
Definition: circuit_breaker.upb.c:25
UPB_INLINE envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector ** envoy_api_v2_Cluster_LbSubsetConfig_mutable_subset_selectors(envoy_api_v2_Cluster_LbSubsetConfig *msg, size_t *len)
Definition: cds.upb.h:829
UPB_INLINE const envoy_api_v2_UpstreamConnectionOptions * envoy_api_v2_Cluster_upstream_connection_options(const envoy_api_v2_Cluster *msg)
Definition: cds.upb.h:230
UPB_INLINE struct envoy_api_v2_Cluster_OriginalDstLbConfig * envoy_api_v2_Cluster_mutable_original_dst_lb_config(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:555
UPB_INLINE void envoy_api_v2_Cluster_TransportSocketMatch_set_name(envoy_api_v2_Cluster_TransportSocketMatch *msg, upb_strview value)
Definition: cds.upb.h:698
UPB_INLINE struct envoy_type_Percent * envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_mutable_routing_enabled(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, upb_arena *arena)
Definition: cds.upb.h:1087
UPB_INLINE void envoy_api_v2_Cluster_set_max_requests_per_connection(envoy_api_v2_Cluster *msg, struct google_protobuf_UInt32Value *value)
Definition: cds.upb.h:320
UPB_INLINE struct google_protobuf_Duration * envoy_api_v2_Cluster_RefreshRate_mutable_base_interval(envoy_api_v2_Cluster_RefreshRate *msg, upb_arena *arena)
Definition: cds.upb.h:1148
UPB_INLINE struct envoy_api_v2_core_BindConfig * envoy_api_v2_Cluster_mutable_upstream_bind_config(envoy_api_v2_Cluster *msg, upb_arena *arena)
Definition: cds.upb.h:435
UPB_INLINE char * envoy_api_v2_UpstreamBindConfig_serialize(const envoy_api_v2_UpstreamBindConfig *msg, upb_arena *arena, size_t *len)
Definition: cds.upb.h:1322
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_set_update_merge_window(envoy_api_v2_Cluster_CommonLbConfig *msg, struct google_protobuf_Duration *value)
Definition: cds.upb.h:1047
UPB_INLINE envoy_api_v2_Cluster_OriginalDstLbConfig * envoy_api_v2_Cluster_OriginalDstLbConfig_new(upb_arena *arena)
Definition: cds.upb.h:963
UPB_INLINE const struct google_protobuf_UInt64Value * envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_min_cluster_size(const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg)
Definition: cds.upb.h:1081
UPB_INLINE const envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig * envoy_api_v2_Cluster_CommonLbConfig_locality_weighted_lb_config(const envoy_api_v2_Cluster_CommonLbConfig *msg)
Definition: cds.upb.h:1006
UPB_INLINE void envoy_api_v2_Cluster_RefreshRate_set_base_interval(envoy_api_v2_Cluster_RefreshRate *msg, struct google_protobuf_Duration *value)
Definition: cds.upb.h:1145
UPB_INLINE upb_strview * envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_mutable_keys(envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector *msg, size_t *len)
Definition: cds.upb.h:872
UPB_INLINE void envoy_api_v2_Cluster_set_tls_context(envoy_api_v2_Cluster *msg, struct envoy_api_v2_auth_UpstreamTlsContext *value)
Definition: cds.upb.h:344
UPB_INLINE void envoy_api_v2_Cluster_set_connect_timeout(envoy_api_v2_Cluster *msg, struct google_protobuf_Duration *value)
Definition: cds.upb.h:267
UPB_INLINE const struct google_protobuf_Duration * envoy_api_v2_Cluster_RefreshRate_base_interval(const envoy_api_v2_Cluster_RefreshRate *msg)
Definition: cds.upb.h:1142