4 #include <google/protobuf/compiler/plugin.pb.h>
8 #include <google/protobuf/io/coded_stream.h>
9 #include <google/protobuf/extension_set.h>
10 #include <google/protobuf/wire_format_lite.h>
11 #include <google/protobuf/descriptor.h>
12 #include <google/protobuf/generated_message_reflection.h>
13 #include <google/protobuf/reflection_ops.h>
14 #include <google/protobuf/wire_format.h>
16 #include <google/protobuf/port_def.inc>
18 PROTOBUF_PRAGMA_INIT_SEG
19 PROTOBUF_NAMESPACE_OPEN
22 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
37 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
41 , compiler_version_(nullptr){}
52 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
56 , generated_code_info_(nullptr){}
67 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
71 struct CodeGeneratorResponseDefaultTypeInternal {
81 PROTOBUF_NAMESPACE_CLOSE
101 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, _has_bits_),
102 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, _internal_metadata_),
107 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, file_to_generate_),
108 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest,
parameter_),
109 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, proto_file_),
110 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest, compiler_version_),
115 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, _has_bits_),
116 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, _internal_metadata_),
121 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File,
name_),
122 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, insertion_point_),
123 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, content_),
124 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File, generated_code_info_),
129 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse, _has_bits_),
130 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse, _internal_metadata_),
135 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse,
error_),
136 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse, supported_features_),
137 PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse,
file_),
144 { 14, 24, -1,
sizeof(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest)},
145 { 28, 38, -1,
sizeof(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File)},
146 { 42, 51, -1,
sizeof(::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse)},
156 const char descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fplugin_2eproto[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
157 "\n%google/protobuf/compiler/plugin.proto\022"
158 "\030google.protobuf.compiler\032 google/protob"
159 "uf/descriptor.proto\"F\n\007Version\022\r\n\005major\030"
160 "\001 \001(\005\022\r\n\005minor\030\002 \001(\005\022\r\n\005patch\030\003 \001(\005\022\016\n\006s"
161 "uffix\030\004 \001(\t\"\272\001\n\024CodeGeneratorRequest\022\030\n\020"
162 "file_to_generate\030\001 \003(\t\022\021\n\tparameter\030\002 \001("
163 "\t\0228\n\nproto_file\030\017 \003(\0132$.google.protobuf."
164 "FileDescriptorProto\022;\n\020compiler_version\030"
165 "\003 \001(\0132!.google.protobuf.compiler.Version"
166 "\"\301\002\n\025CodeGeneratorResponse\022\r\n\005error\030\001 \001("
167 "\t\022\032\n\022supported_features\030\002 \001(\004\022B\n\004file\030\017 "
168 "\003(\01324.google.protobuf.compiler.CodeGener"
169 "atorResponse.File\032\177\n\004File\022\014\n\004name\030\001 \001(\t\022"
170 "\027\n\017insertion_point\030\002 \001(\t\022\017\n\007content\030\017 \001("
171 "\t\022\?\n\023generated_code_info\030\020 \001(\0132\".google."
172 "protobuf.GeneratedCodeInfo\"8\n\007Feature\022\020\n"
173 "\014FEATURE_NONE\020\000\022\033\n\027FEATURE_PROTO3_OPTION"
174 "AL\020\001BW\n\034com.google.protobuf.compilerB\014Pl"
175 "uginProtosZ)google.golang.org/protobuf/t"
183 false,
false, 773, descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fplugin_2eproto,
"google/protobuf/compiler/plugin.proto",
194 PROTOBUF_NAMESPACE_OPEN
210 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
216 #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
220 class Version::_Internal {
224 (*has_bits)[0] |= 2
u;
227 (*has_bits)[0] |= 4
u;
230 (*has_bits)[0] |= 8
u;
233 (*has_bits)[0] |= 1
u;
238 bool is_message_owned)
239 : ::PROTOBUF_NAMESPACE_ID::
Message(
arena, is_message_owned) {
241 if (!is_message_owned) {
247 : ::PROTOBUF_NAMESPACE_ID::
Message(),
248 _has_bits_(
from._has_bits_) {
251 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
253 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
254 if (
from._internal_has_suffix()) {
256 GetArenaForAllocation());
259 static_cast<size_t>(
reinterpret_cast<char*
>(&
patch_) -
266 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
268 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
269 ::memset(
reinterpret_cast<char*
>(
this) +
static_cast<size_t>(
270 reinterpret_cast<char*
>(&
major_) -
reinterpret_cast<char*
>(
this)),
271 0,
static_cast<size_t>(
reinterpret_cast<char*
>(&
patch_) -
277 if (GetArenaForAllocation() !=
nullptr)
return;
301 (void) cached_has_bits;
304 if (cached_has_bits & 0x00000001u) {
305 suffix_.ClearNonDefaultToEmpty();
307 if (cached_has_bits & 0x0000000eu) {
309 reinterpret_cast<char*
>(&
patch_) -
317 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
319 while (!
ctx->Done(&
ptr)) {
325 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 8)) {
334 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 16)) {
343 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 24)) {
352 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 34)) {
366 if ((
tag == 0) || ((
tag & 7) == 4)) {
390 (void) cached_has_bits;
394 if (cached_has_bits & 0x00000002u) {
396 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->
_internal_major(), target);
400 if (cached_has_bits & 0x00000004u) {
402 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->
_internal_minor(), target);
406 if (cached_has_bits & 0x00000008u) {
408 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->
_internal_patch(), target);
412 if (cached_has_bits & 0x00000001u) {
413 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
415 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
416 "google.protobuf.compiler.Version.suffix");
422 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
431 size_t total_size = 0;
435 (void) cached_has_bits;
438 if (cached_has_bits & 0x0000000fu) {
440 if (cached_has_bits & 0x00000001u) {
442 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
447 if (cached_has_bits & 0x00000002u) {
448 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->
_internal_major());
452 if (cached_has_bits & 0x00000004u) {
453 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->
_internal_minor());
457 if (cached_has_bits & 0x00000008u) {
458 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32SizePlusOne(this->
_internal_patch());
462 return MaybeComputeUnknownFieldsSize(total_size, &
_cached_size_);
466 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
482 (void) cached_has_bits;
484 cached_has_bits =
from._has_bits_[0];
485 if (cached_has_bits & 0x0000000fu) {
486 if (cached_has_bits & 0x00000001u) {
489 if (cached_has_bits & 0x00000002u) {
492 if (cached_has_bits & 0x00000004u) {
495 if (cached_has_bits & 0x00000008u) {
505 if (&
from ==
this)
return;
516 auto* lhs_arena = GetArenaForAllocation();
517 auto* rhs_arena = other->GetArenaForAllocation();
520 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
523 &other->suffix_, rhs_arena
529 reinterpret_cast<char*
>(&
major_),
530 reinterpret_cast<char*
>(&other->major_));
541 class CodeGeneratorRequest::_Internal {
545 (*has_bits)[0] |= 1
u;
549 (*has_bits)[0] |= 2
u;
555 return *
msg->compiler_version_;
561 bool is_message_owned)
562 : ::PROTOBUF_NAMESPACE_ID::
Message(
arena, is_message_owned),
566 if (!is_message_owned) {
572 : ::PROTOBUF_NAMESPACE_ID::
Message(),
573 _has_bits_(
from._has_bits_),
574 file_to_generate_(
from.file_to_generate_),
575 proto_file_(
from.proto_file_) {
578 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
580 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
581 if (
from._internal_has_parameter()) {
583 GetArenaForAllocation());
585 if (
from._internal_has_compiler_version()) {
595 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
597 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
603 if (GetArenaForAllocation() !=
nullptr)
return;
628 (void) cached_has_bits;
633 if (cached_has_bits & 0x00000003u) {
634 if (cached_has_bits & 0x00000001u) {
637 if (cached_has_bits & 0x00000002u) {
647 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
649 while (!
ctx->Done(&
ptr)) {
655 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 10)) {
665 if (!
ctx->DataAvailable(
ptr))
break;
666 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(
ptr));
672 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 18)) {
684 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 26)) {
692 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 122)) {
698 if (!
ctx->DataAvailable(
ptr))
break;
699 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<122>(
ptr));
707 if ((
tag == 0) || ((
tag & 7) == 4)) {
731 (void) cached_has_bits;
736 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
737 s.data(),
static_cast<int>(s.length()),
738 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
739 "google.protobuf.compiler.CodeGeneratorRequest.file_to_generate");
745 if (cached_has_bits & 0x00000001u) {
746 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
748 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
749 "google.protobuf.compiler.CodeGeneratorRequest.parameter");
755 if (cached_has_bits & 0x00000002u) {
757 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
758 InternalWriteMessage(
763 for (
unsigned int i = 0,
766 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
771 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
780 size_t total_size = 0;
784 (void) cached_has_bits;
790 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
798 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
msg);
802 if (cached_has_bits & 0x00000003u) {
804 if (cached_has_bits & 0x00000001u) {
806 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
811 if (cached_has_bits & 0x00000002u) {
813 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
818 return MaybeComputeUnknownFieldsSize(total_size, &
_cached_size_);
822 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
838 (void) cached_has_bits;
842 cached_has_bits =
from._has_bits_[0];
843 if (cached_has_bits & 0x00000003u) {
844 if (cached_has_bits & 0x00000001u) {
847 if (cached_has_bits & 0x00000002u) {
856 if (&
from ==
this)
return;
869 auto* lhs_arena = GetArenaForAllocation();
870 auto* rhs_arena = other->GetArenaForAllocation();
875 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
878 &other->parameter_, rhs_arena
891 class CodeGeneratorResponse_File::_Internal {
895 (*has_bits)[0] |= 1
u;
898 (*has_bits)[0] |= 2
u;
901 (*has_bits)[0] |= 4
u;
905 (*has_bits)[0] |= 8
u;
909 const ::PROTOBUF_NAMESPACE_ID::GeneratedCodeInfo&
911 return *
msg->generated_code_info_;
918 bool is_message_owned)
919 : ::PROTOBUF_NAMESPACE_ID::
Message(
arena, is_message_owned) {
921 if (!is_message_owned) {
927 : ::PROTOBUF_NAMESPACE_ID::
Message(),
928 _has_bits_(
from._has_bits_) {
931 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
933 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
934 if (
from._internal_has_name()) {
936 GetArenaForAllocation());
939 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
941 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
942 if (
from._internal_has_insertion_point()) {
944 GetArenaForAllocation());
947 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
949 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
950 if (
from._internal_has_content()) {
952 GetArenaForAllocation());
954 if (
from._internal_has_generated_code_info()) {
964 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
966 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
968 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
970 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
972 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
974 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
980 if (GetArenaForAllocation() !=
nullptr)
return;
1007 (void) cached_has_bits;
1010 if (cached_has_bits & 0x0000000fu) {
1011 if (cached_has_bits & 0x00000001u) {
1012 name_.ClearNonDefaultToEmpty();
1014 if (cached_has_bits & 0x00000002u) {
1017 if (cached_has_bits & 0x00000004u) {
1020 if (cached_has_bits & 0x00000008u) {
1030 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1032 while (!
ctx->Done(&
ptr)) {
1038 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 10)) {
1046 goto handle_unusual;
1050 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 18)) {
1058 goto handle_unusual;
1062 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 122)) {
1070 goto handle_unusual;
1074 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 130)) {
1078 goto handle_unusual;
1081 goto handle_unusual;
1084 if ((
tag == 0) || ((
tag & 7) == 4)) {
1108 (void) cached_has_bits;
1112 if (cached_has_bits & 0x00000001u) {
1113 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1115 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1116 "google.protobuf.compiler.CodeGeneratorResponse.File.name");
1122 if (cached_has_bits & 0x00000002u) {
1123 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1125 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1126 "google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point");
1132 if (cached_has_bits & 0x00000004u) {
1133 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1135 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1136 "google.protobuf.compiler.CodeGeneratorResponse.File.content");
1142 if (cached_has_bits & 0x00000008u) {
1144 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1145 InternalWriteMessage(
1150 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1159 size_t total_size = 0;
1163 (void) cached_has_bits;
1166 if (cached_has_bits & 0x0000000fu) {
1168 if (cached_has_bits & 0x00000001u) {
1170 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1175 if (cached_has_bits & 0x00000002u) {
1177 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1182 if (cached_has_bits & 0x00000004u) {
1184 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1189 if (cached_has_bits & 0x00000008u) {
1191 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1196 return MaybeComputeUnknownFieldsSize(total_size, &
_cached_size_);
1200 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1216 (void) cached_has_bits;
1218 cached_has_bits =
from._has_bits_[0];
1219 if (cached_has_bits & 0x0000000fu) {
1220 if (cached_has_bits & 0x00000001u) {
1223 if (cached_has_bits & 0x00000002u) {
1226 if (cached_has_bits & 0x00000004u) {
1229 if (cached_has_bits & 0x00000008u) {
1238 if (&
from ==
this)
return;
1249 auto* lhs_arena = GetArenaForAllocation();
1250 auto* rhs_arena = other->GetArenaForAllocation();
1253 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1256 &other->name_, rhs_arena
1258 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1261 &other->insertion_point_, rhs_arena
1263 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1266 &other->content_, rhs_arena
1279 class CodeGeneratorResponse::_Internal {
1283 (*has_bits)[0] |= 1
u;
1286 (*has_bits)[0] |= 2
u;
1291 bool is_message_owned)
1292 : ::PROTOBUF_NAMESPACE_ID::
Message(
arena, is_message_owned),
1295 if (!is_message_owned) {
1301 : ::PROTOBUF_NAMESPACE_ID::
Message(),
1302 _has_bits_(
from._has_bits_),
1306 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1308 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1309 if (
from._internal_has_error()) {
1311 GetArenaForAllocation());
1319 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1321 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1327 if (GetArenaForAllocation() !=
nullptr)
return;
1351 (void) cached_has_bits;
1355 if (cached_has_bits & 0x00000001u) {
1356 error_.ClearNonDefaultToEmpty();
1364 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1366 while (!
ctx->Done(&
ptr)) {
1372 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 10)) {
1380 goto handle_unusual;
1384 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 16)) {
1389 goto handle_unusual;
1393 if (PROTOBUF_PREDICT_TRUE(
static_cast<uint8_t>(
tag) == 122)) {
1399 if (!
ctx->DataAvailable(
ptr))
break;
1400 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<122>(
ptr));
1402 goto handle_unusual;
1405 goto handle_unusual;
1408 if ((
tag == 0) || ((
tag & 7) == 4)) {
1432 (void) cached_has_bits;
1436 if (cached_has_bits & 0x00000001u) {
1437 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::VerifyUTF8StringNamedField(
1439 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SERIALIZE,
1440 "google.protobuf.compiler.CodeGeneratorResponse.error");
1446 if (cached_has_bits & 0x00000002u) {
1452 for (
unsigned int i = 0,
1455 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1460 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1469 size_t total_size = 0;
1473 (void) cached_has_bits;
1477 for (
const auto&
msg : this->
file_) {
1479 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
msg);
1483 if (cached_has_bits & 0x00000003u) {
1485 if (cached_has_bits & 0x00000001u) {
1487 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1492 if (cached_has_bits & 0x00000002u) {
1497 return MaybeComputeUnknownFieldsSize(total_size, &
_cached_size_);
1501 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1517 (void) cached_has_bits;
1520 cached_has_bits =
from._has_bits_[0];
1521 if (cached_has_bits & 0x00000003u) {
1522 if (cached_has_bits & 0x00000001u) {
1525 if (cached_has_bits & 0x00000002u) {
1535 if (&
from ==
this)
return;
1546 auto* lhs_arena = GetArenaForAllocation();
1547 auto* rhs_arena = other->GetArenaForAllocation();
1550 file_.InternalSwap(&other->file_);
1551 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1554 &other->error_, rhs_arena
1567 PROTOBUF_NAMESPACE_CLOSE
1568 PROTOBUF_NAMESPACE_OPEN
1570 return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::compiler::Version >(
arena);
1573 return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRequest >(
arena);
1576 return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_File >(
arena);
1579 return Arena::CreateMessageInternal< ::PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse >(
arena);
1581 PROTOBUF_NAMESPACE_CLOSE
1584 #include <google/protobuf/port_undef.inc>