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