| 1 |
/* This file was generated by upbc (the upb compiler) from the input |
| 2 |
* file: |
| 3 |
* |
| 4 |
* envoy/config/route/v3/route.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_internal.h" |
| 11 |
#include "envoy/config/route/v3/route.upb.h" |
| 12 |
#include "envoy/config/core/v3/base.upb.h" |
| 13 |
#include "envoy/config/core/v3/config_source.upb.h" |
| 14 |
#include "envoy/config/route/v3/route_components.upb.h" |
| 15 |
#include "google/protobuf/wrappers.upb.h" |
| 16 |
#include "udpa/annotations/status.upb.h" |
| 17 |
#include "udpa/annotations/versioning.upb.h" |
| 18 |
#include "validate/validate.upb.h" |
| 19 |
|
| 20 |
#include "upb/port_def.inc" |
| 21 |
|
| 22 |
static const upb_MiniTable_Sub envoy_config_route_v3_RouteConfiguration_submsgs[8] = { |
| 23 |
{.submsg = &envoy_config_route_v3_VirtualHost_msginit}, |
| 24 |
{.submsg = &envoy_config_core_v3_HeaderValueOption_msginit}, |
| 25 |
{.submsg = &envoy_config_core_v3_HeaderValueOption_msginit}, |
| 26 |
{.submsg = &google_protobuf_BoolValue_msginit}, |
| 27 |
{.submsg = &envoy_config_route_v3_Vhds_msginit}, |
| 28 |
{.submsg = &google_protobuf_UInt32Value_msginit}, |
| 29 |
{.submsg = &envoy_config_route_v3_ClusterSpecifierPlugin_msginit}, |
| 30 |
{.submsg = &envoy_config_route_v3_RouteAction_RequestMirrorPolicy_msginit}, |
| 31 |
}; |
| 32 |
|
| 33 |
static const upb_MiniTable_Field envoy_config_route_v3_RouteConfiguration__fields[15] = { |
| 34 |
{1, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 35 |
{2, UPB_SIZE(12, 24), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 36 |
{3, UPB_SIZE(16, 32), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 37 |
{4, UPB_SIZE(20, 40), UPB_SIZE(0, 0), 1, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 38 |
{5, UPB_SIZE(24, 48), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 39 |
{6, UPB_SIZE(28, 56), UPB_SIZE(0, 0), 2, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 40 |
{7, UPB_SIZE(32, 64), UPB_SIZE(1, 1), 3, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 41 |
{8, UPB_SIZE(36, 72), UPB_SIZE(0, 0), kUpb_NoSub, 9, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 42 |
{9, UPB_SIZE(40, 80), UPB_SIZE(2, 2), 4, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 43 |
{10, UPB_SIZE(1, 1), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 44 |
{11, UPB_SIZE(44, 88), UPB_SIZE(3, 3), 5, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 45 |
{12, UPB_SIZE(48, 96), UPB_SIZE(0, 0), 6, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 46 |
{13, UPB_SIZE(52, 104), UPB_SIZE(0, 0), 7, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 47 |
{14, UPB_SIZE(2, 2), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 48 |
{15, UPB_SIZE(3, 3), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 49 |
}; |
| 50 |
|
| 51 |
const upb_MiniTable envoy_config_route_v3_RouteConfiguration_msginit = { |
| 52 |
&envoy_config_route_v3_RouteConfiguration_submsgs[0], |
| 53 |
&envoy_config_route_v3_RouteConfiguration__fields[0], |
| 54 |
UPB_SIZE(56, 112), 15, kUpb_ExtMode_NonExtendable, 15, 255, 0, |
| 55 |
}; |
| 56 |
|
| 57 |
static const upb_MiniTable_Sub envoy_config_route_v3_Vhds_submsgs[1] = { |
| 58 |
{.submsg = &envoy_config_core_v3_ConfigSource_msginit}, |
| 59 |
}; |
| 60 |
|
| 61 |
static const upb_MiniTable_Field envoy_config_route_v3_Vhds__fields[1] = { |
| 62 |
{1, UPB_SIZE(4, 8), UPB_SIZE(1, 1), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 63 |
}; |
| 64 |
|
| 65 |
const upb_MiniTable envoy_config_route_v3_Vhds_msginit = { |
| 66 |
&envoy_config_route_v3_Vhds_submsgs[0], |
| 67 |
&envoy_config_route_v3_Vhds__fields[0], |
| 68 |
UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, 255, 0, |
| 69 |
}; |
| 70 |
|
| 71 |
static const upb_MiniTable *messages_layout[2] = { |
| 72 |
&envoy_config_route_v3_RouteConfiguration_msginit, |
| 73 |
&envoy_config_route_v3_Vhds_msginit, |
| 74 |
}; |
| 75 |
|
| 76 |
const upb_MiniTable_File envoy_config_route_v3_route_proto_upb_file_layout = { |
| 77 |
messages_layout, |
| 78 |
NULL, |
| 79 |
NULL, |
| 80 |
2, |
| 81 |
0, |
| 82 |
0, |
| 83 |
}; |
| 84 |
|
| 85 |
#include "upb/port_undef.inc" |
| 86 |
|