9 #ifndef ENVOY_API_V2_CLUSTER_CIRCUIT_BREAKER_PROTO_UPB_H_
10 #define ENVOY_API_V2_CLUSTER_CIRCUIT_BREAKER_PROTO_UPB_H_
12 #include "upb/generated_util.h"
14 #include "upb/decode.h"
15 #include "upb/encode.h"
17 #include "upb/port_def.inc"
57 bool ok = _upb_array_append_accessor(
58 msg, UPB_SIZE(0, 0), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
86 UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
95 if (!sub)
return NULL;
107 if (!sub)
return NULL;
119 if (!sub)
return NULL;
131 if (!sub)
return NULL;
137 UPB_FIELD_AT(msg,
bool, UPB_SIZE(8, 8)) = value;
146 if (!sub)
return NULL;
156 #include "upb/port_undef.inc"
UPB_INLINE const envoy_api_v2_cluster_CircuitBreakers_Thresholds *const * envoy_api_v2_cluster_CircuitBreakers_thresholds(const envoy_api_v2_cluster_CircuitBreakers *msg, size_t *len)
Definition: circuit_breaker.upb.h:47
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_mutable_max_requests(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, upb_arena *arena)
Definition: circuit_breaker.upb.h:115
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_mutable_max_retries(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, upb_arena *arena)
Definition: circuit_breaker.upb.h:127
UPB_INLINE envoy_api_v2_cluster_CircuitBreakers_Thresholds ** envoy_api_v2_cluster_CircuitBreakers_resize_thresholds(envoy_api_v2_cluster_CircuitBreakers *msg, size_t len, upb_arena *arena)
Definition: circuit_breaker.upb.h:52
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_max_connections(const envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg)
Definition: circuit_breaker.upb.h:78
UPB_INLINE envoy_api_v2_cluster_CircuitBreakers_Thresholds * envoy_api_v2_cluster_CircuitBreakers_Thresholds_parse(const char *buf, size_t size, upb_arena *arena)
Definition: circuit_breaker.upb.h:68
UPB_INLINE envoy_api_v2_cluster_CircuitBreakers_Thresholds * envoy_api_v2_cluster_CircuitBreakers_Thresholds_new(upb_arena *arena)
Definition: circuit_breaker.upb.h:65
const upb_msglayout envoy_api_v2_cluster_CircuitBreakers_msginit
Definition: circuit_breaker.upb.c:25
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_mutable_max_connection_pools(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, upb_arena *arena)
Definition: circuit_breaker.upb.h:142
const upb_msglayout envoy_api_v2_cluster_CircuitBreakers_Thresholds_msginit
Definition: circuit_breaker.upb.c:45
const upb_msglayout google_protobuf_UInt32Value_msginit
Definition: wrappers.upb.c:69
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_max_requests(const envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg)
Definition: circuit_breaker.upb.h:80
UPB_INLINE void envoy_api_v2_cluster_CircuitBreakers_Thresholds_set_track_remaining(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, bool value)
Definition: circuit_breaker.upb.h:136
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_max_connection_pools(const envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg)
Definition: circuit_breaker.upb.h:83
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_mutable_max_connections(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, upb_arena *arena)
Definition: circuit_breaker.upb.h:91
UPB_INLINE void envoy_api_v2_cluster_CircuitBreakers_Thresholds_set_max_connections(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, struct google_protobuf_UInt32Value *value)
Definition: circuit_breaker.upb.h:88
UPB_INLINE envoy_api_v2_cluster_CircuitBreakers_Thresholds ** envoy_api_v2_cluster_CircuitBreakers_mutable_thresholds(envoy_api_v2_cluster_CircuitBreakers *msg, size_t *len)
Definition: circuit_breaker.upb.h:49
struct envoy_api_v2_cluster_CircuitBreakers envoy_api_v2_cluster_CircuitBreakers
Definition: circuit_breaker.upb.h:25
UPB_INLINE struct envoy_api_v2_cluster_CircuitBreakers_Thresholds * envoy_api_v2_cluster_CircuitBreakers_add_thresholds(envoy_api_v2_cluster_CircuitBreakers *msg, upb_arena *arena)
Definition: circuit_breaker.upb.h:55
UPB_INLINE void envoy_api_v2_cluster_CircuitBreakers_Thresholds_set_max_connection_pools(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, struct google_protobuf_UInt32Value *value)
Definition: circuit_breaker.upb.h:139
UPB_INLINE void envoy_api_v2_cluster_CircuitBreakers_Thresholds_set_max_retries(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, struct google_protobuf_UInt32Value *value)
Definition: circuit_breaker.upb.h:124
UPB_INLINE envoy_api_v2_cluster_CircuitBreakers * envoy_api_v2_cluster_CircuitBreakers_parse(const char *buf, size_t size, upb_arena *arena)
Definition: circuit_breaker.upb.h:38
UPB_INLINE bool envoy_api_v2_cluster_CircuitBreakers_Thresholds_track_remaining(const envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg)
Definition: circuit_breaker.upb.h:82
UPB_INLINE char * envoy_api_v2_cluster_CircuitBreakers_serialize(const envoy_api_v2_cluster_CircuitBreakers *msg, upb_arena *arena, size_t *len)
Definition: circuit_breaker.upb.h:43
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_max_pending_requests(const envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg)
Definition: circuit_breaker.upb.h:79
UPB_INLINE void envoy_api_v2_cluster_CircuitBreakers_Thresholds_set_max_requests(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, struct google_protobuf_UInt32Value *value)
Definition: circuit_breaker.upb.h:112
UPB_INLINE const struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_max_retries(const envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg)
Definition: circuit_breaker.upb.h:81
UPB_INLINE struct google_protobuf_UInt32Value * envoy_api_v2_cluster_CircuitBreakers_Thresholds_mutable_max_pending_requests(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, upb_arena *arena)
Definition: circuit_breaker.upb.h:103
UPB_INLINE void envoy_api_v2_cluster_CircuitBreakers_Thresholds_set_max_pending_requests(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, struct google_protobuf_UInt32Value *value)
Definition: circuit_breaker.upb.h:100
UPB_INLINE void envoy_api_v2_cluster_CircuitBreakers_Thresholds_set_priority(envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, int32_t value)
Definition: circuit_breaker.upb.h:85
UPB_INLINE char * envoy_api_v2_cluster_CircuitBreakers_Thresholds_serialize(const envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg, upb_arena *arena, size_t *len)
Definition: circuit_breaker.upb.h:73
UPB_INLINE envoy_api_v2_cluster_CircuitBreakers * envoy_api_v2_cluster_CircuitBreakers_new(upb_arena *arena)
Definition: circuit_breaker.upb.h:35
UPB_INLINE int32_t envoy_api_v2_cluster_CircuitBreakers_Thresholds_priority(const envoy_api_v2_cluster_CircuitBreakers_Thresholds *msg)
Definition: circuit_breaker.upb.h:77
struct envoy_api_v2_cluster_CircuitBreakers_Thresholds envoy_api_v2_cluster_CircuitBreakers_Thresholds
Definition: circuit_breaker.upb.h:26
struct google_protobuf_UInt32Value google_protobuf_UInt32Value
Definition: wrappers.upb.h:37