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 * NO CHECKED-IN PROTOBUF GENCODE */ 8 9 #include <stddef.h> 10 #include "upb/generated_code_support.h" 11 #include "src/proto/grpc/lookup/v1/rls_config.upb_minitable.h" 12 #include "google/protobuf/duration.upb_minitable.h" 13 14 // Must be last. 15 #include "upb/port/def.inc" 16 17 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken); 18 static const upb_MiniTableField grpc_lookup_v1_NameMatcher__fields[3] = { 19 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 20 {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)}, 21 {3, UPB_SIZE(12, 8), 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 22 }; 23 24 const upb_MiniTable grpc__lookup__v1__NameMatcher_msg_init = { 25 NULL, 26 &grpc_lookup_v1_NameMatcher__fields[0], 27 UPB_SIZE(24, 40), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, 28 #ifdef UPB_TRACING_ENABLED 29 "grpc.lookup.v1.NameMatcher", 30 #endif 31 UPB_FASTTABLE_INIT({ 32 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 33 {0x001000003f00000a, &upb_pss_1bt}, 34 {0x002000003f000012, &upb_prs_1bt}, 35 {0x000800003f000018, &upb_psb1_1bt}, 36 }) 37 }; 38 39 const upb_MiniTable* grpc__lookup__v1__NameMatcher_msg_init_ptr = &grpc__lookup__v1__NameMatcher_msg_init; 40 static const upb_MiniTableSubInternal grpc_lookup_v1_GrpcKeyBuilder__submsgs[4] = { 41 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init_ptr}, 42 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__NameMatcher_msg_init_ptr}, 43 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init_ptr}, 44 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init_ptr}, 45 }; 46 47 static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder__fields[4] = { 48 {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 49 {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 50 {3, UPB_SIZE(20, 32), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 51 {4, UPB_SIZE(24, 40), 0, 3, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 52 }; 53 54 const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder_msg_init = { 55 &grpc_lookup_v1_GrpcKeyBuilder__submsgs[0], 56 &grpc_lookup_v1_GrpcKeyBuilder__fields[0], 57 UPB_SIZE(32, 48), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(24), 0, 58 #ifdef UPB_TRACING_ENABLED 59 "grpc.lookup.v1.GrpcKeyBuilder", 60 #endif 61 UPB_FASTTABLE_INIT({ 62 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 63 {0x001000003f00000a, &upb_prm_1bt_max64b}, 64 {0x001800003f010012, &upb_prm_1bt_max64b}, 65 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 66 }) 67 }; 68 69 const upb_MiniTable* grpc__lookup__v1__GrpcKeyBuilder_msg_init_ptr = &grpc__lookup__v1__GrpcKeyBuilder_msg_init; 70 static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_Name__fields[2] = { 71 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 72 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 73 }; 74 75 const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init = { 76 NULL, 77 &grpc_lookup_v1_GrpcKeyBuilder_Name__fields[0], 78 UPB_SIZE(24, 40), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 79 #ifdef UPB_TRACING_ENABLED 80 "grpc.lookup.v1.GrpcKeyBuilder.Name", 81 #endif 82 UPB_FASTTABLE_INIT({ 83 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 84 {0x000800003f00000a, &upb_pss_1bt}, 85 {0x001800003f000012, &upb_pss_1bt}, 86 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 87 }) 88 }; 89 90 const upb_MiniTable* grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init_ptr = &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init; 91 static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys__fields[3] = { 92 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 93 {2, UPB_SIZE(16, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 94 {3, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 95 }; 96 97 const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init = { 98 NULL, 99 &grpc_lookup_v1_GrpcKeyBuilder_ExtraKeys__fields[0], 100 UPB_SIZE(32, 56), 3, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(24), 0, 101 #ifdef UPB_TRACING_ENABLED 102 "grpc.lookup.v1.GrpcKeyBuilder.ExtraKeys", 103 #endif 104 UPB_FASTTABLE_INIT({ 105 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 106 {0x000800003f00000a, &upb_pss_1bt}, 107 {0x001800003f000012, &upb_pss_1bt}, 108 {0x002800003f00001a, &upb_pss_1bt}, 109 }) 110 }; 111 112 const upb_MiniTable* grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init_ptr = &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init; 113 static const upb_MiniTableField grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry__fields[2] = { 114 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 115 {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 116 }; 117 118 const upb_MiniTable grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init = { 119 NULL, 120 &grpc_lookup_v1_GrpcKeyBuilder_ConstantKeysEntry__fields[0], 121 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 122 #ifdef UPB_TRACING_ENABLED 123 "grpc.lookup.v1.GrpcKeyBuilder.ConstantKeysEntry", 124 #endif 125 UPB_FASTTABLE_INIT({ 126 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 127 {0x001000003f00000a, &upb_pss_1bt}, 128 {0x002000003f000012, &upb_pss_1bt}, 129 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 130 }) 131 }; 132 133 const upb_MiniTable* grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init_ptr = &grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init; 134 static const upb_MiniTableSubInternal grpc_lookup_v1_HttpKeyBuilder__submsgs[3] = { 135 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__NameMatcher_msg_init_ptr}, 136 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__NameMatcher_msg_init_ptr}, 137 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init_ptr}, 138 }; 139 140 static const upb_MiniTableField grpc_lookup_v1_HttpKeyBuilder__fields[5] = { 141 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 142 {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)}, 143 {3, UPB_SIZE(16, 24), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 144 {4, UPB_SIZE(20, 32), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 145 {5, UPB_SIZE(24, 40), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 146 }; 147 148 const upb_MiniTable grpc__lookup__v1__HttpKeyBuilder_msg_init = { 149 &grpc_lookup_v1_HttpKeyBuilder__submsgs[0], 150 &grpc_lookup_v1_HttpKeyBuilder__fields[0], 151 UPB_SIZE(32, 48), 5, kUpb_ExtMode_NonExtendable, 5, UPB_FASTTABLE_MASK(56), 0, 152 #ifdef UPB_TRACING_ENABLED 153 "grpc.lookup.v1.HttpKeyBuilder", 154 #endif 155 UPB_FASTTABLE_INIT({ 156 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 157 {0x000800003f00000a, &upb_prs_1bt}, 158 {0x001000003f000012, &upb_prs_1bt}, 159 {0x001800003f00001a, &upb_prm_1bt_max64b}, 160 {0x002000003f010022, &upb_prm_1bt_max64b}, 161 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 162 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 163 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 164 }) 165 }; 166 167 const upb_MiniTable* grpc__lookup__v1__HttpKeyBuilder_msg_init_ptr = &grpc__lookup__v1__HttpKeyBuilder_msg_init; 168 static const upb_MiniTableField grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry__fields[2] = { 169 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 170 {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 171 }; 172 173 const upb_MiniTable grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init = { 174 NULL, 175 &grpc_lookup_v1_HttpKeyBuilder_ConstantKeysEntry__fields[0], 176 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 177 #ifdef UPB_TRACING_ENABLED 178 "grpc.lookup.v1.HttpKeyBuilder.ConstantKeysEntry", 179 #endif 180 UPB_FASTTABLE_INIT({ 181 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 182 {0x001000003f00000a, &upb_pss_1bt}, 183 {0x002000003f000012, &upb_pss_1bt}, 184 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 185 }) 186 }; 187 188 const upb_MiniTable* grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init_ptr = &grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init; 189 static const upb_MiniTableSubInternal grpc_lookup_v1_RouteLookupConfig__submsgs[5] = { 190 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__HttpKeyBuilder_msg_init_ptr}, 191 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__GrpcKeyBuilder_msg_init_ptr}, 192 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init_ptr}, 193 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init_ptr}, 194 {.UPB_PRIVATE(submsg) = &google__protobuf__Duration_msg_init_ptr}, 195 }; 196 197 static const upb_MiniTableField grpc_lookup_v1_RouteLookupConfig__fields[9] = { 198 {1, UPB_SIZE(12, 16), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 199 {2, UPB_SIZE(16, 24), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 200 {3, UPB_SIZE(36, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 201 {4, UPB_SIZE(20, 48), 64, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 202 {5, UPB_SIZE(24, 56), 65, 3, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 203 {6, UPB_SIZE(28, 64), 66, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 204 {7, UPB_SIZE(48, 72), 0, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 205 {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)}, 206 {9, UPB_SIZE(56, 88), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 207 }; 208 209 const upb_MiniTable grpc__lookup__v1__RouteLookupConfig_msg_init = { 210 &grpc_lookup_v1_RouteLookupConfig__submsgs[0], 211 &grpc_lookup_v1_RouteLookupConfig__fields[0], 212 UPB_SIZE(64, 104), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, 213 #ifdef UPB_TRACING_ENABLED 214 "grpc.lookup.v1.RouteLookupConfig", 215 #endif 216 UPB_FASTTABLE_INIT({ 217 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 218 {0x001000003f00000a, &upb_prm_1bt_max64b}, 219 {0x001800003f010012, &upb_prm_1bt_max64b}, 220 {0x002000003f00001a, &upb_pss_1bt}, 221 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 222 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 223 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 224 {0x004800003f000038, &upb_psv8_1bt}, 225 {0x005000003f000042, &upb_prs_1bt}, 226 {0x005800003f00004a, &upb_pss_1bt}, 227 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 228 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 229 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 230 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 231 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 232 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 233 }) 234 }; 235 236 const upb_MiniTable* grpc__lookup__v1__RouteLookupConfig_msg_init_ptr = &grpc__lookup__v1__RouteLookupConfig_msg_init; 237 static const upb_MiniTableSubInternal grpc_lookup_v1_RouteLookupClusterSpecifier__submsgs[1] = { 238 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__RouteLookupConfig_msg_init_ptr}, 239 }; 240 241 static const upb_MiniTableField grpc_lookup_v1_RouteLookupClusterSpecifier__fields[1] = { 242 {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 243 }; 244 245 const upb_MiniTable grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init = { 246 &grpc_lookup_v1_RouteLookupClusterSpecifier__submsgs[0], 247 &grpc_lookup_v1_RouteLookupClusterSpecifier__fields[0], 248 UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, 249 #ifdef UPB_TRACING_ENABLED 250 "grpc.lookup.v1.RouteLookupClusterSpecifier", 251 #endif 252 }; 253 254 const upb_MiniTable* grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init_ptr = &grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init; 255 static const upb_MiniTable *messages_layout[9] = { 256 &grpc__lookup__v1__NameMatcher_msg_init, 257 &grpc__lookup__v1__GrpcKeyBuilder_msg_init, 258 &grpc__lookup__v1__GrpcKeyBuilder__Name_msg_init, 259 &grpc__lookup__v1__GrpcKeyBuilder__ExtraKeys_msg_init, 260 &grpc__lookup__v1__GrpcKeyBuilder__ConstantKeysEntry_msg_init, 261 &grpc__lookup__v1__HttpKeyBuilder_msg_init, 262 &grpc__lookup__v1__HttpKeyBuilder__ConstantKeysEntry_msg_init, 263 &grpc__lookup__v1__RouteLookupConfig_msg_init, 264 &grpc__lookup__v1__RouteLookupClusterSpecifier_msg_init, 265 }; 266 267 const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_config_proto_upb_file_layout = { 268 messages_layout, 269 NULL, 270 NULL, 271 9, 272 0, 273 0, 274 }; 275 276 #include "upb/port/undef.inc" 277 278