1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/config/bootstrap/v3/bootstrap.proto 5 * 6 * Do not edit -- your changes will be discarded when the file is 7 * regenerated. */ 8 9 #include <stddef.h> 10 #include "upb/msg.h" 11 #include "envoy/config/bootstrap/v3/bootstrap.upb.h" 12 #include "envoy/config/cluster/v3/cluster.upb.h" 13 #include "envoy/config/core/v3/address.upb.h" 14 #include "envoy/config/core/v3/base.upb.h" 15 #include "envoy/config/core/v3/config_source.upb.h" 16 #include "envoy/config/core/v3/event_service_config.upb.h" 17 #include "envoy/config/core/v3/extension.upb.h" 18 #include "envoy/config/core/v3/socket_option.upb.h" 19 #include "envoy/config/listener/v3/listener.upb.h" 20 #include "envoy/config/metrics/v3/stats.upb.h" 21 #include "envoy/config/overload/v3/overload.upb.h" 22 #include "envoy/config/trace/v3/http_tracer.upb.h" 23 #include "envoy/extensions/transport_sockets/tls/v3/secret.upb.h" 24 #include "envoy/type/v3/percent.upb.h" 25 #include "google/protobuf/duration.upb.h" 26 #include "google/protobuf/struct.upb.h" 27 #include "google/protobuf/wrappers.upb.h" 28 #include "udpa/annotations/migrate.upb.h" 29 #include "udpa/annotations/security.upb.h" 30 #include "udpa/annotations/status.upb.h" 31 #include "udpa/annotations/versioning.upb.h" 32 #include "validate/validate.upb.h" 33 34 #include "upb/port_def.inc" 35 36 static const upb_msglayout *const envoy_config_bootstrap_v3_Bootstrap_submsgs[19] = { 37 &envoy_config_bootstrap_v3_Admin_msginit, 38 &envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_msginit, 39 &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msginit, 40 &envoy_config_bootstrap_v3_Bootstrap_StaticResources_msginit, 41 &envoy_config_bootstrap_v3_ClusterManager_msginit, 42 &envoy_config_bootstrap_v3_FatalAction_msginit, 43 &envoy_config_bootstrap_v3_LayeredRuntime_msginit, 44 &envoy_config_bootstrap_v3_Watchdog_msginit, 45 &envoy_config_bootstrap_v3_Watchdogs_msginit, 46 &envoy_config_core_v3_ApiConfigSource_msginit, 47 &envoy_config_core_v3_ConfigSource_msginit, 48 &envoy_config_core_v3_Node_msginit, 49 &envoy_config_core_v3_TypedExtensionConfig_msginit, 50 &envoy_config_metrics_v3_StatsConfig_msginit, 51 &envoy_config_metrics_v3_StatsSink_msginit, 52 &envoy_config_overload_v3_OverloadManager_msginit, 53 &envoy_config_trace_v3_Tracing_msginit, 54 &google_protobuf_Duration_msginit, 55 &google_protobuf_UInt64Value_msginit, 56 }; 57 58 static const upb_msglayout_field envoy_config_bootstrap_v3_Bootstrap__fields[27] = { 59 {1, UPB_SIZE(28, 56), 1, 11, 11, 1}, 60 {2, UPB_SIZE(32, 64), 2, 3, 11, 1}, 61 {3, UPB_SIZE(36, 72), 3, 2, 11, 1}, 62 {4, UPB_SIZE(40, 80), 4, 4, 11, 1}, 63 {5, UPB_SIZE(4, 8), 0, 0, 9, 1}, 64 {6, UPB_SIZE(88, 176), 0, 14, 11, 3}, 65 {7, UPB_SIZE(44, 88), 5, 17, 11, 1}, 66 {8, UPB_SIZE(48, 96), 6, 7, 11, 1}, 67 {9, UPB_SIZE(52, 104), 7, 16, 11, 1}, 68 {12, UPB_SIZE(56, 112), 8, 0, 11, 1}, 69 {13, UPB_SIZE(60, 120), 9, 13, 11, 1}, 70 {14, UPB_SIZE(64, 128), 10, 9, 11, 1}, 71 {15, UPB_SIZE(68, 136), 11, 15, 11, 1}, 72 {16, UPB_SIZE(2, 2), 0, 0, 8, 1}, 73 {17, UPB_SIZE(72, 144), 12, 6, 11, 1}, 74 {18, UPB_SIZE(12, 24), 0, 0, 9, 1}, 75 {19, UPB_SIZE(76, 152), 13, 18, 11, 1}, 76 {20, UPB_SIZE(3, 3), 0, 0, 8, 1}, 77 {21, UPB_SIZE(92, 184), 0, 12, 11, 3}, 78 {22, UPB_SIZE(96, 192), 0, 10, 11, 3}, 79 {23, UPB_SIZE(80, 160), 14, 10, 11, 1}, 80 {24, UPB_SIZE(20, 40), 0, 0, 9, 1}, 81 {25, UPB_SIZE(100, 200), 0, 1, 11, _UPB_LABEL_MAP}, 82 {26, UPB_SIZE(104, 208), 0, 0, 9, 3}, 83 {27, UPB_SIZE(84, 168), 15, 8, 11, 1}, 84 {28, UPB_SIZE(108, 216), 0, 5, 11, 3}, 85 {29, UPB_SIZE(112, 224), UPB_SIZE(-117, -229), 0, 8, 1}, 86 }; 87 88 const upb_msglayout envoy_config_bootstrap_v3_Bootstrap_msginit = { 89 &envoy_config_bootstrap_v3_Bootstrap_submsgs[0], 90 &envoy_config_bootstrap_v3_Bootstrap__fields[0], 91 UPB_SIZE(120, 240), 27, false, 255, 92 }; 93 94 static const upb_msglayout *const envoy_config_bootstrap_v3_Bootstrap_StaticResources_submsgs[3] = { 95 &envoy_config_cluster_v3_Cluster_msginit, 96 &envoy_config_listener_v3_Listener_msginit, 97 &envoy_extensions_transport_sockets_tls_v3_Secret_msginit, 98 }; 99 100 static const upb_msglayout_field envoy_config_bootstrap_v3_Bootstrap_StaticResources__fields[3] = { 101 {1, UPB_SIZE(0, 0), 0, 1, 11, 3}, 102 {2, UPB_SIZE(4, 8), 0, 0, 11, 3}, 103 {3, UPB_SIZE(8, 16), 0, 2, 11, 3}, 104 }; 105 106 const upb_msglayout envoy_config_bootstrap_v3_Bootstrap_StaticResources_msginit = { 107 &envoy_config_bootstrap_v3_Bootstrap_StaticResources_submsgs[0], 108 &envoy_config_bootstrap_v3_Bootstrap_StaticResources__fields[0], 109 UPB_SIZE(16, 24), 3, false, 255, 110 }; 111 112 static const upb_msglayout *const envoy_config_bootstrap_v3_Bootstrap_DynamicResources_submsgs[2] = { 113 &envoy_config_core_v3_ApiConfigSource_msginit, 114 &envoy_config_core_v3_ConfigSource_msginit, 115 }; 116 117 static const upb_msglayout_field envoy_config_bootstrap_v3_Bootstrap_DynamicResources__fields[5] = { 118 {1, UPB_SIZE(20, 40), 1, 1, 11, 1}, 119 {2, UPB_SIZE(24, 48), 2, 1, 11, 1}, 120 {3, UPB_SIZE(28, 56), 3, 0, 11, 1}, 121 {5, UPB_SIZE(4, 8), 0, 0, 9, 1}, 122 {6, UPB_SIZE(12, 24), 0, 0, 9, 1}, 123 }; 124 125 const upb_msglayout envoy_config_bootstrap_v3_Bootstrap_DynamicResources_msginit = { 126 &envoy_config_bootstrap_v3_Bootstrap_DynamicResources_submsgs[0], 127 &envoy_config_bootstrap_v3_Bootstrap_DynamicResources__fields[0], 128 UPB_SIZE(32, 64), 5, false, 255, 129 }; 130 131 static const upb_msglayout *const envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_submsgs[1] = { 132 &envoy_config_core_v3_TypedExtensionConfig_msginit, 133 }; 134 135 static const upb_msglayout_field envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry__fields[2] = { 136 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 137 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 138 }; 139 140 const upb_msglayout envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_msginit = { 141 &envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_submsgs[0], 142 &envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry__fields[0], 143 UPB_SIZE(16, 32), 2, false, 255, 144 }; 145 146 static const upb_msglayout *const envoy_config_bootstrap_v3_Admin_submsgs[2] = { 147 &envoy_config_core_v3_Address_msginit, 148 &envoy_config_core_v3_SocketOption_msginit, 149 }; 150 151 static const upb_msglayout_field envoy_config_bootstrap_v3_Admin__fields[4] = { 152 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 153 {2, UPB_SIZE(12, 24), 0, 0, 9, 1}, 154 {3, UPB_SIZE(20, 40), 1, 0, 11, 1}, 155 {4, UPB_SIZE(24, 48), 0, 1, 11, 3}, 156 }; 157 158 const upb_msglayout envoy_config_bootstrap_v3_Admin_msginit = { 159 &envoy_config_bootstrap_v3_Admin_submsgs[0], 160 &envoy_config_bootstrap_v3_Admin__fields[0], 161 UPB_SIZE(32, 64), 4, false, 255, 162 }; 163 164 static const upb_msglayout *const envoy_config_bootstrap_v3_ClusterManager_submsgs[3] = { 165 &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msginit, 166 &envoy_config_core_v3_ApiConfigSource_msginit, 167 &envoy_config_core_v3_BindConfig_msginit, 168 }; 169 170 static const upb_msglayout_field envoy_config_bootstrap_v3_ClusterManager__fields[4] = { 171 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 172 {2, UPB_SIZE(12, 24), 1, 0, 11, 1}, 173 {3, UPB_SIZE(16, 32), 2, 2, 11, 1}, 174 {4, UPB_SIZE(20, 40), 3, 1, 11, 1}, 175 }; 176 177 const upb_msglayout envoy_config_bootstrap_v3_ClusterManager_msginit = { 178 &envoy_config_bootstrap_v3_ClusterManager_submsgs[0], 179 &envoy_config_bootstrap_v3_ClusterManager__fields[0], 180 UPB_SIZE(24, 48), 4, false, 255, 181 }; 182 183 static const upb_msglayout *const envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_submsgs[1] = { 184 &envoy_config_core_v3_EventServiceConfig_msginit, 185 }; 186 187 static const upb_msglayout_field envoy_config_bootstrap_v3_ClusterManager_OutlierDetection__fields[2] = { 188 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 189 {2, UPB_SIZE(12, 24), 1, 0, 11, 1}, 190 }; 191 192 const upb_msglayout envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_msginit = { 193 &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection_submsgs[0], 194 &envoy_config_bootstrap_v3_ClusterManager_OutlierDetection__fields[0], 195 UPB_SIZE(16, 32), 2, false, 255, 196 }; 197 198 static const upb_msglayout *const envoy_config_bootstrap_v3_Watchdogs_submsgs[1] = { 199 &envoy_config_bootstrap_v3_Watchdog_msginit, 200 }; 201 202 static const upb_msglayout_field envoy_config_bootstrap_v3_Watchdogs__fields[2] = { 203 {1, UPB_SIZE(4, 8), 1, 0, 11, 1}, 204 {2, UPB_SIZE(8, 16), 2, 0, 11, 1}, 205 }; 206 207 const upb_msglayout envoy_config_bootstrap_v3_Watchdogs_msginit = { 208 &envoy_config_bootstrap_v3_Watchdogs_submsgs[0], 209 &envoy_config_bootstrap_v3_Watchdogs__fields[0], 210 UPB_SIZE(16, 24), 2, false, 255, 211 }; 212 213 static const upb_msglayout *const envoy_config_bootstrap_v3_Watchdog_submsgs[3] = { 214 &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msginit, 215 &envoy_type_v3_Percent_msginit, 216 &google_protobuf_Duration_msginit, 217 }; 218 219 static const upb_msglayout_field envoy_config_bootstrap_v3_Watchdog__fields[7] = { 220 {1, UPB_SIZE(4, 8), 1, 2, 11, 1}, 221 {2, UPB_SIZE(8, 16), 2, 2, 11, 1}, 222 {3, UPB_SIZE(12, 24), 3, 2, 11, 1}, 223 {4, UPB_SIZE(16, 32), 4, 2, 11, 1}, 224 {5, UPB_SIZE(20, 40), 5, 1, 11, 1}, 225 {6, UPB_SIZE(24, 48), 6, 2, 11, 1}, 226 {7, UPB_SIZE(28, 56), 0, 0, 11, 3}, 227 }; 228 229 const upb_msglayout envoy_config_bootstrap_v3_Watchdog_msginit = { 230 &envoy_config_bootstrap_v3_Watchdog_submsgs[0], 231 &envoy_config_bootstrap_v3_Watchdog__fields[0], 232 UPB_SIZE(32, 64), 7, false, 255, 233 }; 234 235 static const upb_msglayout *const envoy_config_bootstrap_v3_Watchdog_WatchdogAction_submsgs[1] = { 236 &envoy_config_core_v3_TypedExtensionConfig_msginit, 237 }; 238 239 static const upb_msglayout_field envoy_config_bootstrap_v3_Watchdog_WatchdogAction__fields[2] = { 240 {1, UPB_SIZE(8, 8), 1, 0, 11, 1}, 241 {2, UPB_SIZE(4, 4), 0, 0, 14, 1}, 242 }; 243 244 const upb_msglayout envoy_config_bootstrap_v3_Watchdog_WatchdogAction_msginit = { 245 &envoy_config_bootstrap_v3_Watchdog_WatchdogAction_submsgs[0], 246 &envoy_config_bootstrap_v3_Watchdog_WatchdogAction__fields[0], 247 UPB_SIZE(16, 16), 2, false, 255, 248 }; 249 250 static const upb_msglayout *const envoy_config_bootstrap_v3_FatalAction_submsgs[1] = { 251 &envoy_config_core_v3_TypedExtensionConfig_msginit, 252 }; 253 254 static const upb_msglayout_field envoy_config_bootstrap_v3_FatalAction__fields[1] = { 255 {1, UPB_SIZE(4, 8), 1, 0, 11, 1}, 256 }; 257 258 const upb_msglayout envoy_config_bootstrap_v3_FatalAction_msginit = { 259 &envoy_config_bootstrap_v3_FatalAction_submsgs[0], 260 &envoy_config_bootstrap_v3_FatalAction__fields[0], 261 UPB_SIZE(8, 16), 1, false, 255, 262 }; 263 264 static const upb_msglayout *const envoy_config_bootstrap_v3_Runtime_submsgs[1] = { 265 &google_protobuf_Struct_msginit, 266 }; 267 268 static const upb_msglayout_field envoy_config_bootstrap_v3_Runtime__fields[4] = { 269 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 270 {2, UPB_SIZE(12, 24), 0, 0, 9, 1}, 271 {3, UPB_SIZE(20, 40), 0, 0, 9, 1}, 272 {4, UPB_SIZE(28, 56), 1, 0, 11, 1}, 273 }; 274 275 const upb_msglayout envoy_config_bootstrap_v3_Runtime_msginit = { 276 &envoy_config_bootstrap_v3_Runtime_submsgs[0], 277 &envoy_config_bootstrap_v3_Runtime__fields[0], 278 UPB_SIZE(32, 64), 4, false, 255, 279 }; 280 281 static const upb_msglayout *const envoy_config_bootstrap_v3_RuntimeLayer_submsgs[4] = { 282 &envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msginit, 283 &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msginit, 284 &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msginit, 285 &google_protobuf_Struct_msginit, 286 }; 287 288 static const upb_msglayout_field envoy_config_bootstrap_v3_RuntimeLayer__fields[5] = { 289 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 290 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 3, 11, 1}, 291 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1}, 292 {4, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 293 {5, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 2, 11, 1}, 294 }; 295 296 const upb_msglayout envoy_config_bootstrap_v3_RuntimeLayer_msginit = { 297 &envoy_config_bootstrap_v3_RuntimeLayer_submsgs[0], 298 &envoy_config_bootstrap_v3_RuntimeLayer__fields[0], 299 UPB_SIZE(16, 32), 5, false, 255, 300 }; 301 302 static const upb_msglayout_field envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer__fields[3] = { 303 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 304 {2, UPB_SIZE(0, 0), 0, 0, 8, 1}, 305 {3, UPB_SIZE(12, 24), 0, 0, 9, 1}, 306 }; 307 308 const upb_msglayout envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer_msginit = { 309 NULL, 310 &envoy_config_bootstrap_v3_RuntimeLayer_DiskLayer__fields[0], 311 UPB_SIZE(24, 48), 3, false, 255, 312 }; 313 314 const upb_msglayout envoy_config_bootstrap_v3_RuntimeLayer_AdminLayer_msginit = { 315 NULL, 316 NULL, 317 UPB_SIZE(0, 0), 0, false, 255, 318 }; 319 320 static const upb_msglayout *const envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_submsgs[1] = { 321 &envoy_config_core_v3_ConfigSource_msginit, 322 }; 323 324 static const upb_msglayout_field envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer__fields[2] = { 325 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 326 {2, UPB_SIZE(12, 24), 1, 0, 11, 1}, 327 }; 328 329 const upb_msglayout envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_msginit = { 330 &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer_submsgs[0], 331 &envoy_config_bootstrap_v3_RuntimeLayer_RtdsLayer__fields[0], 332 UPB_SIZE(16, 32), 2, false, 255, 333 }; 334 335 static const upb_msglayout *const envoy_config_bootstrap_v3_LayeredRuntime_submsgs[1] = { 336 &envoy_config_bootstrap_v3_RuntimeLayer_msginit, 337 }; 338 339 static const upb_msglayout_field envoy_config_bootstrap_v3_LayeredRuntime__fields[1] = { 340 {1, UPB_SIZE(0, 0), 0, 0, 11, 3}, 341 }; 342 343 const upb_msglayout envoy_config_bootstrap_v3_LayeredRuntime_msginit = { 344 &envoy_config_bootstrap_v3_LayeredRuntime_submsgs[0], 345 &envoy_config_bootstrap_v3_LayeredRuntime__fields[0], 346 UPB_SIZE(8, 8), 1, false, 255, 347 }; 348 349 #include "upb/port_undef.inc" 350 351