1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/service/status/v3/csds.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/collections/array_internal.h" 11 #include "upb/message/internal.h" 12 #include "upb/mini_table/enum_internal.h" 13 #include "envoy/service/status/v3/csds.upb.h" 14 #include "envoy/admin/v3/config_dump_shared.upb.h" 15 #include "envoy/config/core/v3/base.upb.h" 16 #include "envoy/type/matcher/v3/node.upb.h" 17 #include "google/api/annotations.upb.h" 18 #include "google/protobuf/any.upb.h" 19 #include "google/protobuf/timestamp.upb.h" 20 #include "envoy/annotations/deprecation.upb.h" 21 #include "udpa/annotations/status.upb.h" 22 #include "udpa/annotations/versioning.upb.h" 23 24 // Must be last. 25 #include "upb/port/def.inc" 26 27 static const upb_MiniTableSub envoy_service_status_v3_ClientStatusRequest_submsgs[2] = { 28 {.submsg = &envoy_type_matcher_v3_NodeMatcher_msg_init}, 29 {.submsg = &envoy_config_core_v3_Node_msg_init}, 30 }; 31 32 static const upb_MiniTableField envoy_service_status_v3_ClientStatusRequest__fields[2] = { 33 {1, UPB_SIZE(4, 8), 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 34 {2, UPB_SIZE(8, 16), 1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 35 }; 36 37 const upb_MiniTable envoy_service_status_v3_ClientStatusRequest_msg_init = { 38 &envoy_service_status_v3_ClientStatusRequest_submsgs[0], 39 &envoy_service_status_v3_ClientStatusRequest__fields[0], 40 UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 41 UPB_FASTTABLE_INIT({ 42 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 43 {0x000800003f00000a, &upb_prm_1bt_maxmaxb}, 44 {0x0010000001010012, &upb_psm_1bt_maxmaxb}, 45 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 46 }) 47 }; 48 49 static const upb_MiniTableSub envoy_service_status_v3_PerXdsConfig_submsgs[5] = { 50 {.submsg = &envoy_admin_v3_ListenersConfigDump_msg_init}, 51 {.submsg = &envoy_admin_v3_ClustersConfigDump_msg_init}, 52 {.submsg = &envoy_admin_v3_RoutesConfigDump_msg_init}, 53 {.submsg = &envoy_admin_v3_ScopedRoutesConfigDump_msg_init}, 54 {.submsg = &envoy_admin_v3_EndpointsConfigDump_msg_init}, 55 }; 56 57 static const upb_MiniTableField envoy_service_status_v3_PerXdsConfig__fields[7] = { 58 {1, 0, 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 59 {2, UPB_SIZE(12, 16), -5, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 60 {3, UPB_SIZE(12, 16), -5, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 61 {4, UPB_SIZE(12, 16), -5, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 62 {5, UPB_SIZE(12, 16), -5, 3, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 63 {6, UPB_SIZE(12, 16), -5, 4, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 64 {7, 8, 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 65 }; 66 67 const upb_MiniTable envoy_service_status_v3_PerXdsConfig_msg_init = { 68 &envoy_service_status_v3_PerXdsConfig_submsgs[0], 69 &envoy_service_status_v3_PerXdsConfig__fields[0], 70 UPB_SIZE(16, 24), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0, 71 UPB_FASTTABLE_INIT({ 72 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 73 {0x000000003f000008, &upb_psv4_1bt}, 74 {0x0010000402000012, &upb_pom_1bt_maxmaxb}, 75 {0x001000040301001a, &upb_pom_1bt_maxmaxb}, 76 {0x0010000404020022, &upb_pom_1bt_maxmaxb}, 77 {0x001000040503002a, &upb_pom_1bt_maxmaxb}, 78 {0x0010000406040032, &upb_pom_1bt_maxmaxb}, 79 {0x000800003f000038, &upb_psv4_1bt}, 80 }) 81 }; 82 83 static const upb_MiniTableSub envoy_service_status_v3_ClientConfig_submsgs[3] = { 84 {.submsg = &envoy_config_core_v3_Node_msg_init}, 85 {.submsg = &envoy_service_status_v3_PerXdsConfig_msg_init}, 86 {.submsg = &envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init}, 87 }; 88 89 static const upb_MiniTableField envoy_service_status_v3_ClientConfig__fields[3] = { 90 {1, UPB_SIZE(4, 8), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 91 {2, UPB_SIZE(8, 16), 0, 1, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 92 {3, UPB_SIZE(12, 24), 0, 2, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 93 }; 94 95 const upb_MiniTable envoy_service_status_v3_ClientConfig_msg_init = { 96 &envoy_service_status_v3_ClientConfig_submsgs[0], 97 &envoy_service_status_v3_ClientConfig__fields[0], 98 UPB_SIZE(16, 32), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, 99 UPB_FASTTABLE_INIT({ 100 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 101 {0x000800000100000a, &upb_psm_1bt_maxmaxb}, 102 {0x001000003f010012, &upb_prm_1bt_max64b}, 103 {0x001800003f02001a, &upb_prm_1bt_max128b}, 104 }) 105 }; 106 107 static const upb_MiniTableSub envoy_service_status_v3_ClientConfig_GenericXdsConfig_submsgs[3] = { 108 {.submsg = &google_protobuf_Any_msg_init}, 109 {.submsg = &google_protobuf_Timestamp_msg_init}, 110 {.submsg = &envoy_admin_v3_UpdateFailureState_msg_init}, 111 }; 112 113 static const upb_MiniTableField envoy_service_status_v3_ClientConfig_GenericXdsConfig__fields[9] = { 114 {1, UPB_SIZE(28, 16), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 115 {2, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 116 {3, UPB_SIZE(44, 48), 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 117 {4, UPB_SIZE(4, 64), 1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 118 {5, UPB_SIZE(8, 72), 2, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 119 {6, UPB_SIZE(12, 4), 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 120 {7, UPB_SIZE(16, 8), 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsAlternate | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 121 {8, UPB_SIZE(20, 80), 3, 2, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 122 {9, UPB_SIZE(24, 12), 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 123 }; 124 125 const upb_MiniTable envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init = { 126 &envoy_service_status_v3_ClientConfig_GenericXdsConfig_submsgs[0], 127 &envoy_service_status_v3_ClientConfig_GenericXdsConfig__fields[0], 128 UPB_SIZE(56, 88), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, 129 UPB_FASTTABLE_INIT({ 130 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 131 {0x001000003f00000a, &upb_pss_1bt}, 132 {0x002000003f000012, &upb_pss_1bt}, 133 {0x003000003f00001a, &upb_pss_1bt}, 134 {0x0040000001000022, &upb_psm_1bt_maxmaxb}, 135 {0x004800000201002a, &upb_psm_1bt_maxmaxb}, 136 {0x000400003f000030, &upb_psv4_1bt}, 137 {0x000800003f000038, &upb_psv4_1bt}, 138 {0x0050000003020042, &upb_psm_1bt_maxmaxb}, 139 {0x000c00003f000048, &upb_psb1_1bt}, 140 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 141 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 142 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 143 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 144 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 145 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 146 }) 147 }; 148 149 static const upb_MiniTableSub envoy_service_status_v3_ClientStatusResponse_submsgs[1] = { 150 {.submsg = &envoy_service_status_v3_ClientConfig_msg_init}, 151 }; 152 153 static const upb_MiniTableField envoy_service_status_v3_ClientStatusResponse__fields[1] = { 154 {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 155 }; 156 157 const upb_MiniTable envoy_service_status_v3_ClientStatusResponse_msg_init = { 158 &envoy_service_status_v3_ClientStatusResponse_submsgs[0], 159 &envoy_service_status_v3_ClientStatusResponse__fields[0], 160 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 161 UPB_FASTTABLE_INIT({ 162 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 163 {0x000000003f00000a, &upb_prm_1bt_max64b}, 164 }) 165 }; 166 167 static const upb_MiniTable *messages_layout[5] = { 168 &envoy_service_status_v3_ClientStatusRequest_msg_init, 169 &envoy_service_status_v3_PerXdsConfig_msg_init, 170 &envoy_service_status_v3_ClientConfig_msg_init, 171 &envoy_service_status_v3_ClientConfig_GenericXdsConfig_msg_init, 172 &envoy_service_status_v3_ClientStatusResponse_msg_init, 173 }; 174 175 const upb_MiniTableFile envoy_service_status_v3_csds_proto_upb_file_layout = { 176 messages_layout, 177 NULL, 178 NULL, 179 5, 180 0, 181 0, 182 }; 183 184 #include "upb/port/undef.inc" 185 186