1 /* This file was generated by upb_generator from the input file: 2 * 3 * src/proto/grpc/lookup/v1/rls.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.upb_minitable.h" 11 12 // Must be last. 13 #include "upb/port/def.inc" 14 15 static const upb_MiniTableSub grpc_lookup_v1_RouteLookupRequest_submsgs[1] = { 16 {.UPB_PRIVATE(submsg) = &grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init}, 17 }; 18 19 static const upb_MiniTableField grpc_lookup_v1_RouteLookupRequest__fields[4] = { 20 {3, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 21 {4, UPB_SIZE(8, 32), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 22 {5, UPB_SIZE(12, 8), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 23 {6, UPB_SIZE(24, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 24 }; 25 26 const upb_MiniTable grpc__lookup__v1__RouteLookupRequest_msg_init = { 27 &grpc_lookup_v1_RouteLookupRequest_submsgs[0], 28 &grpc_lookup_v1_RouteLookupRequest__fields[0], 29 UPB_SIZE(32, 56), 4, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(56), 0, 30 UPB_FASTTABLE_INIT({ 31 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 32 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 33 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 34 {0x001000003f00001a, &upb_pss_1bt}, 35 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 36 {0x000800003f000028, &upb_psv4_1bt}, 37 {0x002800003f000032, &upb_pss_1bt}, 38 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 39 }) 40 }; 41 42 static const upb_MiniTableField grpc_lookup_v1_RouteLookupRequest_KeyMapEntry__fields[2] = { 43 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 44 {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 45 }; 46 47 const upb_MiniTable grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init = { 48 NULL, 49 &grpc_lookup_v1_RouteLookupRequest_KeyMapEntry__fields[0], 50 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 51 UPB_FASTTABLE_INIT({ 52 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 53 {0x001000003f00000a, &upb_pss_1bt}, 54 {0x002000003f000012, &upb_pss_1bt}, 55 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 56 }) 57 }; 58 59 static const upb_MiniTableField grpc_lookup_v1_RouteLookupResponse__fields[2] = { 60 {2, UPB_SIZE(12, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 61 {3, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 62 }; 63 64 const upb_MiniTable grpc__lookup__v1__RouteLookupResponse_msg_init = { 65 NULL, 66 &grpc_lookup_v1_RouteLookupResponse__fields[0], 67 UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, 68 UPB_FASTTABLE_INIT({ 69 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 70 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 71 {0x000800003f000012, &upb_pss_1bt}, 72 {0x001800003f00001a, &upb_prs_1bt}, 73 }) 74 }; 75 76 static const upb_MiniTable *messages_layout[3] = { 77 &grpc__lookup__v1__RouteLookupRequest_msg_init, 78 &grpc__lookup__v1__RouteLookupRequest__KeyMapEntry_msg_init, 79 &grpc__lookup__v1__RouteLookupResponse_msg_init, 80 }; 81 82 const upb_MiniTableFile src_proto_grpc_lookup_v1_rls_proto_upb_file_layout = { 83 messages_layout, 84 NULL, 85 NULL, 86 3, 87 0, 88 0, 89 }; 90 91 #include "upb/port/undef.inc" 92 93