| // clang-format off | |
| // Generated by the protocol buffer compiler. DO NOT EDIT! | |
| // NO CHECKED-IN PROTOBUF GENCODE | |
| // source: google/protobuf/compiler/plugin.proto | |
| // Protobuf C++ Version: 7.38.0-dev | |
| #include "google/protobuf/compiler/plugin.pb.h" | |
| #include <algorithm> | |
| #include <type_traits> | |
| #include "google/protobuf/io/coded_stream.h" | |
| #include "google/protobuf/generated_message_tctable_impl.h" | |
| #include "google/protobuf/internal_visibility.h" | |
| #include "google/protobuf/extension_set.h" | |
| #include "google/protobuf/generated_message_util.h" | |
| #include "google/protobuf/private_access.h" | |
| #include "google/protobuf/wire_format_lite.h" | |
| #include "google/protobuf/descriptor.h" | |
| #include "google/protobuf/generated_message_reflection.h" | |
| #include "google/protobuf/reflection_ops.h" | |
| #include "google/protobuf/wire_format.h" | |
| // @@protoc_insertion_point(includes) | |
| // Must be included last. | |
| #include "google/protobuf/port_def.inc" | |
| PROTOBUF_PRAGMA_INIT_SEG | |
| namespace _pb = ::google::protobuf; | |
| namespace _pbi = ::google::protobuf::internal; | |
| namespace _fl = ::google::protobuf::internal::field_layout; | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| #define PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| #else | |
| #define PROTOBUF_NO_CUSTOM_VTABLE_INLINE PROTOBUF_ALWAYS_INLINE | |
| #endif | |
| namespace { | |
| PROTOBUF_CONSTINIT ::google::protobuf::internal::ReflectionData | |
| file_reflection_data[] = { | |
| // ::google::protobuf::compiler::Version | |
| {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, /* tracker*/ nullptr,}, | |
| // ::google::protobuf::compiler::CodeGeneratorRequest | |
| {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, /* tracker*/ nullptr,}, | |
| // ::google::protobuf::compiler::CodeGeneratorResponse_File | |
| {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, /* tracker*/ nullptr,}, | |
| // ::google::protobuf::compiler::CodeGeneratorResponse | |
| {&::_pbi::kDescriptorMethods, &::descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto, /* tracker*/ nullptr,}, | |
| }; | |
| } // namespace | |
| namespace google { | |
| namespace protobuf { | |
| namespace compiler { | |
| class Version::_Internal { | |
| public: | |
| using HasBits = decltype(::std::declval<Version>()._impl_._has_bits_); | |
| static constexpr ::int32_t kHasBitsOffset = | |
| 8 * PROTOBUF_FIELD_OFFSET(Version, _impl_._has_bits_); | |
| static constexpr Version::ParseTableT_ GenerateParseTable( | |
| const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); | |
| static constexpr auto GenerateClassData(); | |
| static void* PROTOBUF_NONNULL PlacementNew(const void* PROTOBUF_NONNULL, | |
| void* PROTOBUF_NONNULL mem, | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); | |
| static constexpr auto NewImpl(); | |
| }; | |
| constexpr Version::ParseTableT_ Version::_Internal::GenerateParseTable(const ::_pbi::ClassData* class_data) { | |
| return ParseTableT_{ | |
| { | |
| PROTOBUF_FIELD_OFFSET(Version, _impl_._has_bits_), | |
| 0, // no _extensions_ | |
| 4, 24, // max_field_number, fast_idx_mask | |
| offsetof(ParseTableT_, field_lookup_table), | |
| 4294967280, // skipmap | |
| offsetof(ParseTableT_, field_entries), | |
| 4, // num_field_entries | |
| 0, // num_aux_entries | |
| offsetof(ParseTableT_, field_names), // no aux_entries | |
| class_data, | |
| nullptr, // post_loop_handler | |
| ::_pbi::TcParser::MpUnknownFields, // fallback | |
| }, {{ | |
| // optional string suffix = 4; | |
| {::_pbi::TcParser::FastBS1, | |
| {34, 0, 0, | |
| PROTOBUF_FIELD_OFFSET(Version, _impl_.suffix_)}}, | |
| // optional int32 major = 1; | |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Version, _impl_.major_), 1>(), | |
| {8, 1, 0, | |
| PROTOBUF_FIELD_OFFSET(Version, _impl_.major_)}}, | |
| // optional int32 minor = 2; | |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Version, _impl_.minor_), 2>(), | |
| {16, 2, 0, | |
| PROTOBUF_FIELD_OFFSET(Version, _impl_.minor_)}}, | |
| // optional int32 patch = 3; | |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Version, _impl_.patch_), 3>(), | |
| {24, 3, 0, | |
| PROTOBUF_FIELD_OFFSET(Version, _impl_.patch_)}}, | |
| }}, {{ | |
| 65535, 65535 | |
| }}, {{ | |
| // optional int32 major = 1; | |
| {PROTOBUF_FIELD_OFFSET(Version, _impl_.major_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, | |
| // optional int32 minor = 2; | |
| {PROTOBUF_FIELD_OFFSET(Version, _impl_.minor_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, | |
| // optional int32 patch = 3; | |
| {PROTOBUF_FIELD_OFFSET(Version, _impl_.patch_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, | |
| // optional string suffix = 4; | |
| {PROTOBUF_FIELD_OFFSET(Version, _impl_.suffix_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, | |
| }}, | |
| // no aux_entries | |
| {{ | |
| }}, | |
| }; | |
| } | |
| inline constexpr Version::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| ::_pbi::ConstantInitialized) noexcept | |
| : suffix_( | |
| &::google::protobuf::internal::fixed_address_empty_string, | |
| ::_pbi::ConstantInitialized()), | |
| major_{0}, | |
| minor_{0}, | |
| patch_{0} {} | |
| template <typename> | |
| constexpr Version::Version(::_pbi::ConstantInitialized, | |
| const ::_pbi::ClassData* PROTOBUF_NONNULL class_data) | |
| : Super_( | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| class_data | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| ), | |
| _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) { | |
| } | |
| inline void* PROTOBUF_NONNULL Version::_Internal::PlacementNew( | |
| const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { | |
| return ::new (mem) Version(arena); | |
| } | |
| constexpr auto Version::_Internal::NewImpl() { | |
| return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Version), alignof(Version)); | |
| } | |
| constexpr auto Version::_Internal::GenerateClassData() { | |
| return ::google::protobuf::internal::ClassData{ | |
| nullptr, // IsInitialized | |
| &Version::MergeImpl, | |
| Super_::GetNewImpl<Version>(), | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| &Version::SharedDtor, | |
| &Clear, &ByteSizeLong, &_InternalSerialize, | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_FIELD_OFFSET(Version, _impl_._cached_size_), | |
| &file_reflection_data[0], | |
| }; | |
| } | |
| struct VersionGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { | |
| constexpr VersionGlobalsTypeInternal() | |
| : MessageGlobalsBase( | |
| ::_pbi::PrivateAccess::GenerateClassData<Version>()), | |
| _default(::_pbi::ConstantInitialized{}, GetClassData()), | |
| _table( | |
| ::_pbi::PrivateAccess::GenerateParseTable<Version>( | |
| GetClassData())) {} | |
| ~VersionGlobalsTypeInternal() {} | |
| union { | |
| alignas(::_pbi::kMaxMessageAlignment) Version _default; | |
| }; | |
| decltype(::_pbi::PrivateAccess::GenerateParseTable<Version>( | |
| ::std::declval<const ::_pbi::ClassData*>())) _table; | |
| }; | |
| static_assert(PROTOBUF_FIELD_OFFSET(VersionGlobalsTypeInternal, _default) == | |
| ::_pbi::MessageGlobalsBase::OffsetToDefault()); | |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT | |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const VersionGlobalsTypeInternal Version_globals_ | |
| PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); | |
| class CodeGeneratorResponse_File::_Internal { | |
| public: | |
| using HasBits = decltype(::std::declval<CodeGeneratorResponse_File>()._impl_._has_bits_); | |
| static constexpr ::int32_t kHasBitsOffset = | |
| 8 * PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_._has_bits_); | |
| static constexpr CodeGeneratorResponse_File::ParseTableT_ GenerateParseTable( | |
| const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); | |
| static constexpr auto GenerateClassData(); | |
| static void* PROTOBUF_NONNULL PlacementNew(const void* PROTOBUF_NONNULL, | |
| void* PROTOBUF_NONNULL mem, | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); | |
| static constexpr auto NewImpl(); | |
| }; | |
| constexpr CodeGeneratorResponse_File::ParseTableT_ CodeGeneratorResponse_File::_Internal::GenerateParseTable(const ::_pbi::ClassData* class_data) { | |
| return ParseTableT_{ | |
| { | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_._has_bits_), | |
| 0, // no _extensions_ | |
| 16, 24, // max_field_number, fast_idx_mask | |
| offsetof(ParseTableT_, field_lookup_table), | |
| 4294918140, // skipmap | |
| offsetof(ParseTableT_, field_entries), | |
| 4, // num_field_entries | |
| 1, // num_aux_entries | |
| offsetof(ParseTableT_, aux_entries), | |
| class_data, | |
| nullptr, // post_loop_handler | |
| ::_pbi::TcParser::MpUnknownFields, // fallback | |
| }, {{ | |
| // optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16; | |
| {::_pbi::TcParser::FastMcS2, | |
| {386, 3, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_.generated_code_info_)}}, | |
| // optional string name = 1; | |
| {::_pbi::TcParser::FastBS1, | |
| {10, 0, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_.name_)}}, | |
| // optional string insertion_point = 2; | |
| {::_pbi::TcParser::FastBS1, | |
| {18, 1, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_.insertion_point_)}}, | |
| // optional string content = 15; | |
| {::_pbi::TcParser::FastBS1, | |
| {122, 2, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_.content_)}}, | |
| }}, {{ | |
| 65535, 65535 | |
| }}, {{ | |
| // optional string name = 1; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_.name_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, | |
| // optional string insertion_point = 2; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_.insertion_point_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, | |
| // optional string content = 15; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_.content_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, | |
| // optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_.generated_code_info_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvClassData)}, | |
| }}, | |
| {{ | |
| {::_pbi::FieldAuxClassData(), &::google::protobuf::GeneratedCodeInfo_globals_}, | |
| }}, | |
| {{ | |
| }}, | |
| }; | |
| } | |
| inline constexpr CodeGeneratorResponse_File::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| ::_pbi::ConstantInitialized) noexcept | |
| : name_( | |
| &::google::protobuf::internal::fixed_address_empty_string, | |
| ::_pbi::ConstantInitialized()), | |
| insertion_point_( | |
| &::google::protobuf::internal::fixed_address_empty_string, | |
| ::_pbi::ConstantInitialized()), | |
| content_( | |
| &::google::protobuf::internal::fixed_address_empty_string, | |
| ::_pbi::ConstantInitialized()), | |
| generated_code_info_{nullptr} {} | |
| template <typename> | |
| constexpr CodeGeneratorResponse_File::CodeGeneratorResponse_File(::_pbi::ConstantInitialized, | |
| const ::_pbi::ClassData* PROTOBUF_NONNULL class_data) | |
| : Super_( | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| class_data | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| ), | |
| _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) { | |
| } | |
| inline void* PROTOBUF_NONNULL CodeGeneratorResponse_File::_Internal::PlacementNew( | |
| const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { | |
| return ::new (mem) CodeGeneratorResponse_File(arena); | |
| } | |
| constexpr auto CodeGeneratorResponse_File::_Internal::NewImpl() { | |
| return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CodeGeneratorResponse_File), alignof(CodeGeneratorResponse_File)); | |
| } | |
| constexpr auto CodeGeneratorResponse_File::_Internal::GenerateClassData() { | |
| return ::google::protobuf::internal::ClassData{ | |
| nullptr, // IsInitialized | |
| &CodeGeneratorResponse_File::MergeImpl, | |
| Super_::GetNewImpl<CodeGeneratorResponse_File>(), | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| &CodeGeneratorResponse_File::SharedDtor, | |
| &Clear, &ByteSizeLong, &_InternalSerialize, | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_File, _impl_._cached_size_), | |
| &file_reflection_data[2], | |
| }; | |
| } | |
| struct CodeGeneratorResponse_FileGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { | |
| constexpr CodeGeneratorResponse_FileGlobalsTypeInternal() | |
| : MessageGlobalsBase( | |
| ::_pbi::PrivateAccess::GenerateClassData<CodeGeneratorResponse_File>()), | |
| _default(::_pbi::ConstantInitialized{}, GetClassData()), | |
| _table( | |
| ::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorResponse_File>( | |
| GetClassData())) {} | |
| ~CodeGeneratorResponse_FileGlobalsTypeInternal() {} | |
| union { | |
| alignas(::_pbi::kMaxMessageAlignment) CodeGeneratorResponse_File _default; | |
| }; | |
| decltype(::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorResponse_File>( | |
| ::std::declval<const ::_pbi::ClassData*>())) _table; | |
| }; | |
| static_assert(PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse_FileGlobalsTypeInternal, _default) == | |
| ::_pbi::MessageGlobalsBase::OffsetToDefault()); | |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT | |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CodeGeneratorResponse_FileGlobalsTypeInternal CodeGeneratorResponse_File_globals_ | |
| PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); | |
| class CodeGeneratorResponse::_Internal { | |
| public: | |
| using HasBits = decltype(::std::declval<CodeGeneratorResponse>()._impl_._has_bits_); | |
| static constexpr ::int32_t kHasBitsOffset = | |
| 8 * PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_._has_bits_); | |
| static constexpr CodeGeneratorResponse::ParseTableT_ GenerateParseTable( | |
| const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); | |
| static constexpr auto GenerateClassData(); | |
| static void* PROTOBUF_NONNULL PlacementNew(const void* PROTOBUF_NONNULL, | |
| void* PROTOBUF_NONNULL mem, | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); | |
| static constexpr auto NewImpl(); | |
| }; | |
| constexpr CodeGeneratorResponse::ParseTableT_ CodeGeneratorResponse::_Internal::GenerateParseTable(const ::_pbi::ClassData* class_data) { | |
| return ParseTableT_{ | |
| { | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_._has_bits_), | |
| 0, // no _extensions_ | |
| 15, 56, // max_field_number, fast_idx_mask | |
| offsetof(ParseTableT_, field_lookup_table), | |
| 4294950896, // skipmap | |
| offsetof(ParseTableT_, field_entries), | |
| 5, // num_field_entries | |
| 1, // num_aux_entries | |
| offsetof(ParseTableT_, aux_entries), | |
| class_data, | |
| nullptr, // post_loop_handler | |
| ::_pbi::TcParser::MpUnknownFields, // fallback | |
| }, {{ | |
| {::_pbi::TcParser::MiniParse, {}}, | |
| // optional string error = 1; | |
| {::_pbi::TcParser::FastBS1, | |
| {10, 1, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.error_)}}, | |
| // optional uint64 supported_features = 2; | |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CodeGeneratorResponse, _impl_.supported_features_), 2>(), | |
| {16, 2, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.supported_features_)}}, | |
| // optional int32 minimum_edition = 3; | |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CodeGeneratorResponse, _impl_.minimum_edition_), 3>(), | |
| {24, 3, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.minimum_edition_)}}, | |
| // optional int32 maximum_edition = 4; | |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CodeGeneratorResponse, _impl_.maximum_edition_), 4>(), | |
| {32, 4, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.maximum_edition_)}}, | |
| {::_pbi::TcParser::MiniParse, {}}, | |
| {::_pbi::TcParser::MiniParse, {}}, | |
| // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; | |
| {::_pbi::TcParser::FastMcR1, | |
| {122, 0, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.file_)}}, | |
| }}, {{ | |
| 65535, 65535 | |
| }}, {{ | |
| // optional string error = 1; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.error_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, | |
| // optional uint64 supported_features = 2; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.supported_features_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, | |
| // optional int32 minimum_edition = 3; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.minimum_edition_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, | |
| // optional int32 maximum_edition = 4; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.maximum_edition_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, | |
| // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.file_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, | |
| }}, | |
| {{ | |
| {::_pbi::FieldAuxClassData(), &::google::protobuf::compiler::CodeGeneratorResponse_File_globals_}, | |
| }}, | |
| {{ | |
| }}, | |
| }; | |
| } | |
| inline constexpr CodeGeneratorResponse::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| ::_pbi::ConstantInitialized) noexcept | |
| : file_ { visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorResponse, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse, _impl_.file_)>() | |
| } | |
| , | |
| error_( | |
| &::google::protobuf::internal::fixed_address_empty_string, | |
| ::_pbi::ConstantInitialized()), | |
| supported_features_{::uint64_t{0u}}, | |
| minimum_edition_{0}, | |
| maximum_edition_{0} {} | |
| template <typename> | |
| constexpr CodeGeneratorResponse::CodeGeneratorResponse(::_pbi::ConstantInitialized, | |
| const ::_pbi::ClassData* PROTOBUF_NONNULL class_data) | |
| : Super_( | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| class_data | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| ), | |
| _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) { | |
| } | |
| inline void* PROTOBUF_NONNULL CodeGeneratorResponse::_Internal::PlacementNew( | |
| const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { | |
| return ::new (mem) CodeGeneratorResponse(arena); | |
| } | |
| constexpr auto CodeGeneratorResponse::_Internal::NewImpl() { | |
| return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CodeGeneratorResponse), alignof(CodeGeneratorResponse)); | |
| } | |
| constexpr auto CodeGeneratorResponse::_Internal::GenerateClassData() { | |
| return ::google::protobuf::internal::ClassData{ | |
| nullptr, // IsInitialized | |
| &CodeGeneratorResponse::MergeImpl, | |
| Super_::GetNewImpl<CodeGeneratorResponse>(), | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| &CodeGeneratorResponse::SharedDtor, | |
| &Clear, &ByteSizeLong, &_InternalSerialize, | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_._cached_size_), | |
| &file_reflection_data[3], | |
| }; | |
| } | |
| struct CodeGeneratorResponseGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { | |
| constexpr CodeGeneratorResponseGlobalsTypeInternal() | |
| : MessageGlobalsBase( | |
| ::_pbi::PrivateAccess::GenerateClassData<CodeGeneratorResponse>()), | |
| _default(::_pbi::ConstantInitialized{}, GetClassData()), | |
| _table( | |
| ::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorResponse>( | |
| GetClassData())) {} | |
| ~CodeGeneratorResponseGlobalsTypeInternal() {} | |
| union { | |
| alignas(::_pbi::kMaxMessageAlignment) CodeGeneratorResponse _default; | |
| }; | |
| decltype(::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorResponse>( | |
| ::std::declval<const ::_pbi::ClassData*>())) _table; | |
| }; | |
| static_assert(PROTOBUF_FIELD_OFFSET(CodeGeneratorResponseGlobalsTypeInternal, _default) == | |
| ::_pbi::MessageGlobalsBase::OffsetToDefault()); | |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT | |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CodeGeneratorResponseGlobalsTypeInternal CodeGeneratorResponse_globals_ | |
| PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); | |
| class CodeGeneratorRequest::_Internal { | |
| public: | |
| using HasBits = decltype(::std::declval<CodeGeneratorRequest>()._impl_._has_bits_); | |
| static constexpr ::int32_t kHasBitsOffset = | |
| 8 * PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_._has_bits_); | |
| static constexpr CodeGeneratorRequest::ParseTableT_ GenerateParseTable( | |
| const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); | |
| static constexpr auto GenerateClassData(); | |
| static void* PROTOBUF_NONNULL PlacementNew(const void* PROTOBUF_NONNULL, | |
| void* PROTOBUF_NONNULL mem, | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena); | |
| static constexpr auto NewImpl(); | |
| }; | |
| constexpr CodeGeneratorRequest::ParseTableT_ CodeGeneratorRequest::_Internal::GenerateParseTable(const ::_pbi::ClassData* class_data) { | |
| return ParseTableT_{ | |
| { | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_._has_bits_), | |
| 0, // no _extensions_ | |
| 17, 56, // max_field_number, fast_idx_mask | |
| offsetof(ParseTableT_, field_lookup_table), | |
| 4294885368, // skipmap | |
| offsetof(ParseTableT_, field_entries), | |
| 5, // num_field_entries | |
| 3, // num_aux_entries | |
| offsetof(ParseTableT_, aux_entries), | |
| class_data, | |
| nullptr, // post_loop_handler | |
| ::_pbi::TcParser::MpUnknownFields, // fallback | |
| }, {{ | |
| {::_pbi::TcParser::MiniParse, {}}, | |
| // repeated string file_to_generate = 1; | |
| {::_pbi::TcParser::FastBR1, | |
| {10, 0, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.file_to_generate_)}}, | |
| // optional string parameter = 2; | |
| {::_pbi::TcParser::FastBS1, | |
| {18, 2, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.parameter_)}}, | |
| // optional .google.protobuf.compiler.Version compiler_version = 3; | |
| {::_pbi::TcParser::FastMcS1, | |
| {26, 3, 0, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.compiler_version_)}}, | |
| {::_pbi::TcParser::MiniParse, {}}, | |
| {::_pbi::TcParser::MiniParse, {}}, | |
| {::_pbi::TcParser::MiniParse, {}}, | |
| // repeated .google.protobuf.FileDescriptorProto proto_file = 15; | |
| {::_pbi::TcParser::FastMcR1, | |
| {122, 1, 1, | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.proto_file_)}}, | |
| }}, {{ | |
| 65535, 65535 | |
| }}, {{ | |
| // repeated string file_to_generate = 1; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.file_to_generate_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kBytes | ::_fl::kRepSString)}, | |
| // optional string parameter = 2; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.parameter_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, | |
| // optional .google.protobuf.compiler.Version compiler_version = 3; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.compiler_version_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvClassData)}, | |
| // repeated .google.protobuf.FileDescriptorProto proto_file = 15; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.proto_file_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, | |
| // repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17; | |
| {PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_.source_file_descriptors_), _Internal::kHasBitsOffset + 4, 2, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvClassData)}, | |
| }}, | |
| {{ | |
| {::_pbi::FieldAuxClassData(), &::google::protobuf::compiler::Version_globals_}, | |
| {::_pbi::FieldAuxClassData(), &::google::protobuf::FileDescriptorProto_globals_}, | |
| {::_pbi::FieldAuxClassData(), &::google::protobuf::FileDescriptorProto_globals_}, | |
| }}, | |
| {{ | |
| }}, | |
| }; | |
| } | |
| inline constexpr CodeGeneratorRequest::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| ::_pbi::ConstantInitialized) noexcept | |
| : file_to_generate_ { visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorRequest, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.file_to_generate_)>() | |
| } | |
| , | |
| proto_file_ { visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorRequest, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.proto_file_)>() | |
| } | |
| , | |
| parameter_( | |
| &::google::protobuf::internal::fixed_address_empty_string, | |
| ::_pbi::ConstantInitialized()), | |
| compiler_version_{nullptr}, | |
| source_file_descriptors_ { visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorRequest, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.source_file_descriptors_)>() | |
| } | |
| {} | |
| template <typename> | |
| constexpr CodeGeneratorRequest::CodeGeneratorRequest(::_pbi::ConstantInitialized, | |
| const ::_pbi::ClassData* PROTOBUF_NONNULL class_data) | |
| : Super_( | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| class_data | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| ), | |
| _impl_(internal_visibility(), ::_pbi::ConstantInitialized()) { | |
| } | |
| inline void* PROTOBUF_NONNULL CodeGeneratorRequest::_Internal::PlacementNew( | |
| const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem, | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) { | |
| return ::new (mem) CodeGeneratorRequest(arena); | |
| } | |
| constexpr auto CodeGeneratorRequest::_Internal::NewImpl() { | |
| return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CodeGeneratorRequest), alignof(CodeGeneratorRequest)); | |
| } | |
| constexpr auto CodeGeneratorRequest::_Internal::GenerateClassData() { | |
| return ::google::protobuf::internal::ClassData{ | |
| CodeGeneratorRequest::IsInitializedImpl, | |
| &CodeGeneratorRequest::MergeImpl, | |
| Super_::GetNewImpl<CodeGeneratorRequest>(), | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| &CodeGeneratorRequest::SharedDtor, | |
| &Clear, &ByteSizeLong, &_InternalSerialize, | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorRequest, _impl_._cached_size_), | |
| &file_reflection_data[1], | |
| }; | |
| } | |
| struct CodeGeneratorRequestGlobalsTypeInternal : ::_pbi::MessageGlobalsBase { | |
| constexpr CodeGeneratorRequestGlobalsTypeInternal() | |
| : MessageGlobalsBase( | |
| ::_pbi::PrivateAccess::GenerateClassData<CodeGeneratorRequest>()), | |
| _default(::_pbi::ConstantInitialized{}, GetClassData()), | |
| _table( | |
| ::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorRequest>( | |
| GetClassData())) {} | |
| ~CodeGeneratorRequestGlobalsTypeInternal() {} | |
| union { | |
| alignas(::_pbi::kMaxMessageAlignment) CodeGeneratorRequest _default; | |
| }; | |
| decltype(::_pbi::PrivateAccess::GenerateParseTable<CodeGeneratorRequest>( | |
| ::std::declval<const ::_pbi::ClassData*>())) _table; | |
| }; | |
| static_assert(PROTOBUF_FIELD_OFFSET(CodeGeneratorRequestGlobalsTypeInternal, _default) == | |
| ::_pbi::MessageGlobalsBase::OffsetToDefault()); | |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOC_EXPORT | |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const CodeGeneratorRequestGlobalsTypeInternal CodeGeneratorRequest_globals_ | |
| PROTOBUF_MESSAGE_GLOBALS_SECTION(.data.rel.ro); | |
| } // namespace compiler | |
| } // namespace protobuf | |
| } // namespace google | |
| static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL | |
| file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto[1]; | |
| static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE | |
| file_level_service_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto = nullptr; | |
| const ::uint32_t | |
| TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( | |
| protodesc_cold) = { | |
| 0x081, // bitmap | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::Version, _impl_._has_bits_), | |
| 7, // hasbit index offset | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::Version, _impl_.major_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::Version, _impl_.minor_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::Version, _impl_.patch_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::Version, _impl_.suffix_), | |
| 1, | |
| 2, | |
| 3, | |
| 0, | |
| 0x081, // bitmap | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_._has_bits_), | |
| 8, // hasbit index offset | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.file_to_generate_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.parameter_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.proto_file_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.source_file_descriptors_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.compiler_version_), | |
| 0, | |
| 2, | |
| 1, | |
| 4, | |
| 3, | |
| 0x081, // bitmap | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse_File, _impl_._has_bits_), | |
| 7, // hasbit index offset | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse_File, _impl_.name_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse_File, _impl_.insertion_point_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse_File, _impl_.content_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse_File, _impl_.generated_code_info_), | |
| 0, | |
| 1, | |
| 2, | |
| 3, | |
| 0x081, // bitmap | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse, _impl_._has_bits_), | |
| 8, // hasbit index offset | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse, _impl_.error_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse, _impl_.supported_features_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse, _impl_.minimum_edition_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse, _impl_.maximum_edition_), | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse, _impl_.file_), | |
| 1, | |
| 2, | |
| 3, | |
| 4, | |
| 0, | |
| }; | |
| static const ::_pbi::MigrationSchema | |
| schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { | |
| {0, sizeof(::google::protobuf::compiler::Version)}, | |
| {11, sizeof(::google::protobuf::compiler::CodeGeneratorRequest)}, | |
| {24, sizeof(::google::protobuf::compiler::CodeGeneratorResponse_File)}, | |
| {35, sizeof(::google::protobuf::compiler::CodeGeneratorResponse)}, | |
| }; | |
| static const ::_pbi::MessageGlobalsBase* PROTOBUF_NONNULL const | |
| file_message_globals[] = { | |
| &::google::protobuf::compiler::Version_globals_, | |
| &::google::protobuf::compiler::CodeGeneratorRequest_globals_, | |
| &::google::protobuf::compiler::CodeGeneratorResponse_File_globals_, | |
| &::google::protobuf::compiler::CodeGeneratorResponse_globals_, | |
| }; | |
| const char descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fplugin_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( | |
| protodesc_cold) = { | |
| "\n%google/protobuf/compiler/plugin.proto\022" | |
| "\030google.protobuf.compiler\032 google/protob" | |
| "uf/descriptor.proto\"F\n\007Version\022\r\n\005major\030" | |
| "\001 \001(\005\022\r\n\005minor\030\002 \001(\005\022\r\n\005patch\030\003 \001(\005\022\016\n\006s" | |
| "uffix\030\004 \001(\t\"\201\002\n\024CodeGeneratorRequest\022\030\n\020" | |
| "file_to_generate\030\001 \003(\t\022\021\n\tparameter\030\002 \001(" | |
| "\t\0228\n\nproto_file\030\017 \003(\0132$.google.protobuf." | |
| "FileDescriptorProto\022E\n\027source_file_descr" | |
| "iptors\030\021 \003(\0132$.google.protobuf.FileDescr" | |
| "iptorProto\022;\n\020compiler_version\030\003 \001(\0132!.g" | |
| "oogle.protobuf.compiler.Version\"\222\003\n\025Code" | |
| "GeneratorResponse\022\r\n\005error\030\001 \001(\t\022\032\n\022supp" | |
| "orted_features\030\002 \001(\004\022\027\n\017minimum_edition\030" | |
| "\003 \001(\005\022\027\n\017maximum_edition\030\004 \001(\005\022B\n\004file\030\017" | |
| " \003(\01324.google.protobuf.compiler.CodeGene" | |
| "ratorResponse.File\032\177\n\004File\022\014\n\004name\030\001 \001(\t" | |
| "\022\027\n\017insertion_point\030\002 \001(\t\022\017\n\007content\030\017 \001" | |
| "(\t\022\?\n\023generated_code_info\030\020 \001(\0132\".google" | |
| ".protobuf.GeneratedCodeInfo\"W\n\007Feature\022\020" | |
| "\n\014FEATURE_NONE\020\000\022\033\n\027FEATURE_PROTO3_OPTIO" | |
| "NAL\020\001\022\035\n\031FEATURE_SUPPORTS_EDITIONS\020\002Br\n\034" | |
| "com.google.protobuf.compilerB\014PluginProt" | |
| "osZ)google.golang.org/protobuf/types/plu" | |
| "ginpb\252\002\030Google.Protobuf.Compiler" | |
| }; | |
| static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const | |
| descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_deps[1] = { | |
| &::descriptor_table_google_2fprotobuf_2fdescriptor_2eproto, | |
| }; | |
| static ::absl::once_flag descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_once; | |
| PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto = { | |
| false, | |
| false, | |
| 952, | |
| descriptor_table_protodef_google_2fprotobuf_2fcompiler_2fplugin_2eproto, | |
| "google/protobuf/compiler/plugin.proto", | |
| &descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_once, | |
| descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto_deps, | |
| 1, | |
| 4, | |
| schemas, | |
| file_message_globals, | |
| TableStruct_google_2fprotobuf_2fcompiler_2fplugin_2eproto::offsets, | |
| file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto, | |
| file_level_service_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto, | |
| }; | |
| namespace google { | |
| namespace protobuf { | |
| namespace compiler { | |
| [[nodiscard]] const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL | |
| CodeGeneratorResponse_Feature_descriptor() { | |
| ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto); | |
| return file_level_enum_descriptors_google_2fprotobuf_2fcompiler_2fplugin_2eproto[0]; | |
| } | |
| PROTOBUF_CONSTINIT const uint32_t CodeGeneratorResponse_Feature_internal_data_[] = { | |
| 196608u, 0u, }; | |
| // =================================================================== | |
| Version::Version(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| : Super_(arena, &Version_globals_.class_data) { | |
| #else // PROTOBUF_CUSTOM_VTABLE | |
| : Super_(arena) { | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| SharedCtor(arena); | |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.compiler.Version) | |
| } | |
| PROTOBUF_NDEBUG_INLINE Version::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, | |
| [[maybe_unused]] const ::google::protobuf::compiler::Version& from_msg) | |
| : _has_bits_{from._has_bits_}, | |
| suffix_(arena, from.suffix_) {} | |
| Version::Version( | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, | |
| const Version& from) | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| : Super_(arena, &Version_globals_.class_data) { | |
| #else // PROTOBUF_CUSTOM_VTABLE | |
| : Super_(arena) { | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| Version& this_ [[maybe_unused]] = *this; | |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( | |
| from._internal_metadata_); | |
| new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); | |
| ::memcpy(reinterpret_cast<char*>(&_impl_) + | |
| offsetof(Impl_, major_), | |
| reinterpret_cast<const char*>(&from._impl_) + | |
| offsetof(Impl_, major_), | |
| offsetof(Impl_, patch_) - | |
| offsetof(Impl_, major_) + | |
| sizeof(Impl_::patch_)); | |
| // @@protoc_insertion_point(copy_constructor:google.protobuf.compiler.Version) | |
| } | |
| PROTOBUF_NDEBUG_INLINE Version::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) | |
| : suffix_(arena) {} | |
| inline void Version::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { | |
| new (&_impl_) Impl_(internal_visibility(), arena); | |
| ::memset(reinterpret_cast<char*>(&_impl_) + | |
| offsetof(Impl_, major_), | |
| 0, | |
| offsetof(Impl_, patch_) - | |
| offsetof(Impl_, major_) + | |
| sizeof(Impl_::patch_)); | |
| } | |
| Version::~Version() { | |
| // @@protoc_insertion_point(destructor:google.protobuf.compiler.Version) | |
| SharedDtor(*this); | |
| } | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE void Version::SharedDtor( | |
| MessageLite& self) { | |
| Version& this_ = static_cast<Version&>(self); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| this_.CheckHasBitConsistency(); | |
| } | |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); | |
| ABSL_DCHECK(!::_pbi::HasArena(this_)); | |
| this_._impl_.suffix_.Destroy(); | |
| this_._impl_.~Impl_(); | |
| } | |
| PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL | |
| Version::GetClassData() const { | |
| ::google::protobuf::internal::PrefetchToLocalCache(&Version_globals_); | |
| ::google::protobuf::internal::PrefetchToLocalCache( | |
| ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&Version_globals_)); | |
| return &Version_globals_.class_data; | |
| } | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| void Version::Clear(MessageLite& base) { | |
| Version& this_ = static_cast<Version&>(base); | |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.compiler.Version) | |
| ::google::protobuf::internal::TSanWrite(&this_._impl_); | |
| ::uint32_t cached_has_bits [[maybe_unused]] = 0; | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| this_._impl_.suffix_.ClearNonDefaultToEmpty(); | |
| } | |
| if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) { | |
| ::memset(&this_._impl_.major_, 0, | |
| static_cast<::size_t>( | |
| reinterpret_cast<char*>(&this_._impl_.patch_) - | |
| reinterpret_cast<char*>(&this_._impl_.major_)) + | |
| sizeof(_impl_.patch_)); | |
| } | |
| this_._impl_._has_bits_.Clear(); | |
| this_._internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| PROTOBUF_NOINLINE void Version::Clear() { Clear(*this); } | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| ::uint8_t* PROTOBUF_NULLABLE Version::_InternalSerialize( | |
| const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NULLABLE target, | |
| ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { | |
| const Version& this_ = static_cast<const Version&>(base); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| this_.CheckHasBitConsistency(); | |
| } | |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.Version) | |
| ::uint32_t cached_has_bits = 0; | |
| (void)cached_has_bits; | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| // optional int32 major = 1; | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| target = | |
| ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>( | |
| stream, this_._internal_major(), target); | |
| } | |
| // optional int32 minor = 2; | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| target = | |
| ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>( | |
| stream, this_._internal_minor(), target); | |
| } | |
| // optional int32 patch = 3; | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| target = | |
| ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( | |
| stream, this_._internal_patch(), target); | |
| } | |
| // optional string suffix = 4; | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| const ::std::string& _s = this_._internal_suffix(); | |
| target = stream->WriteStringMaybeAliased(4, _s, target); | |
| } | |
| } | |
| if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { | |
| target = | |
| ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( | |
| this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); | |
| } | |
| // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.compiler.Version) | |
| return target; | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| ::uint8_t* PROTOBUF_NULLABLE Version::_InternalSerialize( | |
| ::uint8_t* PROTOBUF_NULLABLE target, | |
| ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { | |
| return _InternalSerialize(*this, target, stream); | |
| } | |
| #endif // !PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| ::size_t Version::ByteSizeLong(const MessageLite& base) { | |
| const Version& this_ = static_cast<const Version&>(base); | |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.compiler.Version) | |
| ::size_t total_size = 0; | |
| ::uint32_t cached_has_bits [[maybe_unused]] = 0; | |
| ::_pbi::Prefetch5LinesFrom7Lines(&this_); | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| // optional string suffix = 4; | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( | |
| this_._internal_suffix()); | |
| } | |
| // optional int32 major = 1; | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( | |
| this_._internal_major()); | |
| } | |
| // optional int32 minor = 2; | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( | |
| this_._internal_minor()); | |
| } | |
| // optional int32 patch = 3; | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( | |
| this_._internal_patch()); | |
| } | |
| } | |
| return this_.MaybeComputeUnknownFieldsSize(total_size, | |
| &this_._impl_._cached_size_); | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| ::size_t Version::ByteSizeLong() const { return ByteSizeLong(*this); } | |
| #endif // !PROTOBUF_CUSTOM_VTABLE | |
| void Version::MergeImpl(::google::protobuf::MessageLite& to_msg, | |
| const ::google::protobuf::MessageLite& from_msg) { | |
| Version& this_ = static_cast<Version&>(to_msg); | |
| auto& from = static_cast<const Version&>(from_msg); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| from.CheckHasBitConsistency(); | |
| } | |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.compiler.Version) | |
| ABSL_DCHECK_NE(&from, &this_); | |
| ::uint32_t cached_has_bits = 0; | |
| (void)cached_has_bits; | |
| cached_has_bits = from._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| this_._internal_set_suffix(from._internal_suffix()); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| this_._impl_.major_ = from._impl_.major_; | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| this_._impl_.minor_ = from._impl_.minor_; | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| this_._impl_.patch_ = from._impl_.patch_; | |
| } | |
| } | |
| this_._impl_._has_bits_[0] |= cached_has_bits; | |
| this_._internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( | |
| from._internal_metadata_); | |
| } | |
| void Version::CopyFrom(const Version& from) { | |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.compiler.Version) | |
| if (&from == this) return; | |
| Clear(); | |
| MergeFrom(from); | |
| } | |
| void Version::InternalSwap(Version* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { | |
| using ::std::swap; | |
| auto* arena = GetArena(); | |
| ABSL_DCHECK_EQ(arena, other->GetArena()); | |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); | |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); | |
| ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.suffix_, &other->_impl_.suffix_, arena); | |
| ::google::protobuf::internal::memswap< | |
| PROTOBUF_FIELD_OFFSET(Version, _impl_.patch_) | |
| + sizeof(Version::_impl_.patch_) | |
| - PROTOBUF_FIELD_OFFSET(Version, _impl_.major_)>( | |
| reinterpret_cast<char*>(&_impl_.major_), | |
| reinterpret_cast<char*>(&other->_impl_.major_)); | |
| } | |
| ::google::protobuf::Metadata Version::GetMetadata() const { | |
| return Super_::GetMetadataImpl(Version_globals_.class_data); | |
| } | |
| // =================================================================== | |
| void CodeGeneratorRequest::clear_proto_file() { | |
| ::google::protobuf::internal::TSanWrite(&_impl_); | |
| _impl_.proto_file_.Clear(); | |
| ClearHasBit(_impl_._has_bits_[0], 0x00000002U); | |
| } | |
| void CodeGeneratorRequest::clear_source_file_descriptors() { | |
| ::google::protobuf::internal::TSanWrite(&_impl_); | |
| _impl_.source_file_descriptors_.Clear(); | |
| ClearHasBit(_impl_._has_bits_[0], 0x00000010U); | |
| } | |
| CodeGeneratorRequest::CodeGeneratorRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| : Super_(arena, &CodeGeneratorRequest_globals_.class_data) { | |
| #else // PROTOBUF_CUSTOM_VTABLE | |
| : Super_(arena) { | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| SharedCtor(arena); | |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.compiler.CodeGeneratorRequest) | |
| } | |
| PROTOBUF_NDEBUG_INLINE CodeGeneratorRequest::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, | |
| [[maybe_unused]] const ::google::protobuf::compiler::CodeGeneratorRequest& from_msg) | |
| : _has_bits_{from._has_bits_}, | |
| file_to_generate_ { | |
| visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorRequest, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.file_to_generate_)>() | |
| , arena, from.file_to_generate_ | |
| } | |
| , | |
| proto_file_ { | |
| visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorRequest, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.proto_file_)>() | |
| , arena, from.proto_file_ | |
| } | |
| , | |
| parameter_(arena, from.parameter_), | |
| source_file_descriptors_ { | |
| visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorRequest, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.source_file_descriptors_)>() | |
| , arena, from.source_file_descriptors_ | |
| } | |
| {} | |
| CodeGeneratorRequest::CodeGeneratorRequest( | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, | |
| const CodeGeneratorRequest& from) | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| : Super_(arena, &CodeGeneratorRequest_globals_.class_data) { | |
| #else // PROTOBUF_CUSTOM_VTABLE | |
| : Super_(arena) { | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| CodeGeneratorRequest& this_ [[maybe_unused]] = *this; | |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( | |
| from._internal_metadata_); | |
| new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); | |
| ::uint32_t cached_has_bits = _impl_._has_bits_[0]; | |
| _impl_.compiler_version_ = (CheckHasBit(cached_has_bits, 0x00000008U)) | |
| ? Super_::CopyConstruct(arena, *from._impl_.compiler_version_) | |
| : nullptr; | |
| // @@protoc_insertion_point(copy_constructor:google.protobuf.compiler.CodeGeneratorRequest) | |
| } | |
| PROTOBUF_NDEBUG_INLINE CodeGeneratorRequest::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) | |
| : file_to_generate_ { visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorRequest, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.file_to_generate_)>() | |
| } | |
| , | |
| proto_file_ { visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorRequest, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.proto_file_)>() | |
| } | |
| , | |
| parameter_(arena), | |
| source_file_descriptors_ { visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorRequest, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorRequest, _impl_.source_file_descriptors_)>() | |
| } | |
| {} | |
| inline void CodeGeneratorRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { | |
| new (&_impl_) Impl_(internal_visibility(), arena); | |
| _impl_.compiler_version_ = {}; | |
| } | |
| CodeGeneratorRequest::~CodeGeneratorRequest() { | |
| // @@protoc_insertion_point(destructor:google.protobuf.compiler.CodeGeneratorRequest) | |
| SharedDtor(*this); | |
| } | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE void CodeGeneratorRequest::SharedDtor( | |
| MessageLite& self) { | |
| CodeGeneratorRequest& this_ = static_cast<CodeGeneratorRequest&>(self); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| this_.CheckHasBitConsistency(); | |
| } | |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); | |
| ABSL_DCHECK(!::_pbi::HasArena(this_)); | |
| this_._impl_.parameter_.Destroy(); | |
| delete this_._impl_.compiler_version_; | |
| this_._impl_.~Impl_(); | |
| } | |
| PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL | |
| CodeGeneratorRequest::GetClassData() const { | |
| ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorRequest_globals_); | |
| ::google::protobuf::internal::PrefetchToLocalCache( | |
| ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&CodeGeneratorRequest_globals_)); | |
| return &CodeGeneratorRequest_globals_.class_data; | |
| } | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| void CodeGeneratorRequest::Clear(MessageLite& base) { | |
| CodeGeneratorRequest& this_ = static_cast<CodeGeneratorRequest&>(base); | |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.compiler.CodeGeneratorRequest) | |
| ::google::protobuf::internal::TSanWrite(&this_._impl_); | |
| ::uint32_t cached_has_bits [[maybe_unused]] = 0; | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| this_._impl_.file_to_generate_.Clear(); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| this_._impl_.proto_file_.Clear(); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| this_._impl_.parameter_.ClearNonDefaultToEmpty(); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| ABSL_DCHECK(this_._impl_.compiler_version_ != nullptr); | |
| this_._impl_.compiler_version_->Clear(); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000010U)) { | |
| this_._impl_.source_file_descriptors_.Clear(); | |
| } | |
| } | |
| this_._impl_._has_bits_.Clear(); | |
| this_._internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| PROTOBUF_NOINLINE void CodeGeneratorRequest::Clear() { Clear(*this); } | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| ::uint8_t* PROTOBUF_NULLABLE CodeGeneratorRequest::_InternalSerialize( | |
| const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NULLABLE target, | |
| ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { | |
| const CodeGeneratorRequest& this_ = static_cast<const CodeGeneratorRequest&>(base); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| this_.CheckHasBitConsistency(); | |
| } | |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorRequest) | |
| ::uint32_t cached_has_bits = 0; | |
| (void)cached_has_bits; | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| // repeated string file_to_generate = 1; | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| for (const auto& s : this_._impl_.file_to_generate_) { | |
| target = stream->WriteString(1, s, target); | |
| } | |
| } | |
| // optional string parameter = 2; | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| const ::std::string& _s = this_._internal_parameter(); | |
| target = stream->WriteStringMaybeAliased(2, _s, target); | |
| } | |
| // optional .google.protobuf.compiler.Version compiler_version = 3; | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| { | |
| auto* sub = this_._impl_.compiler_version_; | |
| target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( | |
| 3, *sub, sub->GetCachedSize(), target, stream); | |
| } | |
| } | |
| // repeated .google.protobuf.FileDescriptorProto proto_file = 15; | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| for (const auto& sub : this_._impl_.proto_file_) { | |
| target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( | |
| 15, sub, sub.GetCachedSize(), target, stream); | |
| } | |
| } | |
| // repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17; | |
| if (CheckHasBit(cached_has_bits, 0x00000010U)) { | |
| for (const auto& sub : this_._impl_.source_file_descriptors_) { | |
| target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( | |
| 17, sub, sub.GetCachedSize(), target, stream); | |
| } | |
| } | |
| } | |
| if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { | |
| target = | |
| ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( | |
| this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); | |
| } | |
| // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.compiler.CodeGeneratorRequest) | |
| return target; | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| ::uint8_t* PROTOBUF_NULLABLE CodeGeneratorRequest::_InternalSerialize( | |
| ::uint8_t* PROTOBUF_NULLABLE target, | |
| ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { | |
| return _InternalSerialize(*this, target, stream); | |
| } | |
| #endif // !PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| ::size_t CodeGeneratorRequest::ByteSizeLong(const MessageLite& base) { | |
| const CodeGeneratorRequest& this_ = static_cast<const CodeGeneratorRequest&>(base); | |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.compiler.CodeGeneratorRequest) | |
| ::size_t total_size = 0; | |
| ::uint32_t cached_has_bits [[maybe_unused]] = 0; | |
| ::_pbi::Prefetch5LinesFrom7Lines(&this_); | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| // repeated string file_to_generate = 1; | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| if (const ::google::protobuf::RepeatedPtrField<::std::string>& f = this_._impl_.file_to_generate_; | |
| !f.empty()) { | |
| total_size += 1 * ::google::protobuf::internal::FromIntSize(f.size()); | |
| for (const auto& v : f) { | |
| total_size += ::google::protobuf::internal::WireFormatLite::StringSize(v); | |
| } | |
| } | |
| } | |
| // repeated .google.protobuf.FileDescriptorProto proto_file = 15; | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| total_size += 1UL * this_._internal_proto_file_size(); | |
| for (const auto& msg : this_._internal_proto_file()) { | |
| total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); | |
| } | |
| } | |
| // optional string parameter = 2; | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( | |
| this_._internal_parameter()); | |
| } | |
| // optional .google.protobuf.compiler.Version compiler_version = 3; | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| total_size += | |
| 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.compiler_version_); | |
| } | |
| // repeated .google.protobuf.FileDescriptorProto source_file_descriptors = 17; | |
| if (CheckHasBit(cached_has_bits, 0x00000010U)) { | |
| total_size += 2UL * this_._internal_source_file_descriptors_size(); | |
| for (const auto& msg : this_._internal_source_file_descriptors()) { | |
| total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); | |
| } | |
| } | |
| } | |
| return this_.MaybeComputeUnknownFieldsSize(total_size, | |
| &this_._impl_._cached_size_); | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| ::size_t CodeGeneratorRequest::ByteSizeLong() const { return ByteSizeLong(*this); } | |
| #endif // !PROTOBUF_CUSTOM_VTABLE | |
| void CodeGeneratorRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, | |
| const ::google::protobuf::MessageLite& from_msg) { | |
| CodeGeneratorRequest& this_ = static_cast<CodeGeneratorRequest&>(to_msg); | |
| auto& from = static_cast<const CodeGeneratorRequest&>(from_msg); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| from.CheckHasBitConsistency(); | |
| } | |
| ::google::protobuf::Arena* arena = this_.GetArena(); | |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.compiler.CodeGeneratorRequest) | |
| ABSL_DCHECK_NE(&from, &this_); | |
| ::uint32_t cached_has_bits = 0; | |
| (void)cached_has_bits; | |
| cached_has_bits = from._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| this_._internal_mutable_file_to_generate()->InternalMergeFromWithArena( | |
| ::google::protobuf::MessageLite::internal_visibility(), arena, | |
| from._internal_file_to_generate()); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| this_._internal_mutable_proto_file()->InternalMergeFromWithArena( | |
| ::google::protobuf::MessageLite::internal_visibility(), arena, | |
| from._internal_proto_file()); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| this_._internal_set_parameter(from._internal_parameter()); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| ABSL_DCHECK(from._impl_.compiler_version_ != nullptr); | |
| { | |
| auto*& sub = this_._impl_.compiler_version_; | |
| if (sub == nullptr) { | |
| sub = Super_::CopyConstruct(arena, *from._impl_.compiler_version_); | |
| } else { | |
| sub->MergeFrom(*from._impl_.compiler_version_); | |
| } | |
| } | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000010U)) { | |
| this_._internal_mutable_source_file_descriptors()->InternalMergeFromWithArena( | |
| ::google::protobuf::MessageLite::internal_visibility(), arena, | |
| from._internal_source_file_descriptors()); | |
| } | |
| } | |
| this_._impl_._has_bits_[0] |= cached_has_bits; | |
| this_._internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( | |
| from._internal_metadata_); | |
| } | |
| void CodeGeneratorRequest::CopyFrom(const CodeGeneratorRequest& from) { | |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.compiler.CodeGeneratorRequest) | |
| if (&from == this) return; | |
| Clear(); | |
| MergeFrom(from); | |
| } | |
| PROTOBUF_NOINLINE bool CodeGeneratorRequest::IsInitializedImpl( | |
| const MessageLite& msg) { | |
| auto& this_ = static_cast<const CodeGeneratorRequest&>(msg); | |
| if (!::google::protobuf::internal::AllAreInitialized(this_._internal_proto_file())) | |
| return false; | |
| if (!::google::protobuf::internal::AllAreInitialized(this_._internal_source_file_descriptors())) | |
| return false; | |
| return true; | |
| } | |
| void CodeGeneratorRequest::InternalSwap(CodeGeneratorRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { | |
| using ::std::swap; | |
| auto* arena = GetArena(); | |
| ABSL_DCHECK_EQ(arena, other->GetArena()); | |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); | |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); | |
| _impl_.file_to_generate_.InternalSwap(&other->_impl_.file_to_generate_); | |
| _impl_.proto_file_.InternalSwap(&other->_impl_.proto_file_); | |
| ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.parameter_, &other->_impl_.parameter_, arena); | |
| swap(_impl_.compiler_version_, other->_impl_.compiler_version_); | |
| _impl_.source_file_descriptors_.InternalSwap(&other->_impl_.source_file_descriptors_); | |
| } | |
| ::google::protobuf::Metadata CodeGeneratorRequest::GetMetadata() const { | |
| return Super_::GetMetadataImpl(CodeGeneratorRequest_globals_.class_data); | |
| } | |
| // =================================================================== | |
| void CodeGeneratorResponse_File::clear_generated_code_info() { | |
| ::google::protobuf::internal::TSanWrite(&_impl_); | |
| if (_impl_.generated_code_info_ != nullptr) _impl_.generated_code_info_->Clear(); | |
| ClearHasBit(_impl_._has_bits_[0], 0x00000008U); | |
| } | |
| CodeGeneratorResponse_File::CodeGeneratorResponse_File(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| : Super_(arena, &CodeGeneratorResponse_File_globals_.class_data) { | |
| #else // PROTOBUF_CUSTOM_VTABLE | |
| : Super_(arena) { | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| SharedCtor(arena); | |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.compiler.CodeGeneratorResponse.File) | |
| } | |
| PROTOBUF_NDEBUG_INLINE CodeGeneratorResponse_File::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, | |
| [[maybe_unused]] const ::google::protobuf::compiler::CodeGeneratorResponse_File& from_msg) | |
| : _has_bits_{from._has_bits_}, | |
| name_(arena, from.name_), | |
| insertion_point_(arena, from.insertion_point_), | |
| content_(arena, from.content_) {} | |
| CodeGeneratorResponse_File::CodeGeneratorResponse_File( | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, | |
| const CodeGeneratorResponse_File& from) | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| : Super_(arena, &CodeGeneratorResponse_File_globals_.class_data) { | |
| #else // PROTOBUF_CUSTOM_VTABLE | |
| : Super_(arena) { | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| CodeGeneratorResponse_File& this_ [[maybe_unused]] = *this; | |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( | |
| from._internal_metadata_); | |
| new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); | |
| ::uint32_t cached_has_bits = _impl_._has_bits_[0]; | |
| _impl_.generated_code_info_ = (CheckHasBit(cached_has_bits, 0x00000008U)) | |
| ? Super_::CopyConstruct(arena, *from._impl_.generated_code_info_) | |
| : nullptr; | |
| // @@protoc_insertion_point(copy_constructor:google.protobuf.compiler.CodeGeneratorResponse.File) | |
| } | |
| PROTOBUF_NDEBUG_INLINE CodeGeneratorResponse_File::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) | |
| : name_(arena), | |
| insertion_point_(arena), | |
| content_(arena) {} | |
| inline void CodeGeneratorResponse_File::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { | |
| new (&_impl_) Impl_(internal_visibility(), arena); | |
| _impl_.generated_code_info_ = {}; | |
| } | |
| CodeGeneratorResponse_File::~CodeGeneratorResponse_File() { | |
| // @@protoc_insertion_point(destructor:google.protobuf.compiler.CodeGeneratorResponse.File) | |
| SharedDtor(*this); | |
| } | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE void CodeGeneratorResponse_File::SharedDtor( | |
| MessageLite& self) { | |
| CodeGeneratorResponse_File& this_ = static_cast<CodeGeneratorResponse_File&>(self); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| this_.CheckHasBitConsistency(); | |
| } | |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); | |
| ABSL_DCHECK(!::_pbi::HasArena(this_)); | |
| this_._impl_.name_.Destroy(); | |
| this_._impl_.insertion_point_.Destroy(); | |
| this_._impl_.content_.Destroy(); | |
| delete this_._impl_.generated_code_info_; | |
| this_._impl_.~Impl_(); | |
| } | |
| PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL | |
| CodeGeneratorResponse_File::GetClassData() const { | |
| ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_File_globals_); | |
| ::google::protobuf::internal::PrefetchToLocalCache( | |
| ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&CodeGeneratorResponse_File_globals_)); | |
| return &CodeGeneratorResponse_File_globals_.class_data; | |
| } | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| void CodeGeneratorResponse_File::Clear(MessageLite& base) { | |
| CodeGeneratorResponse_File& this_ = static_cast<CodeGeneratorResponse_File&>(base); | |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.compiler.CodeGeneratorResponse.File) | |
| ::google::protobuf::internal::TSanWrite(&this_._impl_); | |
| ::uint32_t cached_has_bits [[maybe_unused]] = 0; | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| this_._impl_.name_.ClearNonDefaultToEmpty(); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| this_._impl_.insertion_point_.ClearNonDefaultToEmpty(); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| this_._impl_.content_.ClearNonDefaultToEmpty(); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| ABSL_DCHECK(this_._impl_.generated_code_info_ != nullptr); | |
| this_._impl_.generated_code_info_->Clear(); | |
| } | |
| } | |
| this_._impl_._has_bits_.Clear(); | |
| this_._internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| PROTOBUF_NOINLINE void CodeGeneratorResponse_File::Clear() { Clear(*this); } | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| ::uint8_t* PROTOBUF_NULLABLE CodeGeneratorResponse_File::_InternalSerialize( | |
| const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NULLABLE target, | |
| ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { | |
| const CodeGeneratorResponse_File& this_ = static_cast<const CodeGeneratorResponse_File&>(base); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| this_.CheckHasBitConsistency(); | |
| } | |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorResponse.File) | |
| ::uint32_t cached_has_bits = 0; | |
| (void)cached_has_bits; | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| // optional string name = 1; | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| const ::std::string& _s = this_._internal_name(); | |
| target = stream->WriteStringMaybeAliased(1, _s, target); | |
| } | |
| // optional string insertion_point = 2; | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| const ::std::string& _s = this_._internal_insertion_point(); | |
| target = stream->WriteStringMaybeAliased(2, _s, target); | |
| } | |
| // optional string content = 15; | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| const ::std::string& _s = this_._internal_content(); | |
| target = stream->WriteStringMaybeAliased(15, _s, target); | |
| } | |
| // optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16; | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| { | |
| auto* sub = this_._impl_.generated_code_info_; | |
| target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( | |
| 16, *sub, sub->GetCachedSize(), target, stream); | |
| } | |
| } | |
| } | |
| if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { | |
| target = | |
| ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( | |
| this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); | |
| } | |
| // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.compiler.CodeGeneratorResponse.File) | |
| return target; | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| ::uint8_t* PROTOBUF_NULLABLE CodeGeneratorResponse_File::_InternalSerialize( | |
| ::uint8_t* PROTOBUF_NULLABLE target, | |
| ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { | |
| return _InternalSerialize(*this, target, stream); | |
| } | |
| #endif // !PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| ::size_t CodeGeneratorResponse_File::ByteSizeLong(const MessageLite& base) { | |
| const CodeGeneratorResponse_File& this_ = static_cast<const CodeGeneratorResponse_File&>(base); | |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.compiler.CodeGeneratorResponse.File) | |
| ::size_t total_size = 0; | |
| ::uint32_t cached_has_bits [[maybe_unused]] = 0; | |
| ::_pbi::Prefetch5LinesFrom7Lines(&this_); | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| // optional string name = 1; | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( | |
| this_._internal_name()); | |
| } | |
| // optional string insertion_point = 2; | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( | |
| this_._internal_insertion_point()); | |
| } | |
| // optional string content = 15; | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( | |
| this_._internal_content()); | |
| } | |
| // optional .google.protobuf.GeneratedCodeInfo generated_code_info = 16; | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| total_size += | |
| 2 + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.generated_code_info_); | |
| } | |
| } | |
| return this_.MaybeComputeUnknownFieldsSize(total_size, | |
| &this_._impl_._cached_size_); | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| ::size_t CodeGeneratorResponse_File::ByteSizeLong() const { return ByteSizeLong(*this); } | |
| #endif // !PROTOBUF_CUSTOM_VTABLE | |
| void CodeGeneratorResponse_File::MergeImpl(::google::protobuf::MessageLite& to_msg, | |
| const ::google::protobuf::MessageLite& from_msg) { | |
| CodeGeneratorResponse_File& this_ = static_cast<CodeGeneratorResponse_File&>(to_msg); | |
| auto& from = static_cast<const CodeGeneratorResponse_File&>(from_msg); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| from.CheckHasBitConsistency(); | |
| } | |
| ::google::protobuf::Arena* arena = this_.GetArena(); | |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.compiler.CodeGeneratorResponse.File) | |
| ABSL_DCHECK_NE(&from, &this_); | |
| ::uint32_t cached_has_bits = 0; | |
| (void)cached_has_bits; | |
| cached_has_bits = from._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| this_._internal_set_name(from._internal_name()); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| this_._internal_set_insertion_point(from._internal_insertion_point()); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| this_._internal_set_content(from._internal_content()); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| ABSL_DCHECK(from._impl_.generated_code_info_ != nullptr); | |
| { | |
| auto*& sub = this_._impl_.generated_code_info_; | |
| if (sub == nullptr) { | |
| sub = Super_::CopyConstruct(arena, *from._impl_.generated_code_info_); | |
| } else { | |
| sub->MergeFrom(*from._impl_.generated_code_info_); | |
| } | |
| } | |
| } | |
| } | |
| this_._impl_._has_bits_[0] |= cached_has_bits; | |
| this_._internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( | |
| from._internal_metadata_); | |
| } | |
| void CodeGeneratorResponse_File::CopyFrom(const CodeGeneratorResponse_File& from) { | |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.compiler.CodeGeneratorResponse.File) | |
| if (&from == this) return; | |
| Clear(); | |
| MergeFrom(from); | |
| } | |
| void CodeGeneratorResponse_File::InternalSwap(CodeGeneratorResponse_File* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { | |
| using ::std::swap; | |
| auto* arena = GetArena(); | |
| ABSL_DCHECK_EQ(arena, other->GetArena()); | |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); | |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); | |
| ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); | |
| ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.insertion_point_, &other->_impl_.insertion_point_, arena); | |
| ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.content_, &other->_impl_.content_, arena); | |
| swap(_impl_.generated_code_info_, other->_impl_.generated_code_info_); | |
| } | |
| ::google::protobuf::Metadata CodeGeneratorResponse_File::GetMetadata() const { | |
| return Super_::GetMetadataImpl(CodeGeneratorResponse_File_globals_.class_data); | |
| } | |
| // =================================================================== | |
| CodeGeneratorResponse::CodeGeneratorResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| : Super_(arena, &CodeGeneratorResponse_globals_.class_data) { | |
| #else // PROTOBUF_CUSTOM_VTABLE | |
| : Super_(arena) { | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| SharedCtor(arena); | |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.compiler.CodeGeneratorResponse) | |
| } | |
| PROTOBUF_NDEBUG_INLINE CodeGeneratorResponse::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from, | |
| [[maybe_unused]] const ::google::protobuf::compiler::CodeGeneratorResponse& from_msg) | |
| : _has_bits_{from._has_bits_}, | |
| file_ { | |
| visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorResponse, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse, _impl_.file_)>() | |
| , arena, from.file_ | |
| } | |
| , | |
| error_(arena, from.error_) {} | |
| CodeGeneratorResponse::CodeGeneratorResponse( | |
| ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, | |
| const CodeGeneratorResponse& from) | |
| #if defined(PROTOBUF_CUSTOM_VTABLE) | |
| : Super_(arena, &CodeGeneratorResponse_globals_.class_data) { | |
| #else // PROTOBUF_CUSTOM_VTABLE | |
| : Super_(arena) { | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| CodeGeneratorResponse& this_ [[maybe_unused]] = *this; | |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( | |
| from._internal_metadata_); | |
| new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); | |
| ::memcpy(reinterpret_cast<char*>(&_impl_) + | |
| offsetof(Impl_, supported_features_), | |
| reinterpret_cast<const char*>(&from._impl_) + | |
| offsetof(Impl_, supported_features_), | |
| offsetof(Impl_, maximum_edition_) - | |
| offsetof(Impl_, supported_features_) + | |
| sizeof(Impl_::maximum_edition_)); | |
| // @@protoc_insertion_point(copy_constructor:google.protobuf.compiler.CodeGeneratorResponse) | |
| } | |
| PROTOBUF_NDEBUG_INLINE CodeGeneratorResponse::Impl_::Impl_( | |
| [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility, | |
| [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) | |
| : file_ { visibility, ::_pbi::InternalMetadataOffset::Build< | |
| ::google::protobuf::compiler::CodeGeneratorResponse, | |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::compiler::CodeGeneratorResponse, _impl_.file_)>() | |
| } | |
| , | |
| error_(arena) {} | |
| inline void CodeGeneratorResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) { | |
| new (&_impl_) Impl_(internal_visibility(), arena); | |
| ::memset(reinterpret_cast<char*>(&_impl_) + | |
| offsetof(Impl_, supported_features_), | |
| 0, | |
| offsetof(Impl_, maximum_edition_) - | |
| offsetof(Impl_, supported_features_) + | |
| sizeof(Impl_::maximum_edition_)); | |
| } | |
| CodeGeneratorResponse::~CodeGeneratorResponse() { | |
| // @@protoc_insertion_point(destructor:google.protobuf.compiler.CodeGeneratorResponse) | |
| SharedDtor(*this); | |
| } | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE void CodeGeneratorResponse::SharedDtor( | |
| MessageLite& self) { | |
| CodeGeneratorResponse& this_ = static_cast<CodeGeneratorResponse&>(self); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| this_.CheckHasBitConsistency(); | |
| } | |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); | |
| ABSL_DCHECK(!::_pbi::HasArena(this_)); | |
| this_._impl_.error_.Destroy(); | |
| this_._impl_.~Impl_(); | |
| } | |
| PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL | |
| CodeGeneratorResponse::GetClassData() const { | |
| ::google::protobuf::internal::PrefetchToLocalCache(&CodeGeneratorResponse_globals_); | |
| ::google::protobuf::internal::PrefetchToLocalCache( | |
| ::google::protobuf::internal::MessageGlobalsBase::ToParseTableBase(&CodeGeneratorResponse_globals_)); | |
| return &CodeGeneratorResponse_globals_.class_data; | |
| } | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| void CodeGeneratorResponse::Clear(MessageLite& base) { | |
| CodeGeneratorResponse& this_ = static_cast<CodeGeneratorResponse&>(base); | |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.compiler.CodeGeneratorResponse) | |
| ::google::protobuf::internal::TSanWrite(&this_._impl_); | |
| ::uint32_t cached_has_bits [[maybe_unused]] = 0; | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) { | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| this_._impl_.file_.Clear(); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| this_._impl_.error_.ClearNonDefaultToEmpty(); | |
| } | |
| } | |
| if (BatchCheckHasBit(cached_has_bits, 0x0000001cU)) { | |
| ::memset(&this_._impl_.supported_features_, 0, | |
| static_cast<::size_t>( | |
| reinterpret_cast<char*>(&this_._impl_.maximum_edition_) - | |
| reinterpret_cast<char*>(&this_._impl_.supported_features_)) + | |
| sizeof(_impl_.maximum_edition_)); | |
| } | |
| this_._impl_._has_bits_.Clear(); | |
| this_._internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| PROTOBUF_NOINLINE void CodeGeneratorResponse::Clear() { Clear(*this); } | |
| #endif // PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| ::uint8_t* PROTOBUF_NULLABLE CodeGeneratorResponse::_InternalSerialize( | |
| const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NULLABLE target, | |
| ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) { | |
| const CodeGeneratorResponse& this_ = static_cast<const CodeGeneratorResponse&>(base); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| this_.CheckHasBitConsistency(); | |
| } | |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorResponse) | |
| ::uint32_t cached_has_bits = 0; | |
| (void)cached_has_bits; | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| // optional string error = 1; | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| const ::std::string& _s = this_._internal_error(); | |
| target = stream->WriteStringMaybeAliased(1, _s, target); | |
| } | |
| // optional uint64 supported_features = 2; | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| target = stream->EnsureSpace(target); | |
| target = ::_pbi::WireFormatLite::WriteUInt64ToArray( | |
| 2, this_._internal_supported_features(), target); | |
| } | |
| // optional int32 minimum_edition = 3; | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| target = | |
| ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>( | |
| stream, this_._internal_minimum_edition(), target); | |
| } | |
| // optional int32 maximum_edition = 4; | |
| if (CheckHasBit(cached_has_bits, 0x00000010U)) { | |
| target = | |
| ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<4>( | |
| stream, this_._internal_maximum_edition(), target); | |
| } | |
| // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| for (const auto& sub : this_._impl_.file_) { | |
| target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( | |
| 15, sub, sub.GetCachedSize(), target, stream); | |
| } | |
| } | |
| } | |
| if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { | |
| target = | |
| ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( | |
| this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); | |
| } | |
| // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.compiler.CodeGeneratorResponse) | |
| return target; | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| ::uint8_t* PROTOBUF_NULLABLE CodeGeneratorResponse::_InternalSerialize( | |
| ::uint8_t* PROTOBUF_NULLABLE target, | |
| ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const { | |
| return _InternalSerialize(*this, target, stream); | |
| } | |
| #endif // !PROTOBUF_CUSTOM_VTABLE | |
| PROTOBUF_NO_CUSTOM_VTABLE_INLINE | |
| ::size_t CodeGeneratorResponse::ByteSizeLong(const MessageLite& base) { | |
| const CodeGeneratorResponse& this_ = static_cast<const CodeGeneratorResponse&>(base); | |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.compiler.CodeGeneratorResponse) | |
| ::size_t total_size = 0; | |
| ::uint32_t cached_has_bits [[maybe_unused]] = 0; | |
| ::_pbi::Prefetch5LinesFrom7Lines(&this_); | |
| cached_has_bits = this_._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| // repeated .google.protobuf.compiler.CodeGeneratorResponse.File file = 15; | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| total_size += 1UL * this_._internal_file_size(); | |
| for (const auto& msg : this_._internal_file()) { | |
| total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); | |
| } | |
| } | |
| // optional string error = 1; | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( | |
| this_._internal_error()); | |
| } | |
| // optional uint64 supported_features = 2; | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( | |
| this_._internal_supported_features()); | |
| } | |
| // optional int32 minimum_edition = 3; | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( | |
| this_._internal_minimum_edition()); | |
| } | |
| // optional int32 maximum_edition = 4; | |
| if (CheckHasBit(cached_has_bits, 0x00000010U)) { | |
| total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( | |
| this_._internal_maximum_edition()); | |
| } | |
| } | |
| return this_.MaybeComputeUnknownFieldsSize(total_size, | |
| &this_._impl_._cached_size_); | |
| } | |
| #if !defined(PROTOBUF_CUSTOM_VTABLE) | |
| ::size_t CodeGeneratorResponse::ByteSizeLong() const { return ByteSizeLong(*this); } | |
| #endif // !PROTOBUF_CUSTOM_VTABLE | |
| void CodeGeneratorResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, | |
| const ::google::protobuf::MessageLite& from_msg) { | |
| CodeGeneratorResponse& this_ = static_cast<CodeGeneratorResponse&>(to_msg); | |
| auto& from = static_cast<const CodeGeneratorResponse&>(from_msg); | |
| if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) { | |
| from.CheckHasBitConsistency(); | |
| } | |
| ::google::protobuf::Arena* arena = this_.GetArena(); | |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.compiler.CodeGeneratorResponse) | |
| ABSL_DCHECK_NE(&from, &this_); | |
| ::uint32_t cached_has_bits = 0; | |
| (void)cached_has_bits; | |
| cached_has_bits = from._impl_._has_bits_[0]; | |
| if (BatchCheckHasBit(cached_has_bits, 0xffffffffU)) { | |
| if (CheckHasBit(cached_has_bits, 0x00000001U)) { | |
| this_._internal_mutable_file()->InternalMergeFromWithArena( | |
| ::google::protobuf::MessageLite::internal_visibility(), arena, | |
| from._internal_file()); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000002U)) { | |
| this_._internal_set_error(from._internal_error()); | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000004U)) { | |
| this_._impl_.supported_features_ = from._impl_.supported_features_; | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000008U)) { | |
| this_._impl_.minimum_edition_ = from._impl_.minimum_edition_; | |
| } | |
| if (CheckHasBit(cached_has_bits, 0x00000010U)) { | |
| this_._impl_.maximum_edition_ = from._impl_.maximum_edition_; | |
| } | |
| } | |
| this_._impl_._has_bits_[0] |= cached_has_bits; | |
| this_._internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( | |
| from._internal_metadata_); | |
| } | |
| void CodeGeneratorResponse::CopyFrom(const CodeGeneratorResponse& from) { | |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.compiler.CodeGeneratorResponse) | |
| if (&from == this) return; | |
| Clear(); | |
| MergeFrom(from); | |
| } | |
| void CodeGeneratorResponse::InternalSwap(CodeGeneratorResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) { | |
| using ::std::swap; | |
| auto* arena = GetArena(); | |
| ABSL_DCHECK_EQ(arena, other->GetArena()); | |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); | |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); | |
| _impl_.file_.InternalSwap(&other->_impl_.file_); | |
| ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.error_, &other->_impl_.error_, arena); | |
| ::google::protobuf::internal::memswap< | |
| PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.maximum_edition_) | |
| + sizeof(CodeGeneratorResponse::_impl_.maximum_edition_) | |
| - PROTOBUF_FIELD_OFFSET(CodeGeneratorResponse, _impl_.supported_features_)>( | |
| reinterpret_cast<char*>(&_impl_.supported_features_), | |
| reinterpret_cast<char*>(&other->_impl_.supported_features_)); | |
| } | |
| ::google::protobuf::Metadata CodeGeneratorResponse::GetMetadata() const { | |
| return Super_::GetMetadataImpl(CodeGeneratorResponse_globals_.class_data); | |
| } | |
| // @@protoc_insertion_point(namespace_scope) | |
| } // namespace compiler | |
| } // namespace protobuf | |
| } // namespace google | |
| namespace google { | |
| namespace protobuf { | |
| } // namespace protobuf | |
| } // namespace google | |
| // @@protoc_insertion_point(global_scope) | |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type | |
| _static_init2_ [[maybe_unused]] = | |
| (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fcompiler_2fplugin_2eproto), | |
| ::std::false_type{}); | |
| #include "google/protobuf/port_undef.inc" | |
| // clang-format on |