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