1 /* This file was generated by upb_generator from the input file: 2 * 3 * xds/data/orca/v3/orca_load_report.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 "xds/data/orca/v3/orca_load_report.upb_minitable.h" 11 #include "validate/validate.upb_minitable.h" 12 13 // Must be last. 14 #include "upb/port/def.inc" 15 16 static const upb_MiniTableSub xds_data_orca_v3_OrcaLoadReport_submsgs[3] = { 17 {.UPB_PRIVATE(submsg) = &xds__data__orca__v3__OrcaLoadReport__RequestCostEntry_msg_init}, 18 {.UPB_PRIVATE(submsg) = &xds__data__orca__v3__OrcaLoadReport__UtilizationEntry_msg_init}, 19 {.UPB_PRIVATE(submsg) = &xds__data__orca__v3__OrcaLoadReport__NamedMetricsEntry_msg_init}, 20 }; 21 22 static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport__fields[9] = { 23 {1, UPB_SIZE(24, 8), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 24 {2, UPB_SIZE(32, 16), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 25 {3, UPB_SIZE(40, 24), 0, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 26 {4, UPB_SIZE(8, 32), 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 27 {5, UPB_SIZE(12, 40), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 28 {6, 48, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 29 {7, 56, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 30 {8, UPB_SIZE(16, 64), 0, 2, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 31 {9, UPB_SIZE(64, 72), 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 32 }; 33 34 const upb_MiniTable xds__data__orca__v3__OrcaLoadReport_msg_init = { 35 &xds_data_orca_v3_OrcaLoadReport_submsgs[0], 36 &xds_data_orca_v3_OrcaLoadReport__fields[0], 37 UPB_SIZE(72, 80), 9, kUpb_ExtMode_NonExtendable, 9, UPB_FASTTABLE_MASK(120), 0, 38 UPB_FASTTABLE_INIT({ 39 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 40 {0x000800003f000009, &upb_psf8_1bt}, 41 {0x001000003f000011, &upb_psf8_1bt}, 42 {0x001800003f000018, &upb_psv8_1bt}, 43 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 44 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 45 {0x003000003f000031, &upb_psf8_1bt}, 46 {0x003800003f000039, &upb_psf8_1bt}, 47 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 48 {0x004800003f000049, &upb_psf8_1bt}, 49 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 50 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 51 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 52 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 53 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 54 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 55 }) 56 }; 57 58 static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport_RequestCostEntry__fields[2] = { 59 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 60 {2, 32, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 61 }; 62 63 const upb_MiniTable xds__data__orca__v3__OrcaLoadReport__RequestCostEntry_msg_init = { 64 NULL, 65 &xds_data_orca_v3_OrcaLoadReport_RequestCostEntry__fields[0], 66 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 67 UPB_FASTTABLE_INIT({ 68 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 69 {0x001000003f00000a, &upb_pss_1bt}, 70 {0x002000003f000011, &upb_psf8_1bt}, 71 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 72 }) 73 }; 74 75 static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport_UtilizationEntry__fields[2] = { 76 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 77 {2, 32, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 78 }; 79 80 const upb_MiniTable xds__data__orca__v3__OrcaLoadReport__UtilizationEntry_msg_init = { 81 NULL, 82 &xds_data_orca_v3_OrcaLoadReport_UtilizationEntry__fields[0], 83 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 84 UPB_FASTTABLE_INIT({ 85 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 86 {0x001000003f00000a, &upb_pss_1bt}, 87 {0x002000003f000011, &upb_psf8_1bt}, 88 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 89 }) 90 }; 91 92 static const upb_MiniTableField xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry__fields[2] = { 93 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 94 {2, 32, 0, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 95 }; 96 97 const upb_MiniTable xds__data__orca__v3__OrcaLoadReport__NamedMetricsEntry_msg_init = { 98 NULL, 99 &xds_data_orca_v3_OrcaLoadReport_NamedMetricsEntry__fields[0], 100 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 101 UPB_FASTTABLE_INIT({ 102 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 103 {0x001000003f00000a, &upb_pss_1bt}, 104 {0x002000003f000011, &upb_psf8_1bt}, 105 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 106 }) 107 }; 108 109 static const upb_MiniTable *messages_layout[4] = { 110 &xds__data__orca__v3__OrcaLoadReport_msg_init, 111 &xds__data__orca__v3__OrcaLoadReport__RequestCostEntry_msg_init, 112 &xds__data__orca__v3__OrcaLoadReport__UtilizationEntry_msg_init, 113 &xds__data__orca__v3__OrcaLoadReport__NamedMetricsEntry_msg_init, 114 }; 115 116 const upb_MiniTableFile xds_data_orca_v3_orca_load_report_proto_upb_file_layout = { 117 messages_layout, 118 NULL, 119 NULL, 120 4, 121 0, 122 0, 123 }; 124 125 #include "upb/port/undef.inc" 126 127