1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * google/protobuf/wrappers.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/wrappers.upb.h" 14 15 // Must be last. 16 #include "upb/port/def.inc" 17 18 static const upb_MiniTableField google_protobuf_DoubleValue__fields[1] = { 19 {1, 0, 0, kUpb_NoSub, 1, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 20 }; 21 22 const upb_MiniTable google_protobuf_DoubleValue_msg_init = { 23 NULL, 24 &google_protobuf_DoubleValue__fields[0], 25 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 26 UPB_FASTTABLE_INIT({ 27 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 28 {0x000000003f000009, &upb_psf8_1bt}, 29 }) 30 }; 31 32 static const upb_MiniTableField google_protobuf_FloatValue__fields[1] = { 33 {1, 0, 0, kUpb_NoSub, 2, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 34 }; 35 36 const upb_MiniTable google_protobuf_FloatValue_msg_init = { 37 NULL, 38 &google_protobuf_FloatValue__fields[0], 39 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 40 UPB_FASTTABLE_INIT({ 41 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 42 {0x000000003f00000d, &upb_psf4_1bt}, 43 }) 44 }; 45 46 static const upb_MiniTableField google_protobuf_Int64Value__fields[1] = { 47 {1, 0, 0, kUpb_NoSub, 3, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 48 }; 49 50 const upb_MiniTable google_protobuf_Int64Value_msg_init = { 51 NULL, 52 &google_protobuf_Int64Value__fields[0], 53 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 54 UPB_FASTTABLE_INIT({ 55 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 56 {0x000000003f000008, &upb_psv8_1bt}, 57 }) 58 }; 59 60 static const upb_MiniTableField google_protobuf_UInt64Value__fields[1] = { 61 {1, 0, 0, kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 62 }; 63 64 const upb_MiniTable google_protobuf_UInt64Value_msg_init = { 65 NULL, 66 &google_protobuf_UInt64Value__fields[0], 67 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 68 UPB_FASTTABLE_INIT({ 69 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 70 {0x000000003f000008, &upb_psv8_1bt}, 71 }) 72 }; 73 74 static const upb_MiniTableField google_protobuf_Int32Value__fields[1] = { 75 {1, 0, 0, kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 76 }; 77 78 const upb_MiniTable google_protobuf_Int32Value_msg_init = { 79 NULL, 80 &google_protobuf_Int32Value__fields[0], 81 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 82 UPB_FASTTABLE_INIT({ 83 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 84 {0x000000003f000008, &upb_psv4_1bt}, 85 }) 86 }; 87 88 static const upb_MiniTableField google_protobuf_UInt32Value__fields[1] = { 89 {1, 0, 0, kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 90 }; 91 92 const upb_MiniTable google_protobuf_UInt32Value_msg_init = { 93 NULL, 94 &google_protobuf_UInt32Value__fields[0], 95 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 96 UPB_FASTTABLE_INIT({ 97 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 98 {0x000000003f000008, &upb_psv4_1bt}, 99 }) 100 }; 101 102 static const upb_MiniTableField google_protobuf_BoolValue__fields[1] = { 103 {1, 0, 0, kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, 104 }; 105 106 const upb_MiniTable google_protobuf_BoolValue_msg_init = { 107 NULL, 108 &google_protobuf_BoolValue__fields[0], 109 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 110 UPB_FASTTABLE_INIT({ 111 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 112 {0x000000003f000008, &upb_psb1_1bt}, 113 }) 114 }; 115 116 static const upb_MiniTableField google_protobuf_StringValue__fields[1] = { 117 {1, 0, 0, kUpb_NoSub, 9, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 118 }; 119 120 const upb_MiniTable google_protobuf_StringValue_msg_init = { 121 NULL, 122 &google_protobuf_StringValue__fields[0], 123 UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 124 UPB_FASTTABLE_INIT({ 125 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 126 {0x000000003f00000a, &upb_pss_1bt}, 127 }) 128 }; 129 130 static const upb_MiniTableField google_protobuf_BytesValue__fields[1] = { 131 {1, 0, 0, kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 132 }; 133 134 const upb_MiniTable google_protobuf_BytesValue_msg_init = { 135 NULL, 136 &google_protobuf_BytesValue__fields[0], 137 UPB_SIZE(8, 16), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 138 UPB_FASTTABLE_INIT({ 139 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 140 {0x000000003f00000a, &upb_psb_1bt}, 141 }) 142 }; 143 144 static const upb_MiniTable *messages_layout[9] = { 145 &google_protobuf_DoubleValue_msg_init, 146 &google_protobuf_FloatValue_msg_init, 147 &google_protobuf_Int64Value_msg_init, 148 &google_protobuf_UInt64Value_msg_init, 149 &google_protobuf_Int32Value_msg_init, 150 &google_protobuf_UInt32Value_msg_init, 151 &google_protobuf_BoolValue_msg_init, 152 &google_protobuf_StringValue_msg_init, 153 &google_protobuf_BytesValue_msg_init, 154 }; 155 156 const upb_MiniTableFile google_protobuf_wrappers_proto_upb_file_layout = { 157 messages_layout, 158 NULL, 159 NULL, 160 9, 161 0, 162 0, 163 }; 164 165 #include "upb/port/undef.inc" 166 167