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 * NO CHECKED-IN PROTOBUF GENCODE */ 8 9 #include <stddef.h> 10 #include "upb/generated_code_support.h" 11 #include "google/protobuf/struct.upb_minitable.h" 12 13 // Must be last. 14 #include "upb/port/def.inc" 15 16 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken); 17 static const upb_MiniTableSubInternal google_protobuf_Struct__submsgs[1] = { 18 {.UPB_PRIVATE(submsg) = &google__protobuf__Struct__FieldsEntry_msg_init_ptr}, 19 }; 20 21 static const upb_MiniTableField google_protobuf_Struct__fields[1] = { 22 {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 23 }; 24 25 const upb_MiniTable google__protobuf__Struct_msg_init = { 26 &google_protobuf_Struct__submsgs[0], 27 &google_protobuf_Struct__fields[0], 28 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(255), 0, 29 #ifdef UPB_TRACING_ENABLED 30 "google.protobuf.Struct", 31 #endif 32 }; 33 34 const upb_MiniTable* google__protobuf__Struct_msg_init_ptr = &google__protobuf__Struct_msg_init; 35 static const upb_MiniTableSubInternal google_protobuf_Struct_FieldsEntry__submsgs[1] = { 36 {.UPB_PRIVATE(submsg) = &google__protobuf__Value_msg_init_ptr}, 37 }; 38 39 static const upb_MiniTableField google_protobuf_Struct_FieldsEntry__fields[2] = { 40 {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 41 {2, 32, 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 42 }; 43 44 const upb_MiniTable google__protobuf__Struct__FieldsEntry_msg_init = { 45 &google_protobuf_Struct_FieldsEntry__submsgs[0], 46 &google_protobuf_Struct_FieldsEntry__fields[0], 47 48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(8), 0, 48 #ifdef UPB_TRACING_ENABLED 49 "google.protobuf.Struct.FieldsEntry", 50 #endif 51 UPB_FASTTABLE_INIT({ 52 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 53 {0x001000003f00000a, &upb_pss_1bt}, 54 }) 55 }; 56 57 const upb_MiniTable* google__protobuf__Struct__FieldsEntry_msg_init_ptr = &google__protobuf__Struct__FieldsEntry_msg_init; 58 static const upb_MiniTableSubInternal google_protobuf_Value__submsgs[2] = { 59 {.UPB_PRIVATE(submsg) = &google__protobuf__Struct_msg_init_ptr}, 60 {.UPB_PRIVATE(submsg) = &google__protobuf__ListValue_msg_init_ptr}, 61 }; 62 63 static const upb_MiniTableField google_protobuf_Value__fields[6] = { 64 {1, 16, -9, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 65 {2, 16, -9, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 66 {3, 16, -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 67 {4, 16, -9, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 68 {5, 16, -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 69 {6, 16, -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 70 }; 71 72 const upb_MiniTable google__protobuf__Value_msg_init = { 73 &google_protobuf_Value__submsgs[0], 74 &google_protobuf_Value__fields[0], 75 UPB_SIZE(24, 32), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0, 76 #ifdef UPB_TRACING_ENABLED 77 "google.protobuf.Value", 78 #endif 79 UPB_FASTTABLE_INIT({ 80 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 81 {0x0010000801000008, &upb_pov4_1bt}, 82 {0x0010000802000011, &upb_pof8_1bt}, 83 {0x001000080300001a, &upb_pos_1bt}, 84 {0x0010000804000020, &upb_pob1_1bt}, 85 {0x001000080500002a, &upb_pom_1bt_max64b}, 86 {0x0010000806010032, &upb_pom_1bt_max64b}, 87 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 88 }) 89 }; 90 91 const upb_MiniTable* google__protobuf__Value_msg_init_ptr = &google__protobuf__Value_msg_init; 92 static const upb_MiniTableSubInternal google_protobuf_ListValue__submsgs[1] = { 93 {.UPB_PRIVATE(submsg) = &google__protobuf__Value_msg_init_ptr}, 94 }; 95 96 static const upb_MiniTableField google_protobuf_ListValue__fields[1] = { 97 {1, 8, 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 98 }; 99 100 const upb_MiniTable google__protobuf__ListValue_msg_init = { 101 &google_protobuf_ListValue__submsgs[0], 102 &google_protobuf_ListValue__fields[0], 103 16, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 104 #ifdef UPB_TRACING_ENABLED 105 "google.protobuf.ListValue", 106 #endif 107 UPB_FASTTABLE_INIT({ 108 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 109 {0x000800003f00000a, &upb_prm_1bt_max64b}, 110 }) 111 }; 112 113 const upb_MiniTable* google__protobuf__ListValue_msg_init_ptr = &google__protobuf__ListValue_msg_init; 114 static const upb_MiniTable *messages_layout[4] = { 115 &google__protobuf__Struct_msg_init, 116 &google__protobuf__Struct__FieldsEntry_msg_init, 117 &google__protobuf__Value_msg_init, 118 &google__protobuf__ListValue_msg_init, 119 }; 120 121 const upb_MiniTableFile google_protobuf_struct_proto_upb_file_layout = { 122 messages_layout, 123 NULL, 124 NULL, 125 4, 126 0, 127 0, 128 }; 129 130 #include "upb/port/undef.inc" 131 132