1 /* This file was generated by upb_generator from the input file: 2 * 3 * google/protobuf/compiler/plugin.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/compiler/plugin.upb_minitable.h" 12 #include "google/protobuf/descriptor.upb_minitable.h" 13 14 // Must be last. 15 #include "upb/port/def.inc" 16 17 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken); 18 static const upb_MiniTableField google_protobuf_compiler_Version__fields[4] = { 19 {1, 12, 64, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 20 {2, 16, 65, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 21 {3, 20, 66, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 22 {4, 24, 67, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 23 }; 24 25 const upb_MiniTable google__protobuf__compiler__Version_msg_init = { 26 NULL, 27 &google_protobuf_compiler_Version__fields[0], 28 UPB_SIZE(32, 40), 4, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(255), 0, 29 #ifdef UPB_TRACING_ENABLED 30 "google.protobuf.compiler.Version", 31 #endif 32 }; 33 34 const upb_MiniTable* google__protobuf__compiler__Version_msg_init_ptr = &google__protobuf__compiler__Version_msg_init; 35 static const upb_MiniTableSubInternal google_protobuf_compiler_CodeGeneratorRequest__submsgs[3] = { 36 {.UPB_PRIVATE(submsg) = &google__protobuf__compiler__Version_msg_init_ptr}, 37 {.UPB_PRIVATE(submsg) = &google__protobuf__FileDescriptorProto_msg_init_ptr}, 38 {.UPB_PRIVATE(submsg) = &google__protobuf__FileDescriptorProto_msg_init_ptr}, 39 }; 40 41 static const upb_MiniTableField google_protobuf_compiler_CodeGeneratorRequest__fields[5] = { 42 {1, UPB_SIZE(12, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 43 {2, UPB_SIZE(28, 24), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 44 {3, UPB_SIZE(16, 40), 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 45 {15, UPB_SIZE(20, 48), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 46 {17, UPB_SIZE(24, 56), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 47 }; 48 49 const upb_MiniTable google__protobuf__compiler__CodeGeneratorRequest_msg_init = { 50 &google_protobuf_compiler_CodeGeneratorRequest__submsgs[0], 51 &google_protobuf_compiler_CodeGeneratorRequest__fields[0], 52 UPB_SIZE(40, 64), 5, kUpb_ExtMode_NonExtendable, 3, UPB_FASTTABLE_MASK(248), 0, 53 #ifdef UPB_TRACING_ENABLED 54 "google.protobuf.compiler.CodeGeneratorRequest", 55 #endif 56 UPB_FASTTABLE_INIT({ 57 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 58 {0x001000003f00000a, &upb_prs_1bt}, 59 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 60 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 61 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 62 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 63 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 64 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 65 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 66 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 67 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 68 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 69 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 70 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 71 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 72 {0x003000003f01007a, &upb_prm_1bt_maxmaxb}, 73 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 74 {0x003800003f02018a, &upb_prm_2bt_maxmaxb}, 75 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 76 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 77 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 78 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 79 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 80 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 81 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 82 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 83 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 84 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 85 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 86 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 87 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 88 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 89 }) 90 }; 91 92 const upb_MiniTable* google__protobuf__compiler__CodeGeneratorRequest_msg_init_ptr = &google__protobuf__compiler__CodeGeneratorRequest_msg_init; 93 static const upb_MiniTableSubInternal google_protobuf_compiler_CodeGeneratorResponse__submsgs[1] = { 94 {.UPB_PRIVATE(submsg) = &google__protobuf__compiler__CodeGeneratorResponse__File_msg_init_ptr}, 95 }; 96 97 static const upb_MiniTableField google_protobuf_compiler_CodeGeneratorResponse__fields[5] = { 98 {1, 24, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 99 {2, UPB_SIZE(32, 40), 65, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, 100 {3, 12, 66, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 101 {4, 16, 67, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, 102 {15, UPB_SIZE(20, 48), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 103 }; 104 105 const upb_MiniTable google__protobuf__compiler__CodeGeneratorResponse_msg_init = { 106 &google_protobuf_compiler_CodeGeneratorResponse__submsgs[0], 107 &google_protobuf_compiler_CodeGeneratorResponse__fields[0], 108 UPB_SIZE(40, 56), 5, kUpb_ExtMode_NonExtendable, 4, UPB_FASTTABLE_MASK(120), 0, 109 #ifdef UPB_TRACING_ENABLED 110 "google.protobuf.compiler.CodeGeneratorResponse", 111 #endif 112 UPB_FASTTABLE_INIT({ 113 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 114 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 115 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 116 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 117 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 118 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 119 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 120 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 121 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 122 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 123 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 124 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 125 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 126 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 127 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 128 {0x003000003f00007a, &upb_prm_1bt_max128b}, 129 }) 130 }; 131 132 const upb_MiniTable* google__protobuf__compiler__CodeGeneratorResponse_msg_init_ptr = &google__protobuf__compiler__CodeGeneratorResponse_msg_init; 133 static const upb_MiniTableSubInternal google_protobuf_compiler_CodeGeneratorResponse_File__submsgs[1] = { 134 {.UPB_PRIVATE(submsg) = &google__protobuf__GeneratedCodeInfo_msg_init_ptr}, 135 }; 136 137 static const upb_MiniTableField google_protobuf_compiler_CodeGeneratorResponse_File__fields[4] = { 138 {1, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 139 {2, UPB_SIZE(24, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 140 {15, UPB_SIZE(32, 48), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 141 {16, UPB_SIZE(12, 64), 67, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 142 }; 143 144 const upb_MiniTable google__protobuf__compiler__CodeGeneratorResponse__File_msg_init = { 145 &google_protobuf_compiler_CodeGeneratorResponse_File__submsgs[0], 146 &google_protobuf_compiler_CodeGeneratorResponse_File__fields[0], 147 UPB_SIZE(40, 72), 4, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(255), 0, 148 #ifdef UPB_TRACING_ENABLED 149 "google.protobuf.compiler.CodeGeneratorResponse.File", 150 #endif 151 }; 152 153 const upb_MiniTable* google__protobuf__compiler__CodeGeneratorResponse__File_msg_init_ptr = &google__protobuf__compiler__CodeGeneratorResponse__File_msg_init; 154 const upb_MiniTableEnum google__protobuf__compiler__CodeGeneratorResponse__Feature_enum_init = { 155 64, 156 0, 157 { 158 0x7, 159 0x0, 160 }, 161 }; 162 163 static const upb_MiniTable *messages_layout[4] = { 164 &google__protobuf__compiler__Version_msg_init, 165 &google__protobuf__compiler__CodeGeneratorRequest_msg_init, 166 &google__protobuf__compiler__CodeGeneratorResponse_msg_init, 167 &google__protobuf__compiler__CodeGeneratorResponse__File_msg_init, 168 }; 169 170 static const upb_MiniTableEnum *enums_layout[1] = { 171 &google__protobuf__compiler__CodeGeneratorResponse__Feature_enum_init, 172 }; 173 174 const upb_MiniTableFile google_protobuf_compiler_plugin_proto_upb_file_layout = { 175 messages_layout, 176 enums_layout, 177 NULL, 178 4, 179 1, 180 0, 181 }; 182 183 #include "upb/port/undef.inc" 184 185