1 /* This file was generated by upb_generator from the input file: 2 * 3 * google/protobuf/struct.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 "google/protobuf/struct.upb_minitable.h" 11 12 // Must be last. 13 #include "upb/port/def.inc" 14 15 static const upb_MiniTableSub google_protobuf_Struct_submsgs[1] = { 16 {.UPB_PRIVATE(submsg) = &google__protobuf__Struct__FieldsEntry_msg_init}, 17 }; 18 19 static const upb_MiniTableField google_protobuf_Struct__fields[1] = { 20 {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 21 }; 22 23 const upb_MiniTable google__protobuf__Struct_msg_init = { 24 &google_protobuf_Struct_submsgs[0], 25 &google_protobuf_Struct__fields[0], 26 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, 27 }; 28 29 static const upb_MiniTableSub google_protobuf_Struct_FieldsEntry_submsgs[1] = { 30 {.UPB_PRIVATE(submsg) = &google__protobuf__Value_msg_init}, 31 }; 32 33 static const upb_MiniTableField google_protobuf_Struct_FieldsEntry__fields[2] = { 34 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 35 {2, 32, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 36 }; 37 38 const upb_MiniTable google__protobuf__Struct__FieldsEntry_msg_init = { 39 &google_protobuf_Struct_FieldsEntry_submsgs[0], 40 &google_protobuf_Struct_FieldsEntry__fields[0], 41 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0, 42 UPB_FASTTABLE_INIT({ 43 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 44 {0x001000003f00000a, &upb_pss_1bt}, 45 }) 46 }; 47 48 static const upb_MiniTableSub google_protobuf_Value_submsgs[2] = { 49 {.UPB_PRIVATE(submsg) = &google__protobuf__Struct_msg_init}, 50 {.UPB_PRIVATE(submsg) = &google__protobuf__ListValue_msg_init}, 51 }; 52 53 static const upb_MiniTableField google_protobuf_Value__fields[6] = { 54 {1, 16, -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 55 {2, 16, -9, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 56 {3, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 57 {4, 16, -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 58 {5, 16, -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 59 {6, 16, -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 60 }; 61 62 const upb_MiniTable google__protobuf__Value_msg_init = { 63 &google_protobuf_Value_submsgs[0], 64 &google_protobuf_Value__fields[0], 65 UPB_SIZE(24, 32), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, 66 UPB_FASTTABLE_INIT({ 67 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 68 {0x0010000801000008, &upb_pov4_1bt}, 69 {0x0010000802000011, &upb_pof8_1bt}, 70 {0x001000080300001a, &upb_pos_1bt}, 71 {0x0010000804000020, &upb_pob1_1bt}, 72 {0x001000080500002a, &upb_pom_1bt_max64b}, 73 {0x0010000806010032, &upb_pom_1bt_max64b}, 74 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 75 }) 76 }; 77 78 static const upb_MiniTableSub google_protobuf_ListValue_submsgs[1] = { 79 {.UPB_PRIVATE(submsg) = &google__protobuf__Value_msg_init}, 80 }; 81 82 static const upb_MiniTableField google_protobuf_ListValue__fields[1] = { 83 {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 84 }; 85 86 const upb_MiniTable google__protobuf__ListValue_msg_init = { 87 &google_protobuf_ListValue_submsgs[0], 88 &google_protobuf_ListValue__fields[0], 89 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 90 UPB_FASTTABLE_INIT({ 91 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 92 {0x000800003f00000a, &upb_prm_1bt_max64b}, 93 }) 94 }; 95 96 static const upb_MiniTable *messages_layout[4] = { 97 &google__protobuf__Struct_msg_init, 98 &google__protobuf__Struct__FieldsEntry_msg_init, 99 &google__protobuf__Value_msg_init, 100 &google__protobuf__ListValue_msg_init, 101 }; 102 103 const upb_MiniTableFile google_protobuf_struct_proto_upb_file_layout = { 104 messages_layout, 105 NULL, 106 NULL, 107 4, 108 0, 109 0, 110 }; 111 112 #include "upb/port/undef.inc" 113 114