1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/config/core/v3/base.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/core/v3/base.upb.h" 12 #include "envoy/config/core/v3/address.upb.h" 13 #include "envoy/config/core/v3/backoff.upb.h" 14 #include "envoy/config/core/v3/http_uri.upb.h" 15 #include "envoy/type/v3/percent.upb.h" 16 #include "envoy/type/v3/semantic_version.upb.h" 17 #include "google/protobuf/any.upb.h" 18 #include "google/protobuf/struct.upb.h" 19 #include "google/protobuf/wrappers.upb.h" 20 #include "udpa/annotations/migrate.upb.h" 21 #include "udpa/annotations/status.upb.h" 22 #include "udpa/annotations/versioning.upb.h" 23 #include "validate/validate.upb.h" 24 25 #include "upb/port_def.inc" 26 27 static const upb_msglayout_field envoy_config_core_v3_Locality__fields[3] = { 28 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 29 {2, UPB_SIZE(8, 16), 0, 0, 9, 1}, 30 {3, UPB_SIZE(16, 32), 0, 0, 9, 1}, 31 }; 32 33 const upb_msglayout envoy_config_core_v3_Locality_msginit = { 34 NULL, 35 &envoy_config_core_v3_Locality__fields[0], 36 UPB_SIZE(24, 48), 3, false, 255, 37 }; 38 39 static const upb_msglayout *const envoy_config_core_v3_BuildVersion_submsgs[2] = { 40 &envoy_type_v3_SemanticVersion_msginit, 41 &google_protobuf_Struct_msginit, 42 }; 43 44 static const upb_msglayout_field envoy_config_core_v3_BuildVersion__fields[2] = { 45 {1, UPB_SIZE(4, 8), 1, 0, 11, 1}, 46 {2, UPB_SIZE(8, 16), 2, 1, 11, 1}, 47 }; 48 49 const upb_msglayout envoy_config_core_v3_BuildVersion_msginit = { 50 &envoy_config_core_v3_BuildVersion_submsgs[0], 51 &envoy_config_core_v3_BuildVersion__fields[0], 52 UPB_SIZE(16, 24), 2, false, 255, 53 }; 54 55 static const upb_msglayout *const envoy_config_core_v3_Extension_submsgs[1] = { 56 &envoy_config_core_v3_BuildVersion_msginit, 57 }; 58 59 static const upb_msglayout_field envoy_config_core_v3_Extension__fields[5] = { 60 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 61 {2, UPB_SIZE(12, 24), 0, 0, 9, 1}, 62 {3, UPB_SIZE(20, 40), 0, 0, 9, 1}, 63 {4, UPB_SIZE(28, 56), 1, 0, 11, 1}, 64 {5, UPB_SIZE(1, 1), 0, 0, 8, 1}, 65 }; 66 67 const upb_msglayout envoy_config_core_v3_Extension_msginit = { 68 &envoy_config_core_v3_Extension_submsgs[0], 69 &envoy_config_core_v3_Extension__fields[0], 70 UPB_SIZE(32, 64), 5, false, 255, 71 }; 72 73 static const upb_msglayout *const envoy_config_core_v3_Node_submsgs[5] = { 74 &envoy_config_core_v3_Address_msginit, 75 &envoy_config_core_v3_BuildVersion_msginit, 76 &envoy_config_core_v3_Extension_msginit, 77 &envoy_config_core_v3_Locality_msginit, 78 &google_protobuf_Struct_msginit, 79 }; 80 81 static const upb_msglayout_field envoy_config_core_v3_Node__fields[10] = { 82 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 83 {2, UPB_SIZE(12, 24), 0, 0, 9, 1}, 84 {3, UPB_SIZE(28, 56), 1, 4, 11, 1}, 85 {4, UPB_SIZE(32, 64), 2, 3, 11, 1}, 86 {6, UPB_SIZE(20, 40), 0, 0, 9, 1}, 87 {7, UPB_SIZE(48, 96), UPB_SIZE(-57, -113), 0, 9, 1}, 88 {8, UPB_SIZE(48, 96), UPB_SIZE(-57, -113), 1, 11, 1}, 89 {9, UPB_SIZE(36, 72), 0, 2, 11, 3}, 90 {10, UPB_SIZE(40, 80), 0, 0, 9, 3}, 91 {11, UPB_SIZE(44, 88), 0, 0, 11, 3}, 92 }; 93 94 const upb_msglayout envoy_config_core_v3_Node_msginit = { 95 &envoy_config_core_v3_Node_submsgs[0], 96 &envoy_config_core_v3_Node__fields[0], 97 UPB_SIZE(64, 128), 10, false, 255, 98 }; 99 100 static const upb_msglayout *const envoy_config_core_v3_Metadata_submsgs[1] = { 101 &envoy_config_core_v3_Metadata_FilterMetadataEntry_msginit, 102 }; 103 104 static const upb_msglayout_field envoy_config_core_v3_Metadata__fields[1] = { 105 {1, UPB_SIZE(0, 0), 0, 0, 11, _UPB_LABEL_MAP}, 106 }; 107 108 const upb_msglayout envoy_config_core_v3_Metadata_msginit = { 109 &envoy_config_core_v3_Metadata_submsgs[0], 110 &envoy_config_core_v3_Metadata__fields[0], 111 UPB_SIZE(8, 8), 1, false, 255, 112 }; 113 114 static const upb_msglayout *const envoy_config_core_v3_Metadata_FilterMetadataEntry_submsgs[1] = { 115 &google_protobuf_Struct_msginit, 116 }; 117 118 static const upb_msglayout_field envoy_config_core_v3_Metadata_FilterMetadataEntry__fields[2] = { 119 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 120 {2, UPB_SIZE(8, 16), 0, 0, 11, 1}, 121 }; 122 123 const upb_msglayout envoy_config_core_v3_Metadata_FilterMetadataEntry_msginit = { 124 &envoy_config_core_v3_Metadata_FilterMetadataEntry_submsgs[0], 125 &envoy_config_core_v3_Metadata_FilterMetadataEntry__fields[0], 126 UPB_SIZE(16, 32), 2, false, 255, 127 }; 128 129 static const upb_msglayout_field envoy_config_core_v3_RuntimeUInt32__fields[2] = { 130 {2, UPB_SIZE(0, 0), 0, 0, 13, 1}, 131 {3, UPB_SIZE(4, 8), 0, 0, 9, 1}, 132 }; 133 134 const upb_msglayout envoy_config_core_v3_RuntimeUInt32_msginit = { 135 NULL, 136 &envoy_config_core_v3_RuntimeUInt32__fields[0], 137 UPB_SIZE(16, 32), 2, false, 255, 138 }; 139 140 static const upb_msglayout *const envoy_config_core_v3_RuntimePercent_submsgs[1] = { 141 &envoy_type_v3_Percent_msginit, 142 }; 143 144 static const upb_msglayout_field envoy_config_core_v3_RuntimePercent__fields[2] = { 145 {1, UPB_SIZE(12, 24), 1, 0, 11, 1}, 146 {2, UPB_SIZE(4, 8), 0, 0, 9, 1}, 147 }; 148 149 const upb_msglayout envoy_config_core_v3_RuntimePercent_msginit = { 150 &envoy_config_core_v3_RuntimePercent_submsgs[0], 151 &envoy_config_core_v3_RuntimePercent__fields[0], 152 UPB_SIZE(16, 32), 2, false, 255, 153 }; 154 155 static const upb_msglayout_field envoy_config_core_v3_RuntimeDouble__fields[2] = { 156 {1, UPB_SIZE(0, 0), 0, 0, 1, 1}, 157 {2, UPB_SIZE(8, 8), 0, 0, 9, 1}, 158 }; 159 160 const upb_msglayout envoy_config_core_v3_RuntimeDouble_msginit = { 161 NULL, 162 &envoy_config_core_v3_RuntimeDouble__fields[0], 163 UPB_SIZE(16, 32), 2, false, 255, 164 }; 165 166 static const upb_msglayout *const envoy_config_core_v3_RuntimeFeatureFlag_submsgs[1] = { 167 &google_protobuf_BoolValue_msginit, 168 }; 169 170 static const upb_msglayout_field envoy_config_core_v3_RuntimeFeatureFlag__fields[2] = { 171 {1, UPB_SIZE(12, 24), 1, 0, 11, 1}, 172 {2, UPB_SIZE(4, 8), 0, 0, 9, 1}, 173 }; 174 175 const upb_msglayout envoy_config_core_v3_RuntimeFeatureFlag_msginit = { 176 &envoy_config_core_v3_RuntimeFeatureFlag_submsgs[0], 177 &envoy_config_core_v3_RuntimeFeatureFlag__fields[0], 178 UPB_SIZE(16, 32), 2, false, 255, 179 }; 180 181 static const upb_msglayout_field envoy_config_core_v3_HeaderValue__fields[2] = { 182 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 183 {2, UPB_SIZE(8, 16), 0, 0, 9, 1}, 184 }; 185 186 const upb_msglayout envoy_config_core_v3_HeaderValue_msginit = { 187 NULL, 188 &envoy_config_core_v3_HeaderValue__fields[0], 189 UPB_SIZE(16, 32), 2, false, 255, 190 }; 191 192 static const upb_msglayout *const envoy_config_core_v3_HeaderValueOption_submsgs[2] = { 193 &envoy_config_core_v3_HeaderValue_msginit, 194 &google_protobuf_BoolValue_msginit, 195 }; 196 197 static const upb_msglayout_field envoy_config_core_v3_HeaderValueOption__fields[2] = { 198 {1, UPB_SIZE(4, 8), 1, 0, 11, 1}, 199 {2, UPB_SIZE(8, 16), 2, 1, 11, 1}, 200 }; 201 202 const upb_msglayout envoy_config_core_v3_HeaderValueOption_msginit = { 203 &envoy_config_core_v3_HeaderValueOption_submsgs[0], 204 &envoy_config_core_v3_HeaderValueOption__fields[0], 205 UPB_SIZE(16, 24), 2, false, 255, 206 }; 207 208 static const upb_msglayout *const envoy_config_core_v3_HeaderMap_submsgs[1] = { 209 &envoy_config_core_v3_HeaderValue_msginit, 210 }; 211 212 static const upb_msglayout_field envoy_config_core_v3_HeaderMap__fields[1] = { 213 {1, UPB_SIZE(0, 0), 0, 0, 11, 3}, 214 }; 215 216 const upb_msglayout envoy_config_core_v3_HeaderMap_msginit = { 217 &envoy_config_core_v3_HeaderMap_submsgs[0], 218 &envoy_config_core_v3_HeaderMap__fields[0], 219 UPB_SIZE(8, 8), 1, false, 255, 220 }; 221 222 static const upb_msglayout_field envoy_config_core_v3_WatchedDirectory__fields[1] = { 223 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 224 }; 225 226 const upb_msglayout envoy_config_core_v3_WatchedDirectory_msginit = { 227 NULL, 228 &envoy_config_core_v3_WatchedDirectory__fields[0], 229 UPB_SIZE(8, 16), 1, false, 255, 230 }; 231 232 static const upb_msglayout_field envoy_config_core_v3_DataSource__fields[3] = { 233 {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1}, 234 {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 12, 1}, 235 {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1}, 236 }; 237 238 const upb_msglayout envoy_config_core_v3_DataSource_msginit = { 239 NULL, 240 &envoy_config_core_v3_DataSource__fields[0], 241 UPB_SIZE(16, 32), 3, false, 255, 242 }; 243 244 static const upb_msglayout *const envoy_config_core_v3_RetryPolicy_submsgs[2] = { 245 &envoy_config_core_v3_BackoffStrategy_msginit, 246 &google_protobuf_UInt32Value_msginit, 247 }; 248 249 static const upb_msglayout_field envoy_config_core_v3_RetryPolicy__fields[2] = { 250 {1, UPB_SIZE(4, 8), 1, 0, 11, 1}, 251 {2, UPB_SIZE(8, 16), 2, 1, 11, 1}, 252 }; 253 254 const upb_msglayout envoy_config_core_v3_RetryPolicy_msginit = { 255 &envoy_config_core_v3_RetryPolicy_submsgs[0], 256 &envoy_config_core_v3_RetryPolicy__fields[0], 257 UPB_SIZE(16, 24), 2, false, 255, 258 }; 259 260 static const upb_msglayout *const envoy_config_core_v3_RemoteDataSource_submsgs[2] = { 261 &envoy_config_core_v3_HttpUri_msginit, 262 &envoy_config_core_v3_RetryPolicy_msginit, 263 }; 264 265 static const upb_msglayout_field envoy_config_core_v3_RemoteDataSource__fields[3] = { 266 {1, UPB_SIZE(12, 24), 1, 0, 11, 1}, 267 {2, UPB_SIZE(4, 8), 0, 0, 9, 1}, 268 {3, UPB_SIZE(16, 32), 2, 1, 11, 1}, 269 }; 270 271 const upb_msglayout envoy_config_core_v3_RemoteDataSource_msginit = { 272 &envoy_config_core_v3_RemoteDataSource_submsgs[0], 273 &envoy_config_core_v3_RemoteDataSource__fields[0], 274 UPB_SIZE(24, 48), 3, false, 255, 275 }; 276 277 static const upb_msglayout *const envoy_config_core_v3_AsyncDataSource_submsgs[2] = { 278 &envoy_config_core_v3_DataSource_msginit, 279 &envoy_config_core_v3_RemoteDataSource_msginit, 280 }; 281 282 static const upb_msglayout_field envoy_config_core_v3_AsyncDataSource__fields[2] = { 283 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1}, 284 {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1}, 285 }; 286 287 const upb_msglayout envoy_config_core_v3_AsyncDataSource_msginit = { 288 &envoy_config_core_v3_AsyncDataSource_submsgs[0], 289 &envoy_config_core_v3_AsyncDataSource__fields[0], 290 UPB_SIZE(8, 16), 2, false, 255, 291 }; 292 293 static const upb_msglayout *const envoy_config_core_v3_TransportSocket_submsgs[1] = { 294 &google_protobuf_Any_msginit, 295 }; 296 297 static const upb_msglayout_field envoy_config_core_v3_TransportSocket__fields[2] = { 298 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 299 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 300 }; 301 302 const upb_msglayout envoy_config_core_v3_TransportSocket_msginit = { 303 &envoy_config_core_v3_TransportSocket_submsgs[0], 304 &envoy_config_core_v3_TransportSocket__fields[0], 305 UPB_SIZE(16, 32), 2, false, 255, 306 }; 307 308 static const upb_msglayout *const envoy_config_core_v3_RuntimeFractionalPercent_submsgs[1] = { 309 &envoy_type_v3_FractionalPercent_msginit, 310 }; 311 312 static const upb_msglayout_field envoy_config_core_v3_RuntimeFractionalPercent__fields[2] = { 313 {1, UPB_SIZE(12, 24), 1, 0, 11, 1}, 314 {2, UPB_SIZE(4, 8), 0, 0, 9, 1}, 315 }; 316 317 const upb_msglayout envoy_config_core_v3_RuntimeFractionalPercent_msginit = { 318 &envoy_config_core_v3_RuntimeFractionalPercent_submsgs[0], 319 &envoy_config_core_v3_RuntimeFractionalPercent__fields[0], 320 UPB_SIZE(16, 32), 2, false, 255, 321 }; 322 323 static const upb_msglayout_field envoy_config_core_v3_ControlPlane__fields[1] = { 324 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 325 }; 326 327 const upb_msglayout envoy_config_core_v3_ControlPlane_msginit = { 328 NULL, 329 &envoy_config_core_v3_ControlPlane__fields[0], 330 UPB_SIZE(8, 16), 1, false, 255, 331 }; 332 333 #include "upb/port_undef.inc" 334 335