1 /* This file was generated by upb_generator from the input file: 2 * 3 * src/proto/grpc/lookup/v1/rls_config.proto 4 * 5 * Do not edit -- your changes will be discarded when the file is 6 * regenerated. */ 7 8 #include <stddef.h> 9 #include "upb/generated_code_support.h" 10 #include "src/proto/grpc/lookup/v1/rls_config.upb_minitable.h" 11 #include "google/protobuf/duration.upb_minitable.h" 12 13 // Must be last. 14 #include "upb/port/def.inc" 15 16 static const upb_MiniTableField grpc_lookup_v1_NameMatcher__fields[3] = { 17 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 18 {2, UPB_SIZE(8, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 19 {3, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 20 }; 21 22 const upb_MiniTable grpc__lookup__v1__NameMatcher_msg_init = { 23 NULL, 24 &grpc_lookup_v1_NameMatcher__fields[0], 25 UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, 26 UPB_FASTTABLE_INIT({ 27 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 28 {0x001000003f00000a, &upb_pss_1bt}, 29 {0x002000003f000012, &upb_prs_1bt}, 30 {0x000800003f000018, &upb_psb1_1bt}, 31 }) 32 }; 33 34 static const upb_MiniTableSub grpc_lookup_v1_GrpcKeyBuilder_submsgs[4] = { 35 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init}, 36 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__NameMatcher_msg_init}, 37 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init}, 38 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init}, 39 }; 40 41 static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder__fields[4] = { 42 {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 43 {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 44 {3, UPB_SIZE(20, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 45 {4, UPB_SIZE(24, 40), 0, 3, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 46 }; 47 48 const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder_msg_init = { 49 &grpc_lookup_v1_GrpcKeyBuilder_submsgs[0], 50 &grpc_lookup_v1_GrpcKeyBuilder__fields[0], 51 UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(24), 0, 52 UPB_FASTTABLE_INIT({ 53 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 54 {0x001000003f00000a, &upb_prm_1bt_max64b}, 55 {0x001800003f010012, &upb_prm_1bt_max64b}, 56 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 57 }) 58 }; 59 60 static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_Name__fields[2] = { 61 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 62 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 63 }; 64 65 const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init = { 66 NULL, 67 &grpc_lookup_v1_GrpcKeyBuilder_Name__fields[0], 68 UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 69 UPB_FASTTABLE_INIT({ 70 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 71 {0x000800003f00000a, &upb_pss_1bt}, 72 {0x001800003f000012, &upb_pss_1bt}, 73 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 74 }) 75 }; 76 77 static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys__fields[3] = { 78 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 79 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 80 {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 81 }; 82 83 const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init = { 84 NULL, 85 &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys__fields[0], 86 UPB_SIZE(32, 56), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, 87 UPB_FASTTABLE_INIT({ 88 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 89 {0x000800003f00000a, &upb_pss_1bt}, 90 {0x001800003f000012, &upb_pss_1bt}, 91 {0x002800003f00001a, &upb_pss_1bt}, 92 }) 93 }; 94 95 static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry__fields[2] = { 96 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 97 {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 98 }; 99 100 const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init = { 101 NULL, 102 &grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry__fields[0], 103 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 104 UPB_FASTTABLE_INIT({ 105 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 106 {0x001000003f00000a, &upb_pss_1bt}, 107 {0x002000003f000012, &upb_pss_1bt}, 108 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 109 }) 110 }; 111 112 static const upb_MiniTableSub grpc_lookup_v1_HttpKeyBuilder_submsgs[3] = { 113 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__NameMatcher_msg_init}, 114 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__NameMatcher_msg_init}, 115 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init}, 116 }; 117 118 static const upb_MiniTableField grpc_lookup_v1_HttpKeyBuilder__fields[5] = { 119 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 120 {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 121 {3, UPB_SIZE(16, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 122 {4, UPB_SIZE(20, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 123 {5, UPB_SIZE(24, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 124 }; 125 126 const upb_MiniTable grpc__lookup__v1__HttpKeyBuilder_msg_init = { 127 &grpc_lookup_v1_HttpKeyBuilder_submsgs[0], 128 &grpc_lookup_v1_HttpKeyBuilder__fields[0], 129 UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, 130 UPB_FASTTABLE_INIT({ 131 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 132 {0x000800003f00000a, &upb_prs_1bt}, 133 {0x001000003f000012, &upb_prs_1bt}, 134 {0x001800003f00001a, &upb_prm_1bt_max64b}, 135 {0x002000003f010022, &upb_prm_1bt_max64b}, 136 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 137 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 138 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 139 }) 140 }; 141 142 static const upb_MiniTableField grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry__fields[2] = { 143 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 144 {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 145 }; 146 147 const upb_MiniTable grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init = { 148 NULL, 149 &grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry__fields[0], 150 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 151 UPB_FASTTABLE_INIT({ 152 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 153 {0x001000003f00000a, &upb_pss_1bt}, 154 {0x002000003f000012, &upb_pss_1bt}, 155 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 156 }) 157 }; 158 159 static const upb_MiniTableSub grpc_lookup_v1_RouteLookupConfig_submsgs[5] = { 160 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__HttpKeyBuilder_msg_init}, 161 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__GrpcKeyBuilder_msg_init}, 162 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init}, 163 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init}, 164 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init}, 165 }; 166 167 static const upb_MiniTableField grpc_lookup_v1_RouteLookupConfig__fields[9] = { 168 {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 169 {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 170 {3, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 171 {4, UPB_SIZE(20, 48), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 172 {5, UPB_SIZE(24, 56), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 173 {6, UPB_SIZE(28, 64), 66, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 174 {7, UPB_SIZE(48, 72), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 175 {8, UPB_SIZE(32, 80), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 176 {9, UPB_SIZE(56, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 177 }; 178 179 const upb_MiniTable grpc__lookup__v1__RouteLookupConfig_msg_init = { 180 &grpc_lookup_v1_RouteLookupConfig_submsgs[0], 181 &grpc_lookup_v1_RouteLookupConfig__fields[0], 182 UPB_SIZE(64, 104), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, 183 UPB_FASTTABLE_INIT({ 184 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 185 {0x001000003f00000a, &upb_prm_1bt_max64b}, 186 {0x001800003f010012, &upb_prm_1bt_max64b}, 187 {0x002000003f00001a, &upb_pss_1bt}, 188 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 189 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 190 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 191 {0x004800003f000038, &upb_psv8_1bt}, 192 {0x005000003f000042, &upb_prs_1bt}, 193 {0x005800003f00004a, &upb_pss_1bt}, 194 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 195 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 196 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 197 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 198 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 199 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 200 }) 201 }; 202 203 static const upb_MiniTableSub grpc_lookup_v1_RouteLookupClusterSpecifier_submsgs[1] = { 204 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__RouteLookupConfig_msg_init}, 205 }; 206 207 static const upb_MiniTableField grpc_lookup_v1_RouteLookupClusterSpecifier__fields[1] = { 208 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 209 }; 210 211 const upb_MiniTable grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init = { 212 &grpc_lookup_v1_RouteLookupClusterSpecifier_submsgs[0], 213 &grpc_lookup_v1_RouteLookupClusterSpecifier__fields[0], 214 UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, 215 }; 216 217 static const upb_MiniTable *messages_layout[9] = { 218 &grpc__lookup__v1__NameMatcher_msg_init, 219 &grpc__lookup__v1__GrpcKeyBuilder_msg_init, 220 &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init, 221 &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init, 222 &grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init, 223 &grpc__lookup__v1__HttpKeyBuilder_msg_init, 224 &grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init, 225 &grpc__lookup__v1__RouteLookupConfig_msg_init, 226 &grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init, 227 }; 228 229 const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_config_proto_upb_file_layout = { 230 messages_layout, 231 NULL, 232 NULL, 233 9, 234 0, 235 0, 236 }; 237 238 #include "upb/port/undef.inc" 239 240