xref: /aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     envoy/config/bootstrap/v3/bootstrap.proto
4  *
5  * Do not edit -- your changes will be discarded when the file is
6  * regenerated. */
7 
8 #ifndef ENVOY_CONFIG_BOOTSTRAP_V3_BOOTSTRAP_PROTO_UPB_H_
9 #define ENVOY_CONFIG_BOOTSTRAP_V3_BOOTSTRAP_PROTO_UPB_H_
10 
11 #include "upb/generated_code_support.h"
12 
13 #include "envoy/config/bootstrap/v3/bootstrap.upb_minitable.h"
14 
15 #include "envoy/config/accesslog/v3/accesslog.upb_minitable.h"
16 #include "envoy/config/cluster/v3/cluster.upb_minitable.h"
17 #include "envoy/config/core/v3/address.upb_minitable.h"
18 #include "envoy/config/core/v3/base.upb_minitable.h"
19 #include "envoy/config/core/v3/config_source.upb_minitable.h"
20 #include "envoy/config/core/v3/event_service_config.upb_minitable.h"
21 #include "envoy/config/core/v3/extension.upb_minitable.h"
22 #include "envoy/config/core/v3/resolver.upb_minitable.h"
23 #include "envoy/config/core/v3/socket_option.upb_minitable.h"
24 #include "envoy/config/listener/v3/listener.upb_minitable.h"
25 #include "envoy/config/metrics/v3/stats.upb_minitable.h"
26 #include "envoy/config/overload/v3/overload.upb_minitable.h"
27 #include "envoy/config/trace/v3/http_tracer.upb_minitable.h"
28 #include "envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h"
29 #include "envoy/type/v3/percent.upb_minitable.h"
30 #include "google/protobuf/duration.upb_minitable.h"
31 #include "google/protobuf/struct.upb_minitable.h"
32 #include "google/protobuf/wrappers.upb_minitable.h"
33 #include "envoy/annotations/deprecation.upb_minitable.h"
34 #include "udpa/annotations/migrate.upb_minitable.h"
35 #include "udpa/annotations/security.upb_minitable.h"
36 #include "udpa/annotations/status.upb_minitable.h"
37 #include "udpa/annotations/versioning.upb_minitable.h"
38 #include "validate/validate.upb_minitable.h"
39 
40 // Must be last.
41 #include "upb/port/def.inc"
42 
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46 
47 typedef struct envoy_config_bootstrap_v3_Bootstrap { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap;
48 typedef struct envoy_config_bootstrap_v3_Bootstrap_StaticResources { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_StaticResources;
49 typedef struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_DynamicResources;
50 typedef struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig;
51 typedef struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat;
52 typedef struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions;
53 typedef struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig;
54 typedef struct envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry;
55 typedef struct envoy_config_bootstrap_v3_Admin { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Admin;
56 typedef struct envoy_config_bootstrap_v3_ClusterManager { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_ClusterManager;
57 typedef struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_ClusterManager_OutlierDetection;
58 typedef struct envoy_config_bootstrap_v3_Watchdogs { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Watchdogs;
59 typedef struct envoy_config_bootstrap_v3_Watchdog { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Watchdog;
60 typedef struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Watchdog_WatchdogAction;
61 typedef struct envoy_config_bootstrap_v3_FatalAction { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_FatalAction;
62 typedef struct envoy_config_bootstrap_v3_Runtime { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_Runtime;
63 typedef struct envoy_config_bootstrap_v3_RuntimeLayer { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_RuntimeLayer;
64 typedef struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer;
65 typedef struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer;
66 typedef struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer;
67 typedef struct envoy_config_bootstrap_v3_LayeredRuntime { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_LayeredRuntime;
68 typedef struct envoy_config_bootstrap_v3_CustomInlineHeader { upb_Message UPB_PRIVATE(base); } envoy_config_bootstrap_v3_CustomInlineHeader;
69 struct envoy_config_accesslog_v3_AccessLog;
70 struct envoy_config_cluster_v3_Cluster;
71 struct envoy_config_core_v3_Address;
72 struct envoy_config_core_v3_ApiConfigSource;
73 struct envoy_config_core_v3_BindConfig;
74 struct envoy_config_core_v3_ConfigSource;
75 struct envoy_config_core_v3_DnsResolutionConfig;
76 struct envoy_config_core_v3_EventServiceConfig;
77 struct envoy_config_core_v3_Node;
78 struct envoy_config_core_v3_SocketOption;
79 struct envoy_config_core_v3_TypedExtensionConfig;
80 struct envoy_config_listener_v3_Listener;
81 struct envoy_config_metrics_v3_StatsConfig;
82 struct envoy_config_metrics_v3_StatsSink;
83 struct envoy_config_overload_v3_OverloadManager;
84 struct envoy_config_trace_v3_Tracing;
85 struct envoy_extensions_transport_sockets_tls_v3_Secret;
86 struct envoy_type_v3_Percent;
87 struct google_protobuf_Duration;
88 struct google_protobuf_Struct;
89 struct google_protobuf_UInt64Value;
90 
91 typedef enum {
92   envoy_config_bootstrap_v3_CustomInlineHeader_REQUEST_HEADER = 0,
93   envoy_config_bootstrap_v3_CustomInlineHeader_REQUEST_TRAILER = 1,
94   envoy_config_bootstrap_v3_CustomInlineHeader_RESPONSE_HEADER = 2,
95   envoy_config_bootstrap_v3_CustomInlineHeader_RESPONSE_TRAILER = 3
96 } envoy_config_bootstrap_v3_CustomInlineHeader_InlineHeaderType;
97 
98 typedef enum {
99   envoy_config_bootstrap_v3_Watchdog_WatchdogAction_UNKNOWN = 0,
100   envoy_config_bootstrap_v3_Watchdog_WatchdogAction_KILL = 1,
101   envoy_config_bootstrap_v3_Watchdog_WatchdogAction_MULTIKILL = 2,
102   envoy_config_bootstrap_v3_Watchdog_WatchdogAction_MEGAMISS = 3,
103   envoy_config_bootstrap_v3_Watchdog_WatchdogAction_MISS = 4
104 } envoy_config_bootstrap_v3_Watchdog_WatchdogAction_WatchdogEvent;
105 
106 
107 
108 /* envoy.config.bootstrap.v3.Bootstrap */
109 
envoy_config_bootstrap_v3_Bootstrap_new(upb_Arena * arena)110 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootstrap_new(upb_Arena* arena) {
111   return (envoy_config_bootstrap_v3_Bootstrap*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap_msg_init, arena);
112 }
envoy_config_bootstrap_v3_Bootstrap_parse(const char * buf,size_t size,upb_Arena * arena)113 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootstrap_parse(const char* buf, size_t size, upb_Arena* arena) {
114   envoy_config_bootstrap_v3_Bootstrap* ret = envoy_config_bootstrap_v3_Bootstrap_new(arena);
115   if (!ret) return NULL;
116   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap_msg_init, NULL, 0, arena) !=
117       kUpb_DecodeStatus_Ok) {
118     return NULL;
119   }
120   return ret;
121 }
envoy_config_bootstrap_v3_Bootstrap_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)122 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap* envoy_config_bootstrap_v3_Bootstrap_parse_ex(const char* buf, size_t size,
123                            const upb_ExtensionRegistry* extreg,
124                            int options, upb_Arena* arena) {
125   envoy_config_bootstrap_v3_Bootstrap* ret = envoy_config_bootstrap_v3_Bootstrap_new(arena);
126   if (!ret) return NULL;
127   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap_msg_init, extreg, options,
128                  arena) != kUpb_DecodeStatus_Ok) {
129     return NULL;
130   }
131   return ret;
132 }
envoy_config_bootstrap_v3_Bootstrap_serialize(const envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena,size_t * len)133 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_serialize(const envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena, size_t* len) {
134   char* ptr;
135   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap_msg_init, 0, arena, &ptr, len);
136   return ptr;
137 }
envoy_config_bootstrap_v3_Bootstrap_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap * msg,int options,upb_Arena * arena,size_t * len)138 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap* msg, int options,
139                                  upb_Arena* arena, size_t* len) {
140   char* ptr;
141   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap_msg_init, options, arena, &ptr, len);
142   return ptr;
143 }
144 typedef enum {
145   envoy_config_bootstrap_v3_Bootstrap_stats_flush_stats_flush_on_admin = 29,
146   envoy_config_bootstrap_v3_Bootstrap_stats_flush_NOT_SET = 0
147 } envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases;
envoy_config_bootstrap_v3_Bootstrap_stats_flush_case(const envoy_config_bootstrap_v3_Bootstrap * msg)148 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases envoy_config_bootstrap_v3_Bootstrap_stats_flush_case(const envoy_config_bootstrap_v3_Bootstrap* msg) {
149   const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
150   return (envoy_config_bootstrap_v3_Bootstrap_stats_flush_oneofcases)upb_Message_WhichOneofFieldNumber(
151       UPB_UPCAST(msg), &field);
152 }
envoy_config_bootstrap_v3_Bootstrap_clear_node(envoy_config_bootstrap_v3_Bootstrap * msg)153 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_node(envoy_config_bootstrap_v3_Bootstrap* msg) {
154   const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
155   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
156 }
envoy_config_bootstrap_v3_Bootstrap_node(const envoy_config_bootstrap_v3_Bootstrap * msg)157 UPB_INLINE const struct envoy_config_core_v3_Node* envoy_config_bootstrap_v3_Bootstrap_node(const envoy_config_bootstrap_v3_Bootstrap* msg) {
158   const struct envoy_config_core_v3_Node* default_val = NULL;
159   const struct envoy_config_core_v3_Node* ret;
160   const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
161   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
162                                     &default_val, &ret);
163   return ret;
164 }
envoy_config_bootstrap_v3_Bootstrap_has_node(const envoy_config_bootstrap_v3_Bootstrap * msg)165 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_node(const envoy_config_bootstrap_v3_Bootstrap* msg) {
166   const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
167   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
168 }
envoy_config_bootstrap_v3_Bootstrap_clear_static_resources(envoy_config_bootstrap_v3_Bootstrap * msg)169 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_static_resources(envoy_config_bootstrap_v3_Bootstrap* msg) {
170   const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
171   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
172 }
envoy_config_bootstrap_v3_Bootstrap_static_resources(const envoy_config_bootstrap_v3_Bootstrap * msg)173 UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_static_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) {
174   const envoy_config_bootstrap_v3_Bootstrap_StaticResources* default_val = NULL;
175   const envoy_config_bootstrap_v3_Bootstrap_StaticResources* ret;
176   const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
177   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
178                                     &default_val, &ret);
179   return ret;
180 }
envoy_config_bootstrap_v3_Bootstrap_has_static_resources(const envoy_config_bootstrap_v3_Bootstrap * msg)181 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_static_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) {
182   const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
183   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
184 }
envoy_config_bootstrap_v3_Bootstrap_clear_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap * msg)185 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap* msg) {
186   const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
187   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
188 }
envoy_config_bootstrap_v3_Bootstrap_dynamic_resources(const envoy_config_bootstrap_v3_Bootstrap * msg)189 UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_dynamic_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) {
190   const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* default_val = NULL;
191   const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* ret;
192   const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
193   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
194                                     &default_val, &ret);
195   return ret;
196 }
envoy_config_bootstrap_v3_Bootstrap_has_dynamic_resources(const envoy_config_bootstrap_v3_Bootstrap * msg)197 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_dynamic_resources(const envoy_config_bootstrap_v3_Bootstrap* msg) {
198   const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
199   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
200 }
envoy_config_bootstrap_v3_Bootstrap_clear_cluster_manager(envoy_config_bootstrap_v3_Bootstrap * msg)201 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_cluster_manager(envoy_config_bootstrap_v3_Bootstrap* msg) {
202   const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
203   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
204 }
envoy_config_bootstrap_v3_Bootstrap_cluster_manager(const envoy_config_bootstrap_v3_Bootstrap * msg)205 UPB_INLINE const envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_Bootstrap_cluster_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
206   const envoy_config_bootstrap_v3_ClusterManager* default_val = NULL;
207   const envoy_config_bootstrap_v3_ClusterManager* ret;
208   const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
209   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
210                                     &default_val, &ret);
211   return ret;
212 }
envoy_config_bootstrap_v3_Bootstrap_has_cluster_manager(const envoy_config_bootstrap_v3_Bootstrap * msg)213 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_cluster_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
214   const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
215   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
216 }
envoy_config_bootstrap_v3_Bootstrap_clear_flags_path(envoy_config_bootstrap_v3_Bootstrap * msg)217 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_flags_path(envoy_config_bootstrap_v3_Bootstrap* msg) {
218   const upb_MiniTableField field = {5, UPB_SIZE(148, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
219   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
220 }
envoy_config_bootstrap_v3_Bootstrap_flags_path(const envoy_config_bootstrap_v3_Bootstrap * msg)221 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_flags_path(const envoy_config_bootstrap_v3_Bootstrap* msg) {
222   upb_StringView default_val = upb_StringView_FromString("");
223   upb_StringView ret;
224   const upb_MiniTableField field = {5, UPB_SIZE(148, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
225   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
226                                     &default_val, &ret);
227   return ret;
228 }
envoy_config_bootstrap_v3_Bootstrap_clear_stats_sinks(envoy_config_bootstrap_v3_Bootstrap * msg)229 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg) {
230   const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
231   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
232 }
envoy_config_bootstrap_v3_Bootstrap_stats_sinks(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)233 UPB_INLINE const struct envoy_config_metrics_v3_StatsSink* const* envoy_config_bootstrap_v3_Bootstrap_stats_sinks(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
234   const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
235   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
236   if (arr) {
237     if (size) *size = arr->UPB_PRIVATE(size);
238     return (const struct envoy_config_metrics_v3_StatsSink* const*)upb_Array_DataPtr(arr);
239   } else {
240     if (size) *size = 0;
241     return NULL;
242   }
243 }
_envoy_config_bootstrap_v3_Bootstrap_stats_sinks_upb_array(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)244 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_stats_sinks_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
245   const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
246   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
247   if (size) {
248     *size = arr ? arr->UPB_PRIVATE(size) : 0;
249   }
250   return arr;
251 }
_envoy_config_bootstrap_v3_Bootstrap_stats_sinks_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size,upb_Arena * arena)252 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_stats_sinks_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
253   const upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
254   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
255                                                        &field, arena);
256   if (size) {
257     *size = arr ? arr->UPB_PRIVATE(size) : 0;
258   }
259   return arr;
260 }
envoy_config_bootstrap_v3_Bootstrap_clear_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap * msg)261 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap* msg) {
262   const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
263   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
264 }
envoy_config_bootstrap_v3_Bootstrap_stats_flush_interval(const envoy_config_bootstrap_v3_Bootstrap * msg)265 UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_stats_flush_interval(const envoy_config_bootstrap_v3_Bootstrap* msg) {
266   const struct google_protobuf_Duration* default_val = NULL;
267   const struct google_protobuf_Duration* ret;
268   const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
269   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
270                                     &default_val, &ret);
271   return ret;
272 }
envoy_config_bootstrap_v3_Bootstrap_has_stats_flush_interval(const envoy_config_bootstrap_v3_Bootstrap * msg)273 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_flush_interval(const envoy_config_bootstrap_v3_Bootstrap* msg) {
274   const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
275   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
276 }
envoy_config_bootstrap_v3_Bootstrap_clear_watchdog(envoy_config_bootstrap_v3_Bootstrap * msg)277 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_watchdog(envoy_config_bootstrap_v3_Bootstrap* msg) {
278   const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 69, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
279   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
280 }
envoy_config_bootstrap_v3_Bootstrap_watchdog(const envoy_config_bootstrap_v3_Bootstrap * msg)281 UPB_INLINE const envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Bootstrap_watchdog(const envoy_config_bootstrap_v3_Bootstrap* msg) {
282   const envoy_config_bootstrap_v3_Watchdog* default_val = NULL;
283   const envoy_config_bootstrap_v3_Watchdog* ret;
284   const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 69, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
285   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
286                                     &default_val, &ret);
287   return ret;
288 }
envoy_config_bootstrap_v3_Bootstrap_has_watchdog(const envoy_config_bootstrap_v3_Bootstrap * msg)289 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_watchdog(const envoy_config_bootstrap_v3_Bootstrap* msg) {
290   const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 69, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
291   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
292 }
envoy_config_bootstrap_v3_Bootstrap_clear_tracing(envoy_config_bootstrap_v3_Bootstrap * msg)293 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_tracing(envoy_config_bootstrap_v3_Bootstrap* msg) {
294   const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 70, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
295   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
296 }
envoy_config_bootstrap_v3_Bootstrap_tracing(const envoy_config_bootstrap_v3_Bootstrap * msg)297 UPB_INLINE const struct envoy_config_trace_v3_Tracing* envoy_config_bootstrap_v3_Bootstrap_tracing(const envoy_config_bootstrap_v3_Bootstrap* msg) {
298   const struct envoy_config_trace_v3_Tracing* default_val = NULL;
299   const struct envoy_config_trace_v3_Tracing* ret;
300   const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 70, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
301   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
302                                     &default_val, &ret);
303   return ret;
304 }
envoy_config_bootstrap_v3_Bootstrap_has_tracing(const envoy_config_bootstrap_v3_Bootstrap * msg)305 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_tracing(const envoy_config_bootstrap_v3_Bootstrap* msg) {
306   const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 70, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
307   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
308 }
envoy_config_bootstrap_v3_Bootstrap_clear_admin(envoy_config_bootstrap_v3_Bootstrap * msg)309 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_admin(envoy_config_bootstrap_v3_Bootstrap* msg) {
310   const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 71, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
311   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
312 }
envoy_config_bootstrap_v3_Bootstrap_admin(const envoy_config_bootstrap_v3_Bootstrap * msg)313 UPB_INLINE const envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Bootstrap_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) {
314   const envoy_config_bootstrap_v3_Admin* default_val = NULL;
315   const envoy_config_bootstrap_v3_Admin* ret;
316   const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 71, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
317   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
318                                     &default_val, &ret);
319   return ret;
320 }
envoy_config_bootstrap_v3_Bootstrap_has_admin(const envoy_config_bootstrap_v3_Bootstrap * msg)321 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) {
322   const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 71, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
323   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
324 }
envoy_config_bootstrap_v3_Bootstrap_clear_stats_config(envoy_config_bootstrap_v3_Bootstrap * msg)325 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
326   const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 72, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
327   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
328 }
envoy_config_bootstrap_v3_Bootstrap_stats_config(const envoy_config_bootstrap_v3_Bootstrap * msg)329 UPB_INLINE const struct envoy_config_metrics_v3_StatsConfig* envoy_config_bootstrap_v3_Bootstrap_stats_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
330   const struct envoy_config_metrics_v3_StatsConfig* default_val = NULL;
331   const struct envoy_config_metrics_v3_StatsConfig* ret;
332   const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 72, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
333   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
334                                     &default_val, &ret);
335   return ret;
336 }
envoy_config_bootstrap_v3_Bootstrap_has_stats_config(const envoy_config_bootstrap_v3_Bootstrap * msg)337 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
338   const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 72, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
339   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
340 }
envoy_config_bootstrap_v3_Bootstrap_clear_hds_config(envoy_config_bootstrap_v3_Bootstrap * msg)341 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_hds_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
342   const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 73, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
343   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
344 }
envoy_config_bootstrap_v3_Bootstrap_hds_config(const envoy_config_bootstrap_v3_Bootstrap * msg)345 UPB_INLINE const struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_hds_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
346   const struct envoy_config_core_v3_ApiConfigSource* default_val = NULL;
347   const struct envoy_config_core_v3_ApiConfigSource* ret;
348   const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 73, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
349   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
350                                     &default_val, &ret);
351   return ret;
352 }
envoy_config_bootstrap_v3_Bootstrap_has_hds_config(const envoy_config_bootstrap_v3_Bootstrap * msg)353 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_hds_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
354   const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 73, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
355   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
356 }
envoy_config_bootstrap_v3_Bootstrap_clear_overload_manager(envoy_config_bootstrap_v3_Bootstrap * msg)357 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_overload_manager(envoy_config_bootstrap_v3_Bootstrap* msg) {
358   const upb_MiniTableField field = {15, UPB_SIZE(56, 128), 74, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
359   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
360 }
envoy_config_bootstrap_v3_Bootstrap_overload_manager(const envoy_config_bootstrap_v3_Bootstrap * msg)361 UPB_INLINE const struct envoy_config_overload_v3_OverloadManager* envoy_config_bootstrap_v3_Bootstrap_overload_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
362   const struct envoy_config_overload_v3_OverloadManager* default_val = NULL;
363   const struct envoy_config_overload_v3_OverloadManager* ret;
364   const upb_MiniTableField field = {15, UPB_SIZE(56, 128), 74, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
365   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
366                                     &default_val, &ret);
367   return ret;
368 }
envoy_config_bootstrap_v3_Bootstrap_has_overload_manager(const envoy_config_bootstrap_v3_Bootstrap * msg)369 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_overload_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
370   const upb_MiniTableField field = {15, UPB_SIZE(56, 128), 74, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
371   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
372 }
envoy_config_bootstrap_v3_Bootstrap_clear_enable_dispatcher_stats(envoy_config_bootstrap_v3_Bootstrap * msg)373 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_enable_dispatcher_stats(envoy_config_bootstrap_v3_Bootstrap* msg) {
374   const upb_MiniTableField field = {16, UPB_SIZE(60, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
375   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
376 }
envoy_config_bootstrap_v3_Bootstrap_enable_dispatcher_stats(const envoy_config_bootstrap_v3_Bootstrap * msg)377 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_enable_dispatcher_stats(const envoy_config_bootstrap_v3_Bootstrap* msg) {
378   bool default_val = false;
379   bool ret;
380   const upb_MiniTableField field = {16, UPB_SIZE(60, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
381   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
382                                     &default_val, &ret);
383   return ret;
384 }
envoy_config_bootstrap_v3_Bootstrap_clear_layered_runtime(envoy_config_bootstrap_v3_Bootstrap * msg)385 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_layered_runtime(envoy_config_bootstrap_v3_Bootstrap* msg) {
386   const upb_MiniTableField field = {17, UPB_SIZE(64, 136), 75, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
387   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
388 }
envoy_config_bootstrap_v3_Bootstrap_layered_runtime(const envoy_config_bootstrap_v3_Bootstrap * msg)389 UPB_INLINE const envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_Bootstrap_layered_runtime(const envoy_config_bootstrap_v3_Bootstrap* msg) {
390   const envoy_config_bootstrap_v3_LayeredRuntime* default_val = NULL;
391   const envoy_config_bootstrap_v3_LayeredRuntime* ret;
392   const upb_MiniTableField field = {17, UPB_SIZE(64, 136), 75, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
393   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
394                                     &default_val, &ret);
395   return ret;
396 }
envoy_config_bootstrap_v3_Bootstrap_has_layered_runtime(const envoy_config_bootstrap_v3_Bootstrap * msg)397 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_layered_runtime(const envoy_config_bootstrap_v3_Bootstrap* msg) {
398   const upb_MiniTableField field = {17, UPB_SIZE(64, 136), 75, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
399   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
400 }
envoy_config_bootstrap_v3_Bootstrap_clear_header_prefix(envoy_config_bootstrap_v3_Bootstrap * msg)401 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_header_prefix(envoy_config_bootstrap_v3_Bootstrap* msg) {
402   const upb_MiniTableField field = {18, UPB_SIZE(156, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
403   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
404 }
envoy_config_bootstrap_v3_Bootstrap_header_prefix(const envoy_config_bootstrap_v3_Bootstrap * msg)405 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_header_prefix(const envoy_config_bootstrap_v3_Bootstrap* msg) {
406   upb_StringView default_val = upb_StringView_FromString("");
407   upb_StringView ret;
408   const upb_MiniTableField field = {18, UPB_SIZE(156, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
409   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
410                                     &default_val, &ret);
411   return ret;
412 }
envoy_config_bootstrap_v3_Bootstrap_clear_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap * msg)413 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap* msg) {
414   const upb_MiniTableField field = {19, UPB_SIZE(68, 160), 76, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
415   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
416 }
envoy_config_bootstrap_v3_Bootstrap_stats_server_version_override(const envoy_config_bootstrap_v3_Bootstrap * msg)417 UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_bootstrap_v3_Bootstrap_stats_server_version_override(const envoy_config_bootstrap_v3_Bootstrap* msg) {
418   const struct google_protobuf_UInt64Value* default_val = NULL;
419   const struct google_protobuf_UInt64Value* ret;
420   const upb_MiniTableField field = {19, UPB_SIZE(68, 160), 76, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
421   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
422                                     &default_val, &ret);
423   return ret;
424 }
envoy_config_bootstrap_v3_Bootstrap_has_stats_server_version_override(const envoy_config_bootstrap_v3_Bootstrap * msg)425 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_server_version_override(const envoy_config_bootstrap_v3_Bootstrap* msg) {
426   const upb_MiniTableField field = {19, UPB_SIZE(68, 160), 76, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
427   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
428 }
envoy_config_bootstrap_v3_Bootstrap_clear_use_tcp_for_dns_lookups(envoy_config_bootstrap_v3_Bootstrap * msg)429 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_use_tcp_for_dns_lookups(envoy_config_bootstrap_v3_Bootstrap* msg) {
430   const upb_MiniTableField field = {20, UPB_SIZE(72, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
431   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
432 }
envoy_config_bootstrap_v3_Bootstrap_use_tcp_for_dns_lookups(const envoy_config_bootstrap_v3_Bootstrap * msg)433 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_use_tcp_for_dns_lookups(const envoy_config_bootstrap_v3_Bootstrap* msg) {
434   bool default_val = false;
435   bool ret;
436   const upb_MiniTableField field = {20, UPB_SIZE(72, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
437   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
438                                     &default_val, &ret);
439   return ret;
440 }
envoy_config_bootstrap_v3_Bootstrap_clear_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap * msg)441 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg) {
442   const upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
443   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
444 }
envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)445 UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* const* envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
446   const upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
447   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
448   if (arr) {
449     if (size) *size = arr->UPB_PRIVATE(size);
450     return (const struct envoy_config_core_v3_TypedExtensionConfig* const*)upb_Array_DataPtr(arr);
451   } else {
452     if (size) *size = 0;
453     return NULL;
454   }
455 }
_envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions_upb_array(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)456 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
457   const upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
458   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
459   if (size) {
460     *size = arr ? arr->UPB_PRIVATE(size) : 0;
461   }
462   return arr;
463 }
_envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size,upb_Arena * arena)464 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_bootstrap_extensions_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
465   const upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
466   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
467                                                        &field, arena);
468   if (size) {
469     *size = arr ? arr->UPB_PRIVATE(size) : 0;
470   }
471   return arr;
472 }
envoy_config_bootstrap_v3_Bootstrap_clear_config_sources(envoy_config_bootstrap_v3_Bootstrap * msg)473 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg) {
474   const upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
475   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
476 }
envoy_config_bootstrap_v3_Bootstrap_config_sources(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)477 UPB_INLINE const struct envoy_config_core_v3_ConfigSource* const* envoy_config_bootstrap_v3_Bootstrap_config_sources(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
478   const upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
479   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
480   if (arr) {
481     if (size) *size = arr->UPB_PRIVATE(size);
482     return (const struct envoy_config_core_v3_ConfigSource* const*)upb_Array_DataPtr(arr);
483   } else {
484     if (size) *size = 0;
485     return NULL;
486   }
487 }
_envoy_config_bootstrap_v3_Bootstrap_config_sources_upb_array(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)488 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_config_sources_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
489   const upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
490   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
491   if (size) {
492     *size = arr ? arr->UPB_PRIVATE(size) : 0;
493   }
494   return arr;
495 }
_envoy_config_bootstrap_v3_Bootstrap_config_sources_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size,upb_Arena * arena)496 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_config_sources_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
497   const upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
498   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
499                                                        &field, arena);
500   if (size) {
501     *size = arr ? arr->UPB_PRIVATE(size) : 0;
502   }
503   return arr;
504 }
envoy_config_bootstrap_v3_Bootstrap_clear_default_config_source(envoy_config_bootstrap_v3_Bootstrap * msg)505 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_default_config_source(envoy_config_bootstrap_v3_Bootstrap* msg) {
506   const upb_MiniTableField field = {23, UPB_SIZE(84, 184), 77, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
507   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
508 }
envoy_config_bootstrap_v3_Bootstrap_default_config_source(const envoy_config_bootstrap_v3_Bootstrap * msg)509 UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_default_config_source(const envoy_config_bootstrap_v3_Bootstrap* msg) {
510   const struct envoy_config_core_v3_ConfigSource* default_val = NULL;
511   const struct envoy_config_core_v3_ConfigSource* ret;
512   const upb_MiniTableField field = {23, UPB_SIZE(84, 184), 77, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
513   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
514                                     &default_val, &ret);
515   return ret;
516 }
envoy_config_bootstrap_v3_Bootstrap_has_default_config_source(const envoy_config_bootstrap_v3_Bootstrap * msg)517 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_default_config_source(const envoy_config_bootstrap_v3_Bootstrap* msg) {
518   const upb_MiniTableField field = {23, UPB_SIZE(84, 184), 77, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
519   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
520 }
envoy_config_bootstrap_v3_Bootstrap_clear_default_socket_interface(envoy_config_bootstrap_v3_Bootstrap * msg)521 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_default_socket_interface(envoy_config_bootstrap_v3_Bootstrap* msg) {
522   const upb_MiniTableField field = {24, UPB_SIZE(164, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
523   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
524 }
envoy_config_bootstrap_v3_Bootstrap_default_socket_interface(const envoy_config_bootstrap_v3_Bootstrap * msg)525 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_default_socket_interface(const envoy_config_bootstrap_v3_Bootstrap* msg) {
526   upb_StringView default_val = upb_StringView_FromString("");
527   upb_StringView ret;
528   const upb_MiniTableField field = {24, UPB_SIZE(164, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
529   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
530                                     &default_val, &ret);
531   return ret;
532 }
envoy_config_bootstrap_v3_Bootstrap_clear_certificate_provider_instances(envoy_config_bootstrap_v3_Bootstrap * msg)533 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_certificate_provider_instances(envoy_config_bootstrap_v3_Bootstrap* msg) {
534   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
535   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
536 }
envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_size(const envoy_config_bootstrap_v3_Bootstrap * msg)537 UPB_INLINE size_t envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_size(const envoy_config_bootstrap_v3_Bootstrap* msg) {
538   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
539   const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
540   return map ? _upb_Map_Size(map) : 0;
541 }
envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_get(const envoy_config_bootstrap_v3_Bootstrap * msg,upb_StringView key,struct envoy_config_core_v3_TypedExtensionConfig ** val)542 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_get(const envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView key, struct envoy_config_core_v3_TypedExtensionConfig** val) {
543   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
544   const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
545   if (!map) return false;
546   return _upb_Map_Get(map, &key, 0, val, sizeof(*val));
547 }
envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_next(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * iter)548 UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_next(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* iter) {
549   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
550   const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
551   if (!map) return NULL;
552   return (const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry*)_upb_map_next(map, iter);
553 }
_envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_upb_map(envoy_config_bootstrap_v3_Bootstrap * msg)554 UPB_INLINE const upb_Map* _envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_upb_map(envoy_config_bootstrap_v3_Bootstrap* msg) {
555   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
556   return upb_Message_GetMap(UPB_UPCAST(msg), &field);
557 }
_envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_mutable_upb_map(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * a)558 UPB_INLINE upb_Map* _envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_mutable_upb_map(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* a) {
559   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
560   return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field, 0, sizeof(struct envoy_config_core_v3_TypedExtensionConfig*), a);
561 }
envoy_config_bootstrap_v3_Bootstrap_clear_node_context_params(envoy_config_bootstrap_v3_Bootstrap * msg)562 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg) {
563   const upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
564   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
565 }
envoy_config_bootstrap_v3_Bootstrap_node_context_params(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)566 UPB_INLINE upb_StringView const* envoy_config_bootstrap_v3_Bootstrap_node_context_params(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
567   const upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
568   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
569   if (arr) {
570     if (size) *size = arr->UPB_PRIVATE(size);
571     return (upb_StringView const*)upb_Array_DataPtr(arr);
572   } else {
573     if (size) *size = 0;
574     return NULL;
575   }
576 }
_envoy_config_bootstrap_v3_Bootstrap_node_context_params_upb_array(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)577 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_node_context_params_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
578   const upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
579   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
580   if (size) {
581     *size = arr ? arr->UPB_PRIVATE(size) : 0;
582   }
583   return arr;
584 }
_envoy_config_bootstrap_v3_Bootstrap_node_context_params_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size,upb_Arena * arena)585 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_node_context_params_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
586   const upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
587   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
588                                                        &field, arena);
589   if (size) {
590     *size = arr ? arr->UPB_PRIVATE(size) : 0;
591   }
592   return arr;
593 }
envoy_config_bootstrap_v3_Bootstrap_clear_watchdogs(envoy_config_bootstrap_v3_Bootstrap * msg)594 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_watchdogs(envoy_config_bootstrap_v3_Bootstrap* msg) {
595   const upb_MiniTableField field = {27, UPB_SIZE(96, 224), 78, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
596   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
597 }
envoy_config_bootstrap_v3_Bootstrap_watchdogs(const envoy_config_bootstrap_v3_Bootstrap * msg)598 UPB_INLINE const envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Bootstrap_watchdogs(const envoy_config_bootstrap_v3_Bootstrap* msg) {
599   const envoy_config_bootstrap_v3_Watchdogs* default_val = NULL;
600   const envoy_config_bootstrap_v3_Watchdogs* ret;
601   const upb_MiniTableField field = {27, UPB_SIZE(96, 224), 78, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
602   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
603                                     &default_val, &ret);
604   return ret;
605 }
envoy_config_bootstrap_v3_Bootstrap_has_watchdogs(const envoy_config_bootstrap_v3_Bootstrap * msg)606 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_watchdogs(const envoy_config_bootstrap_v3_Bootstrap* msg) {
607   const upb_MiniTableField field = {27, UPB_SIZE(96, 224), 78, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
608   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
609 }
envoy_config_bootstrap_v3_Bootstrap_clear_fatal_actions(envoy_config_bootstrap_v3_Bootstrap * msg)610 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg) {
611   const upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
612   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
613 }
envoy_config_bootstrap_v3_Bootstrap_fatal_actions(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)614 UPB_INLINE const envoy_config_bootstrap_v3_FatalAction* const* envoy_config_bootstrap_v3_Bootstrap_fatal_actions(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
615   const upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
616   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
617   if (arr) {
618     if (size) *size = arr->UPB_PRIVATE(size);
619     return (const envoy_config_bootstrap_v3_FatalAction* const*)upb_Array_DataPtr(arr);
620   } else {
621     if (size) *size = 0;
622     return NULL;
623   }
624 }
_envoy_config_bootstrap_v3_Bootstrap_fatal_actions_upb_array(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)625 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_fatal_actions_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
626   const upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
627   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
628   if (size) {
629     *size = arr ? arr->UPB_PRIVATE(size) : 0;
630   }
631   return arr;
632 }
_envoy_config_bootstrap_v3_Bootstrap_fatal_actions_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size,upb_Arena * arena)633 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_fatal_actions_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
634   const upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
635   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
636                                                        &field, arena);
637   if (size) {
638     *size = arr ? arr->UPB_PRIVATE(size) : 0;
639   }
640   return arr;
641 }
envoy_config_bootstrap_v3_Bootstrap_clear_stats_flush_on_admin(envoy_config_bootstrap_v3_Bootstrap * msg)642 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_stats_flush_on_admin(envoy_config_bootstrap_v3_Bootstrap* msg) {
643   const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
644   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
645 }
envoy_config_bootstrap_v3_Bootstrap_stats_flush_on_admin(const envoy_config_bootstrap_v3_Bootstrap * msg)646 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_stats_flush_on_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) {
647   bool default_val = false;
648   bool ret;
649   const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
650   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
651                                     &default_val, &ret);
652   return ret;
653 }
envoy_config_bootstrap_v3_Bootstrap_has_stats_flush_on_admin(const envoy_config_bootstrap_v3_Bootstrap * msg)654 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_stats_flush_on_admin(const envoy_config_bootstrap_v3_Bootstrap* msg) {
655   const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
656   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
657 }
envoy_config_bootstrap_v3_Bootstrap_clear_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap * msg)658 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
659   const upb_MiniTableField field = {30, UPB_SIZE(108, 240), 79, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
660   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
661 }
envoy_config_bootstrap_v3_Bootstrap_dns_resolution_config(const envoy_config_bootstrap_v3_Bootstrap * msg)662 UPB_INLINE const struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_bootstrap_v3_Bootstrap_dns_resolution_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
663   const struct envoy_config_core_v3_DnsResolutionConfig* default_val = NULL;
664   const struct envoy_config_core_v3_DnsResolutionConfig* ret;
665   const upb_MiniTableField field = {30, UPB_SIZE(108, 240), 79, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
666   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
667                                     &default_val, &ret);
668   return ret;
669 }
envoy_config_bootstrap_v3_Bootstrap_has_dns_resolution_config(const envoy_config_bootstrap_v3_Bootstrap * msg)670 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_dns_resolution_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
671   const upb_MiniTableField field = {30, UPB_SIZE(108, 240), 79, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
672   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
673 }
envoy_config_bootstrap_v3_Bootstrap_clear_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap * msg)674 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
675   const upb_MiniTableField field = {31, UPB_SIZE(112, 248), 80, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
676   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
677 }
envoy_config_bootstrap_v3_Bootstrap_typed_dns_resolver_config(const envoy_config_bootstrap_v3_Bootstrap * msg)678 UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_typed_dns_resolver_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
679   const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
680   const struct envoy_config_core_v3_TypedExtensionConfig* ret;
681   const upb_MiniTableField field = {31, UPB_SIZE(112, 248), 80, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
682   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
683                                     &default_val, &ret);
684   return ret;
685 }
envoy_config_bootstrap_v3_Bootstrap_has_typed_dns_resolver_config(const envoy_config_bootstrap_v3_Bootstrap * msg)686 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_typed_dns_resolver_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
687   const upb_MiniTableField field = {31, UPB_SIZE(112, 248), 80, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
688   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
689 }
envoy_config_bootstrap_v3_Bootstrap_clear_inline_headers(envoy_config_bootstrap_v3_Bootstrap * msg)690 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg) {
691   const upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
692   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
693 }
envoy_config_bootstrap_v3_Bootstrap_inline_headers(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)694 UPB_INLINE const envoy_config_bootstrap_v3_CustomInlineHeader* const* envoy_config_bootstrap_v3_Bootstrap_inline_headers(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
695   const upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
696   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
697   if (arr) {
698     if (size) *size = arr->UPB_PRIVATE(size);
699     return (const envoy_config_bootstrap_v3_CustomInlineHeader* const*)upb_Array_DataPtr(arr);
700   } else {
701     if (size) *size = 0;
702     return NULL;
703   }
704 }
_envoy_config_bootstrap_v3_Bootstrap_inline_headers_upb_array(const envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)705 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_inline_headers_upb_array(const envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
706   const upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
707   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
708   if (size) {
709     *size = arr ? arr->UPB_PRIVATE(size) : 0;
710   }
711   return arr;
712 }
_envoy_config_bootstrap_v3_Bootstrap_inline_headers_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size,upb_Arena * arena)713 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_inline_headers_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size, upb_Arena* arena) {
714   const upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
715   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
716                                                        &field, arena);
717   if (size) {
718     *size = arr ? arr->UPB_PRIVATE(size) : 0;
719   }
720   return arr;
721 }
envoy_config_bootstrap_v3_Bootstrap_clear_perf_tracing_file_path(envoy_config_bootstrap_v3_Bootstrap * msg)722 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_perf_tracing_file_path(envoy_config_bootstrap_v3_Bootstrap* msg) {
723   const upb_MiniTableField field = {33, UPB_SIZE(172, 264), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
724   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
725 }
envoy_config_bootstrap_v3_Bootstrap_perf_tracing_file_path(const envoy_config_bootstrap_v3_Bootstrap * msg)726 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_perf_tracing_file_path(const envoy_config_bootstrap_v3_Bootstrap* msg) {
727   upb_StringView default_val = upb_StringView_FromString("");
728   upb_StringView ret;
729   const upb_MiniTableField field = {33, UPB_SIZE(172, 264), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
730   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
731                                     &default_val, &ret);
732   return ret;
733 }
envoy_config_bootstrap_v3_Bootstrap_clear_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap * msg)734 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap* msg) {
735   const upb_MiniTableField field = {34, UPB_SIZE(120, 280), 81, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
736   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
737 }
envoy_config_bootstrap_v3_Bootstrap_default_regex_engine(const envoy_config_bootstrap_v3_Bootstrap * msg)738 UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_default_regex_engine(const envoy_config_bootstrap_v3_Bootstrap* msg) {
739   const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
740   const struct envoy_config_core_v3_TypedExtensionConfig* ret;
741   const upb_MiniTableField field = {34, UPB_SIZE(120, 280), 81, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
742   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
743                                     &default_val, &ret);
744   return ret;
745 }
envoy_config_bootstrap_v3_Bootstrap_has_default_regex_engine(const envoy_config_bootstrap_v3_Bootstrap * msg)746 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_default_regex_engine(const envoy_config_bootstrap_v3_Bootstrap* msg) {
747   const upb_MiniTableField field = {34, UPB_SIZE(120, 280), 81, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
748   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
749 }
envoy_config_bootstrap_v3_Bootstrap_clear_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap * msg)750 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap* msg) {
751   const upb_MiniTableField field = {35, UPB_SIZE(124, 288), 82, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
752   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
753 }
envoy_config_bootstrap_v3_Bootstrap_xds_delegate_extension(const envoy_config_bootstrap_v3_Bootstrap * msg)754 UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_xds_delegate_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) {
755   const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
756   const struct envoy_config_core_v3_TypedExtensionConfig* ret;
757   const upb_MiniTableField field = {35, UPB_SIZE(124, 288), 82, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
758   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
759                                     &default_val, &ret);
760   return ret;
761 }
envoy_config_bootstrap_v3_Bootstrap_has_xds_delegate_extension(const envoy_config_bootstrap_v3_Bootstrap * msg)762 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_xds_delegate_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) {
763   const upb_MiniTableField field = {35, UPB_SIZE(124, 288), 82, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
764   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
765 }
envoy_config_bootstrap_v3_Bootstrap_clear_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap * msg)766 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap* msg) {
767   const upb_MiniTableField field = {36, UPB_SIZE(128, 296), 83, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
768   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
769 }
envoy_config_bootstrap_v3_Bootstrap_xds_config_tracker_extension(const envoy_config_bootstrap_v3_Bootstrap * msg)770 UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_xds_config_tracker_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) {
771   const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
772   const struct envoy_config_core_v3_TypedExtensionConfig* ret;
773   const upb_MiniTableField field = {36, UPB_SIZE(128, 296), 83, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
774   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
775                                     &default_val, &ret);
776   return ret;
777 }
envoy_config_bootstrap_v3_Bootstrap_has_xds_config_tracker_extension(const envoy_config_bootstrap_v3_Bootstrap * msg)778 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_xds_config_tracker_extension(const envoy_config_bootstrap_v3_Bootstrap* msg) {
779   const upb_MiniTableField field = {36, UPB_SIZE(128, 296), 83, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
780   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
781 }
envoy_config_bootstrap_v3_Bootstrap_clear_listener_manager(envoy_config_bootstrap_v3_Bootstrap * msg)782 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_listener_manager(envoy_config_bootstrap_v3_Bootstrap* msg) {
783   const upb_MiniTableField field = {37, UPB_SIZE(132, 304), 84, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
784   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
785 }
envoy_config_bootstrap_v3_Bootstrap_listener_manager(const envoy_config_bootstrap_v3_Bootstrap * msg)786 UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_listener_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
787   const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
788   const struct envoy_config_core_v3_TypedExtensionConfig* ret;
789   const upb_MiniTableField field = {37, UPB_SIZE(132, 304), 84, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
790   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
791                                     &default_val, &ret);
792   return ret;
793 }
envoy_config_bootstrap_v3_Bootstrap_has_listener_manager(const envoy_config_bootstrap_v3_Bootstrap * msg)794 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_listener_manager(const envoy_config_bootstrap_v3_Bootstrap* msg) {
795   const upb_MiniTableField field = {37, UPB_SIZE(132, 304), 84, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
796   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
797 }
envoy_config_bootstrap_v3_Bootstrap_clear_application_log_config(envoy_config_bootstrap_v3_Bootstrap * msg)798 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_application_log_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
799   const upb_MiniTableField field = {38, UPB_SIZE(136, 312), 85, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
800   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
801 }
envoy_config_bootstrap_v3_Bootstrap_application_log_config(const envoy_config_bootstrap_v3_Bootstrap * msg)802 UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_application_log_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
803   const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* default_val = NULL;
804   const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* ret;
805   const upb_MiniTableField field = {38, UPB_SIZE(136, 312), 85, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
806   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
807                                     &default_val, &ret);
808   return ret;
809 }
envoy_config_bootstrap_v3_Bootstrap_has_application_log_config(const envoy_config_bootstrap_v3_Bootstrap * msg)810 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_application_log_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
811   const upb_MiniTableField field = {38, UPB_SIZE(136, 312), 85, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
812   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
813 }
envoy_config_bootstrap_v3_Bootstrap_clear_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap * msg)814 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap* msg) {
815   const upb_MiniTableField field = {39, UPB_SIZE(140, 320), 86, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
816   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
817 }
envoy_config_bootstrap_v3_Bootstrap_deferred_stat_options(const envoy_config_bootstrap_v3_Bootstrap * msg)818 UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_deferred_stat_options(const envoy_config_bootstrap_v3_Bootstrap* msg) {
819   const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* default_val = NULL;
820   const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* ret;
821   const upb_MiniTableField field = {39, UPB_SIZE(140, 320), 86, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
822   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
823                                     &default_val, &ret);
824   return ret;
825 }
envoy_config_bootstrap_v3_Bootstrap_has_deferred_stat_options(const envoy_config_bootstrap_v3_Bootstrap * msg)826 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_deferred_stat_options(const envoy_config_bootstrap_v3_Bootstrap* msg) {
827   const upb_MiniTableField field = {39, UPB_SIZE(140, 320), 86, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
828   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
829 }
envoy_config_bootstrap_v3_Bootstrap_clear_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap * msg)830 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_clear_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap* msg) {
831   const upb_MiniTableField field = {40, UPB_SIZE(144, 328), 87, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
832   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
833 }
envoy_config_bootstrap_v3_Bootstrap_grpc_async_client_manager_config(const envoy_config_bootstrap_v3_Bootstrap * msg)834 UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_grpc_async_client_manager_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
835   const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* default_val = NULL;
836   const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* ret;
837   const upb_MiniTableField field = {40, UPB_SIZE(144, 328), 87, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
838   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
839                                     &default_val, &ret);
840   return ret;
841 }
envoy_config_bootstrap_v3_Bootstrap_has_grpc_async_client_manager_config(const envoy_config_bootstrap_v3_Bootstrap * msg)842 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_has_grpc_async_client_manager_config(const envoy_config_bootstrap_v3_Bootstrap* msg) {
843   const upb_MiniTableField field = {40, UPB_SIZE(144, 328), 87, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
844   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
845 }
846 
envoy_config_bootstrap_v3_Bootstrap_set_node(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_core_v3_Node * value)847 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_node(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_Node* value) {
848   const upb_MiniTableField field = {1, UPB_SIZE(12, 24), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
849   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
850 }
envoy_config_bootstrap_v3_Bootstrap_mutable_node(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)851 UPB_INLINE struct envoy_config_core_v3_Node* envoy_config_bootstrap_v3_Bootstrap_mutable_node(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
852   struct envoy_config_core_v3_Node* sub = (struct envoy_config_core_v3_Node*)envoy_config_bootstrap_v3_Bootstrap_node(msg);
853   if (sub == NULL) {
854     sub = (struct envoy_config_core_v3_Node*)_upb_Message_New(&envoy__config__core__v3__Node_msg_init, arena);
855     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_node(msg, sub);
856   }
857   return sub;
858 }
envoy_config_bootstrap_v3_Bootstrap_set_static_resources(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_Bootstrap_StaticResources * value)859 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_static_resources(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_StaticResources* value) {
860   const upb_MiniTableField field = {2, UPB_SIZE(16, 32), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
861   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
862 }
envoy_config_bootstrap_v3_Bootstrap_mutable_static_resources(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)863 UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_mutable_static_resources(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
864   struct envoy_config_bootstrap_v3_Bootstrap_StaticResources* sub = (struct envoy_config_bootstrap_v3_Bootstrap_StaticResources*)envoy_config_bootstrap_v3_Bootstrap_static_resources(msg);
865   if (sub == NULL) {
866     sub = (struct envoy_config_bootstrap_v3_Bootstrap_StaticResources*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, arena);
867     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_static_resources(msg, sub);
868   }
869   return sub;
870 }
envoy_config_bootstrap_v3_Bootstrap_set_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_Bootstrap_DynamicResources * value)871 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_DynamicResources* value) {
872   const upb_MiniTableField field = {3, UPB_SIZE(20, 40), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
873   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
874 }
envoy_config_bootstrap_v3_Bootstrap_mutable_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)875 UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_mutable_dynamic_resources(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
876   struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources* sub = (struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources*)envoy_config_bootstrap_v3_Bootstrap_dynamic_resources(msg);
877   if (sub == NULL) {
878     sub = (struct envoy_config_bootstrap_v3_Bootstrap_DynamicResources*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, arena);
879     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_dynamic_resources(msg, sub);
880   }
881   return sub;
882 }
envoy_config_bootstrap_v3_Bootstrap_set_cluster_manager(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_ClusterManager * value)883 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_cluster_manager(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_ClusterManager* value) {
884   const upb_MiniTableField field = {4, UPB_SIZE(24, 48), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
885   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
886 }
envoy_config_bootstrap_v3_Bootstrap_mutable_cluster_manager(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)887 UPB_INLINE struct envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_Bootstrap_mutable_cluster_manager(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
888   struct envoy_config_bootstrap_v3_ClusterManager* sub = (struct envoy_config_bootstrap_v3_ClusterManager*)envoy_config_bootstrap_v3_Bootstrap_cluster_manager(msg);
889   if (sub == NULL) {
890     sub = (struct envoy_config_bootstrap_v3_ClusterManager*)_upb_Message_New(&envoy__config__bootstrap__v3__ClusterManager_msg_init, arena);
891     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_cluster_manager(msg, sub);
892   }
893   return sub;
894 }
envoy_config_bootstrap_v3_Bootstrap_set_flags_path(envoy_config_bootstrap_v3_Bootstrap * msg,upb_StringView value)895 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_flags_path(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) {
896   const upb_MiniTableField field = {5, UPB_SIZE(148, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
897   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
898 }
envoy_config_bootstrap_v3_Bootstrap_mutable_stats_sinks(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)899 UPB_INLINE struct envoy_config_metrics_v3_StatsSink** envoy_config_bootstrap_v3_Bootstrap_mutable_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
900   upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
901   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
902   if (arr) {
903     if (size) *size = arr->UPB_PRIVATE(size);
904     return (struct envoy_config_metrics_v3_StatsSink**)upb_Array_MutableDataPtr(arr);
905   } else {
906     if (size) *size = 0;
907     return NULL;
908   }
909 }
envoy_config_bootstrap_v3_Bootstrap_resize_stats_sinks(envoy_config_bootstrap_v3_Bootstrap * msg,size_t size,upb_Arena * arena)910 UPB_INLINE struct envoy_config_metrics_v3_StatsSink** envoy_config_bootstrap_v3_Bootstrap_resize_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
911   upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
912   return (struct envoy_config_metrics_v3_StatsSink**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
913                                                    &field, size, arena);
914 }
envoy_config_bootstrap_v3_Bootstrap_add_stats_sinks(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)915 UPB_INLINE struct envoy_config_metrics_v3_StatsSink* envoy_config_bootstrap_v3_Bootstrap_add_stats_sinks(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
916   upb_MiniTableField field = {6, UPB_SIZE(28, 72), 0, 4, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
917   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
918       UPB_UPCAST(msg), &field, arena);
919   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
920                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
921     return NULL;
922   }
923   struct envoy_config_metrics_v3_StatsSink* sub = (struct envoy_config_metrics_v3_StatsSink*)_upb_Message_New(&envoy__config__metrics__v3__StatsSink_msg_init, arena);
924   if (!arr || !sub) return NULL;
925   UPB_PRIVATE(_upb_Array_Set)
926   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
927   return sub;
928 }
envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap * msg,struct google_protobuf_Duration * value)929 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap *msg, struct google_protobuf_Duration* value) {
930   const upb_MiniTableField field = {7, UPB_SIZE(32, 80), 68, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
931   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
932 }
envoy_config_bootstrap_v3_Bootstrap_mutable_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)933 UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_mutable_stats_flush_interval(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
934   struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Bootstrap_stats_flush_interval(msg);
935   if (sub == NULL) {
936     sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena);
937     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_interval(msg, sub);
938   }
939   return sub;
940 }
envoy_config_bootstrap_v3_Bootstrap_set_watchdog(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_Watchdog * value)941 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_watchdog(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Watchdog* value) {
942   const upb_MiniTableField field = {8, UPB_SIZE(36, 88), 69, 6, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
943   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
944 }
envoy_config_bootstrap_v3_Bootstrap_mutable_watchdog(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)945 UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Bootstrap_mutable_watchdog(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
946   struct envoy_config_bootstrap_v3_Watchdog* sub = (struct envoy_config_bootstrap_v3_Watchdog*)envoy_config_bootstrap_v3_Bootstrap_watchdog(msg);
947   if (sub == NULL) {
948     sub = (struct envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog_msg_init, arena);
949     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_watchdog(msg, sub);
950   }
951   return sub;
952 }
envoy_config_bootstrap_v3_Bootstrap_set_tracing(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_trace_v3_Tracing * value)953 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_tracing(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_trace_v3_Tracing* value) {
954   const upb_MiniTableField field = {9, UPB_SIZE(40, 96), 70, 7, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
955   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
956 }
envoy_config_bootstrap_v3_Bootstrap_mutable_tracing(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)957 UPB_INLINE struct envoy_config_trace_v3_Tracing* envoy_config_bootstrap_v3_Bootstrap_mutable_tracing(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
958   struct envoy_config_trace_v3_Tracing* sub = (struct envoy_config_trace_v3_Tracing*)envoy_config_bootstrap_v3_Bootstrap_tracing(msg);
959   if (sub == NULL) {
960     sub = (struct envoy_config_trace_v3_Tracing*)_upb_Message_New(&envoy__config__trace__v3__Tracing_msg_init, arena);
961     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_tracing(msg, sub);
962   }
963   return sub;
964 }
envoy_config_bootstrap_v3_Bootstrap_set_admin(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_Admin * value)965 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_admin(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Admin* value) {
966   const upb_MiniTableField field = {12, UPB_SIZE(44, 104), 71, 8, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
967   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
968 }
envoy_config_bootstrap_v3_Bootstrap_mutable_admin(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)969 UPB_INLINE struct envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Bootstrap_mutable_admin(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
970   struct envoy_config_bootstrap_v3_Admin* sub = (struct envoy_config_bootstrap_v3_Admin*)envoy_config_bootstrap_v3_Bootstrap_admin(msg);
971   if (sub == NULL) {
972     sub = (struct envoy_config_bootstrap_v3_Admin*)_upb_Message_New(&envoy__config__bootstrap__v3__Admin_msg_init, arena);
973     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_admin(msg, sub);
974   }
975   return sub;
976 }
envoy_config_bootstrap_v3_Bootstrap_set_stats_config(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_metrics_v3_StatsConfig * value)977 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_metrics_v3_StatsConfig* value) {
978   const upb_MiniTableField field = {13, UPB_SIZE(48, 112), 72, 9, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
979   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
980 }
envoy_config_bootstrap_v3_Bootstrap_mutable_stats_config(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)981 UPB_INLINE struct envoy_config_metrics_v3_StatsConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_stats_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
982   struct envoy_config_metrics_v3_StatsConfig* sub = (struct envoy_config_metrics_v3_StatsConfig*)envoy_config_bootstrap_v3_Bootstrap_stats_config(msg);
983   if (sub == NULL) {
984     sub = (struct envoy_config_metrics_v3_StatsConfig*)_upb_Message_New(&envoy__config__metrics__v3__StatsConfig_msg_init, arena);
985     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_stats_config(msg, sub);
986   }
987   return sub;
988 }
envoy_config_bootstrap_v3_Bootstrap_set_hds_config(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_core_v3_ApiConfigSource * value)989 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_hds_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_ApiConfigSource* value) {
990   const upb_MiniTableField field = {14, UPB_SIZE(52, 120), 73, 10, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
991   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
992 }
envoy_config_bootstrap_v3_Bootstrap_mutable_hds_config(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)993 UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_mutable_hds_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
994   struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_bootstrap_v3_Bootstrap_hds_config(msg);
995   if (sub == NULL) {
996     sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy__config__core__v3__ApiConfigSource_msg_init, arena);
997     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_hds_config(msg, sub);
998   }
999   return sub;
1000 }
envoy_config_bootstrap_v3_Bootstrap_set_overload_manager(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_overload_v3_OverloadManager * value)1001 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_overload_manager(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_overload_v3_OverloadManager* value) {
1002   const upb_MiniTableField field = {15, UPB_SIZE(56, 128), 74, 11, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1003   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1004 }
envoy_config_bootstrap_v3_Bootstrap_mutable_overload_manager(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1005 UPB_INLINE struct envoy_config_overload_v3_OverloadManager* envoy_config_bootstrap_v3_Bootstrap_mutable_overload_manager(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1006   struct envoy_config_overload_v3_OverloadManager* sub = (struct envoy_config_overload_v3_OverloadManager*)envoy_config_bootstrap_v3_Bootstrap_overload_manager(msg);
1007   if (sub == NULL) {
1008     sub = (struct envoy_config_overload_v3_OverloadManager*)_upb_Message_New(&envoy__config__overload__v3__OverloadManager_msg_init, arena);
1009     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_overload_manager(msg, sub);
1010   }
1011   return sub;
1012 }
envoy_config_bootstrap_v3_Bootstrap_set_enable_dispatcher_stats(envoy_config_bootstrap_v3_Bootstrap * msg,bool value)1013 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_enable_dispatcher_stats(envoy_config_bootstrap_v3_Bootstrap *msg, bool value) {
1014   const upb_MiniTableField field = {16, UPB_SIZE(60, 12), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1015   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1016 }
envoy_config_bootstrap_v3_Bootstrap_set_layered_runtime(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_LayeredRuntime * value)1017 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_layered_runtime(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_LayeredRuntime* value) {
1018   const upb_MiniTableField field = {17, UPB_SIZE(64, 136), 75, 12, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1019   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1020 }
envoy_config_bootstrap_v3_Bootstrap_mutable_layered_runtime(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1021 UPB_INLINE struct envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_Bootstrap_mutable_layered_runtime(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1022   struct envoy_config_bootstrap_v3_LayeredRuntime* sub = (struct envoy_config_bootstrap_v3_LayeredRuntime*)envoy_config_bootstrap_v3_Bootstrap_layered_runtime(msg);
1023   if (sub == NULL) {
1024     sub = (struct envoy_config_bootstrap_v3_LayeredRuntime*)_upb_Message_New(&envoy__config__bootstrap__v3__LayeredRuntime_msg_init, arena);
1025     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_layered_runtime(msg, sub);
1026   }
1027   return sub;
1028 }
envoy_config_bootstrap_v3_Bootstrap_set_header_prefix(envoy_config_bootstrap_v3_Bootstrap * msg,upb_StringView value)1029 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_header_prefix(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) {
1030   const upb_MiniTableField field = {18, UPB_SIZE(156, 144), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1031   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1032 }
envoy_config_bootstrap_v3_Bootstrap_set_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap * msg,struct google_protobuf_UInt64Value * value)1033 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap *msg, struct google_protobuf_UInt64Value* value) {
1034   const upb_MiniTableField field = {19, UPB_SIZE(68, 160), 76, 13, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1035   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1036 }
envoy_config_bootstrap_v3_Bootstrap_mutable_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1037 UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_bootstrap_v3_Bootstrap_mutable_stats_server_version_override(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1038   struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_bootstrap_v3_Bootstrap_stats_server_version_override(msg);
1039   if (sub == NULL) {
1040     sub = (struct google_protobuf_UInt64Value*)_upb_Message_New(&google__protobuf__UInt64Value_msg_init, arena);
1041     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_stats_server_version_override(msg, sub);
1042   }
1043   return sub;
1044 }
envoy_config_bootstrap_v3_Bootstrap_set_use_tcp_for_dns_lookups(envoy_config_bootstrap_v3_Bootstrap * msg,bool value)1045 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_use_tcp_for_dns_lookups(envoy_config_bootstrap_v3_Bootstrap *msg, bool value) {
1046   const upb_MiniTableField field = {20, UPB_SIZE(72, 13), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1047   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1048 }
envoy_config_bootstrap_v3_Bootstrap_mutable_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)1049 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_bootstrap_v3_Bootstrap_mutable_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
1050   upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1051   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1052   if (arr) {
1053     if (size) *size = arr->UPB_PRIVATE(size);
1054     return (struct envoy_config_core_v3_TypedExtensionConfig**)upb_Array_MutableDataPtr(arr);
1055   } else {
1056     if (size) *size = 0;
1057     return NULL;
1058   }
1059 }
envoy_config_bootstrap_v3_Bootstrap_resize_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap * msg,size_t size,upb_Arena * arena)1060 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig** envoy_config_bootstrap_v3_Bootstrap_resize_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
1061   upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1062   return (struct envoy_config_core_v3_TypedExtensionConfig**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1063                                                    &field, size, arena);
1064 }
envoy_config_bootstrap_v3_Bootstrap_add_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1065 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_add_bootstrap_extensions(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1066   upb_MiniTableField field = {21, UPB_SIZE(76, 168), 0, 14, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1067   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1068       UPB_UPCAST(msg), &field, arena);
1069   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1070                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1071     return NULL;
1072   }
1073   struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
1074   if (!arr || !sub) return NULL;
1075   UPB_PRIVATE(_upb_Array_Set)
1076   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1077   return sub;
1078 }
envoy_config_bootstrap_v3_Bootstrap_mutable_config_sources(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)1079 UPB_INLINE struct envoy_config_core_v3_ConfigSource** envoy_config_bootstrap_v3_Bootstrap_mutable_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
1080   upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1081   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1082   if (arr) {
1083     if (size) *size = arr->UPB_PRIVATE(size);
1084     return (struct envoy_config_core_v3_ConfigSource**)upb_Array_MutableDataPtr(arr);
1085   } else {
1086     if (size) *size = 0;
1087     return NULL;
1088   }
1089 }
envoy_config_bootstrap_v3_Bootstrap_resize_config_sources(envoy_config_bootstrap_v3_Bootstrap * msg,size_t size,upb_Arena * arena)1090 UPB_INLINE struct envoy_config_core_v3_ConfigSource** envoy_config_bootstrap_v3_Bootstrap_resize_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
1091   upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1092   return (struct envoy_config_core_v3_ConfigSource**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1093                                                    &field, size, arena);
1094 }
envoy_config_bootstrap_v3_Bootstrap_add_config_sources(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1095 UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_add_config_sources(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1096   upb_MiniTableField field = {22, UPB_SIZE(80, 176), 0, 15, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1097   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1098       UPB_UPCAST(msg), &field, arena);
1099   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1100                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1101     return NULL;
1102   }
1103   struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena);
1104   if (!arr || !sub) return NULL;
1105   UPB_PRIVATE(_upb_Array_Set)
1106   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1107   return sub;
1108 }
envoy_config_bootstrap_v3_Bootstrap_set_default_config_source(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_core_v3_ConfigSource * value)1109 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_default_config_source(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_ConfigSource* value) {
1110   const upb_MiniTableField field = {23, UPB_SIZE(84, 184), 77, 16, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1111   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1112 }
envoy_config_bootstrap_v3_Bootstrap_mutable_default_config_source(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1113 UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_mutable_default_config_source(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1114   struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_Bootstrap_default_config_source(msg);
1115   if (sub == NULL) {
1116     sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena);
1117     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_default_config_source(msg, sub);
1118   }
1119   return sub;
1120 }
envoy_config_bootstrap_v3_Bootstrap_set_default_socket_interface(envoy_config_bootstrap_v3_Bootstrap * msg,upb_StringView value)1121 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_default_socket_interface(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) {
1122   const upb_MiniTableField field = {24, UPB_SIZE(164, 192), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1123   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1124 }
envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_clear(envoy_config_bootstrap_v3_Bootstrap * msg)1125 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_clear(envoy_config_bootstrap_v3_Bootstrap* msg) {
1126   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1127   upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
1128   if (!map) return;
1129   _upb_Map_Clear(map);
1130 }
envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_set(envoy_config_bootstrap_v3_Bootstrap * msg,upb_StringView key,struct envoy_config_core_v3_TypedExtensionConfig * val,upb_Arena * a)1131 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_set(envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView key, struct envoy_config_core_v3_TypedExtensionConfig* val, upb_Arena* a) {
1132   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1133   upb_Map* map = _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg),
1134                                                     &field, 0, sizeof(val), a);
1135   return _upb_Map_Insert(map, &key, 0, &val, sizeof(val), a) !=
1136          kUpb_MapInsertStatus_OutOfMemory;
1137 }
envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_delete(envoy_config_bootstrap_v3_Bootstrap * msg,upb_StringView key)1138 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_delete(envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView key) {
1139   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1140   upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
1141   if (!map) return false;
1142   return _upb_Map_Delete(map, &key, 0, NULL);
1143 }
envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_nextmutable(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * iter)1144 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* envoy_config_bootstrap_v3_Bootstrap_certificate_provider_instances_nextmutable(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* iter) {
1145   const upb_MiniTableField field = {25, UPB_SIZE(88, 208), 0, 17, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1146   upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
1147   if (!map) return NULL;
1148   return (envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry*)_upb_map_next(map, iter);
1149 }
envoy_config_bootstrap_v3_Bootstrap_mutable_node_context_params(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)1150 UPB_INLINE upb_StringView* envoy_config_bootstrap_v3_Bootstrap_mutable_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
1151   upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1152   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1153   if (arr) {
1154     if (size) *size = arr->UPB_PRIVATE(size);
1155     return (upb_StringView*)upb_Array_MutableDataPtr(arr);
1156   } else {
1157     if (size) *size = 0;
1158     return NULL;
1159   }
1160 }
envoy_config_bootstrap_v3_Bootstrap_resize_node_context_params(envoy_config_bootstrap_v3_Bootstrap * msg,size_t size,upb_Arena * arena)1161 UPB_INLINE upb_StringView* envoy_config_bootstrap_v3_Bootstrap_resize_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
1162   upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1163   return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1164                                                    &field, size, arena);
1165 }
envoy_config_bootstrap_v3_Bootstrap_add_node_context_params(envoy_config_bootstrap_v3_Bootstrap * msg,upb_StringView val,upb_Arena * arena)1166 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_add_node_context_params(envoy_config_bootstrap_v3_Bootstrap* msg, upb_StringView val, upb_Arena* arena) {
1167   upb_MiniTableField field = {26, UPB_SIZE(92, 216), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1168   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1169       UPB_UPCAST(msg), &field, arena);
1170   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1171                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1172     return false;
1173   }
1174   UPB_PRIVATE(_upb_Array_Set)
1175   (arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
1176   return true;
1177 }
envoy_config_bootstrap_v3_Bootstrap_set_watchdogs(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_Watchdogs * value)1178 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_watchdogs(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Watchdogs* value) {
1179   const upb_MiniTableField field = {27, UPB_SIZE(96, 224), 78, 18, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1180   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1181 }
envoy_config_bootstrap_v3_Bootstrap_mutable_watchdogs(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1182 UPB_INLINE struct envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Bootstrap_mutable_watchdogs(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1183   struct envoy_config_bootstrap_v3_Watchdogs* sub = (struct envoy_config_bootstrap_v3_Watchdogs*)envoy_config_bootstrap_v3_Bootstrap_watchdogs(msg);
1184   if (sub == NULL) {
1185     sub = (struct envoy_config_bootstrap_v3_Watchdogs*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdogs_msg_init, arena);
1186     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_watchdogs(msg, sub);
1187   }
1188   return sub;
1189 }
envoy_config_bootstrap_v3_Bootstrap_mutable_fatal_actions(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)1190 UPB_INLINE envoy_config_bootstrap_v3_FatalAction** envoy_config_bootstrap_v3_Bootstrap_mutable_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
1191   upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1192   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1193   if (arr) {
1194     if (size) *size = arr->UPB_PRIVATE(size);
1195     return (envoy_config_bootstrap_v3_FatalAction**)upb_Array_MutableDataPtr(arr);
1196   } else {
1197     if (size) *size = 0;
1198     return NULL;
1199   }
1200 }
envoy_config_bootstrap_v3_Bootstrap_resize_fatal_actions(envoy_config_bootstrap_v3_Bootstrap * msg,size_t size,upb_Arena * arena)1201 UPB_INLINE envoy_config_bootstrap_v3_FatalAction** envoy_config_bootstrap_v3_Bootstrap_resize_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
1202   upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1203   return (envoy_config_bootstrap_v3_FatalAction**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1204                                                    &field, size, arena);
1205 }
envoy_config_bootstrap_v3_Bootstrap_add_fatal_actions(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1206 UPB_INLINE struct envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_Bootstrap_add_fatal_actions(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1207   upb_MiniTableField field = {28, UPB_SIZE(100, 232), 0, 19, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1208   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1209       UPB_UPCAST(msg), &field, arena);
1210   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1211                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1212     return NULL;
1213   }
1214   struct envoy_config_bootstrap_v3_FatalAction* sub = (struct envoy_config_bootstrap_v3_FatalAction*)_upb_Message_New(&envoy__config__bootstrap__v3__FatalAction_msg_init, arena);
1215   if (!arr || !sub) return NULL;
1216   UPB_PRIVATE(_upb_Array_Set)
1217   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1218   return sub;
1219 }
envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_on_admin(envoy_config_bootstrap_v3_Bootstrap * msg,bool value)1220 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_stats_flush_on_admin(envoy_config_bootstrap_v3_Bootstrap *msg, bool value) {
1221   const upb_MiniTableField field = {29, 11, UPB_SIZE(-105, -17), kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1222   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1223 }
envoy_config_bootstrap_v3_Bootstrap_set_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_core_v3_DnsResolutionConfig * value)1224 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_DnsResolutionConfig* value) {
1225   const upb_MiniTableField field = {30, UPB_SIZE(108, 240), 79, 20, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1226   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1227 }
envoy_config_bootstrap_v3_Bootstrap_mutable_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1228 UPB_INLINE struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_dns_resolution_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1229   struct envoy_config_core_v3_DnsResolutionConfig* sub = (struct envoy_config_core_v3_DnsResolutionConfig*)envoy_config_bootstrap_v3_Bootstrap_dns_resolution_config(msg);
1230   if (sub == NULL) {
1231     sub = (struct envoy_config_core_v3_DnsResolutionConfig*)_upb_Message_New(&envoy__config__core__v3__DnsResolutionConfig_msg_init, arena);
1232     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_dns_resolution_config(msg, sub);
1233   }
1234   return sub;
1235 }
envoy_config_bootstrap_v3_Bootstrap_set_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_core_v3_TypedExtensionConfig * value)1236 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
1237   const upb_MiniTableField field = {31, UPB_SIZE(112, 248), 80, 21, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1238   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1239 }
envoy_config_bootstrap_v3_Bootstrap_mutable_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1240 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_typed_dns_resolver_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1241   struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_typed_dns_resolver_config(msg);
1242   if (sub == NULL) {
1243     sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
1244     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_typed_dns_resolver_config(msg, sub);
1245   }
1246   return sub;
1247 }
envoy_config_bootstrap_v3_Bootstrap_mutable_inline_headers(envoy_config_bootstrap_v3_Bootstrap * msg,size_t * size)1248 UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader** envoy_config_bootstrap_v3_Bootstrap_mutable_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg, size_t* size) {
1249   upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1250   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1251   if (arr) {
1252     if (size) *size = arr->UPB_PRIVATE(size);
1253     return (envoy_config_bootstrap_v3_CustomInlineHeader**)upb_Array_MutableDataPtr(arr);
1254   } else {
1255     if (size) *size = 0;
1256     return NULL;
1257   }
1258 }
envoy_config_bootstrap_v3_Bootstrap_resize_inline_headers(envoy_config_bootstrap_v3_Bootstrap * msg,size_t size,upb_Arena * arena)1259 UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader** envoy_config_bootstrap_v3_Bootstrap_resize_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg, size_t size, upb_Arena* arena) {
1260   upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1261   return (envoy_config_bootstrap_v3_CustomInlineHeader**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1262                                                    &field, size, arena);
1263 }
envoy_config_bootstrap_v3_Bootstrap_add_inline_headers(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1264 UPB_INLINE struct envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_v3_Bootstrap_add_inline_headers(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1265   upb_MiniTableField field = {32, UPB_SIZE(116, 256), 0, 22, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1266   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1267       UPB_UPCAST(msg), &field, arena);
1268   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1269                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1270     return NULL;
1271   }
1272   struct envoy_config_bootstrap_v3_CustomInlineHeader* sub = (struct envoy_config_bootstrap_v3_CustomInlineHeader*)_upb_Message_New(&envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, arena);
1273   if (!arr || !sub) return NULL;
1274   UPB_PRIVATE(_upb_Array_Set)
1275   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1276   return sub;
1277 }
envoy_config_bootstrap_v3_Bootstrap_set_perf_tracing_file_path(envoy_config_bootstrap_v3_Bootstrap * msg,upb_StringView value)1278 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_perf_tracing_file_path(envoy_config_bootstrap_v3_Bootstrap *msg, upb_StringView value) {
1279   const upb_MiniTableField field = {33, UPB_SIZE(172, 264), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1280   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1281 }
envoy_config_bootstrap_v3_Bootstrap_set_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_core_v3_TypedExtensionConfig * value)1282 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
1283   const upb_MiniTableField field = {34, UPB_SIZE(120, 280), 81, 23, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1284   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1285 }
envoy_config_bootstrap_v3_Bootstrap_mutable_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1286 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_default_regex_engine(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1287   struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_default_regex_engine(msg);
1288   if (sub == NULL) {
1289     sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
1290     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_default_regex_engine(msg, sub);
1291   }
1292   return sub;
1293 }
envoy_config_bootstrap_v3_Bootstrap_set_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_core_v3_TypedExtensionConfig * value)1294 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
1295   const upb_MiniTableField field = {35, UPB_SIZE(124, 288), 82, 24, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1296   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1297 }
envoy_config_bootstrap_v3_Bootstrap_mutable_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1298 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_xds_delegate_extension(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1299   struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_xds_delegate_extension(msg);
1300   if (sub == NULL) {
1301     sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
1302     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_xds_delegate_extension(msg, sub);
1303   }
1304   return sub;
1305 }
envoy_config_bootstrap_v3_Bootstrap_set_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_core_v3_TypedExtensionConfig * value)1306 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
1307   const upb_MiniTableField field = {36, UPB_SIZE(128, 296), 83, 25, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1308   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1309 }
envoy_config_bootstrap_v3_Bootstrap_mutable_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1310 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_xds_config_tracker_extension(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1311   struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_xds_config_tracker_extension(msg);
1312   if (sub == NULL) {
1313     sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
1314     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_xds_config_tracker_extension(msg, sub);
1315   }
1316   return sub;
1317 }
envoy_config_bootstrap_v3_Bootstrap_set_listener_manager(envoy_config_bootstrap_v3_Bootstrap * msg,struct envoy_config_core_v3_TypedExtensionConfig * value)1318 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_listener_manager(envoy_config_bootstrap_v3_Bootstrap *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
1319   const upb_MiniTableField field = {37, UPB_SIZE(132, 304), 84, 26, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1320   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1321 }
envoy_config_bootstrap_v3_Bootstrap_mutable_listener_manager(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1322 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_listener_manager(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1323   struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Bootstrap_listener_manager(msg);
1324   if (sub == NULL) {
1325     sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
1326     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_listener_manager(msg, sub);
1327   }
1328   return sub;
1329 }
envoy_config_bootstrap_v3_Bootstrap_set_application_log_config(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig * value)1330 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_application_log_config(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* value) {
1331   const upb_MiniTableField field = {38, UPB_SIZE(136, 312), 85, 27, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1332   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1333 }
envoy_config_bootstrap_v3_Bootstrap_mutable_application_log_config(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1334 UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_application_log_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1335   struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig*)envoy_config_bootstrap_v3_Bootstrap_application_log_config(msg);
1336   if (sub == NULL) {
1337     sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, arena);
1338     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_application_log_config(msg, sub);
1339   }
1340   return sub;
1341 }
envoy_config_bootstrap_v3_Bootstrap_set_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions * value)1342 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* value) {
1343   const upb_MiniTableField field = {39, UPB_SIZE(140, 320), 86, 28, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1344   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1345 }
envoy_config_bootstrap_v3_Bootstrap_mutable_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1346 UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_mutable_deferred_stat_options(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1347   struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* sub = (struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions*)envoy_config_bootstrap_v3_Bootstrap_deferred_stat_options(msg);
1348   if (sub == NULL) {
1349     sub = (struct envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, arena);
1350     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_deferred_stat_options(msg, sub);
1351   }
1352   return sub;
1353 }
envoy_config_bootstrap_v3_Bootstrap_set_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap * msg,envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig * value)1354 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_set_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap *msg, envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* value) {
1355   const upb_MiniTableField field = {40, UPB_SIZE(144, 328), 87, 29, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1356   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1357 }
envoy_config_bootstrap_v3_Bootstrap_mutable_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap * msg,upb_Arena * arena)1358 UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_mutable_grpc_async_client_manager_config(envoy_config_bootstrap_v3_Bootstrap* msg, upb_Arena* arena) {
1359   struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* sub = (struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig*)envoy_config_bootstrap_v3_Bootstrap_grpc_async_client_manager_config(msg);
1360   if (sub == NULL) {
1361     sub = (struct envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, arena);
1362     if (sub) envoy_config_bootstrap_v3_Bootstrap_set_grpc_async_client_manager_config(msg, sub);
1363   }
1364   return sub;
1365 }
1366 
1367 /* envoy.config.bootstrap.v3.Bootstrap.StaticResources */
1368 
envoy_config_bootstrap_v3_Bootstrap_StaticResources_new(upb_Arena * arena)1369 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_StaticResources_new(upb_Arena* arena) {
1370   return (envoy_config_bootstrap_v3_Bootstrap_StaticResources*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, arena);
1371 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_parse(const char * buf,size_t size,upb_Arena * arena)1372 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_StaticResources_parse(const char* buf, size_t size, upb_Arena* arena) {
1373   envoy_config_bootstrap_v3_Bootstrap_StaticResources* ret = envoy_config_bootstrap_v3_Bootstrap_StaticResources_new(arena);
1374   if (!ret) return NULL;
1375   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, NULL, 0, arena) !=
1376       kUpb_DecodeStatus_Ok) {
1377     return NULL;
1378   }
1379   return ret;
1380 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)1381 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_StaticResources* envoy_config_bootstrap_v3_Bootstrap_StaticResources_parse_ex(const char* buf, size_t size,
1382                            const upb_ExtensionRegistry* extreg,
1383                            int options, upb_Arena* arena) {
1384   envoy_config_bootstrap_v3_Bootstrap_StaticResources* ret = envoy_config_bootstrap_v3_Bootstrap_StaticResources_new(arena);
1385   if (!ret) return NULL;
1386   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, extreg, options,
1387                  arena) != kUpb_DecodeStatus_Ok) {
1388     return NULL;
1389   }
1390   return ret;
1391 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_serialize(const envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,upb_Arena * arena,size_t * len)1392 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_StaticResources_serialize(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, upb_Arena* arena, size_t* len) {
1393   char* ptr;
1394   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, 0, arena, &ptr, len);
1395   return ptr;
1396 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,int options,upb_Arena * arena,size_t * len)1397 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_StaticResources_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, int options,
1398                                  upb_Arena* arena, size_t* len) {
1399   char* ptr;
1400   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__StaticResources_msg_init, options, arena, &ptr, len);
1401   return ptr;
1402 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg)1403 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) {
1404   const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1405   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1406 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners(const envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size)1407 UPB_INLINE const struct envoy_config_listener_v3_Listener* const* envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
1408   const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1409   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1410   if (arr) {
1411     if (size) *size = arr->UPB_PRIVATE(size);
1412     return (const struct envoy_config_listener_v3_Listener* const*)upb_Array_DataPtr(arr);
1413   } else {
1414     if (size) *size = 0;
1415     return NULL;
1416   }
1417 }
_envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners_upb_array(const envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size)1418 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners_upb_array(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
1419   const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1420   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1421   if (size) {
1422     *size = arr ? arr->UPB_PRIVATE(size) : 0;
1423   }
1424   return arr;
1425 }
_envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size,upb_Arena * arena)1426 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_listeners_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size, upb_Arena* arena) {
1427   const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1428   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
1429                                                        &field, arena);
1430   if (size) {
1431     *size = arr ? arr->UPB_PRIVATE(size) : 0;
1432   }
1433   return arr;
1434 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg)1435 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) {
1436   const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1437   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1438 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters(const envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size)1439 UPB_INLINE const struct envoy_config_cluster_v3_Cluster* const* envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
1440   const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1441   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1442   if (arr) {
1443     if (size) *size = arr->UPB_PRIVATE(size);
1444     return (const struct envoy_config_cluster_v3_Cluster* const*)upb_Array_DataPtr(arr);
1445   } else {
1446     if (size) *size = 0;
1447     return NULL;
1448   }
1449 }
_envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters_upb_array(const envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size)1450 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters_upb_array(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
1451   const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1452   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1453   if (size) {
1454     *size = arr ? arr->UPB_PRIVATE(size) : 0;
1455   }
1456   return arr;
1457 }
_envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size,upb_Arena * arena)1458 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_clusters_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size, upb_Arena* arena) {
1459   const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1460   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
1461                                                        &field, arena);
1462   if (size) {
1463     *size = arr ? arr->UPB_PRIVATE(size) : 0;
1464   }
1465   return arr;
1466 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg)1467 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_StaticResources_clear_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg) {
1468   const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1469   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1470 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets(const envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size)1471 UPB_INLINE const struct envoy_extensions_transport_sockets_tls_v3_Secret* const* envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
1472   const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1473   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1474   if (arr) {
1475     if (size) *size = arr->UPB_PRIVATE(size);
1476     return (const struct envoy_extensions_transport_sockets_tls_v3_Secret* const*)upb_Array_DataPtr(arr);
1477   } else {
1478     if (size) *size = 0;
1479     return NULL;
1480   }
1481 }
_envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets_upb_array(const envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size)1482 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets_upb_array(const envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
1483   const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1484   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
1485   if (size) {
1486     *size = arr ? arr->UPB_PRIVATE(size) : 0;
1487   }
1488   return arr;
1489 }
_envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size,upb_Arena * arena)1490 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Bootstrap_StaticResources_secrets_mutable_upb_array(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size, upb_Arena* arena) {
1491   const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1492   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
1493                                                        &field, arena);
1494   if (size) {
1495     *size = arr ? arr->UPB_PRIVATE(size) : 0;
1496   }
1497   return arr;
1498 }
1499 
envoy_config_bootstrap_v3_Bootstrap_StaticResources_mutable_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size)1500 UPB_INLINE struct envoy_config_listener_v3_Listener** envoy_config_bootstrap_v3_Bootstrap_StaticResources_mutable_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
1501   upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1502   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1503   if (arr) {
1504     if (size) *size = arr->UPB_PRIVATE(size);
1505     return (struct envoy_config_listener_v3_Listener**)upb_Array_MutableDataPtr(arr);
1506   } else {
1507     if (size) *size = 0;
1508     return NULL;
1509   }
1510 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_resize_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t size,upb_Arena * arena)1511 UPB_INLINE struct envoy_config_listener_v3_Listener** envoy_config_bootstrap_v3_Bootstrap_StaticResources_resize_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t size, upb_Arena* arena) {
1512   upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1513   return (struct envoy_config_listener_v3_Listener**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1514                                                    &field, size, arena);
1515 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_add_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,upb_Arena * arena)1516 UPB_INLINE struct envoy_config_listener_v3_Listener* envoy_config_bootstrap_v3_Bootstrap_StaticResources_add_listeners(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, upb_Arena* arena) {
1517   upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1518   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1519       UPB_UPCAST(msg), &field, arena);
1520   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1521                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1522     return NULL;
1523   }
1524   struct envoy_config_listener_v3_Listener* sub = (struct envoy_config_listener_v3_Listener*)_upb_Message_New(&envoy__config__listener__v3__Listener_msg_init, arena);
1525   if (!arr || !sub) return NULL;
1526   UPB_PRIVATE(_upb_Array_Set)
1527   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1528   return sub;
1529 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_mutable_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size)1530 UPB_INLINE struct envoy_config_cluster_v3_Cluster** envoy_config_bootstrap_v3_Bootstrap_StaticResources_mutable_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
1531   upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1532   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1533   if (arr) {
1534     if (size) *size = arr->UPB_PRIVATE(size);
1535     return (struct envoy_config_cluster_v3_Cluster**)upb_Array_MutableDataPtr(arr);
1536   } else {
1537     if (size) *size = 0;
1538     return NULL;
1539   }
1540 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_resize_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t size,upb_Arena * arena)1541 UPB_INLINE struct envoy_config_cluster_v3_Cluster** envoy_config_bootstrap_v3_Bootstrap_StaticResources_resize_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t size, upb_Arena* arena) {
1542   upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1543   return (struct envoy_config_cluster_v3_Cluster**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1544                                                    &field, size, arena);
1545 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_add_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,upb_Arena * arena)1546 UPB_INLINE struct envoy_config_cluster_v3_Cluster* envoy_config_bootstrap_v3_Bootstrap_StaticResources_add_clusters(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, upb_Arena* arena) {
1547   upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1548   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1549       UPB_UPCAST(msg), &field, arena);
1550   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1551                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1552     return NULL;
1553   }
1554   struct envoy_config_cluster_v3_Cluster* sub = (struct envoy_config_cluster_v3_Cluster*)_upb_Message_New(&envoy__config__cluster__v3__Cluster_msg_init, arena);
1555   if (!arr || !sub) return NULL;
1556   UPB_PRIVATE(_upb_Array_Set)
1557   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1558   return sub;
1559 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_mutable_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t * size)1560 UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_Secret** envoy_config_bootstrap_v3_Bootstrap_StaticResources_mutable_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t* size) {
1561   upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1562   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
1563   if (arr) {
1564     if (size) *size = arr->UPB_PRIVATE(size);
1565     return (struct envoy_extensions_transport_sockets_tls_v3_Secret**)upb_Array_MutableDataPtr(arr);
1566   } else {
1567     if (size) *size = 0;
1568     return NULL;
1569   }
1570 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_resize_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,size_t size,upb_Arena * arena)1571 UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_Secret** envoy_config_bootstrap_v3_Bootstrap_StaticResources_resize_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, size_t size, upb_Arena* arena) {
1572   upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1573   return (struct envoy_extensions_transport_sockets_tls_v3_Secret**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
1574                                                    &field, size, arena);
1575 }
envoy_config_bootstrap_v3_Bootstrap_StaticResources_add_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources * msg,upb_Arena * arena)1576 UPB_INLINE struct envoy_extensions_transport_sockets_tls_v3_Secret* envoy_config_bootstrap_v3_Bootstrap_StaticResources_add_secrets(envoy_config_bootstrap_v3_Bootstrap_StaticResources* msg, upb_Arena* arena) {
1577   upb_MiniTableField field = {3, UPB_SIZE(16, 24), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1578   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
1579       UPB_UPCAST(msg), &field, arena);
1580   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
1581                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
1582     return NULL;
1583   }
1584   struct envoy_extensions_transport_sockets_tls_v3_Secret* sub = (struct envoy_extensions_transport_sockets_tls_v3_Secret*)_upb_Message_New(&envoy__extensions__transport_0sockets__tls__v3__Secret_msg_init, arena);
1585   if (!arr || !sub) return NULL;
1586   UPB_PRIVATE(_upb_Array_Set)
1587   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
1588   return sub;
1589 }
1590 
1591 /* envoy.config.bootstrap.v3.Bootstrap.DynamicResources */
1592 
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_new(upb_Arena * arena)1593 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_new(upb_Arena* arena) {
1594   return (envoy_config_bootstrap_v3_Bootstrap_DynamicResources*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, arena);
1595 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_parse(const char * buf,size_t size,upb_Arena * arena)1596 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_parse(const char* buf, size_t size, upb_Arena* arena) {
1597   envoy_config_bootstrap_v3_Bootstrap_DynamicResources* ret = envoy_config_bootstrap_v3_Bootstrap_DynamicResources_new(arena);
1598   if (!ret) return NULL;
1599   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, NULL, 0, arena) !=
1600       kUpb_DecodeStatus_Ok) {
1601     return NULL;
1602   }
1603   return ret;
1604 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)1605 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DynamicResources* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_parse_ex(const char* buf, size_t size,
1606                            const upb_ExtensionRegistry* extreg,
1607                            int options, upb_Arena* arena) {
1608   envoy_config_bootstrap_v3_Bootstrap_DynamicResources* ret = envoy_config_bootstrap_v3_Bootstrap_DynamicResources_new(arena);
1609   if (!ret) return NULL;
1610   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, extreg, options,
1611                  arena) != kUpb_DecodeStatus_Ok) {
1612     return NULL;
1613   }
1614   return ret;
1615 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_serialize(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,upb_Arena * arena,size_t * len)1616 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_serialize(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena, size_t* len) {
1617   char* ptr;
1618   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, 0, arena, &ptr, len);
1619   return ptr;
1620 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,int options,upb_Arena * arena,size_t * len)1621 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, int options,
1622                                  upb_Arena* arena, size_t* len) {
1623   char* ptr;
1624   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__DynamicResources_msg_init, options, arena, &ptr, len);
1625   return ptr;
1626 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1627 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1628   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1629   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1630 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_lds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1631 UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_lds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1632   const struct envoy_config_core_v3_ConfigSource* default_val = NULL;
1633   const struct envoy_config_core_v3_ConfigSource* ret;
1634   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1635   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1636                                     &default_val, &ret);
1637   return ret;
1638 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_has_lds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1639 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_DynamicResources_has_lds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1640   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1641   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1642 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1643 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1644   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1645   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1646 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_cds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1647 UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_cds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1648   const struct envoy_config_core_v3_ConfigSource* default_val = NULL;
1649   const struct envoy_config_core_v3_ConfigSource* ret;
1650   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1651   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1652                                     &default_val, &ret);
1653   return ret;
1654 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_has_cds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1655 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_DynamicResources_has_cds_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1656   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1657   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1658 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1659 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1660   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1661   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1662 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_ads_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1663 UPB_INLINE const struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_ads_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1664   const struct envoy_config_core_v3_ApiConfigSource* default_val = NULL;
1665   const struct envoy_config_core_v3_ApiConfigSource* ret;
1666   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1667   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1668                                     &default_val, &ret);
1669   return ret;
1670 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_has_ads_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1671 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_DynamicResources_has_ads_config(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1672   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1673   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1674 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_lds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1675 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_lds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1676   const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1677   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1678 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_lds_resources_locator(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1679 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_DynamicResources_lds_resources_locator(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1680   upb_StringView default_val = upb_StringView_FromString("");
1681   upb_StringView ret;
1682   const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1683   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1684                                     &default_val, &ret);
1685   return ret;
1686 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_cds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1687 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_clear_cds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1688   const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1689   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1690 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_cds_resources_locator(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg)1691 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_DynamicResources_cds_resources_locator(const envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg) {
1692   upb_StringView default_val = upb_StringView_FromString("");
1693   upb_StringView ret;
1694   const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1695   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1696                                     &default_val, &ret);
1697   return ret;
1698 }
1699 
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,struct envoy_config_core_v3_ConfigSource * value)1700 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, struct envoy_config_core_v3_ConfigSource* value) {
1701   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1702   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1703 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,upb_Arena * arena)1704 UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_lds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena) {
1705   struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_Bootstrap_DynamicResources_lds_config(msg);
1706   if (sub == NULL) {
1707     sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena);
1708     if (sub) envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_lds_config(msg, sub);
1709   }
1710   return sub;
1711 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,struct envoy_config_core_v3_ConfigSource * value)1712 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, struct envoy_config_core_v3_ConfigSource* value) {
1713   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1714   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1715 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,upb_Arena * arena)1716 UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_cds_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena) {
1717   struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_Bootstrap_DynamicResources_cds_config(msg);
1718   if (sub == NULL) {
1719     sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena);
1720     if (sub) envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_config(msg, sub);
1721   }
1722   return sub;
1723 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,struct envoy_config_core_v3_ApiConfigSource * value)1724 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, struct envoy_config_core_v3_ApiConfigSource* value) {
1725   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1726   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1727 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,upb_Arena * arena)1728 UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_Bootstrap_DynamicResources_mutable_ads_config(envoy_config_bootstrap_v3_Bootstrap_DynamicResources* msg, upb_Arena* arena) {
1729   struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_bootstrap_v3_Bootstrap_DynamicResources_ads_config(msg);
1730   if (sub == NULL) {
1731     sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy__config__core__v3__ApiConfigSource_msg_init, arena);
1732     if (sub) envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_ads_config(msg, sub);
1733   }
1734   return sub;
1735 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_lds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,upb_StringView value)1736 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_lds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, upb_StringView value) {
1737   const upb_MiniTableField field = {5, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1738   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1739 }
envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources * msg,upb_StringView value)1740 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DynamicResources_set_cds_resources_locator(envoy_config_bootstrap_v3_Bootstrap_DynamicResources *msg, upb_StringView value) {
1741   const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1742   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1743 }
1744 
1745 /* envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig */
1746 
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_new(upb_Arena * arena)1747 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_new(upb_Arena* arena) {
1748   return (envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, arena);
1749 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_parse(const char * buf,size_t size,upb_Arena * arena)1750 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
1751   envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_new(arena);
1752   if (!ret) return NULL;
1753   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, NULL, 0, arena) !=
1754       kUpb_DecodeStatus_Ok) {
1755     return NULL;
1756   }
1757   return ret;
1758 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)1759 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_parse_ex(const char* buf, size_t size,
1760                            const upb_ExtensionRegistry* extreg,
1761                            int options, upb_Arena* arena) {
1762   envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_new(arena);
1763   if (!ret) return NULL;
1764   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, extreg, options,
1765                  arena) != kUpb_DecodeStatus_Ok) {
1766     return NULL;
1767   }
1768   return ret;
1769 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_serialize(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig * msg,upb_Arena * arena,size_t * len)1770 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_serialize(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg, upb_Arena* arena, size_t* len) {
1771   char* ptr;
1772   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, 0, arena, &ptr, len);
1773   return ptr;
1774 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig * msg,int options,upb_Arena * arena,size_t * len)1775 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg, int options,
1776                                  upb_Arena* arena, size_t* len) {
1777   char* ptr;
1778   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig_msg_init, options, arena, &ptr, len);
1779   return ptr;
1780 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_clear_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig * msg)1781 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_clear_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg) {
1782   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1783   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1784 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_log_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig * msg)1785 UPB_INLINE const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_log_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg) {
1786   const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* default_val = NULL;
1787   const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* ret;
1788   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1789   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1790                                     &default_val, &ret);
1791   return ret;
1792 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_has_log_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig * msg)1793 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_has_log_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg) {
1794   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1795   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1796 }
1797 
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_set_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig * msg,envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * value)1798 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_set_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig *msg, envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* value) {
1799   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1800   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1801 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_mutable_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig * msg,upb_Arena * arena)1802 UPB_INLINE struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_mutable_log_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig* msg, upb_Arena* arena) {
1803   struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat*)envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_log_format(msg);
1804   if (sub == NULL) {
1805     sub = (struct envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, arena);
1806     if (sub) envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_set_log_format(msg, sub);
1807   }
1808   return sub;
1809 }
1810 
1811 /* envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat */
1812 
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_new(upb_Arena * arena)1813 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_new(upb_Arena* arena) {
1814   return (envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, arena);
1815 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_parse(const char * buf,size_t size,upb_Arena * arena)1816 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_parse(const char* buf, size_t size, upb_Arena* arena) {
1817   envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_new(arena);
1818   if (!ret) return NULL;
1819   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, NULL, 0, arena) !=
1820       kUpb_DecodeStatus_Ok) {
1821     return NULL;
1822   }
1823   return ret;
1824 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)1825 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_parse_ex(const char* buf, size_t size,
1826                            const upb_ExtensionRegistry* extreg,
1827                            int options, upb_Arena* arena) {
1828   envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* ret = envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_new(arena);
1829   if (!ret) return NULL;
1830   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, extreg, options,
1831                  arena) != kUpb_DecodeStatus_Ok) {
1832     return NULL;
1833   }
1834   return ret;
1835 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_serialize(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg,upb_Arena * arena,size_t * len)1836 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_serialize(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg, upb_Arena* arena, size_t* len) {
1837   char* ptr;
1838   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, 0, arena, &ptr, len);
1839   return ptr;
1840 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg,int options,upb_Arena * arena,size_t * len)1841 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg, int options,
1842                                  upb_Arena* arena, size_t* len) {
1843   char* ptr;
1844   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__ApplicationLogConfig__LogFormat_msg_init, options, arena, &ptr, len);
1845   return ptr;
1846 }
1847 typedef enum {
1848   envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_json_format = 1,
1849   envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_text_format = 2,
1850   envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_NOT_SET = 0
1851 } envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases;
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_case(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg)1852 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_case(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
1853   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1854   return (envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_log_format_oneofcases)upb_Message_WhichOneofFieldNumber(
1855       UPB_UPCAST(msg), &field);
1856 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_clear_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg)1857 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_clear_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
1858   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1859   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1860 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_json_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg)1861 UPB_INLINE const struct google_protobuf_Struct* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_json_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
1862   const struct google_protobuf_Struct* default_val = NULL;
1863   const struct google_protobuf_Struct* ret;
1864   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1865   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1866                                     &default_val, &ret);
1867   return ret;
1868 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_has_json_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg)1869 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_has_json_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
1870   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1871   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1872 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_clear_text_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg)1873 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_clear_text_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
1874   const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1875   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1876 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_text_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg)1877 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_text_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
1878   upb_StringView default_val = upb_StringView_FromString("");
1879   upb_StringView ret;
1880   const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1881   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1882                                     &default_val, &ret);
1883   return ret;
1884 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_has_text_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg)1885 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_has_text_format(const envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg) {
1886   const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1887   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
1888 }
1889 
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg,struct google_protobuf_Struct * value)1890 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat *msg, struct google_protobuf_Struct* value) {
1891   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1892   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1893 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_mutable_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg,upb_Arena * arena)1894 UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_mutable_json_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat* msg, upb_Arena* arena) {
1895   struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_json_format(msg);
1896   if (sub == NULL) {
1897     sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena);
1898     if (sub) envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_json_format(msg, sub);
1899   }
1900   return sub;
1901 }
envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_text_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat * msg,upb_StringView value)1902 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_set_text_format(envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat *msg, upb_StringView value) {
1903   const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
1904   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1905 }
1906 
1907 /* envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions */
1908 
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_new(upb_Arena * arena)1909 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_new(upb_Arena* arena) {
1910   return (envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, arena);
1911 }
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_parse(const char * buf,size_t size,upb_Arena * arena)1912 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_parse(const char* buf, size_t size, upb_Arena* arena) {
1913   envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* ret = envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_new(arena);
1914   if (!ret) return NULL;
1915   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, NULL, 0, arena) !=
1916       kUpb_DecodeStatus_Ok) {
1917     return NULL;
1918   }
1919   return ret;
1920 }
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)1921 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_parse_ex(const char* buf, size_t size,
1922                            const upb_ExtensionRegistry* extreg,
1923                            int options, upb_Arena* arena) {
1924   envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* ret = envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_new(arena);
1925   if (!ret) return NULL;
1926   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, extreg, options,
1927                  arena) != kUpb_DecodeStatus_Ok) {
1928     return NULL;
1929   }
1930   return ret;
1931 }
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_serialize(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions * msg,upb_Arena * arena,size_t * len)1932 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_serialize(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg, upb_Arena* arena, size_t* len) {
1933   char* ptr;
1934   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, 0, arena, &ptr, len);
1935   return ptr;
1936 }
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions * msg,int options,upb_Arena * arena,size_t * len)1937 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg, int options,
1938                                  upb_Arena* arena, size_t* len) {
1939   char* ptr;
1940   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__DeferredStatOptions_msg_init, options, arena, &ptr, len);
1941   return ptr;
1942 }
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_clear_enable_deferred_creation_stats(envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions * msg)1943 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_clear_enable_deferred_creation_stats(envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg) {
1944   const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1945   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
1946 }
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_enable_deferred_creation_stats(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions * msg)1947 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_enable_deferred_creation_stats(const envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions* msg) {
1948   bool default_val = false;
1949   bool ret;
1950   const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1951   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
1952                                     &default_val, &ret);
1953   return ret;
1954 }
1955 
envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_set_enable_deferred_creation_stats(envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions * msg,bool value)1956 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_set_enable_deferred_creation_stats(envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions *msg, bool value) {
1957   const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
1958   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
1959 }
1960 
1961 /* envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig */
1962 
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_new(upb_Arena * arena)1963 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_new(upb_Arena* arena) {
1964   return (envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig*)_upb_Message_New(&envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, arena);
1965 }
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_parse(const char * buf,size_t size,upb_Arena * arena)1966 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_parse(const char* buf, size_t size, upb_Arena* arena) {
1967   envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* ret = envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_new(arena);
1968   if (!ret) return NULL;
1969   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, NULL, 0, arena) !=
1970       kUpb_DecodeStatus_Ok) {
1971     return NULL;
1972   }
1973   return ret;
1974 }
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)1975 UPB_INLINE envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_parse_ex(const char* buf, size_t size,
1976                            const upb_ExtensionRegistry* extreg,
1977                            int options, upb_Arena* arena) {
1978   envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* ret = envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_new(arena);
1979   if (!ret) return NULL;
1980   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, extreg, options,
1981                  arena) != kUpb_DecodeStatus_Ok) {
1982     return NULL;
1983   }
1984   return ret;
1985 }
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_serialize(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig * msg,upb_Arena * arena,size_t * len)1986 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_serialize(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg, upb_Arena* arena, size_t* len) {
1987   char* ptr;
1988   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, 0, arena, &ptr, len);
1989   return ptr;
1990 }
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig * msg,int options,upb_Arena * arena,size_t * len)1991 UPB_INLINE char* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_serialize_ex(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg, int options,
1992                                  upb_Arena* arena, size_t* len) {
1993   char* ptr;
1994   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Bootstrap__GrpcAsyncClientManagerConfig_msg_init, options, arena, &ptr, len);
1995   return ptr;
1996 }
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_clear_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig * msg)1997 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_clear_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg) {
1998   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
1999   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2000 }
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_max_cached_entry_idle_duration(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig * msg)2001 UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_max_cached_entry_idle_duration(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg) {
2002   const struct google_protobuf_Duration* default_val = NULL;
2003   const struct google_protobuf_Duration* ret;
2004   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2005   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2006                                     &default_val, &ret);
2007   return ret;
2008 }
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_has_max_cached_entry_idle_duration(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig * msg)2009 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_has_max_cached_entry_idle_duration(const envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg) {
2010   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2011   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2012 }
2013 
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_set_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig * msg,struct google_protobuf_Duration * value)2014 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_set_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig *msg, struct google_protobuf_Duration* value) {
2015   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2016   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2017 }
envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_mutable_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig * msg,upb_Arena * arena)2018 UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_mutable_max_cached_entry_idle_duration(envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig* msg, upb_Arena* arena) {
2019   struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_max_cached_entry_idle_duration(msg);
2020   if (sub == NULL) {
2021     sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena);
2022     if (sub) envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_set_max_cached_entry_idle_duration(msg, sub);
2023   }
2024   return sub;
2025 }
2026 
2027 /* envoy.config.bootstrap.v3.Bootstrap.CertificateProviderInstancesEntry */
2028 
envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_key(const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry * msg)2029 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_key(const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* msg) {
2030   upb_StringView ret;
2031   _upb_msg_map_key(msg, &ret, 0);
2032   return ret;
2033 }
envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_value(const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry * msg)2034 UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_value(const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* msg) {
2035   struct envoy_config_core_v3_TypedExtensionConfig* ret;
2036   _upb_msg_map_value(msg, &ret, sizeof(ret));
2037   return ret;
2038 }
envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_has_value(const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry * msg)2039 UPB_INLINE bool envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_has_value(const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry* msg) {
2040   const upb_MiniTableField field = {2, 32, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2041   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2042 }
2043 
envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_set_value(envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry * msg,struct envoy_config_core_v3_TypedExtensionConfig * value)2044 UPB_INLINE void envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_set_value(envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
2045   _upb_msg_map_set_value(msg, &value, sizeof(struct envoy_config_core_v3_TypedExtensionConfig*));
2046 }
2047 
2048 /* envoy.config.bootstrap.v3.Admin */
2049 
envoy_config_bootstrap_v3_Admin_new(upb_Arena * arena)2050 UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_new(upb_Arena* arena) {
2051   return (envoy_config_bootstrap_v3_Admin*)_upb_Message_New(&envoy__config__bootstrap__v3__Admin_msg_init, arena);
2052 }
envoy_config_bootstrap_v3_Admin_parse(const char * buf,size_t size,upb_Arena * arena)2053 UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_parse(const char* buf, size_t size, upb_Arena* arena) {
2054   envoy_config_bootstrap_v3_Admin* ret = envoy_config_bootstrap_v3_Admin_new(arena);
2055   if (!ret) return NULL;
2056   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Admin_msg_init, NULL, 0, arena) !=
2057       kUpb_DecodeStatus_Ok) {
2058     return NULL;
2059   }
2060   return ret;
2061 }
envoy_config_bootstrap_v3_Admin_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)2062 UPB_INLINE envoy_config_bootstrap_v3_Admin* envoy_config_bootstrap_v3_Admin_parse_ex(const char* buf, size_t size,
2063                            const upb_ExtensionRegistry* extreg,
2064                            int options, upb_Arena* arena) {
2065   envoy_config_bootstrap_v3_Admin* ret = envoy_config_bootstrap_v3_Admin_new(arena);
2066   if (!ret) return NULL;
2067   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Admin_msg_init, extreg, options,
2068                  arena) != kUpb_DecodeStatus_Ok) {
2069     return NULL;
2070   }
2071   return ret;
2072 }
envoy_config_bootstrap_v3_Admin_serialize(const envoy_config_bootstrap_v3_Admin * msg,upb_Arena * arena,size_t * len)2073 UPB_INLINE char* envoy_config_bootstrap_v3_Admin_serialize(const envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena, size_t* len) {
2074   char* ptr;
2075   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Admin_msg_init, 0, arena, &ptr, len);
2076   return ptr;
2077 }
envoy_config_bootstrap_v3_Admin_serialize_ex(const envoy_config_bootstrap_v3_Admin * msg,int options,upb_Arena * arena,size_t * len)2078 UPB_INLINE char* envoy_config_bootstrap_v3_Admin_serialize_ex(const envoy_config_bootstrap_v3_Admin* msg, int options,
2079                                  upb_Arena* arena, size_t* len) {
2080   char* ptr;
2081   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Admin_msg_init, options, arena, &ptr, len);
2082   return ptr;
2083 }
envoy_config_bootstrap_v3_Admin_clear_access_log_path(envoy_config_bootstrap_v3_Admin * msg)2084 UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_access_log_path(envoy_config_bootstrap_v3_Admin* msg) {
2085   const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2086   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2087 }
envoy_config_bootstrap_v3_Admin_access_log_path(const envoy_config_bootstrap_v3_Admin * msg)2088 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Admin_access_log_path(const envoy_config_bootstrap_v3_Admin* msg) {
2089   upb_StringView default_val = upb_StringView_FromString("");
2090   upb_StringView ret;
2091   const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2092   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2093                                     &default_val, &ret);
2094   return ret;
2095 }
envoy_config_bootstrap_v3_Admin_clear_profile_path(envoy_config_bootstrap_v3_Admin * msg)2096 UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_profile_path(envoy_config_bootstrap_v3_Admin* msg) {
2097   const upb_MiniTableField field = {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2098   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2099 }
envoy_config_bootstrap_v3_Admin_profile_path(const envoy_config_bootstrap_v3_Admin * msg)2100 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Admin_profile_path(const envoy_config_bootstrap_v3_Admin* msg) {
2101   upb_StringView default_val = upb_StringView_FromString("");
2102   upb_StringView ret;
2103   const upb_MiniTableField field = {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2104   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2105                                     &default_val, &ret);
2106   return ret;
2107 }
envoy_config_bootstrap_v3_Admin_clear_address(envoy_config_bootstrap_v3_Admin * msg)2108 UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_address(envoy_config_bootstrap_v3_Admin* msg) {
2109   const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2110   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2111 }
envoy_config_bootstrap_v3_Admin_address(const envoy_config_bootstrap_v3_Admin * msg)2112 UPB_INLINE const struct envoy_config_core_v3_Address* envoy_config_bootstrap_v3_Admin_address(const envoy_config_bootstrap_v3_Admin* msg) {
2113   const struct envoy_config_core_v3_Address* default_val = NULL;
2114   const struct envoy_config_core_v3_Address* ret;
2115   const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2116   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2117                                     &default_val, &ret);
2118   return ret;
2119 }
envoy_config_bootstrap_v3_Admin_has_address(const envoy_config_bootstrap_v3_Admin * msg)2120 UPB_INLINE bool envoy_config_bootstrap_v3_Admin_has_address(const envoy_config_bootstrap_v3_Admin* msg) {
2121   const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2122   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2123 }
envoy_config_bootstrap_v3_Admin_clear_socket_options(envoy_config_bootstrap_v3_Admin * msg)2124 UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_socket_options(envoy_config_bootstrap_v3_Admin* msg) {
2125   const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2126   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2127 }
envoy_config_bootstrap_v3_Admin_socket_options(const envoy_config_bootstrap_v3_Admin * msg,size_t * size)2128 UPB_INLINE const struct envoy_config_core_v3_SocketOption* const* envoy_config_bootstrap_v3_Admin_socket_options(const envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
2129   const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2130   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
2131   if (arr) {
2132     if (size) *size = arr->UPB_PRIVATE(size);
2133     return (const struct envoy_config_core_v3_SocketOption* const*)upb_Array_DataPtr(arr);
2134   } else {
2135     if (size) *size = 0;
2136     return NULL;
2137   }
2138 }
_envoy_config_bootstrap_v3_Admin_socket_options_upb_array(const envoy_config_bootstrap_v3_Admin * msg,size_t * size)2139 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Admin_socket_options_upb_array(const envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
2140   const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2141   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
2142   if (size) {
2143     *size = arr ? arr->UPB_PRIVATE(size) : 0;
2144   }
2145   return arr;
2146 }
_envoy_config_bootstrap_v3_Admin_socket_options_mutable_upb_array(envoy_config_bootstrap_v3_Admin * msg,size_t * size,upb_Arena * arena)2147 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Admin_socket_options_mutable_upb_array(envoy_config_bootstrap_v3_Admin* msg, size_t* size, upb_Arena* arena) {
2148   const upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2149   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
2150                                                        &field, arena);
2151   if (size) {
2152     *size = arr ? arr->UPB_PRIVATE(size) : 0;
2153   }
2154   return arr;
2155 }
envoy_config_bootstrap_v3_Admin_clear_access_log(envoy_config_bootstrap_v3_Admin * msg)2156 UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_access_log(envoy_config_bootstrap_v3_Admin* msg) {
2157   const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2158   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2159 }
envoy_config_bootstrap_v3_Admin_access_log(const envoy_config_bootstrap_v3_Admin * msg,size_t * size)2160 UPB_INLINE const struct envoy_config_accesslog_v3_AccessLog* const* envoy_config_bootstrap_v3_Admin_access_log(const envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
2161   const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2162   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
2163   if (arr) {
2164     if (size) *size = arr->UPB_PRIVATE(size);
2165     return (const struct envoy_config_accesslog_v3_AccessLog* const*)upb_Array_DataPtr(arr);
2166   } else {
2167     if (size) *size = 0;
2168     return NULL;
2169   }
2170 }
_envoy_config_bootstrap_v3_Admin_access_log_upb_array(const envoy_config_bootstrap_v3_Admin * msg,size_t * size)2171 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Admin_access_log_upb_array(const envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
2172   const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2173   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
2174   if (size) {
2175     *size = arr ? arr->UPB_PRIVATE(size) : 0;
2176   }
2177   return arr;
2178 }
_envoy_config_bootstrap_v3_Admin_access_log_mutable_upb_array(envoy_config_bootstrap_v3_Admin * msg,size_t * size,upb_Arena * arena)2179 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Admin_access_log_mutable_upb_array(envoy_config_bootstrap_v3_Admin* msg, size_t* size, upb_Arena* arena) {
2180   const upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2181   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
2182                                                        &field, arena);
2183   if (size) {
2184     *size = arr ? arr->UPB_PRIVATE(size) : 0;
2185   }
2186   return arr;
2187 }
envoy_config_bootstrap_v3_Admin_clear_ignore_global_conn_limit(envoy_config_bootstrap_v3_Admin * msg)2188 UPB_INLINE void envoy_config_bootstrap_v3_Admin_clear_ignore_global_conn_limit(envoy_config_bootstrap_v3_Admin* msg) {
2189   const upb_MiniTableField field = {6, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
2190   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2191 }
envoy_config_bootstrap_v3_Admin_ignore_global_conn_limit(const envoy_config_bootstrap_v3_Admin * msg)2192 UPB_INLINE bool envoy_config_bootstrap_v3_Admin_ignore_global_conn_limit(const envoy_config_bootstrap_v3_Admin* msg) {
2193   bool default_val = false;
2194   bool ret;
2195   const upb_MiniTableField field = {6, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
2196   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2197                                     &default_val, &ret);
2198   return ret;
2199 }
2200 
envoy_config_bootstrap_v3_Admin_set_access_log_path(envoy_config_bootstrap_v3_Admin * msg,upb_StringView value)2201 UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_access_log_path(envoy_config_bootstrap_v3_Admin *msg, upb_StringView value) {
2202   const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2203   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2204 }
envoy_config_bootstrap_v3_Admin_set_profile_path(envoy_config_bootstrap_v3_Admin * msg,upb_StringView value)2205 UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_profile_path(envoy_config_bootstrap_v3_Admin *msg, upb_StringView value) {
2206   const upb_MiniTableField field = {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2207   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2208 }
envoy_config_bootstrap_v3_Admin_set_address(envoy_config_bootstrap_v3_Admin * msg,struct envoy_config_core_v3_Address * value)2209 UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_address(envoy_config_bootstrap_v3_Admin *msg, struct envoy_config_core_v3_Address* value) {
2210   const upb_MiniTableField field = {3, UPB_SIZE(12, 48), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2211   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2212 }
envoy_config_bootstrap_v3_Admin_mutable_address(envoy_config_bootstrap_v3_Admin * msg,upb_Arena * arena)2213 UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_bootstrap_v3_Admin_mutable_address(envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena) {
2214   struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_bootstrap_v3_Admin_address(msg);
2215   if (sub == NULL) {
2216     sub = (struct envoy_config_core_v3_Address*)_upb_Message_New(&envoy__config__core__v3__Address_msg_init, arena);
2217     if (sub) envoy_config_bootstrap_v3_Admin_set_address(msg, sub);
2218   }
2219   return sub;
2220 }
envoy_config_bootstrap_v3_Admin_mutable_socket_options(envoy_config_bootstrap_v3_Admin * msg,size_t * size)2221 UPB_INLINE struct envoy_config_core_v3_SocketOption** envoy_config_bootstrap_v3_Admin_mutable_socket_options(envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
2222   upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2223   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
2224   if (arr) {
2225     if (size) *size = arr->UPB_PRIVATE(size);
2226     return (struct envoy_config_core_v3_SocketOption**)upb_Array_MutableDataPtr(arr);
2227   } else {
2228     if (size) *size = 0;
2229     return NULL;
2230   }
2231 }
envoy_config_bootstrap_v3_Admin_resize_socket_options(envoy_config_bootstrap_v3_Admin * msg,size_t size,upb_Arena * arena)2232 UPB_INLINE struct envoy_config_core_v3_SocketOption** envoy_config_bootstrap_v3_Admin_resize_socket_options(envoy_config_bootstrap_v3_Admin* msg, size_t size, upb_Arena* arena) {
2233   upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2234   return (struct envoy_config_core_v3_SocketOption**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
2235                                                    &field, size, arena);
2236 }
envoy_config_bootstrap_v3_Admin_add_socket_options(envoy_config_bootstrap_v3_Admin * msg,upb_Arena * arena)2237 UPB_INLINE struct envoy_config_core_v3_SocketOption* envoy_config_bootstrap_v3_Admin_add_socket_options(envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena) {
2238   upb_MiniTableField field = {4, UPB_SIZE(16, 56), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2239   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
2240       UPB_UPCAST(msg), &field, arena);
2241   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
2242                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
2243     return NULL;
2244   }
2245   struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_Message_New(&envoy__config__core__v3__SocketOption_msg_init, arena);
2246   if (!arr || !sub) return NULL;
2247   UPB_PRIVATE(_upb_Array_Set)
2248   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
2249   return sub;
2250 }
envoy_config_bootstrap_v3_Admin_mutable_access_log(envoy_config_bootstrap_v3_Admin * msg,size_t * size)2251 UPB_INLINE struct envoy_config_accesslog_v3_AccessLog** envoy_config_bootstrap_v3_Admin_mutable_access_log(envoy_config_bootstrap_v3_Admin* msg, size_t* size) {
2252   upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2253   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
2254   if (arr) {
2255     if (size) *size = arr->UPB_PRIVATE(size);
2256     return (struct envoy_config_accesslog_v3_AccessLog**)upb_Array_MutableDataPtr(arr);
2257   } else {
2258     if (size) *size = 0;
2259     return NULL;
2260   }
2261 }
envoy_config_bootstrap_v3_Admin_resize_access_log(envoy_config_bootstrap_v3_Admin * msg,size_t size,upb_Arena * arena)2262 UPB_INLINE struct envoy_config_accesslog_v3_AccessLog** envoy_config_bootstrap_v3_Admin_resize_access_log(envoy_config_bootstrap_v3_Admin* msg, size_t size, upb_Arena* arena) {
2263   upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2264   return (struct envoy_config_accesslog_v3_AccessLog**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
2265                                                    &field, size, arena);
2266 }
envoy_config_bootstrap_v3_Admin_add_access_log(envoy_config_bootstrap_v3_Admin * msg,upb_Arena * arena)2267 UPB_INLINE struct envoy_config_accesslog_v3_AccessLog* envoy_config_bootstrap_v3_Admin_add_access_log(envoy_config_bootstrap_v3_Admin* msg, upb_Arena* arena) {
2268   upb_MiniTableField field = {5, UPB_SIZE(20, 64), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2269   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
2270       UPB_UPCAST(msg), &field, arena);
2271   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
2272                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
2273     return NULL;
2274   }
2275   struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_Message_New(&envoy__config__accesslog__v3__AccessLog_msg_init, arena);
2276   if (!arr || !sub) return NULL;
2277   UPB_PRIVATE(_upb_Array_Set)
2278   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
2279   return sub;
2280 }
envoy_config_bootstrap_v3_Admin_set_ignore_global_conn_limit(envoy_config_bootstrap_v3_Admin * msg,bool value)2281 UPB_INLINE void envoy_config_bootstrap_v3_Admin_set_ignore_global_conn_limit(envoy_config_bootstrap_v3_Admin *msg, bool value) {
2282   const upb_MiniTableField field = {6, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
2283   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2284 }
2285 
2286 /* envoy.config.bootstrap.v3.ClusterManager */
2287 
envoy_config_bootstrap_v3_ClusterManager_new(upb_Arena * arena)2288 UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_ClusterManager_new(upb_Arena* arena) {
2289   return (envoy_config_bootstrap_v3_ClusterManager*)_upb_Message_New(&envoy__config__bootstrap__v3__ClusterManager_msg_init, arena);
2290 }
envoy_config_bootstrap_v3_ClusterManager_parse(const char * buf,size_t size,upb_Arena * arena)2291 UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_ClusterManager_parse(const char* buf, size_t size, upb_Arena* arena) {
2292   envoy_config_bootstrap_v3_ClusterManager* ret = envoy_config_bootstrap_v3_ClusterManager_new(arena);
2293   if (!ret) return NULL;
2294   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__ClusterManager_msg_init, NULL, 0, arena) !=
2295       kUpb_DecodeStatus_Ok) {
2296     return NULL;
2297   }
2298   return ret;
2299 }
envoy_config_bootstrap_v3_ClusterManager_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)2300 UPB_INLINE envoy_config_bootstrap_v3_ClusterManager* envoy_config_bootstrap_v3_ClusterManager_parse_ex(const char* buf, size_t size,
2301                            const upb_ExtensionRegistry* extreg,
2302                            int options, upb_Arena* arena) {
2303   envoy_config_bootstrap_v3_ClusterManager* ret = envoy_config_bootstrap_v3_ClusterManager_new(arena);
2304   if (!ret) return NULL;
2305   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__ClusterManager_msg_init, extreg, options,
2306                  arena) != kUpb_DecodeStatus_Ok) {
2307     return NULL;
2308   }
2309   return ret;
2310 }
envoy_config_bootstrap_v3_ClusterManager_serialize(const envoy_config_bootstrap_v3_ClusterManager * msg,upb_Arena * arena,size_t * len)2311 UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_serialize(const envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena, size_t* len) {
2312   char* ptr;
2313   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__ClusterManager_msg_init, 0, arena, &ptr, len);
2314   return ptr;
2315 }
envoy_config_bootstrap_v3_ClusterManager_serialize_ex(const envoy_config_bootstrap_v3_ClusterManager * msg,int options,upb_Arena * arena,size_t * len)2316 UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_serialize_ex(const envoy_config_bootstrap_v3_ClusterManager* msg, int options,
2317                                  upb_Arena* arena, size_t* len) {
2318   char* ptr;
2319   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__ClusterManager_msg_init, options, arena, &ptr, len);
2320   return ptr;
2321 }
envoy_config_bootstrap_v3_ClusterManager_clear_local_cluster_name(envoy_config_bootstrap_v3_ClusterManager * msg)2322 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_local_cluster_name(envoy_config_bootstrap_v3_ClusterManager* msg) {
2323   const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2324   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2325 }
envoy_config_bootstrap_v3_ClusterManager_local_cluster_name(const envoy_config_bootstrap_v3_ClusterManager * msg)2326 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_ClusterManager_local_cluster_name(const envoy_config_bootstrap_v3_ClusterManager* msg) {
2327   upb_StringView default_val = upb_StringView_FromString("");
2328   upb_StringView ret;
2329   const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2330   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2331                                     &default_val, &ret);
2332   return ret;
2333 }
envoy_config_bootstrap_v3_ClusterManager_clear_outlier_detection(envoy_config_bootstrap_v3_ClusterManager * msg)2334 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_outlier_detection(envoy_config_bootstrap_v3_ClusterManager* msg) {
2335   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2336   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2337 }
envoy_config_bootstrap_v3_ClusterManager_outlier_detection(const envoy_config_bootstrap_v3_ClusterManager * msg)2338 UPB_INLINE const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_outlier_detection(const envoy_config_bootstrap_v3_ClusterManager* msg) {
2339   const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* default_val = NULL;
2340   const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* ret;
2341   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2342   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2343                                     &default_val, &ret);
2344   return ret;
2345 }
envoy_config_bootstrap_v3_ClusterManager_has_outlier_detection(const envoy_config_bootstrap_v3_ClusterManager * msg)2346 UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_has_outlier_detection(const envoy_config_bootstrap_v3_ClusterManager* msg) {
2347   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2348   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2349 }
envoy_config_bootstrap_v3_ClusterManager_clear_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager * msg)2350 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager* msg) {
2351   const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2352   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2353 }
envoy_config_bootstrap_v3_ClusterManager_upstream_bind_config(const envoy_config_bootstrap_v3_ClusterManager * msg)2354 UPB_INLINE const struct envoy_config_core_v3_BindConfig* envoy_config_bootstrap_v3_ClusterManager_upstream_bind_config(const envoy_config_bootstrap_v3_ClusterManager* msg) {
2355   const struct envoy_config_core_v3_BindConfig* default_val = NULL;
2356   const struct envoy_config_core_v3_BindConfig* ret;
2357   const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2358   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2359                                     &default_val, &ret);
2360   return ret;
2361 }
envoy_config_bootstrap_v3_ClusterManager_has_upstream_bind_config(const envoy_config_bootstrap_v3_ClusterManager * msg)2362 UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_has_upstream_bind_config(const envoy_config_bootstrap_v3_ClusterManager* msg) {
2363   const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2364   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2365 }
envoy_config_bootstrap_v3_ClusterManager_clear_load_stats_config(envoy_config_bootstrap_v3_ClusterManager * msg)2366 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_load_stats_config(envoy_config_bootstrap_v3_ClusterManager* msg) {
2367   const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2368   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2369 }
envoy_config_bootstrap_v3_ClusterManager_load_stats_config(const envoy_config_bootstrap_v3_ClusterManager * msg)2370 UPB_INLINE const struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_ClusterManager_load_stats_config(const envoy_config_bootstrap_v3_ClusterManager* msg) {
2371   const struct envoy_config_core_v3_ApiConfigSource* default_val = NULL;
2372   const struct envoy_config_core_v3_ApiConfigSource* ret;
2373   const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2374   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2375                                     &default_val, &ret);
2376   return ret;
2377 }
envoy_config_bootstrap_v3_ClusterManager_has_load_stats_config(const envoy_config_bootstrap_v3_ClusterManager * msg)2378 UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_has_load_stats_config(const envoy_config_bootstrap_v3_ClusterManager* msg) {
2379   const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2380   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2381 }
envoy_config_bootstrap_v3_ClusterManager_clear_enable_deferred_cluster_creation(envoy_config_bootstrap_v3_ClusterManager * msg)2382 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_clear_enable_deferred_cluster_creation(envoy_config_bootstrap_v3_ClusterManager* msg) {
2383   const upb_MiniTableField field = {5, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
2384   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2385 }
envoy_config_bootstrap_v3_ClusterManager_enable_deferred_cluster_creation(const envoy_config_bootstrap_v3_ClusterManager * msg)2386 UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_enable_deferred_cluster_creation(const envoy_config_bootstrap_v3_ClusterManager* msg) {
2387   bool default_val = false;
2388   bool ret;
2389   const upb_MiniTableField field = {5, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
2390   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2391                                     &default_val, &ret);
2392   return ret;
2393 }
2394 
envoy_config_bootstrap_v3_ClusterManager_set_local_cluster_name(envoy_config_bootstrap_v3_ClusterManager * msg,upb_StringView value)2395 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_local_cluster_name(envoy_config_bootstrap_v3_ClusterManager *msg, upb_StringView value) {
2396   const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2397   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2398 }
envoy_config_bootstrap_v3_ClusterManager_set_outlier_detection(envoy_config_bootstrap_v3_ClusterManager * msg,envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * value)2399 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_outlier_detection(envoy_config_bootstrap_v3_ClusterManager *msg, envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* value) {
2400   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2401   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2402 }
envoy_config_bootstrap_v3_ClusterManager_mutable_outlier_detection(envoy_config_bootstrap_v3_ClusterManager * msg,upb_Arena * arena)2403 UPB_INLINE struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_mutable_outlier_detection(envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena) {
2404   struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* sub = (struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection*)envoy_config_bootstrap_v3_ClusterManager_outlier_detection(msg);
2405   if (sub == NULL) {
2406     sub = (struct envoy_config_bootstrap_v3_ClusterManager_OutlierDetection*)_upb_Message_New(&envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, arena);
2407     if (sub) envoy_config_bootstrap_v3_ClusterManager_set_outlier_detection(msg, sub);
2408   }
2409   return sub;
2410 }
envoy_config_bootstrap_v3_ClusterManager_set_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager * msg,struct envoy_config_core_v3_BindConfig * value)2411 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager *msg, struct envoy_config_core_v3_BindConfig* value) {
2412   const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2413   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2414 }
envoy_config_bootstrap_v3_ClusterManager_mutable_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager * msg,upb_Arena * arena)2415 UPB_INLINE struct envoy_config_core_v3_BindConfig* envoy_config_bootstrap_v3_ClusterManager_mutable_upstream_bind_config(envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena) {
2416   struct envoy_config_core_v3_BindConfig* sub = (struct envoy_config_core_v3_BindConfig*)envoy_config_bootstrap_v3_ClusterManager_upstream_bind_config(msg);
2417   if (sub == NULL) {
2418     sub = (struct envoy_config_core_v3_BindConfig*)_upb_Message_New(&envoy__config__core__v3__BindConfig_msg_init, arena);
2419     if (sub) envoy_config_bootstrap_v3_ClusterManager_set_upstream_bind_config(msg, sub);
2420   }
2421   return sub;
2422 }
envoy_config_bootstrap_v3_ClusterManager_set_load_stats_config(envoy_config_bootstrap_v3_ClusterManager * msg,struct envoy_config_core_v3_ApiConfigSource * value)2423 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_load_stats_config(envoy_config_bootstrap_v3_ClusterManager *msg, struct envoy_config_core_v3_ApiConfigSource* value) {
2424   const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2425   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2426 }
envoy_config_bootstrap_v3_ClusterManager_mutable_load_stats_config(envoy_config_bootstrap_v3_ClusterManager * msg,upb_Arena * arena)2427 UPB_INLINE struct envoy_config_core_v3_ApiConfigSource* envoy_config_bootstrap_v3_ClusterManager_mutable_load_stats_config(envoy_config_bootstrap_v3_ClusterManager* msg, upb_Arena* arena) {
2428   struct envoy_config_core_v3_ApiConfigSource* sub = (struct envoy_config_core_v3_ApiConfigSource*)envoy_config_bootstrap_v3_ClusterManager_load_stats_config(msg);
2429   if (sub == NULL) {
2430     sub = (struct envoy_config_core_v3_ApiConfigSource*)_upb_Message_New(&envoy__config__core__v3__ApiConfigSource_msg_init, arena);
2431     if (sub) envoy_config_bootstrap_v3_ClusterManager_set_load_stats_config(msg, sub);
2432   }
2433   return sub;
2434 }
envoy_config_bootstrap_v3_ClusterManager_set_enable_deferred_cluster_creation(envoy_config_bootstrap_v3_ClusterManager * msg,bool value)2435 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_set_enable_deferred_cluster_creation(envoy_config_bootstrap_v3_ClusterManager *msg, bool value) {
2436   const upb_MiniTableField field = {5, UPB_SIZE(24, 9), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
2437   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2438 }
2439 
2440 /* envoy.config.bootstrap.v3.ClusterManager.OutlierDetection */
2441 
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_new(upb_Arena * arena)2442 UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_new(upb_Arena* arena) {
2443   return (envoy_config_bootstrap_v3_ClusterManager_OutlierDetection*)_upb_Message_New(&envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, arena);
2444 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_parse(const char * buf,size_t size,upb_Arena * arena)2445 UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_parse(const char* buf, size_t size, upb_Arena* arena) {
2446   envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* ret = envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_new(arena);
2447   if (!ret) return NULL;
2448   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, NULL, 0, arena) !=
2449       kUpb_DecodeStatus_Ok) {
2450     return NULL;
2451   }
2452   return ret;
2453 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)2454 UPB_INLINE envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_parse_ex(const char* buf, size_t size,
2455                            const upb_ExtensionRegistry* extreg,
2456                            int options, upb_Arena* arena) {
2457   envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* ret = envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_new(arena);
2458   if (!ret) return NULL;
2459   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, extreg, options,
2460                  arena) != kUpb_DecodeStatus_Ok) {
2461     return NULL;
2462   }
2463   return ret;
2464 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_serialize(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg,upb_Arena * arena,size_t * len)2465 UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_serialize(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg, upb_Arena* arena, size_t* len) {
2466   char* ptr;
2467   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, 0, arena, &ptr, len);
2468   return ptr;
2469 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_serialize_ex(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg,int options,upb_Arena * arena,size_t * len)2470 UPB_INLINE char* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_serialize_ex(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg, int options,
2471                                  upb_Arena* arena, size_t* len) {
2472   char* ptr;
2473   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__ClusterManager__OutlierDetection_msg_init, options, arena, &ptr, len);
2474   return ptr;
2475 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_clear_event_log_path(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg)2476 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_clear_event_log_path(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
2477   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2478   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2479 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_event_log_path(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg)2480 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_event_log_path(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
2481   upb_StringView default_val = upb_StringView_FromString("");
2482   upb_StringView ret;
2483   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2484   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2485                                     &default_val, &ret);
2486   return ret;
2487 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_clear_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg)2488 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_clear_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
2489   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2490   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2491 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_event_service(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg)2492 UPB_INLINE const struct envoy_config_core_v3_EventServiceConfig* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_event_service(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
2493   const struct envoy_config_core_v3_EventServiceConfig* default_val = NULL;
2494   const struct envoy_config_core_v3_EventServiceConfig* ret;
2495   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2496   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2497                                     &default_val, &ret);
2498   return ret;
2499 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_has_event_service(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg)2500 UPB_INLINE bool envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_has_event_service(const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg) {
2501   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2502   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2503 }
2504 
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_set_event_log_path(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg,upb_StringView value)2505 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_set_event_log_path(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection *msg, upb_StringView value) {
2506   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
2507   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2508 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_set_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg,struct envoy_config_core_v3_EventServiceConfig * value)2509 UPB_INLINE void envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_set_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection *msg, struct envoy_config_core_v3_EventServiceConfig* value) {
2510   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2511   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2512 }
envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_mutable_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection * msg,upb_Arena * arena)2513 UPB_INLINE struct envoy_config_core_v3_EventServiceConfig* envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_mutable_event_service(envoy_config_bootstrap_v3_ClusterManager_OutlierDetection* msg, upb_Arena* arena) {
2514   struct envoy_config_core_v3_EventServiceConfig* sub = (struct envoy_config_core_v3_EventServiceConfig*)envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_event_service(msg);
2515   if (sub == NULL) {
2516     sub = (struct envoy_config_core_v3_EventServiceConfig*)_upb_Message_New(&envoy__config__core__v3__EventServiceConfig_msg_init, arena);
2517     if (sub) envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_set_event_service(msg, sub);
2518   }
2519   return sub;
2520 }
2521 
2522 /* envoy.config.bootstrap.v3.Watchdogs */
2523 
envoy_config_bootstrap_v3_Watchdogs_new(upb_Arena * arena)2524 UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchdogs_new(upb_Arena* arena) {
2525   return (envoy_config_bootstrap_v3_Watchdogs*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdogs_msg_init, arena);
2526 }
envoy_config_bootstrap_v3_Watchdogs_parse(const char * buf,size_t size,upb_Arena * arena)2527 UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchdogs_parse(const char* buf, size_t size, upb_Arena* arena) {
2528   envoy_config_bootstrap_v3_Watchdogs* ret = envoy_config_bootstrap_v3_Watchdogs_new(arena);
2529   if (!ret) return NULL;
2530   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdogs_msg_init, NULL, 0, arena) !=
2531       kUpb_DecodeStatus_Ok) {
2532     return NULL;
2533   }
2534   return ret;
2535 }
envoy_config_bootstrap_v3_Watchdogs_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)2536 UPB_INLINE envoy_config_bootstrap_v3_Watchdogs* envoy_config_bootstrap_v3_Watchdogs_parse_ex(const char* buf, size_t size,
2537                            const upb_ExtensionRegistry* extreg,
2538                            int options, upb_Arena* arena) {
2539   envoy_config_bootstrap_v3_Watchdogs* ret = envoy_config_bootstrap_v3_Watchdogs_new(arena);
2540   if (!ret) return NULL;
2541   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdogs_msg_init, extreg, options,
2542                  arena) != kUpb_DecodeStatus_Ok) {
2543     return NULL;
2544   }
2545   return ret;
2546 }
envoy_config_bootstrap_v3_Watchdogs_serialize(const envoy_config_bootstrap_v3_Watchdogs * msg,upb_Arena * arena,size_t * len)2547 UPB_INLINE char* envoy_config_bootstrap_v3_Watchdogs_serialize(const envoy_config_bootstrap_v3_Watchdogs* msg, upb_Arena* arena, size_t* len) {
2548   char* ptr;
2549   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdogs_msg_init, 0, arena, &ptr, len);
2550   return ptr;
2551 }
envoy_config_bootstrap_v3_Watchdogs_serialize_ex(const envoy_config_bootstrap_v3_Watchdogs * msg,int options,upb_Arena * arena,size_t * len)2552 UPB_INLINE char* envoy_config_bootstrap_v3_Watchdogs_serialize_ex(const envoy_config_bootstrap_v3_Watchdogs* msg, int options,
2553                                  upb_Arena* arena, size_t* len) {
2554   char* ptr;
2555   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdogs_msg_init, options, arena, &ptr, len);
2556   return ptr;
2557 }
envoy_config_bootstrap_v3_Watchdogs_clear_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs * msg)2558 UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_clear_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg) {
2559   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2560   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2561 }
envoy_config_bootstrap_v3_Watchdogs_main_thread_watchdog(const envoy_config_bootstrap_v3_Watchdogs * msg)2562 UPB_INLINE const envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_main_thread_watchdog(const envoy_config_bootstrap_v3_Watchdogs* msg) {
2563   const envoy_config_bootstrap_v3_Watchdog* default_val = NULL;
2564   const envoy_config_bootstrap_v3_Watchdog* ret;
2565   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2566   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2567                                     &default_val, &ret);
2568   return ret;
2569 }
envoy_config_bootstrap_v3_Watchdogs_has_main_thread_watchdog(const envoy_config_bootstrap_v3_Watchdogs * msg)2570 UPB_INLINE bool envoy_config_bootstrap_v3_Watchdogs_has_main_thread_watchdog(const envoy_config_bootstrap_v3_Watchdogs* msg) {
2571   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2572   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2573 }
envoy_config_bootstrap_v3_Watchdogs_clear_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs * msg)2574 UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_clear_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg) {
2575   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2576   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2577 }
envoy_config_bootstrap_v3_Watchdogs_worker_watchdog(const envoy_config_bootstrap_v3_Watchdogs * msg)2578 UPB_INLINE const envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_worker_watchdog(const envoy_config_bootstrap_v3_Watchdogs* msg) {
2579   const envoy_config_bootstrap_v3_Watchdog* default_val = NULL;
2580   const envoy_config_bootstrap_v3_Watchdog* ret;
2581   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2582   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2583                                     &default_val, &ret);
2584   return ret;
2585 }
envoy_config_bootstrap_v3_Watchdogs_has_worker_watchdog(const envoy_config_bootstrap_v3_Watchdogs * msg)2586 UPB_INLINE bool envoy_config_bootstrap_v3_Watchdogs_has_worker_watchdog(const envoy_config_bootstrap_v3_Watchdogs* msg) {
2587   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2588   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2589 }
2590 
envoy_config_bootstrap_v3_Watchdogs_set_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs * msg,envoy_config_bootstrap_v3_Watchdog * value)2591 UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_set_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs *msg, envoy_config_bootstrap_v3_Watchdog* value) {
2592   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2593   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2594 }
envoy_config_bootstrap_v3_Watchdogs_mutable_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs * msg,upb_Arena * arena)2595 UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_mutable_main_thread_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg, upb_Arena* arena) {
2596   struct envoy_config_bootstrap_v3_Watchdog* sub = (struct envoy_config_bootstrap_v3_Watchdog*)envoy_config_bootstrap_v3_Watchdogs_main_thread_watchdog(msg);
2597   if (sub == NULL) {
2598     sub = (struct envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog_msg_init, arena);
2599     if (sub) envoy_config_bootstrap_v3_Watchdogs_set_main_thread_watchdog(msg, sub);
2600   }
2601   return sub;
2602 }
envoy_config_bootstrap_v3_Watchdogs_set_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs * msg,envoy_config_bootstrap_v3_Watchdog * value)2603 UPB_INLINE void envoy_config_bootstrap_v3_Watchdogs_set_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs *msg, envoy_config_bootstrap_v3_Watchdog* value) {
2604   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2605   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2606 }
envoy_config_bootstrap_v3_Watchdogs_mutable_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs * msg,upb_Arena * arena)2607 UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdogs_mutable_worker_watchdog(envoy_config_bootstrap_v3_Watchdogs* msg, upb_Arena* arena) {
2608   struct envoy_config_bootstrap_v3_Watchdog* sub = (struct envoy_config_bootstrap_v3_Watchdog*)envoy_config_bootstrap_v3_Watchdogs_worker_watchdog(msg);
2609   if (sub == NULL) {
2610     sub = (struct envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog_msg_init, arena);
2611     if (sub) envoy_config_bootstrap_v3_Watchdogs_set_worker_watchdog(msg, sub);
2612   }
2613   return sub;
2614 }
2615 
2616 /* envoy.config.bootstrap.v3.Watchdog */
2617 
envoy_config_bootstrap_v3_Watchdog_new(upb_Arena * arena)2618 UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdog_new(upb_Arena* arena) {
2619   return (envoy_config_bootstrap_v3_Watchdog*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog_msg_init, arena);
2620 }
envoy_config_bootstrap_v3_Watchdog_parse(const char * buf,size_t size,upb_Arena * arena)2621 UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdog_parse(const char* buf, size_t size, upb_Arena* arena) {
2622   envoy_config_bootstrap_v3_Watchdog* ret = envoy_config_bootstrap_v3_Watchdog_new(arena);
2623   if (!ret) return NULL;
2624   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdog_msg_init, NULL, 0, arena) !=
2625       kUpb_DecodeStatus_Ok) {
2626     return NULL;
2627   }
2628   return ret;
2629 }
envoy_config_bootstrap_v3_Watchdog_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)2630 UPB_INLINE envoy_config_bootstrap_v3_Watchdog* envoy_config_bootstrap_v3_Watchdog_parse_ex(const char* buf, size_t size,
2631                            const upb_ExtensionRegistry* extreg,
2632                            int options, upb_Arena* arena) {
2633   envoy_config_bootstrap_v3_Watchdog* ret = envoy_config_bootstrap_v3_Watchdog_new(arena);
2634   if (!ret) return NULL;
2635   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdog_msg_init, extreg, options,
2636                  arena) != kUpb_DecodeStatus_Ok) {
2637     return NULL;
2638   }
2639   return ret;
2640 }
envoy_config_bootstrap_v3_Watchdog_serialize(const envoy_config_bootstrap_v3_Watchdog * msg,upb_Arena * arena,size_t * len)2641 UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_serialize(const envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena, size_t* len) {
2642   char* ptr;
2643   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdog_msg_init, 0, arena, &ptr, len);
2644   return ptr;
2645 }
envoy_config_bootstrap_v3_Watchdog_serialize_ex(const envoy_config_bootstrap_v3_Watchdog * msg,int options,upb_Arena * arena,size_t * len)2646 UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_serialize_ex(const envoy_config_bootstrap_v3_Watchdog* msg, int options,
2647                                  upb_Arena* arena, size_t* len) {
2648   char* ptr;
2649   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdog_msg_init, options, arena, &ptr, len);
2650   return ptr;
2651 }
envoy_config_bootstrap_v3_Watchdog_clear_miss_timeout(envoy_config_bootstrap_v3_Watchdog * msg)2652 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_miss_timeout(envoy_config_bootstrap_v3_Watchdog* msg) {
2653   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2654   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2655 }
envoy_config_bootstrap_v3_Watchdog_miss_timeout(const envoy_config_bootstrap_v3_Watchdog * msg)2656 UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_miss_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
2657   const struct google_protobuf_Duration* default_val = NULL;
2658   const struct google_protobuf_Duration* ret;
2659   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2660   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2661                                     &default_val, &ret);
2662   return ret;
2663 }
envoy_config_bootstrap_v3_Watchdog_has_miss_timeout(const envoy_config_bootstrap_v3_Watchdog * msg)2664 UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_miss_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
2665   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2666   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2667 }
envoy_config_bootstrap_v3_Watchdog_clear_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog * msg)2668 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog* msg) {
2669   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2670   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2671 }
envoy_config_bootstrap_v3_Watchdog_megamiss_timeout(const envoy_config_bootstrap_v3_Watchdog * msg)2672 UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_megamiss_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
2673   const struct google_protobuf_Duration* default_val = NULL;
2674   const struct google_protobuf_Duration* ret;
2675   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2676   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2677                                     &default_val, &ret);
2678   return ret;
2679 }
envoy_config_bootstrap_v3_Watchdog_has_megamiss_timeout(const envoy_config_bootstrap_v3_Watchdog * msg)2680 UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_megamiss_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
2681   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2682   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2683 }
envoy_config_bootstrap_v3_Watchdog_clear_kill_timeout(envoy_config_bootstrap_v3_Watchdog * msg)2684 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_kill_timeout(envoy_config_bootstrap_v3_Watchdog* msg) {
2685   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2686   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2687 }
envoy_config_bootstrap_v3_Watchdog_kill_timeout(const envoy_config_bootstrap_v3_Watchdog * msg)2688 UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_kill_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
2689   const struct google_protobuf_Duration* default_val = NULL;
2690   const struct google_protobuf_Duration* ret;
2691   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2692   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2693                                     &default_val, &ret);
2694   return ret;
2695 }
envoy_config_bootstrap_v3_Watchdog_has_kill_timeout(const envoy_config_bootstrap_v3_Watchdog * msg)2696 UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_kill_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
2697   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2698   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2699 }
envoy_config_bootstrap_v3_Watchdog_clear_multikill_timeout(envoy_config_bootstrap_v3_Watchdog * msg)2700 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_multikill_timeout(envoy_config_bootstrap_v3_Watchdog* msg) {
2701   const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2702   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2703 }
envoy_config_bootstrap_v3_Watchdog_multikill_timeout(const envoy_config_bootstrap_v3_Watchdog * msg)2704 UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_multikill_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
2705   const struct google_protobuf_Duration* default_val = NULL;
2706   const struct google_protobuf_Duration* ret;
2707   const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2708   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2709                                     &default_val, &ret);
2710   return ret;
2711 }
envoy_config_bootstrap_v3_Watchdog_has_multikill_timeout(const envoy_config_bootstrap_v3_Watchdog * msg)2712 UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_multikill_timeout(const envoy_config_bootstrap_v3_Watchdog* msg) {
2713   const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2714   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2715 }
envoy_config_bootstrap_v3_Watchdog_clear_multikill_threshold(envoy_config_bootstrap_v3_Watchdog * msg)2716 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_multikill_threshold(envoy_config_bootstrap_v3_Watchdog* msg) {
2717   const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2718   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2719 }
envoy_config_bootstrap_v3_Watchdog_multikill_threshold(const envoy_config_bootstrap_v3_Watchdog * msg)2720 UPB_INLINE const struct envoy_type_v3_Percent* envoy_config_bootstrap_v3_Watchdog_multikill_threshold(const envoy_config_bootstrap_v3_Watchdog* msg) {
2721   const struct envoy_type_v3_Percent* default_val = NULL;
2722   const struct envoy_type_v3_Percent* ret;
2723   const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2724   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2725                                     &default_val, &ret);
2726   return ret;
2727 }
envoy_config_bootstrap_v3_Watchdog_has_multikill_threshold(const envoy_config_bootstrap_v3_Watchdog * msg)2728 UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_multikill_threshold(const envoy_config_bootstrap_v3_Watchdog* msg) {
2729   const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2730   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2731 }
envoy_config_bootstrap_v3_Watchdog_clear_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog * msg)2732 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog* msg) {
2733   const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 69, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2734   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2735 }
envoy_config_bootstrap_v3_Watchdog_max_kill_timeout_jitter(const envoy_config_bootstrap_v3_Watchdog * msg)2736 UPB_INLINE const struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_max_kill_timeout_jitter(const envoy_config_bootstrap_v3_Watchdog* msg) {
2737   const struct google_protobuf_Duration* default_val = NULL;
2738   const struct google_protobuf_Duration* ret;
2739   const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 69, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2740   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2741                                     &default_val, &ret);
2742   return ret;
2743 }
envoy_config_bootstrap_v3_Watchdog_has_max_kill_timeout_jitter(const envoy_config_bootstrap_v3_Watchdog * msg)2744 UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_has_max_kill_timeout_jitter(const envoy_config_bootstrap_v3_Watchdog* msg) {
2745   const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 69, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2746   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2747 }
envoy_config_bootstrap_v3_Watchdog_clear_actions(envoy_config_bootstrap_v3_Watchdog * msg)2748 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_clear_actions(envoy_config_bootstrap_v3_Watchdog* msg) {
2749   const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2750   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2751 }
envoy_config_bootstrap_v3_Watchdog_actions(const envoy_config_bootstrap_v3_Watchdog * msg,size_t * size)2752 UPB_INLINE const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* const* envoy_config_bootstrap_v3_Watchdog_actions(const envoy_config_bootstrap_v3_Watchdog* msg, size_t* size) {
2753   const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2754   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
2755   if (arr) {
2756     if (size) *size = arr->UPB_PRIVATE(size);
2757     return (const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* const*)upb_Array_DataPtr(arr);
2758   } else {
2759     if (size) *size = 0;
2760     return NULL;
2761   }
2762 }
_envoy_config_bootstrap_v3_Watchdog_actions_upb_array(const envoy_config_bootstrap_v3_Watchdog * msg,size_t * size)2763 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_Watchdog_actions_upb_array(const envoy_config_bootstrap_v3_Watchdog* msg, size_t* size) {
2764   const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2765   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
2766   if (size) {
2767     *size = arr ? arr->UPB_PRIVATE(size) : 0;
2768   }
2769   return arr;
2770 }
_envoy_config_bootstrap_v3_Watchdog_actions_mutable_upb_array(envoy_config_bootstrap_v3_Watchdog * msg,size_t * size,upb_Arena * arena)2771 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_Watchdog_actions_mutable_upb_array(envoy_config_bootstrap_v3_Watchdog* msg, size_t* size, upb_Arena* arena) {
2772   const upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2773   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
2774                                                        &field, arena);
2775   if (size) {
2776     *size = arr ? arr->UPB_PRIVATE(size) : 0;
2777   }
2778   return arr;
2779 }
2780 
envoy_config_bootstrap_v3_Watchdog_set_miss_timeout(envoy_config_bootstrap_v3_Watchdog * msg,struct google_protobuf_Duration * value)2781 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_miss_timeout(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
2782   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2783   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2784 }
envoy_config_bootstrap_v3_Watchdog_mutable_miss_timeout(envoy_config_bootstrap_v3_Watchdog * msg,upb_Arena * arena)2785 UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_miss_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
2786   struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_miss_timeout(msg);
2787   if (sub == NULL) {
2788     sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena);
2789     if (sub) envoy_config_bootstrap_v3_Watchdog_set_miss_timeout(msg, sub);
2790   }
2791   return sub;
2792 }
envoy_config_bootstrap_v3_Watchdog_set_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog * msg,struct google_protobuf_Duration * value)2793 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
2794   const upb_MiniTableField field = {2, UPB_SIZE(16, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2795   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2796 }
envoy_config_bootstrap_v3_Watchdog_mutable_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog * msg,upb_Arena * arena)2797 UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_megamiss_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
2798   struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_megamiss_timeout(msg);
2799   if (sub == NULL) {
2800     sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena);
2801     if (sub) envoy_config_bootstrap_v3_Watchdog_set_megamiss_timeout(msg, sub);
2802   }
2803   return sub;
2804 }
envoy_config_bootstrap_v3_Watchdog_set_kill_timeout(envoy_config_bootstrap_v3_Watchdog * msg,struct google_protobuf_Duration * value)2805 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_kill_timeout(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
2806   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 66, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2807   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2808 }
envoy_config_bootstrap_v3_Watchdog_mutable_kill_timeout(envoy_config_bootstrap_v3_Watchdog * msg,upb_Arena * arena)2809 UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_kill_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
2810   struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_kill_timeout(msg);
2811   if (sub == NULL) {
2812     sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena);
2813     if (sub) envoy_config_bootstrap_v3_Watchdog_set_kill_timeout(msg, sub);
2814   }
2815   return sub;
2816 }
envoy_config_bootstrap_v3_Watchdog_set_multikill_timeout(envoy_config_bootstrap_v3_Watchdog * msg,struct google_protobuf_Duration * value)2817 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_multikill_timeout(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
2818   const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 67, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2819   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2820 }
envoy_config_bootstrap_v3_Watchdog_mutable_multikill_timeout(envoy_config_bootstrap_v3_Watchdog * msg,upb_Arena * arena)2821 UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_multikill_timeout(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
2822   struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_multikill_timeout(msg);
2823   if (sub == NULL) {
2824     sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena);
2825     if (sub) envoy_config_bootstrap_v3_Watchdog_set_multikill_timeout(msg, sub);
2826   }
2827   return sub;
2828 }
envoy_config_bootstrap_v3_Watchdog_set_multikill_threshold(envoy_config_bootstrap_v3_Watchdog * msg,struct envoy_type_v3_Percent * value)2829 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_multikill_threshold(envoy_config_bootstrap_v3_Watchdog *msg, struct envoy_type_v3_Percent* value) {
2830   const upb_MiniTableField field = {5, UPB_SIZE(28, 48), 68, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2831   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2832 }
envoy_config_bootstrap_v3_Watchdog_mutable_multikill_threshold(envoy_config_bootstrap_v3_Watchdog * msg,upb_Arena * arena)2833 UPB_INLINE struct envoy_type_v3_Percent* envoy_config_bootstrap_v3_Watchdog_mutable_multikill_threshold(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
2834   struct envoy_type_v3_Percent* sub = (struct envoy_type_v3_Percent*)envoy_config_bootstrap_v3_Watchdog_multikill_threshold(msg);
2835   if (sub == NULL) {
2836     sub = (struct envoy_type_v3_Percent*)_upb_Message_New(&envoy__type__v3__Percent_msg_init, arena);
2837     if (sub) envoy_config_bootstrap_v3_Watchdog_set_multikill_threshold(msg, sub);
2838   }
2839   return sub;
2840 }
envoy_config_bootstrap_v3_Watchdog_set_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog * msg,struct google_protobuf_Duration * value)2841 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_set_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog *msg, struct google_protobuf_Duration* value) {
2842   const upb_MiniTableField field = {6, UPB_SIZE(32, 56), 69, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2843   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2844 }
envoy_config_bootstrap_v3_Watchdog_mutable_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog * msg,upb_Arena * arena)2845 UPB_INLINE struct google_protobuf_Duration* envoy_config_bootstrap_v3_Watchdog_mutable_max_kill_timeout_jitter(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
2846   struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_bootstrap_v3_Watchdog_max_kill_timeout_jitter(msg);
2847   if (sub == NULL) {
2848     sub = (struct google_protobuf_Duration*)_upb_Message_New(&google__protobuf__Duration_msg_init, arena);
2849     if (sub) envoy_config_bootstrap_v3_Watchdog_set_max_kill_timeout_jitter(msg, sub);
2850   }
2851   return sub;
2852 }
envoy_config_bootstrap_v3_Watchdog_mutable_actions(envoy_config_bootstrap_v3_Watchdog * msg,size_t * size)2853 UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction** envoy_config_bootstrap_v3_Watchdog_mutable_actions(envoy_config_bootstrap_v3_Watchdog* msg, size_t* size) {
2854   upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2855   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
2856   if (arr) {
2857     if (size) *size = arr->UPB_PRIVATE(size);
2858     return (envoy_config_bootstrap_v3_Watchdog_WatchdogAction**)upb_Array_MutableDataPtr(arr);
2859   } else {
2860     if (size) *size = 0;
2861     return NULL;
2862   }
2863 }
envoy_config_bootstrap_v3_Watchdog_resize_actions(envoy_config_bootstrap_v3_Watchdog * msg,size_t size,upb_Arena * arena)2864 UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction** envoy_config_bootstrap_v3_Watchdog_resize_actions(envoy_config_bootstrap_v3_Watchdog* msg, size_t size, upb_Arena* arena) {
2865   upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2866   return (envoy_config_bootstrap_v3_Watchdog_WatchdogAction**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
2867                                                    &field, size, arena);
2868 }
envoy_config_bootstrap_v3_Watchdog_add_actions(envoy_config_bootstrap_v3_Watchdog * msg,upb_Arena * arena)2869 UPB_INLINE struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_bootstrap_v3_Watchdog_add_actions(envoy_config_bootstrap_v3_Watchdog* msg, upb_Arena* arena) {
2870   upb_MiniTableField field = {7, UPB_SIZE(36, 64), 0, 6, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2871   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
2872       UPB_UPCAST(msg), &field, arena);
2873   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
2874                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
2875     return NULL;
2876   }
2877   struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction* sub = (struct envoy_config_bootstrap_v3_Watchdog_WatchdogAction*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, arena);
2878   if (!arr || !sub) return NULL;
2879   UPB_PRIVATE(_upb_Array_Set)
2880   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
2881   return sub;
2882 }
2883 
2884 /* envoy.config.bootstrap.v3.Watchdog.WatchdogAction */
2885 
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_new(upb_Arena * arena)2886 UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_new(upb_Arena* arena) {
2887   return (envoy_config_bootstrap_v3_Watchdog_WatchdogAction*)_upb_Message_New(&envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, arena);
2888 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_parse(const char * buf,size_t size,upb_Arena * arena)2889 UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_parse(const char* buf, size_t size, upb_Arena* arena) {
2890   envoy_config_bootstrap_v3_Watchdog_WatchdogAction* ret = envoy_config_bootstrap_v3_Watchdog_WatchdogAction_new(arena);
2891   if (!ret) return NULL;
2892   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, NULL, 0, arena) !=
2893       kUpb_DecodeStatus_Ok) {
2894     return NULL;
2895   }
2896   return ret;
2897 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)2898 UPB_INLINE envoy_config_bootstrap_v3_Watchdog_WatchdogAction* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_parse_ex(const char* buf, size_t size,
2899                            const upb_ExtensionRegistry* extreg,
2900                            int options, upb_Arena* arena) {
2901   envoy_config_bootstrap_v3_Watchdog_WatchdogAction* ret = envoy_config_bootstrap_v3_Watchdog_WatchdogAction_new(arena);
2902   if (!ret) return NULL;
2903   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, extreg, options,
2904                  arena) != kUpb_DecodeStatus_Ok) {
2905     return NULL;
2906   }
2907   return ret;
2908 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_serialize(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg,upb_Arena * arena,size_t * len)2909 UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_serialize(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg, upb_Arena* arena, size_t* len) {
2910   char* ptr;
2911   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, 0, arena, &ptr, len);
2912   return ptr;
2913 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_serialize_ex(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg,int options,upb_Arena * arena,size_t * len)2914 UPB_INLINE char* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_serialize_ex(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg, int options,
2915                                  upb_Arena* arena, size_t* len) {
2916   char* ptr;
2917   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Watchdog__WatchdogAction_msg_init, options, arena, &ptr, len);
2918   return ptr;
2919 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_clear_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg)2920 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_clear_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
2921   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2922   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2923 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_config(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg)2924 UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_config(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
2925   const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
2926   const struct envoy_config_core_v3_TypedExtensionConfig* ret;
2927   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2928   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2929                                     &default_val, &ret);
2930   return ret;
2931 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_has_config(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg)2932 UPB_INLINE bool envoy_config_bootstrap_v3_Watchdog_WatchdogAction_has_config(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
2933   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2934   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
2935 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_clear_event(envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg)2936 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_clear_event(envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
2937   const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
2938   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
2939 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_event(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg)2940 UPB_INLINE int32_t envoy_config_bootstrap_v3_Watchdog_WatchdogAction_event(const envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg) {
2941   int32_t default_val = 0;
2942   int32_t ret;
2943   const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
2944   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
2945                                     &default_val, &ret);
2946   return ret;
2947 }
2948 
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg,struct envoy_config_core_v3_TypedExtensionConfig * value)2949 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
2950   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
2951   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2952 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_mutable_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg,upb_Arena * arena)2953 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_Watchdog_WatchdogAction_mutable_config(envoy_config_bootstrap_v3_Watchdog_WatchdogAction* msg, upb_Arena* arena) {
2954   struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_Watchdog_WatchdogAction_config(msg);
2955   if (sub == NULL) {
2956     sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
2957     if (sub) envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_config(msg, sub);
2958   }
2959   return sub;
2960 }
envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_event(envoy_config_bootstrap_v3_Watchdog_WatchdogAction * msg,int32_t value)2961 UPB_INLINE void envoy_config_bootstrap_v3_Watchdog_WatchdogAction_set_event(envoy_config_bootstrap_v3_Watchdog_WatchdogAction *msg, int32_t value) {
2962   const upb_MiniTableField field = {2, UPB_SIZE(16, 12), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
2963   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
2964 }
2965 
2966 /* envoy.config.bootstrap.v3.FatalAction */
2967 
envoy_config_bootstrap_v3_FatalAction_new(upb_Arena * arena)2968 UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_FatalAction_new(upb_Arena* arena) {
2969   return (envoy_config_bootstrap_v3_FatalAction*)_upb_Message_New(&envoy__config__bootstrap__v3__FatalAction_msg_init, arena);
2970 }
envoy_config_bootstrap_v3_FatalAction_parse(const char * buf,size_t size,upb_Arena * arena)2971 UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_FatalAction_parse(const char* buf, size_t size, upb_Arena* arena) {
2972   envoy_config_bootstrap_v3_FatalAction* ret = envoy_config_bootstrap_v3_FatalAction_new(arena);
2973   if (!ret) return NULL;
2974   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__FatalAction_msg_init, NULL, 0, arena) !=
2975       kUpb_DecodeStatus_Ok) {
2976     return NULL;
2977   }
2978   return ret;
2979 }
envoy_config_bootstrap_v3_FatalAction_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)2980 UPB_INLINE envoy_config_bootstrap_v3_FatalAction* envoy_config_bootstrap_v3_FatalAction_parse_ex(const char* buf, size_t size,
2981                            const upb_ExtensionRegistry* extreg,
2982                            int options, upb_Arena* arena) {
2983   envoy_config_bootstrap_v3_FatalAction* ret = envoy_config_bootstrap_v3_FatalAction_new(arena);
2984   if (!ret) return NULL;
2985   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__FatalAction_msg_init, extreg, options,
2986                  arena) != kUpb_DecodeStatus_Ok) {
2987     return NULL;
2988   }
2989   return ret;
2990 }
envoy_config_bootstrap_v3_FatalAction_serialize(const envoy_config_bootstrap_v3_FatalAction * msg,upb_Arena * arena,size_t * len)2991 UPB_INLINE char* envoy_config_bootstrap_v3_FatalAction_serialize(const envoy_config_bootstrap_v3_FatalAction* msg, upb_Arena* arena, size_t* len) {
2992   char* ptr;
2993   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__FatalAction_msg_init, 0, arena, &ptr, len);
2994   return ptr;
2995 }
envoy_config_bootstrap_v3_FatalAction_serialize_ex(const envoy_config_bootstrap_v3_FatalAction * msg,int options,upb_Arena * arena,size_t * len)2996 UPB_INLINE char* envoy_config_bootstrap_v3_FatalAction_serialize_ex(const envoy_config_bootstrap_v3_FatalAction* msg, int options,
2997                                  upb_Arena* arena, size_t* len) {
2998   char* ptr;
2999   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__FatalAction_msg_init, options, arena, &ptr, len);
3000   return ptr;
3001 }
envoy_config_bootstrap_v3_FatalAction_clear_config(envoy_config_bootstrap_v3_FatalAction * msg)3002 UPB_INLINE void envoy_config_bootstrap_v3_FatalAction_clear_config(envoy_config_bootstrap_v3_FatalAction* msg) {
3003   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3004   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3005 }
envoy_config_bootstrap_v3_FatalAction_config(const envoy_config_bootstrap_v3_FatalAction * msg)3006 UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_FatalAction_config(const envoy_config_bootstrap_v3_FatalAction* msg) {
3007   const struct envoy_config_core_v3_TypedExtensionConfig* default_val = NULL;
3008   const struct envoy_config_core_v3_TypedExtensionConfig* ret;
3009   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3010   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3011                                     &default_val, &ret);
3012   return ret;
3013 }
envoy_config_bootstrap_v3_FatalAction_has_config(const envoy_config_bootstrap_v3_FatalAction * msg)3014 UPB_INLINE bool envoy_config_bootstrap_v3_FatalAction_has_config(const envoy_config_bootstrap_v3_FatalAction* msg) {
3015   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3016   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
3017 }
3018 
envoy_config_bootstrap_v3_FatalAction_set_config(envoy_config_bootstrap_v3_FatalAction * msg,struct envoy_config_core_v3_TypedExtensionConfig * value)3019 UPB_INLINE void envoy_config_bootstrap_v3_FatalAction_set_config(envoy_config_bootstrap_v3_FatalAction *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
3020   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3021   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3022 }
envoy_config_bootstrap_v3_FatalAction_mutable_config(envoy_config_bootstrap_v3_FatalAction * msg,upb_Arena * arena)3023 UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_bootstrap_v3_FatalAction_mutable_config(envoy_config_bootstrap_v3_FatalAction* msg, upb_Arena* arena) {
3024   struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_bootstrap_v3_FatalAction_config(msg);
3025   if (sub == NULL) {
3026     sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_Message_New(&envoy__config__core__v3__TypedExtensionConfig_msg_init, arena);
3027     if (sub) envoy_config_bootstrap_v3_FatalAction_set_config(msg, sub);
3028   }
3029   return sub;
3030 }
3031 
3032 /* envoy.config.bootstrap.v3.Runtime */
3033 
envoy_config_bootstrap_v3_Runtime_new(upb_Arena * arena)3034 UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_new(upb_Arena* arena) {
3035   return (envoy_config_bootstrap_v3_Runtime*)_upb_Message_New(&envoy__config__bootstrap__v3__Runtime_msg_init, arena);
3036 }
envoy_config_bootstrap_v3_Runtime_parse(const char * buf,size_t size,upb_Arena * arena)3037 UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_parse(const char* buf, size_t size, upb_Arena* arena) {
3038   envoy_config_bootstrap_v3_Runtime* ret = envoy_config_bootstrap_v3_Runtime_new(arena);
3039   if (!ret) return NULL;
3040   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Runtime_msg_init, NULL, 0, arena) !=
3041       kUpb_DecodeStatus_Ok) {
3042     return NULL;
3043   }
3044   return ret;
3045 }
envoy_config_bootstrap_v3_Runtime_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)3046 UPB_INLINE envoy_config_bootstrap_v3_Runtime* envoy_config_bootstrap_v3_Runtime_parse_ex(const char* buf, size_t size,
3047                            const upb_ExtensionRegistry* extreg,
3048                            int options, upb_Arena* arena) {
3049   envoy_config_bootstrap_v3_Runtime* ret = envoy_config_bootstrap_v3_Runtime_new(arena);
3050   if (!ret) return NULL;
3051   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__Runtime_msg_init, extreg, options,
3052                  arena) != kUpb_DecodeStatus_Ok) {
3053     return NULL;
3054   }
3055   return ret;
3056 }
envoy_config_bootstrap_v3_Runtime_serialize(const envoy_config_bootstrap_v3_Runtime * msg,upb_Arena * arena,size_t * len)3057 UPB_INLINE char* envoy_config_bootstrap_v3_Runtime_serialize(const envoy_config_bootstrap_v3_Runtime* msg, upb_Arena* arena, size_t* len) {
3058   char* ptr;
3059   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Runtime_msg_init, 0, arena, &ptr, len);
3060   return ptr;
3061 }
envoy_config_bootstrap_v3_Runtime_serialize_ex(const envoy_config_bootstrap_v3_Runtime * msg,int options,upb_Arena * arena,size_t * len)3062 UPB_INLINE char* envoy_config_bootstrap_v3_Runtime_serialize_ex(const envoy_config_bootstrap_v3_Runtime* msg, int options,
3063                                  upb_Arena* arena, size_t* len) {
3064   char* ptr;
3065   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__Runtime_msg_init, options, arena, &ptr, len);
3066   return ptr;
3067 }
envoy_config_bootstrap_v3_Runtime_clear_symlink_root(envoy_config_bootstrap_v3_Runtime * msg)3068 UPB_INLINE void envoy_config_bootstrap_v3_Runtime_clear_symlink_root(envoy_config_bootstrap_v3_Runtime* msg) {
3069   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3070   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3071 }
envoy_config_bootstrap_v3_Runtime_symlink_root(const envoy_config_bootstrap_v3_Runtime * msg)3072 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Runtime_symlink_root(const envoy_config_bootstrap_v3_Runtime* msg) {
3073   upb_StringView default_val = upb_StringView_FromString("");
3074   upb_StringView ret;
3075   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3076   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3077                                     &default_val, &ret);
3078   return ret;
3079 }
envoy_config_bootstrap_v3_Runtime_clear_subdirectory(envoy_config_bootstrap_v3_Runtime * msg)3080 UPB_INLINE void envoy_config_bootstrap_v3_Runtime_clear_subdirectory(envoy_config_bootstrap_v3_Runtime* msg) {
3081   const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3082   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3083 }
envoy_config_bootstrap_v3_Runtime_subdirectory(const envoy_config_bootstrap_v3_Runtime * msg)3084 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Runtime_subdirectory(const envoy_config_bootstrap_v3_Runtime* msg) {
3085   upb_StringView default_val = upb_StringView_FromString("");
3086   upb_StringView ret;
3087   const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3088   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3089                                     &default_val, &ret);
3090   return ret;
3091 }
envoy_config_bootstrap_v3_Runtime_clear_override_subdirectory(envoy_config_bootstrap_v3_Runtime * msg)3092 UPB_INLINE void envoy_config_bootstrap_v3_Runtime_clear_override_subdirectory(envoy_config_bootstrap_v3_Runtime* msg) {
3093   const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3094   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3095 }
envoy_config_bootstrap_v3_Runtime_override_subdirectory(const envoy_config_bootstrap_v3_Runtime * msg)3096 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_Runtime_override_subdirectory(const envoy_config_bootstrap_v3_Runtime* msg) {
3097   upb_StringView default_val = upb_StringView_FromString("");
3098   upb_StringView ret;
3099   const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3100   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3101                                     &default_val, &ret);
3102   return ret;
3103 }
envoy_config_bootstrap_v3_Runtime_clear_base(envoy_config_bootstrap_v3_Runtime * msg)3104 UPB_INLINE void envoy_config_bootstrap_v3_Runtime_clear_base(envoy_config_bootstrap_v3_Runtime* msg) {
3105   const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3106   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3107 }
envoy_config_bootstrap_v3_Runtime_base(const envoy_config_bootstrap_v3_Runtime * msg)3108 UPB_INLINE const struct google_protobuf_Struct* envoy_config_bootstrap_v3_Runtime_base(const envoy_config_bootstrap_v3_Runtime* msg) {
3109   const struct google_protobuf_Struct* default_val = NULL;
3110   const struct google_protobuf_Struct* ret;
3111   const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3112   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3113                                     &default_val, &ret);
3114   return ret;
3115 }
envoy_config_bootstrap_v3_Runtime_has_base(const envoy_config_bootstrap_v3_Runtime * msg)3116 UPB_INLINE bool envoy_config_bootstrap_v3_Runtime_has_base(const envoy_config_bootstrap_v3_Runtime* msg) {
3117   const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3118   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
3119 }
3120 
envoy_config_bootstrap_v3_Runtime_set_symlink_root(envoy_config_bootstrap_v3_Runtime * msg,upb_StringView value)3121 UPB_INLINE void envoy_config_bootstrap_v3_Runtime_set_symlink_root(envoy_config_bootstrap_v3_Runtime *msg, upb_StringView value) {
3122   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3123   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3124 }
envoy_config_bootstrap_v3_Runtime_set_subdirectory(envoy_config_bootstrap_v3_Runtime * msg,upb_StringView value)3125 UPB_INLINE void envoy_config_bootstrap_v3_Runtime_set_subdirectory(envoy_config_bootstrap_v3_Runtime *msg, upb_StringView value) {
3126   const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3127   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3128 }
envoy_config_bootstrap_v3_Runtime_set_override_subdirectory(envoy_config_bootstrap_v3_Runtime * msg,upb_StringView value)3129 UPB_INLINE void envoy_config_bootstrap_v3_Runtime_set_override_subdirectory(envoy_config_bootstrap_v3_Runtime *msg, upb_StringView value) {
3130   const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3131   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3132 }
envoy_config_bootstrap_v3_Runtime_set_base(envoy_config_bootstrap_v3_Runtime * msg,struct google_protobuf_Struct * value)3133 UPB_INLINE void envoy_config_bootstrap_v3_Runtime_set_base(envoy_config_bootstrap_v3_Runtime *msg, struct google_protobuf_Struct* value) {
3134   const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3135   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3136 }
envoy_config_bootstrap_v3_Runtime_mutable_base(envoy_config_bootstrap_v3_Runtime * msg,upb_Arena * arena)3137 UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_Runtime_mutable_base(envoy_config_bootstrap_v3_Runtime* msg, upb_Arena* arena) {
3138   struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_bootstrap_v3_Runtime_base(msg);
3139   if (sub == NULL) {
3140     sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena);
3141     if (sub) envoy_config_bootstrap_v3_Runtime_set_base(msg, sub);
3142   }
3143   return sub;
3144 }
3145 
3146 /* envoy.config.bootstrap.v3.RuntimeLayer */
3147 
envoy_config_bootstrap_v3_RuntimeLayer_new(upb_Arena * arena)3148 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_RuntimeLayer_new(upb_Arena* arena) {
3149   return (envoy_config_bootstrap_v3_RuntimeLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer_msg_init, arena);
3150 }
envoy_config_bootstrap_v3_RuntimeLayer_parse(const char * buf,size_t size,upb_Arena * arena)3151 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_RuntimeLayer_parse(const char* buf, size_t size, upb_Arena* arena) {
3152   envoy_config_bootstrap_v3_RuntimeLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_new(arena);
3153   if (!ret) return NULL;
3154   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, NULL, 0, arena) !=
3155       kUpb_DecodeStatus_Ok) {
3156     return NULL;
3157   }
3158   return ret;
3159 }
envoy_config_bootstrap_v3_RuntimeLayer_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)3160 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_RuntimeLayer_parse_ex(const char* buf, size_t size,
3161                            const upb_ExtensionRegistry* extreg,
3162                            int options, upb_Arena* arena) {
3163   envoy_config_bootstrap_v3_RuntimeLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_new(arena);
3164   if (!ret) return NULL;
3165   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, extreg, options,
3166                  arena) != kUpb_DecodeStatus_Ok) {
3167     return NULL;
3168   }
3169   return ret;
3170 }
envoy_config_bootstrap_v3_RuntimeLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer * msg,upb_Arena * arena,size_t * len)3171 UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena, size_t* len) {
3172   char* ptr;
3173   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, 0, arena, &ptr, len);
3174   return ptr;
3175 }
envoy_config_bootstrap_v3_RuntimeLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer * msg,int options,upb_Arena * arena,size_t * len)3176 UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer* msg, int options,
3177                                  upb_Arena* arena, size_t* len) {
3178   char* ptr;
3179   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer_msg_init, options, arena, &ptr, len);
3180   return ptr;
3181 }
3182 typedef enum {
3183   envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_static_layer = 2,
3184   envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_disk_layer = 3,
3185   envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_admin_layer = 4,
3186   envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_rtds_layer = 5,
3187   envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_NOT_SET = 0
3188 } envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_oneofcases;
envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_case(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3189 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_oneofcases envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_case(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3190   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3191   return (envoy_config_bootstrap_v3_RuntimeLayer_layer_specifier_oneofcases)upb_Message_WhichOneofFieldNumber(
3192       UPB_UPCAST(msg), &field);
3193 }
envoy_config_bootstrap_v3_RuntimeLayer_clear_name(envoy_config_bootstrap_v3_RuntimeLayer * msg)3194 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_name(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3195   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3196   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3197 }
envoy_config_bootstrap_v3_RuntimeLayer_name(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3198 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_RuntimeLayer_name(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3199   upb_StringView default_val = upb_StringView_FromString("");
3200   upb_StringView ret;
3201   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3202   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3203                                     &default_val, &ret);
3204   return ret;
3205 }
envoy_config_bootstrap_v3_RuntimeLayer_clear_static_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg)3206 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_static_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3207   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3208   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3209 }
envoy_config_bootstrap_v3_RuntimeLayer_static_layer(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3210 UPB_INLINE const struct google_protobuf_Struct* envoy_config_bootstrap_v3_RuntimeLayer_static_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3211   const struct google_protobuf_Struct* default_val = NULL;
3212   const struct google_protobuf_Struct* ret;
3213   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3214   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3215                                     &default_val, &ret);
3216   return ret;
3217 }
envoy_config_bootstrap_v3_RuntimeLayer_has_static_layer(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3218 UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_has_static_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3219   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3220   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
3221 }
envoy_config_bootstrap_v3_RuntimeLayer_clear_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg)3222 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3223   const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3224   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3225 }
envoy_config_bootstrap_v3_RuntimeLayer_disk_layer(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3226 UPB_INLINE const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_disk_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3227   const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* default_val = NULL;
3228   const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* ret;
3229   const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3230   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3231                                     &default_val, &ret);
3232   return ret;
3233 }
envoy_config_bootstrap_v3_RuntimeLayer_has_disk_layer(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3234 UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_has_disk_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3235   const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3236   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
3237 }
envoy_config_bootstrap_v3_RuntimeLayer_clear_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg)3238 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3239   const upb_MiniTableField field = {4, UPB_SIZE(12, 32), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3240   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3241 }
envoy_config_bootstrap_v3_RuntimeLayer_admin_layer(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3242 UPB_INLINE const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_admin_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3243   const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* default_val = NULL;
3244   const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* ret;
3245   const upb_MiniTableField field = {4, UPB_SIZE(12, 32), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3246   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3247                                     &default_val, &ret);
3248   return ret;
3249 }
envoy_config_bootstrap_v3_RuntimeLayer_has_admin_layer(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3250 UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_has_admin_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3251   const upb_MiniTableField field = {4, UPB_SIZE(12, 32), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3252   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
3253 }
envoy_config_bootstrap_v3_RuntimeLayer_clear_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg)3254 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_clear_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3255   const upb_MiniTableField field = {5, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3256   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3257 }
envoy_config_bootstrap_v3_RuntimeLayer_rtds_layer(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3258 UPB_INLINE const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_rtds_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3259   const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* default_val = NULL;
3260   const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* ret;
3261   const upb_MiniTableField field = {5, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3262   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3263                                     &default_val, &ret);
3264   return ret;
3265 }
envoy_config_bootstrap_v3_RuntimeLayer_has_rtds_layer(const envoy_config_bootstrap_v3_RuntimeLayer * msg)3266 UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_has_rtds_layer(const envoy_config_bootstrap_v3_RuntimeLayer* msg) {
3267   const upb_MiniTableField field = {5, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3268   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
3269 }
3270 
envoy_config_bootstrap_v3_RuntimeLayer_set_name(envoy_config_bootstrap_v3_RuntimeLayer * msg,upb_StringView value)3271 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_name(envoy_config_bootstrap_v3_RuntimeLayer *msg, upb_StringView value) {
3272   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3273   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3274 }
envoy_config_bootstrap_v3_RuntimeLayer_set_static_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg,struct google_protobuf_Struct * value)3275 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_static_layer(envoy_config_bootstrap_v3_RuntimeLayer *msg, struct google_protobuf_Struct* value) {
3276   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3277   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3278 }
envoy_config_bootstrap_v3_RuntimeLayer_mutable_static_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg,upb_Arena * arena)3279 UPB_INLINE struct google_protobuf_Struct* envoy_config_bootstrap_v3_RuntimeLayer_mutable_static_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) {
3280   struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_config_bootstrap_v3_RuntimeLayer_static_layer(msg);
3281   if (sub == NULL) {
3282     sub = (struct google_protobuf_Struct*)_upb_Message_New(&google__protobuf__Struct_msg_init, arena);
3283     if (sub) envoy_config_bootstrap_v3_RuntimeLayer_set_static_layer(msg, sub);
3284   }
3285   return sub;
3286 }
envoy_config_bootstrap_v3_RuntimeLayer_set_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg,envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * value)3287 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer *msg, envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* value) {
3288   const upb_MiniTableField field = {3, UPB_SIZE(12, 32), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3289   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3290 }
envoy_config_bootstrap_v3_RuntimeLayer_mutable_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg,upb_Arena * arena)3291 UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_mutable_disk_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) {
3292   struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer*)envoy_config_bootstrap_v3_RuntimeLayer_disk_layer(msg);
3293   if (sub == NULL) {
3294     sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, arena);
3295     if (sub) envoy_config_bootstrap_v3_RuntimeLayer_set_disk_layer(msg, sub);
3296   }
3297   return sub;
3298 }
envoy_config_bootstrap_v3_RuntimeLayer_set_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg,envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer * value)3299 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer *msg, envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* value) {
3300   const upb_MiniTableField field = {4, UPB_SIZE(12, 32), -9, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3301   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3302 }
envoy_config_bootstrap_v3_RuntimeLayer_mutable_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg,upb_Arena * arena)3303 UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_mutable_admin_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) {
3304   struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer*)envoy_config_bootstrap_v3_RuntimeLayer_admin_layer(msg);
3305   if (sub == NULL) {
3306     sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, arena);
3307     if (sub) envoy_config_bootstrap_v3_RuntimeLayer_set_admin_layer(msg, sub);
3308   }
3309   return sub;
3310 }
envoy_config_bootstrap_v3_RuntimeLayer_set_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg,envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * value)3311 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_set_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer *msg, envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* value) {
3312   const upb_MiniTableField field = {5, UPB_SIZE(12, 32), -9, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3313   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3314 }
envoy_config_bootstrap_v3_RuntimeLayer_mutable_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer * msg,upb_Arena * arena)3315 UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_mutable_rtds_layer(envoy_config_bootstrap_v3_RuntimeLayer* msg, upb_Arena* arena) {
3316   struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer*)envoy_config_bootstrap_v3_RuntimeLayer_rtds_layer(msg);
3317   if (sub == NULL) {
3318     sub = (struct envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, arena);
3319     if (sub) envoy_config_bootstrap_v3_RuntimeLayer_set_rtds_layer(msg, sub);
3320   }
3321   return sub;
3322 }
3323 
3324 /* envoy.config.bootstrap.v3.RuntimeLayer.DiskLayer */
3325 
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_new(upb_Arena * arena)3326 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_new(upb_Arena* arena) {
3327   return (envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, arena);
3328 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_parse(const char * buf,size_t size,upb_Arena * arena)3329 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_parse(const char* buf, size_t size, upb_Arena* arena) {
3330   envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_new(arena);
3331   if (!ret) return NULL;
3332   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, NULL, 0, arena) !=
3333       kUpb_DecodeStatus_Ok) {
3334     return NULL;
3335   }
3336   return ret;
3337 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)3338 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_parse_ex(const char* buf, size_t size,
3339                            const upb_ExtensionRegistry* extreg,
3340                            int options, upb_Arena* arena) {
3341   envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_new(arena);
3342   if (!ret) return NULL;
3343   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, extreg, options,
3344                  arena) != kUpb_DecodeStatus_Ok) {
3345     return NULL;
3346   }
3347   return ret;
3348 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg,upb_Arena * arena,size_t * len)3349 UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg, upb_Arena* arena, size_t* len) {
3350   char* ptr;
3351   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, 0, arena, &ptr, len);
3352   return ptr;
3353 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg,int options,upb_Arena * arena,size_t * len)3354 UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg, int options,
3355                                  upb_Arena* arena, size_t* len) {
3356   char* ptr;
3357   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__DiskLayer_msg_init, options, arena, &ptr, len);
3358   return ptr;
3359 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_symlink_root(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg)3360 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_symlink_root(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
3361   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3362   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3363 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_symlink_root(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg)3364 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_symlink_root(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
3365   upb_StringView default_val = upb_StringView_FromString("");
3366   upb_StringView ret;
3367   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3368   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3369                                     &default_val, &ret);
3370   return ret;
3371 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_append_service_cluster(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg)3372 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_append_service_cluster(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
3373   const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
3374   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3375 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_append_service_cluster(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg)3376 UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_append_service_cluster(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
3377   bool default_val = false;
3378   bool ret;
3379   const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
3380   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3381                                     &default_val, &ret);
3382   return ret;
3383 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_subdirectory(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg)3384 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_clear_subdirectory(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
3385   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3386   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3387 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_subdirectory(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg)3388 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_subdirectory(const envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer* msg) {
3389   upb_StringView default_val = upb_StringView_FromString("");
3390   upb_StringView ret;
3391   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3392   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3393                                     &default_val, &ret);
3394   return ret;
3395 }
3396 
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_symlink_root(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg,upb_StringView value)3397 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_symlink_root(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer *msg, upb_StringView value) {
3398   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3399   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3400 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_append_service_cluster(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg,bool value)3401 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_append_service_cluster(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer *msg, bool value) {
3402   const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
3403   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3404 }
envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_subdirectory(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer * msg,upb_StringView value)3405 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_set_subdirectory(envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer *msg, upb_StringView value) {
3406   const upb_MiniTableField field = {3, UPB_SIZE(20, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3407   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3408 }
3409 
3410 /* envoy.config.bootstrap.v3.RuntimeLayer.AdminLayer */
3411 
envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_new(upb_Arena * arena)3412 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_new(upb_Arena* arena) {
3413   return (envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, arena);
3414 }
envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_parse(const char * buf,size_t size,upb_Arena * arena)3415 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_parse(const char* buf, size_t size, upb_Arena* arena) {
3416   envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_new(arena);
3417   if (!ret) return NULL;
3418   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, NULL, 0, arena) !=
3419       kUpb_DecodeStatus_Ok) {
3420     return NULL;
3421   }
3422   return ret;
3423 }
envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)3424 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_parse_ex(const char* buf, size_t size,
3425                            const upb_ExtensionRegistry* extreg,
3426                            int options, upb_Arena* arena) {
3427   envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_new(arena);
3428   if (!ret) return NULL;
3429   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, extreg, options,
3430                  arena) != kUpb_DecodeStatus_Ok) {
3431     return NULL;
3432   }
3433   return ret;
3434 }
envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer * msg,upb_Arena * arena,size_t * len)3435 UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* msg, upb_Arena* arena, size_t* len) {
3436   char* ptr;
3437   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, 0, arena, &ptr, len);
3438   return ptr;
3439 }
envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer * msg,int options,upb_Arena * arena,size_t * len)3440 UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer* msg, int options,
3441                                  upb_Arena* arena, size_t* len) {
3442   char* ptr;
3443   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__AdminLayer_msg_init, options, arena, &ptr, len);
3444   return ptr;
3445 }
3446 
3447 
3448 /* envoy.config.bootstrap.v3.RuntimeLayer.RtdsLayer */
3449 
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_new(upb_Arena * arena)3450 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_new(upb_Arena* arena) {
3451   return (envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, arena);
3452 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_parse(const char * buf,size_t size,upb_Arena * arena)3453 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_parse(const char* buf, size_t size, upb_Arena* arena) {
3454   envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_new(arena);
3455   if (!ret) return NULL;
3456   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, NULL, 0, arena) !=
3457       kUpb_DecodeStatus_Ok) {
3458     return NULL;
3459   }
3460   return ret;
3461 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)3462 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_parse_ex(const char* buf, size_t size,
3463                            const upb_ExtensionRegistry* extreg,
3464                            int options, upb_Arena* arena) {
3465   envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* ret = envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_new(arena);
3466   if (!ret) return NULL;
3467   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, extreg, options,
3468                  arena) != kUpb_DecodeStatus_Ok) {
3469     return NULL;
3470   }
3471   return ret;
3472 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg,upb_Arena * arena,size_t * len)3473 UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_serialize(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg, upb_Arena* arena, size_t* len) {
3474   char* ptr;
3475   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, 0, arena, &ptr, len);
3476   return ptr;
3477 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg,int options,upb_Arena * arena,size_t * len)3478 UPB_INLINE char* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_serialize_ex(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg, int options,
3479                                  upb_Arena* arena, size_t* len) {
3480   char* ptr;
3481   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__RuntimeLayer__RtdsLayer_msg_init, options, arena, &ptr, len);
3482   return ptr;
3483 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_clear_name(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg)3484 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_clear_name(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
3485   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3486   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3487 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_name(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg)3488 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_name(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
3489   upb_StringView default_val = upb_StringView_FromString("");
3490   upb_StringView ret;
3491   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3492   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3493                                     &default_val, &ret);
3494   return ret;
3495 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_clear_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg)3496 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_clear_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
3497   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3498   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3499 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_rtds_config(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg)3500 UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_rtds_config(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
3501   const struct envoy_config_core_v3_ConfigSource* default_val = NULL;
3502   const struct envoy_config_core_v3_ConfigSource* ret;
3503   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3504   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3505                                     &default_val, &ret);
3506   return ret;
3507 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_has_rtds_config(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg)3508 UPB_INLINE bool envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_has_rtds_config(const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg) {
3509   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3510   return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
3511 }
3512 
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_set_name(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg,upb_StringView value)3513 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_set_name(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer *msg, upb_StringView value) {
3514   const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3515   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3516 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_set_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg,struct envoy_config_core_v3_ConfigSource * value)3517 UPB_INLINE void envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_set_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer *msg, struct envoy_config_core_v3_ConfigSource* value) {
3518   const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3519   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3520 }
envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_mutable_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer * msg,upb_Arena * arena)3521 UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_mutable_rtds_config(envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer* msg, upb_Arena* arena) {
3522   struct envoy_config_core_v3_ConfigSource* sub = (struct envoy_config_core_v3_ConfigSource*)envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_rtds_config(msg);
3523   if (sub == NULL) {
3524     sub = (struct envoy_config_core_v3_ConfigSource*)_upb_Message_New(&envoy__config__core__v3__ConfigSource_msg_init, arena);
3525     if (sub) envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_set_rtds_config(msg, sub);
3526   }
3527   return sub;
3528 }
3529 
3530 /* envoy.config.bootstrap.v3.LayeredRuntime */
3531 
envoy_config_bootstrap_v3_LayeredRuntime_new(upb_Arena * arena)3532 UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_LayeredRuntime_new(upb_Arena* arena) {
3533   return (envoy_config_bootstrap_v3_LayeredRuntime*)_upb_Message_New(&envoy__config__bootstrap__v3__LayeredRuntime_msg_init, arena);
3534 }
envoy_config_bootstrap_v3_LayeredRuntime_parse(const char * buf,size_t size,upb_Arena * arena)3535 UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_LayeredRuntime_parse(const char* buf, size_t size, upb_Arena* arena) {
3536   envoy_config_bootstrap_v3_LayeredRuntime* ret = envoy_config_bootstrap_v3_LayeredRuntime_new(arena);
3537   if (!ret) return NULL;
3538   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, NULL, 0, arena) !=
3539       kUpb_DecodeStatus_Ok) {
3540     return NULL;
3541   }
3542   return ret;
3543 }
envoy_config_bootstrap_v3_LayeredRuntime_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)3544 UPB_INLINE envoy_config_bootstrap_v3_LayeredRuntime* envoy_config_bootstrap_v3_LayeredRuntime_parse_ex(const char* buf, size_t size,
3545                            const upb_ExtensionRegistry* extreg,
3546                            int options, upb_Arena* arena) {
3547   envoy_config_bootstrap_v3_LayeredRuntime* ret = envoy_config_bootstrap_v3_LayeredRuntime_new(arena);
3548   if (!ret) return NULL;
3549   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, extreg, options,
3550                  arena) != kUpb_DecodeStatus_Ok) {
3551     return NULL;
3552   }
3553   return ret;
3554 }
envoy_config_bootstrap_v3_LayeredRuntime_serialize(const envoy_config_bootstrap_v3_LayeredRuntime * msg,upb_Arena * arena,size_t * len)3555 UPB_INLINE char* envoy_config_bootstrap_v3_LayeredRuntime_serialize(const envoy_config_bootstrap_v3_LayeredRuntime* msg, upb_Arena* arena, size_t* len) {
3556   char* ptr;
3557   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, 0, arena, &ptr, len);
3558   return ptr;
3559 }
envoy_config_bootstrap_v3_LayeredRuntime_serialize_ex(const envoy_config_bootstrap_v3_LayeredRuntime * msg,int options,upb_Arena * arena,size_t * len)3560 UPB_INLINE char* envoy_config_bootstrap_v3_LayeredRuntime_serialize_ex(const envoy_config_bootstrap_v3_LayeredRuntime* msg, int options,
3561                                  upb_Arena* arena, size_t* len) {
3562   char* ptr;
3563   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__LayeredRuntime_msg_init, options, arena, &ptr, len);
3564   return ptr;
3565 }
envoy_config_bootstrap_v3_LayeredRuntime_clear_layers(envoy_config_bootstrap_v3_LayeredRuntime * msg)3566 UPB_INLINE void envoy_config_bootstrap_v3_LayeredRuntime_clear_layers(envoy_config_bootstrap_v3_LayeredRuntime* msg) {
3567   const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3568   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3569 }
envoy_config_bootstrap_v3_LayeredRuntime_layers(const envoy_config_bootstrap_v3_LayeredRuntime * msg,size_t * size)3570 UPB_INLINE const envoy_config_bootstrap_v3_RuntimeLayer* const* envoy_config_bootstrap_v3_LayeredRuntime_layers(const envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t* size) {
3571   const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3572   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
3573   if (arr) {
3574     if (size) *size = arr->UPB_PRIVATE(size);
3575     return (const envoy_config_bootstrap_v3_RuntimeLayer* const*)upb_Array_DataPtr(arr);
3576   } else {
3577     if (size) *size = 0;
3578     return NULL;
3579   }
3580 }
_envoy_config_bootstrap_v3_LayeredRuntime_layers_upb_array(const envoy_config_bootstrap_v3_LayeredRuntime * msg,size_t * size)3581 UPB_INLINE const upb_Array* _envoy_config_bootstrap_v3_LayeredRuntime_layers_upb_array(const envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t* size) {
3582   const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3583   const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
3584   if (size) {
3585     *size = arr ? arr->UPB_PRIVATE(size) : 0;
3586   }
3587   return arr;
3588 }
_envoy_config_bootstrap_v3_LayeredRuntime_layers_mutable_upb_array(envoy_config_bootstrap_v3_LayeredRuntime * msg,size_t * size,upb_Arena * arena)3589 UPB_INLINE upb_Array* _envoy_config_bootstrap_v3_LayeredRuntime_layers_mutable_upb_array(envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t* size, upb_Arena* arena) {
3590   const upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3591   upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
3592                                                        &field, arena);
3593   if (size) {
3594     *size = arr ? arr->UPB_PRIVATE(size) : 0;
3595   }
3596   return arr;
3597 }
3598 
envoy_config_bootstrap_v3_LayeredRuntime_mutable_layers(envoy_config_bootstrap_v3_LayeredRuntime * msg,size_t * size)3599 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer** envoy_config_bootstrap_v3_LayeredRuntime_mutable_layers(envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t* size) {
3600   upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3601   upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
3602   if (arr) {
3603     if (size) *size = arr->UPB_PRIVATE(size);
3604     return (envoy_config_bootstrap_v3_RuntimeLayer**)upb_Array_MutableDataPtr(arr);
3605   } else {
3606     if (size) *size = 0;
3607     return NULL;
3608   }
3609 }
envoy_config_bootstrap_v3_LayeredRuntime_resize_layers(envoy_config_bootstrap_v3_LayeredRuntime * msg,size_t size,upb_Arena * arena)3610 UPB_INLINE envoy_config_bootstrap_v3_RuntimeLayer** envoy_config_bootstrap_v3_LayeredRuntime_resize_layers(envoy_config_bootstrap_v3_LayeredRuntime* msg, size_t size, upb_Arena* arena) {
3611   upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3612   return (envoy_config_bootstrap_v3_RuntimeLayer**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
3613                                                    &field, size, arena);
3614 }
envoy_config_bootstrap_v3_LayeredRuntime_add_layers(envoy_config_bootstrap_v3_LayeredRuntime * msg,upb_Arena * arena)3615 UPB_INLINE struct envoy_config_bootstrap_v3_RuntimeLayer* envoy_config_bootstrap_v3_LayeredRuntime_add_layers(envoy_config_bootstrap_v3_LayeredRuntime* msg, upb_Arena* arena) {
3616   upb_MiniTableField field = {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
3617   upb_Array* arr = upb_Message_GetOrCreateMutableArray(
3618       UPB_UPCAST(msg), &field, arena);
3619   if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
3620                   arr, arr->UPB_PRIVATE(size) + 1, arena)) {
3621     return NULL;
3622   }
3623   struct envoy_config_bootstrap_v3_RuntimeLayer* sub = (struct envoy_config_bootstrap_v3_RuntimeLayer*)_upb_Message_New(&envoy__config__bootstrap__v3__RuntimeLayer_msg_init, arena);
3624   if (!arr || !sub) return NULL;
3625   UPB_PRIVATE(_upb_Array_Set)
3626   (arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
3627   return sub;
3628 }
3629 
3630 /* envoy.config.bootstrap.v3.CustomInlineHeader */
3631 
envoy_config_bootstrap_v3_CustomInlineHeader_new(upb_Arena * arena)3632 UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_v3_CustomInlineHeader_new(upb_Arena* arena) {
3633   return (envoy_config_bootstrap_v3_CustomInlineHeader*)_upb_Message_New(&envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, arena);
3634 }
envoy_config_bootstrap_v3_CustomInlineHeader_parse(const char * buf,size_t size,upb_Arena * arena)3635 UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_v3_CustomInlineHeader_parse(const char* buf, size_t size, upb_Arena* arena) {
3636   envoy_config_bootstrap_v3_CustomInlineHeader* ret = envoy_config_bootstrap_v3_CustomInlineHeader_new(arena);
3637   if (!ret) return NULL;
3638   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, NULL, 0, arena) !=
3639       kUpb_DecodeStatus_Ok) {
3640     return NULL;
3641   }
3642   return ret;
3643 }
envoy_config_bootstrap_v3_CustomInlineHeader_parse_ex(const char * buf,size_t size,const upb_ExtensionRegistry * extreg,int options,upb_Arena * arena)3644 UPB_INLINE envoy_config_bootstrap_v3_CustomInlineHeader* envoy_config_bootstrap_v3_CustomInlineHeader_parse_ex(const char* buf, size_t size,
3645                            const upb_ExtensionRegistry* extreg,
3646                            int options, upb_Arena* arena) {
3647   envoy_config_bootstrap_v3_CustomInlineHeader* ret = envoy_config_bootstrap_v3_CustomInlineHeader_new(arena);
3648   if (!ret) return NULL;
3649   if (upb_Decode(buf, size, UPB_UPCAST(ret), &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, extreg, options,
3650                  arena) != kUpb_DecodeStatus_Ok) {
3651     return NULL;
3652   }
3653   return ret;
3654 }
envoy_config_bootstrap_v3_CustomInlineHeader_serialize(const envoy_config_bootstrap_v3_CustomInlineHeader * msg,upb_Arena * arena,size_t * len)3655 UPB_INLINE char* envoy_config_bootstrap_v3_CustomInlineHeader_serialize(const envoy_config_bootstrap_v3_CustomInlineHeader* msg, upb_Arena* arena, size_t* len) {
3656   char* ptr;
3657   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, 0, arena, &ptr, len);
3658   return ptr;
3659 }
envoy_config_bootstrap_v3_CustomInlineHeader_serialize_ex(const envoy_config_bootstrap_v3_CustomInlineHeader * msg,int options,upb_Arena * arena,size_t * len)3660 UPB_INLINE char* envoy_config_bootstrap_v3_CustomInlineHeader_serialize_ex(const envoy_config_bootstrap_v3_CustomInlineHeader* msg, int options,
3661                                  upb_Arena* arena, size_t* len) {
3662   char* ptr;
3663   (void)upb_Encode(UPB_UPCAST(msg), &envoy__config__bootstrap__v3__CustomInlineHeader_msg_init, options, arena, &ptr, len);
3664   return ptr;
3665 }
envoy_config_bootstrap_v3_CustomInlineHeader_clear_inline_header_name(envoy_config_bootstrap_v3_CustomInlineHeader * msg)3666 UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_clear_inline_header_name(envoy_config_bootstrap_v3_CustomInlineHeader* msg) {
3667   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3668   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3669 }
envoy_config_bootstrap_v3_CustomInlineHeader_inline_header_name(const envoy_config_bootstrap_v3_CustomInlineHeader * msg)3670 UPB_INLINE upb_StringView envoy_config_bootstrap_v3_CustomInlineHeader_inline_header_name(const envoy_config_bootstrap_v3_CustomInlineHeader* msg) {
3671   upb_StringView default_val = upb_StringView_FromString("");
3672   upb_StringView ret;
3673   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3674   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3675                                     &default_val, &ret);
3676   return ret;
3677 }
envoy_config_bootstrap_v3_CustomInlineHeader_clear_inline_header_type(envoy_config_bootstrap_v3_CustomInlineHeader * msg)3678 UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_clear_inline_header_type(envoy_config_bootstrap_v3_CustomInlineHeader* msg) {
3679   const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
3680   upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
3681 }
envoy_config_bootstrap_v3_CustomInlineHeader_inline_header_type(const envoy_config_bootstrap_v3_CustomInlineHeader * msg)3682 UPB_INLINE int32_t envoy_config_bootstrap_v3_CustomInlineHeader_inline_header_type(const envoy_config_bootstrap_v3_CustomInlineHeader* msg) {
3683   int32_t default_val = 0;
3684   int32_t ret;
3685   const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
3686   _upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
3687                                     &default_val, &ret);
3688   return ret;
3689 }
3690 
envoy_config_bootstrap_v3_CustomInlineHeader_set_inline_header_name(envoy_config_bootstrap_v3_CustomInlineHeader * msg,upb_StringView value)3691 UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_set_inline_header_name(envoy_config_bootstrap_v3_CustomInlineHeader *msg, upb_StringView value) {
3692   const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
3693   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3694 }
envoy_config_bootstrap_v3_CustomInlineHeader_set_inline_header_type(envoy_config_bootstrap_v3_CustomInlineHeader * msg,int32_t value)3695 UPB_INLINE void envoy_config_bootstrap_v3_CustomInlineHeader_set_inline_header_type(envoy_config_bootstrap_v3_CustomInlineHeader *msg, int32_t value) {
3696   const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
3697   _upb_Message_SetNonExtensionField((upb_Message *)msg, &field, &value);
3698 }
3699 
3700 #ifdef __cplusplus
3701 }  /* extern "C" */
3702 #endif
3703 
3704 #include "upb/port/undef.inc"
3705 
3706 #endif  /* ENVOY_CONFIG_BOOTSTRAP_V3_BOOTSTRAP_PROTO_UPB_H_ */
3707