| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // NO CHECKED-IN PROTOBUF GENCODE |
| // source: google/protobuf/wrappers.proto |
| // Protobuf C++ Version: 5.30.0-dev |
| |
| #include "google/protobuf/wrappers.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/extension_set.h" |
| #include "google/protobuf/generated_message_util.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; |
| namespace google { |
| namespace protobuf { |
| |
| inline constexpr UInt64Value::Impl_::Impl_( |
| ::_pbi::ConstantInitialized) noexcept |
| : _cached_size_{0}, |
| value_{::uint64_t{0u}} {} |
| |
| template <typename> |
| PROTOBUF_CONSTEXPR UInt64Value::UInt64Value(::_pbi::ConstantInitialized) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(UInt64Value_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(::_pbi::ConstantInitialized()) { |
| } |
| struct UInt64ValueDefaultTypeInternal { |
| PROTOBUF_CONSTEXPR UInt64ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
| ~UInt64ValueDefaultTypeInternal() {} |
| union { |
| UInt64Value _instance; |
| }; |
| }; |
| |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_; |
| |
| inline constexpr UInt32Value::Impl_::Impl_( |
| ::_pbi::ConstantInitialized) noexcept |
| : _cached_size_{0}, |
| value_{0u} {} |
| |
| template <typename> |
| PROTOBUF_CONSTEXPR UInt32Value::UInt32Value(::_pbi::ConstantInitialized) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(UInt32Value_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(::_pbi::ConstantInitialized()) { |
| } |
| struct UInt32ValueDefaultTypeInternal { |
| PROTOBUF_CONSTEXPR UInt32ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
| ~UInt32ValueDefaultTypeInternal() {} |
| union { |
| UInt32Value _instance; |
| }; |
| }; |
| |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_; |
| |
| inline constexpr StringValue::Impl_::Impl_( |
| ::_pbi::ConstantInitialized) noexcept |
| : _cached_size_{0}, |
| value_( |
| &::google::protobuf::internal::fixed_address_empty_string, |
| ::_pbi::ConstantInitialized()) {} |
| |
| template <typename> |
| PROTOBUF_CONSTEXPR StringValue::StringValue(::_pbi::ConstantInitialized) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(StringValue_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(::_pbi::ConstantInitialized()) { |
| } |
| struct StringValueDefaultTypeInternal { |
| PROTOBUF_CONSTEXPR StringValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
| ~StringValueDefaultTypeInternal() {} |
| union { |
| StringValue _instance; |
| }; |
| }; |
| |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StringValueDefaultTypeInternal _StringValue_default_instance_; |
| |
| inline constexpr Int64Value::Impl_::Impl_( |
| ::_pbi::ConstantInitialized) noexcept |
| : _cached_size_{0}, |
| value_{::int64_t{0}} {} |
| |
| template <typename> |
| PROTOBUF_CONSTEXPR Int64Value::Int64Value(::_pbi::ConstantInitialized) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(Int64Value_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(::_pbi::ConstantInitialized()) { |
| } |
| struct Int64ValueDefaultTypeInternal { |
| PROTOBUF_CONSTEXPR Int64ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
| ~Int64ValueDefaultTypeInternal() {} |
| union { |
| Int64Value _instance; |
| }; |
| }; |
| |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int64ValueDefaultTypeInternal _Int64Value_default_instance_; |
| |
| inline constexpr Int32Value::Impl_::Impl_( |
| ::_pbi::ConstantInitialized) noexcept |
| : _cached_size_{0}, |
| value_{0} {} |
| |
| template <typename> |
| PROTOBUF_CONSTEXPR Int32Value::Int32Value(::_pbi::ConstantInitialized) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(Int32Value_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(::_pbi::ConstantInitialized()) { |
| } |
| struct Int32ValueDefaultTypeInternal { |
| PROTOBUF_CONSTEXPR Int32ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
| ~Int32ValueDefaultTypeInternal() {} |
| union { |
| Int32Value _instance; |
| }; |
| }; |
| |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int32ValueDefaultTypeInternal _Int32Value_default_instance_; |
| |
| inline constexpr FloatValue::Impl_::Impl_( |
| ::_pbi::ConstantInitialized) noexcept |
| : _cached_size_{0}, |
| value_{0} {} |
| |
| template <typename> |
| PROTOBUF_CONSTEXPR FloatValue::FloatValue(::_pbi::ConstantInitialized) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(FloatValue_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(::_pbi::ConstantInitialized()) { |
| } |
| struct FloatValueDefaultTypeInternal { |
| PROTOBUF_CONSTEXPR FloatValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
| ~FloatValueDefaultTypeInternal() {} |
| union { |
| FloatValue _instance; |
| }; |
| }; |
| |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FloatValueDefaultTypeInternal _FloatValue_default_instance_; |
| |
| inline constexpr DoubleValue::Impl_::Impl_( |
| ::_pbi::ConstantInitialized) noexcept |
| : _cached_size_{0}, |
| value_{0} {} |
| |
| template <typename> |
| PROTOBUF_CONSTEXPR DoubleValue::DoubleValue(::_pbi::ConstantInitialized) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(DoubleValue_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(::_pbi::ConstantInitialized()) { |
| } |
| struct DoubleValueDefaultTypeInternal { |
| PROTOBUF_CONSTEXPR DoubleValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
| ~DoubleValueDefaultTypeInternal() {} |
| union { |
| DoubleValue _instance; |
| }; |
| }; |
| |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoubleValueDefaultTypeInternal _DoubleValue_default_instance_; |
| |
| inline constexpr BytesValue::Impl_::Impl_( |
| ::_pbi::ConstantInitialized) noexcept |
| : _cached_size_{0}, |
| value_( |
| &::google::protobuf::internal::fixed_address_empty_string, |
| ::_pbi::ConstantInitialized()) {} |
| |
| template <typename> |
| PROTOBUF_CONSTEXPR BytesValue::BytesValue(::_pbi::ConstantInitialized) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(BytesValue_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(::_pbi::ConstantInitialized()) { |
| } |
| struct BytesValueDefaultTypeInternal { |
| PROTOBUF_CONSTEXPR BytesValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
| ~BytesValueDefaultTypeInternal() {} |
| union { |
| BytesValue _instance; |
| }; |
| }; |
| |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BytesValueDefaultTypeInternal _BytesValue_default_instance_; |
| |
| inline constexpr BoolValue::Impl_::Impl_( |
| ::_pbi::ConstantInitialized) noexcept |
| : _cached_size_{0}, |
| value_{false} {} |
| |
| template <typename> |
| PROTOBUF_CONSTEXPR BoolValue::BoolValue(::_pbi::ConstantInitialized) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(BoolValue_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(::_pbi::ConstantInitialized()) { |
| } |
| struct BoolValueDefaultTypeInternal { |
| PROTOBUF_CONSTEXPR BoolValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
| ~BoolValueDefaultTypeInternal() {} |
| union { |
| BoolValue _instance; |
| }; |
| }; |
| |
| PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolValueDefaultTypeInternal _BoolValue_default_instance_; |
| } // namespace protobuf |
| } // namespace google |
| static constexpr const ::_pb::EnumDescriptor** |
| file_level_enum_descriptors_google_2fprotobuf_2fwrappers_2eproto = nullptr; |
| static constexpr const ::_pb::ServiceDescriptor** |
| file_level_service_descriptors_google_2fprotobuf_2fwrappers_2eproto = nullptr; |
| const ::uint32_t |
| TableStruct_google_2fprotobuf_2fwrappers_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( |
| protodesc_cold) = { |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::DoubleValue, _impl_._has_bits_), |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::DoubleValue, _internal_metadata_), |
| ~0u, // no _extensions_ |
| ~0u, // no _oneof_case_ |
| ~0u, // no _weak_field_map_ |
| ~0u, // no _inlined_string_donated_ |
| ~0u, // no _split_ |
| ~0u, // no sizeof(Split) |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::DoubleValue, _impl_.value_), |
| 0, |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::FloatValue, _impl_._has_bits_), |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::FloatValue, _internal_metadata_), |
| ~0u, // no _extensions_ |
| ~0u, // no _oneof_case_ |
| ~0u, // no _weak_field_map_ |
| ~0u, // no _inlined_string_donated_ |
| ~0u, // no _split_ |
| ~0u, // no sizeof(Split) |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::FloatValue, _impl_.value_), |
| 0, |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::Int64Value, _impl_._has_bits_), |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::Int64Value, _internal_metadata_), |
| ~0u, // no _extensions_ |
| ~0u, // no _oneof_case_ |
| ~0u, // no _weak_field_map_ |
| ~0u, // no _inlined_string_donated_ |
| ~0u, // no _split_ |
| ~0u, // no sizeof(Split) |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::Int64Value, _impl_.value_), |
| 0, |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt64Value, _impl_._has_bits_), |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt64Value, _internal_metadata_), |
| ~0u, // no _extensions_ |
| ~0u, // no _oneof_case_ |
| ~0u, // no _weak_field_map_ |
| ~0u, // no _inlined_string_donated_ |
| ~0u, // no _split_ |
| ~0u, // no sizeof(Split) |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt64Value, _impl_.value_), |
| 0, |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::Int32Value, _impl_._has_bits_), |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::Int32Value, _internal_metadata_), |
| ~0u, // no _extensions_ |
| ~0u, // no _oneof_case_ |
| ~0u, // no _weak_field_map_ |
| ~0u, // no _inlined_string_donated_ |
| ~0u, // no _split_ |
| ~0u, // no sizeof(Split) |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::Int32Value, _impl_.value_), |
| 0, |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt32Value, _impl_._has_bits_), |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt32Value, _internal_metadata_), |
| ~0u, // no _extensions_ |
| ~0u, // no _oneof_case_ |
| ~0u, // no _weak_field_map_ |
| ~0u, // no _inlined_string_donated_ |
| ~0u, // no _split_ |
| ~0u, // no sizeof(Split) |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt32Value, _impl_.value_), |
| 0, |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::BoolValue, _impl_._has_bits_), |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::BoolValue, _internal_metadata_), |
| ~0u, // no _extensions_ |
| ~0u, // no _oneof_case_ |
| ~0u, // no _weak_field_map_ |
| ~0u, // no _inlined_string_donated_ |
| ~0u, // no _split_ |
| ~0u, // no sizeof(Split) |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::BoolValue, _impl_.value_), |
| 0, |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::StringValue, _impl_._has_bits_), |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::StringValue, _internal_metadata_), |
| ~0u, // no _extensions_ |
| ~0u, // no _oneof_case_ |
| ~0u, // no _weak_field_map_ |
| ~0u, // no _inlined_string_donated_ |
| ~0u, // no _split_ |
| ~0u, // no sizeof(Split) |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::StringValue, _impl_.value_), |
| 0, |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::BytesValue, _impl_._has_bits_), |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::BytesValue, _internal_metadata_), |
| ~0u, // no _extensions_ |
| ~0u, // no _oneof_case_ |
| ~0u, // no _weak_field_map_ |
| ~0u, // no _inlined_string_donated_ |
| ~0u, // no _split_ |
| ~0u, // no sizeof(Split) |
| PROTOBUF_FIELD_OFFSET(::google::protobuf::BytesValue, _impl_.value_), |
| 0, |
| }; |
| |
| static const ::_pbi::MigrationSchema |
| schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { |
| {0, 9, -1, sizeof(::google::protobuf::DoubleValue)}, |
| {10, 19, -1, sizeof(::google::protobuf::FloatValue)}, |
| {20, 29, -1, sizeof(::google::protobuf::Int64Value)}, |
| {30, 39, -1, sizeof(::google::protobuf::UInt64Value)}, |
| {40, 49, -1, sizeof(::google::protobuf::Int32Value)}, |
| {50, 59, -1, sizeof(::google::protobuf::UInt32Value)}, |
| {60, 69, -1, sizeof(::google::protobuf::BoolValue)}, |
| {70, 79, -1, sizeof(::google::protobuf::StringValue)}, |
| {80, 89, -1, sizeof(::google::protobuf::BytesValue)}, |
| }; |
| static const ::_pb::Message* const file_default_instances[] = { |
| &::google::protobuf::_DoubleValue_default_instance_._instance, |
| &::google::protobuf::_FloatValue_default_instance_._instance, |
| &::google::protobuf::_Int64Value_default_instance_._instance, |
| &::google::protobuf::_UInt64Value_default_instance_._instance, |
| &::google::protobuf::_Int32Value_default_instance_._instance, |
| &::google::protobuf::_UInt32Value_default_instance_._instance, |
| &::google::protobuf::_BoolValue_default_instance_._instance, |
| &::google::protobuf::_StringValue_default_instance_._instance, |
| &::google::protobuf::_BytesValue_default_instance_._instance, |
| }; |
| const char descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( |
| protodesc_cold) = { |
| "\n\036google/protobuf/wrappers.proto\022\017google" |
| ".protobuf\"\034\n\013DoubleValue\022\r\n\005value\030\001 \001(\001\"" |
| "\033\n\nFloatValue\022\r\n\005value\030\001 \001(\002\"\033\n\nInt64Val" |
| "ue\022\r\n\005value\030\001 \001(\003\"\034\n\013UInt64Value\022\r\n\005valu" |
| "e\030\001 \001(\004\"\033\n\nInt32Value\022\r\n\005value\030\001 \001(\005\"\034\n\013" |
| "UInt32Value\022\r\n\005value\030\001 \001(\r\"\032\n\tBoolValue\022" |
| "\r\n\005value\030\001 \001(\010\"\034\n\013StringValue\022\r\n\005value\030\001" |
| " \001(\t\"\033\n\nBytesValue\022\r\n\005value\030\001 \001(\014B\203\001\n\023co" |
| "m.google.protobufB\rWrappersProtoP\001Z1goog" |
| "le.golang.org/protobuf/types/known/wrapp" |
| "erspb\370\001\001\242\002\003GPB\252\002\036Google.Protobuf.WellKno" |
| "wnTypesb\006proto3" |
| }; |
| static ::absl::once_flag descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once; |
| PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fwrappers_2eproto = { |
| false, |
| false, |
| 455, |
| descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto, |
| "google/protobuf/wrappers.proto", |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once, |
| nullptr, |
| 0, |
| 9, |
| schemas, |
| file_default_instances, |
| TableStruct_google_2fprotobuf_2fwrappers_2eproto::offsets, |
| file_level_enum_descriptors_google_2fprotobuf_2fwrappers_2eproto, |
| file_level_service_descriptors_google_2fprotobuf_2fwrappers_2eproto, |
| }; |
| namespace google { |
| namespace protobuf { |
| // =================================================================== |
| |
| class DoubleValue::_Internal { |
| public: |
| using HasBits = |
| decltype(std::declval<DoubleValue>()._impl_._has_bits_); |
| static constexpr ::int32_t kHasBitsOffset = |
| 8 * PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_._has_bits_); |
| }; |
| |
| DoubleValue::DoubleValue(::google::protobuf::Arena* arena) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, DoubleValue_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| SharedCtor(arena); |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.DoubleValue) |
| } |
| DoubleValue::DoubleValue( |
| ::google::protobuf::Arena* arena, const DoubleValue& from) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, DoubleValue_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(from._impl_) { |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
| from._internal_metadata_); |
| } |
| PROTOBUF_NDEBUG_INLINE DoubleValue::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena) |
| : _cached_size_{0} {} |
| |
| inline void DoubleValue::SharedCtor(::_pb::Arena* arena) { |
| new (&_impl_) Impl_(internal_visibility(), arena); |
| _impl_.value_ = {}; |
| } |
| DoubleValue::~DoubleValue() { |
| // @@protoc_insertion_point(destructor:google.protobuf.DoubleValue) |
| SharedDtor(*this); |
| } |
| inline void DoubleValue::SharedDtor(MessageLite& self) { |
| DoubleValue& this_ = static_cast<DoubleValue&>(self); |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
| ABSL_DCHECK(this_.GetArena() == nullptr); |
| this_._impl_.~Impl_(); |
| } |
| |
| inline void* DoubleValue::PlacementNew_(const void*, void* mem, |
| ::google::protobuf::Arena* arena) { |
| return ::new (mem) DoubleValue(arena); |
| } |
| constexpr auto DoubleValue::InternalNewImpl_() { |
| return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DoubleValue), |
| alignof(DoubleValue)); |
| } |
| constexpr auto DoubleValue::InternalGenerateClassData_() { |
| return ::google::protobuf::internal::ClassDataFull{ |
| ::google::protobuf::internal::ClassData{ |
| &_DoubleValue_default_instance_._instance, |
| &_table_.header, |
| nullptr, // OnDemandRegisterArenaDtor |
| nullptr, // IsInitialized |
| &DoubleValue::MergeImpl, |
| ::google::protobuf::Message::GetNewImpl<DoubleValue>(), |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| &DoubleValue::SharedDtor, |
| ::google::protobuf::Message::GetClearImpl<DoubleValue>(), &DoubleValue::ByteSizeLong, |
| &DoubleValue::_InternalSerialize, |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_._cached_size_), |
| false, |
| }, |
| &DoubleValue::kDescriptorMethods, |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto, |
| nullptr, // tracker |
| }; |
| } |
| |
| PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull |
| DoubleValue_class_data_ = |
| DoubleValue::InternalGenerateClassData_(); |
| |
| const ::google::protobuf::internal::ClassData* DoubleValue::GetClassData() const { |
| ::google::protobuf::internal::PrefetchToLocalCache(&DoubleValue_class_data_); |
| ::google::protobuf::internal::PrefetchToLocalCache(DoubleValue_class_data_.tc_table); |
| return DoubleValue_class_data_.base(); |
| } |
| PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
| const ::_pbi::TcParseTable<0, 1, 0, 0, 2> DoubleValue::_table_ = { |
| { |
| PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_._has_bits_), |
| 0, // no _extensions_ |
| 1, 0, // max_field_number, fast_idx_mask |
| offsetof(decltype(_table_), field_lookup_table), |
| 4294967294, // skipmap |
| offsetof(decltype(_table_), field_entries), |
| 1, // num_field_entries |
| 0, // num_aux_entries |
| offsetof(decltype(_table_), field_names), // no aux_entries |
| DoubleValue_class_data_.base(), |
| nullptr, // post_loop_handler |
| ::_pbi::TcParser::GenericFallback, // fallback |
| #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
| ::_pbi::TcParser::GetTable<::google::protobuf::DoubleValue>(), // to_prefetch |
| #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
| }, {{ |
| // double value = 1; |
| {::_pbi::TcParser::FastF64S1, |
| {9, 0, 0, PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_.value_)}}, |
| }}, {{ |
| 65535, 65535 |
| }}, {{ |
| // double value = 1; |
| {PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, |
| (0 | ::_fl::kFcOptional | ::_fl::kDouble)}, |
| }}, |
| // no aux_entries |
| {{ |
| }}, |
| }; |
| |
| PROTOBUF_NOINLINE void DoubleValue::Clear() { |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.DoubleValue) |
| ::google::protobuf::internal::TSanWrite(&_impl_); |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| _impl_.value_ = 0; |
| _impl_._has_bits_.Clear(); |
| _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::uint8_t* DoubleValue::_InternalSerialize( |
| const MessageLite& base, ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) { |
| const DoubleValue& this_ = static_cast<const DoubleValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::uint8_t* DoubleValue::_InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
| const DoubleValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DoubleValue) |
| ::uint32_t cached_has_bits = 0; |
| (void)cached_has_bits; |
| |
| // double value = 1; |
| if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { |
| if (::absl::bit_cast<::uint64_t>(this_._internal_value()) != 0) { |
| target = stream->EnsureSpace(target); |
| target = ::_pbi::WireFormatLite::WriteDoubleToArray( |
| 1, this_._internal_value(), 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.DoubleValue) |
| return target; |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::size_t DoubleValue::ByteSizeLong(const MessageLite& base) { |
| const DoubleValue& this_ = static_cast<const DoubleValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::size_t DoubleValue::ByteSizeLong() const { |
| const DoubleValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.DoubleValue) |
| ::size_t total_size = 0; |
| |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void)cached_has_bits; |
| |
| { |
| // double value = 1; |
| cached_has_bits = this_._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (::absl::bit_cast<::uint64_t>(this_._internal_value()) != 0) { |
| total_size += 9; |
| } |
| } |
| } |
| return this_.MaybeComputeUnknownFieldsSize(total_size, |
| &this_._impl_._cached_size_); |
| } |
| |
| void DoubleValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
| auto* const _this = static_cast<DoubleValue*>(&to_msg); |
| auto& from = static_cast<const DoubleValue&>(from_msg); |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DoubleValue) |
| ABSL_DCHECK_NE(&from, _this); |
| ::uint32_t cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (::absl::bit_cast<::uint64_t>(from._internal_value()) != 0) { |
| _this->_impl_.value_ = from._impl_.value_; |
| } |
| } |
| _this->_impl_._has_bits_[0] |= cached_has_bits; |
| _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
| } |
| |
| void DoubleValue::CopyFrom(const DoubleValue& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DoubleValue) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| |
| void DoubleValue::InternalSwap(DoubleValue* PROTOBUF_RESTRICT other) { |
| using std::swap; |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
| swap(_impl_.value_, other->_impl_.value_); |
| } |
| |
| ::google::protobuf::Metadata DoubleValue::GetMetadata() const { |
| return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
| } |
| // =================================================================== |
| |
| class FloatValue::_Internal { |
| public: |
| using HasBits = |
| decltype(std::declval<FloatValue>()._impl_._has_bits_); |
| static constexpr ::int32_t kHasBitsOffset = |
| 8 * PROTOBUF_FIELD_OFFSET(FloatValue, _impl_._has_bits_); |
| }; |
| |
| FloatValue::FloatValue(::google::protobuf::Arena* arena) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, FloatValue_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| SharedCtor(arena); |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.FloatValue) |
| } |
| FloatValue::FloatValue( |
| ::google::protobuf::Arena* arena, const FloatValue& from) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, FloatValue_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(from._impl_) { |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
| from._internal_metadata_); |
| } |
| PROTOBUF_NDEBUG_INLINE FloatValue::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena) |
| : _cached_size_{0} {} |
| |
| inline void FloatValue::SharedCtor(::_pb::Arena* arena) { |
| new (&_impl_) Impl_(internal_visibility(), arena); |
| _impl_.value_ = {}; |
| } |
| FloatValue::~FloatValue() { |
| // @@protoc_insertion_point(destructor:google.protobuf.FloatValue) |
| SharedDtor(*this); |
| } |
| inline void FloatValue::SharedDtor(MessageLite& self) { |
| FloatValue& this_ = static_cast<FloatValue&>(self); |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
| ABSL_DCHECK(this_.GetArena() == nullptr); |
| this_._impl_.~Impl_(); |
| } |
| |
| inline void* FloatValue::PlacementNew_(const void*, void* mem, |
| ::google::protobuf::Arena* arena) { |
| return ::new (mem) FloatValue(arena); |
| } |
| constexpr auto FloatValue::InternalNewImpl_() { |
| return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FloatValue), |
| alignof(FloatValue)); |
| } |
| constexpr auto FloatValue::InternalGenerateClassData_() { |
| return ::google::protobuf::internal::ClassDataFull{ |
| ::google::protobuf::internal::ClassData{ |
| &_FloatValue_default_instance_._instance, |
| &_table_.header, |
| nullptr, // OnDemandRegisterArenaDtor |
| nullptr, // IsInitialized |
| &FloatValue::MergeImpl, |
| ::google::protobuf::Message::GetNewImpl<FloatValue>(), |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| &FloatValue::SharedDtor, |
| ::google::protobuf::Message::GetClearImpl<FloatValue>(), &FloatValue::ByteSizeLong, |
| &FloatValue::_InternalSerialize, |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| PROTOBUF_FIELD_OFFSET(FloatValue, _impl_._cached_size_), |
| false, |
| }, |
| &FloatValue::kDescriptorMethods, |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto, |
| nullptr, // tracker |
| }; |
| } |
| |
| PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull |
| FloatValue_class_data_ = |
| FloatValue::InternalGenerateClassData_(); |
| |
| const ::google::protobuf::internal::ClassData* FloatValue::GetClassData() const { |
| ::google::protobuf::internal::PrefetchToLocalCache(&FloatValue_class_data_); |
| ::google::protobuf::internal::PrefetchToLocalCache(FloatValue_class_data_.tc_table); |
| return FloatValue_class_data_.base(); |
| } |
| PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
| const ::_pbi::TcParseTable<0, 1, 0, 0, 2> FloatValue::_table_ = { |
| { |
| PROTOBUF_FIELD_OFFSET(FloatValue, _impl_._has_bits_), |
| 0, // no _extensions_ |
| 1, 0, // max_field_number, fast_idx_mask |
| offsetof(decltype(_table_), field_lookup_table), |
| 4294967294, // skipmap |
| offsetof(decltype(_table_), field_entries), |
| 1, // num_field_entries |
| 0, // num_aux_entries |
| offsetof(decltype(_table_), field_names), // no aux_entries |
| FloatValue_class_data_.base(), |
| nullptr, // post_loop_handler |
| ::_pbi::TcParser::GenericFallback, // fallback |
| #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
| ::_pbi::TcParser::GetTable<::google::protobuf::FloatValue>(), // to_prefetch |
| #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
| }, {{ |
| // float value = 1; |
| {::_pbi::TcParser::FastF32S1, |
| {13, 0, 0, PROTOBUF_FIELD_OFFSET(FloatValue, _impl_.value_)}}, |
| }}, {{ |
| 65535, 65535 |
| }}, {{ |
| // float value = 1; |
| {PROTOBUF_FIELD_OFFSET(FloatValue, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, |
| (0 | ::_fl::kFcOptional | ::_fl::kFloat)}, |
| }}, |
| // no aux_entries |
| {{ |
| }}, |
| }; |
| |
| PROTOBUF_NOINLINE void FloatValue::Clear() { |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.FloatValue) |
| ::google::protobuf::internal::TSanWrite(&_impl_); |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| _impl_.value_ = 0; |
| _impl_._has_bits_.Clear(); |
| _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::uint8_t* FloatValue::_InternalSerialize( |
| const MessageLite& base, ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) { |
| const FloatValue& this_ = static_cast<const FloatValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::uint8_t* FloatValue::_InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
| const FloatValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FloatValue) |
| ::uint32_t cached_has_bits = 0; |
| (void)cached_has_bits; |
| |
| // float value = 1; |
| if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { |
| if (::absl::bit_cast<::uint32_t>(this_._internal_value()) != 0) { |
| target = stream->EnsureSpace(target); |
| target = ::_pbi::WireFormatLite::WriteFloatToArray( |
| 1, this_._internal_value(), 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.FloatValue) |
| return target; |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::size_t FloatValue::ByteSizeLong(const MessageLite& base) { |
| const FloatValue& this_ = static_cast<const FloatValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::size_t FloatValue::ByteSizeLong() const { |
| const FloatValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.FloatValue) |
| ::size_t total_size = 0; |
| |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void)cached_has_bits; |
| |
| { |
| // float value = 1; |
| cached_has_bits = this_._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (::absl::bit_cast<::uint32_t>(this_._internal_value()) != 0) { |
| total_size += 5; |
| } |
| } |
| } |
| return this_.MaybeComputeUnknownFieldsSize(total_size, |
| &this_._impl_._cached_size_); |
| } |
| |
| void FloatValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
| auto* const _this = static_cast<FloatValue*>(&to_msg); |
| auto& from = static_cast<const FloatValue&>(from_msg); |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FloatValue) |
| ABSL_DCHECK_NE(&from, _this); |
| ::uint32_t cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (::absl::bit_cast<::uint32_t>(from._internal_value()) != 0) { |
| _this->_impl_.value_ = from._impl_.value_; |
| } |
| } |
| _this->_impl_._has_bits_[0] |= cached_has_bits; |
| _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
| } |
| |
| void FloatValue::CopyFrom(const FloatValue& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FloatValue) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| |
| void FloatValue::InternalSwap(FloatValue* PROTOBUF_RESTRICT other) { |
| using std::swap; |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
| swap(_impl_.value_, other->_impl_.value_); |
| } |
| |
| ::google::protobuf::Metadata FloatValue::GetMetadata() const { |
| return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
| } |
| // =================================================================== |
| |
| class Int64Value::_Internal { |
| public: |
| using HasBits = |
| decltype(std::declval<Int64Value>()._impl_._has_bits_); |
| static constexpr ::int32_t kHasBitsOffset = |
| 8 * PROTOBUF_FIELD_OFFSET(Int64Value, _impl_._has_bits_); |
| }; |
| |
| Int64Value::Int64Value(::google::protobuf::Arena* arena) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, Int64Value_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| SharedCtor(arena); |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.Int64Value) |
| } |
| Int64Value::Int64Value( |
| ::google::protobuf::Arena* arena, const Int64Value& from) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, Int64Value_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(from._impl_) { |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
| from._internal_metadata_); |
| } |
| PROTOBUF_NDEBUG_INLINE Int64Value::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena) |
| : _cached_size_{0} {} |
| |
| inline void Int64Value::SharedCtor(::_pb::Arena* arena) { |
| new (&_impl_) Impl_(internal_visibility(), arena); |
| _impl_.value_ = {}; |
| } |
| Int64Value::~Int64Value() { |
| // @@protoc_insertion_point(destructor:google.protobuf.Int64Value) |
| SharedDtor(*this); |
| } |
| inline void Int64Value::SharedDtor(MessageLite& self) { |
| Int64Value& this_ = static_cast<Int64Value&>(self); |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
| ABSL_DCHECK(this_.GetArena() == nullptr); |
| this_._impl_.~Impl_(); |
| } |
| |
| inline void* Int64Value::PlacementNew_(const void*, void* mem, |
| ::google::protobuf::Arena* arena) { |
| return ::new (mem) Int64Value(arena); |
| } |
| constexpr auto Int64Value::InternalNewImpl_() { |
| return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Int64Value), |
| alignof(Int64Value)); |
| } |
| constexpr auto Int64Value::InternalGenerateClassData_() { |
| return ::google::protobuf::internal::ClassDataFull{ |
| ::google::protobuf::internal::ClassData{ |
| &_Int64Value_default_instance_._instance, |
| &_table_.header, |
| nullptr, // OnDemandRegisterArenaDtor |
| nullptr, // IsInitialized |
| &Int64Value::MergeImpl, |
| ::google::protobuf::Message::GetNewImpl<Int64Value>(), |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| &Int64Value::SharedDtor, |
| ::google::protobuf::Message::GetClearImpl<Int64Value>(), &Int64Value::ByteSizeLong, |
| &Int64Value::_InternalSerialize, |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| PROTOBUF_FIELD_OFFSET(Int64Value, _impl_._cached_size_), |
| false, |
| }, |
| &Int64Value::kDescriptorMethods, |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto, |
| nullptr, // tracker |
| }; |
| } |
| |
| PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull |
| Int64Value_class_data_ = |
| Int64Value::InternalGenerateClassData_(); |
| |
| const ::google::protobuf::internal::ClassData* Int64Value::GetClassData() const { |
| ::google::protobuf::internal::PrefetchToLocalCache(&Int64Value_class_data_); |
| ::google::protobuf::internal::PrefetchToLocalCache(Int64Value_class_data_.tc_table); |
| return Int64Value_class_data_.base(); |
| } |
| PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
| const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Int64Value::_table_ = { |
| { |
| PROTOBUF_FIELD_OFFSET(Int64Value, _impl_._has_bits_), |
| 0, // no _extensions_ |
| 1, 0, // max_field_number, fast_idx_mask |
| offsetof(decltype(_table_), field_lookup_table), |
| 4294967294, // skipmap |
| offsetof(decltype(_table_), field_entries), |
| 1, // num_field_entries |
| 0, // num_aux_entries |
| offsetof(decltype(_table_), field_names), // no aux_entries |
| Int64Value_class_data_.base(), |
| nullptr, // post_loop_handler |
| ::_pbi::TcParser::GenericFallback, // fallback |
| #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
| ::_pbi::TcParser::GetTable<::google::protobuf::Int64Value>(), // to_prefetch |
| #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
| }, {{ |
| // int64 value = 1; |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Int64Value, _impl_.value_), 0>(), |
| {8, 0, 0, PROTOBUF_FIELD_OFFSET(Int64Value, _impl_.value_)}}, |
| }}, {{ |
| 65535, 65535 |
| }}, {{ |
| // int64 value = 1; |
| {PROTOBUF_FIELD_OFFSET(Int64Value, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, |
| (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, |
| }}, |
| // no aux_entries |
| {{ |
| }}, |
| }; |
| |
| PROTOBUF_NOINLINE void Int64Value::Clear() { |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.Int64Value) |
| ::google::protobuf::internal::TSanWrite(&_impl_); |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| _impl_.value_ = ::int64_t{0}; |
| _impl_._has_bits_.Clear(); |
| _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::uint8_t* Int64Value::_InternalSerialize( |
| const MessageLite& base, ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) { |
| const Int64Value& this_ = static_cast<const Int64Value&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::uint8_t* Int64Value::_InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
| const Int64Value& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int64Value) |
| ::uint32_t cached_has_bits = 0; |
| (void)cached_has_bits; |
| |
| // int64 value = 1; |
| if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { |
| if (this_._internal_value() != 0) { |
| target = ::google::protobuf::internal::WireFormatLite:: |
| WriteInt64ToArrayWithField<1>( |
| stream, this_._internal_value(), 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.Int64Value) |
| return target; |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::size_t Int64Value::ByteSizeLong(const MessageLite& base) { |
| const Int64Value& this_ = static_cast<const Int64Value&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::size_t Int64Value::ByteSizeLong() const { |
| const Int64Value& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int64Value) |
| ::size_t total_size = 0; |
| |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void)cached_has_bits; |
| |
| { |
| // int64 value = 1; |
| cached_has_bits = this_._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (this_._internal_value() != 0) { |
| total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( |
| this_._internal_value()); |
| } |
| } |
| } |
| return this_.MaybeComputeUnknownFieldsSize(total_size, |
| &this_._impl_._cached_size_); |
| } |
| |
| void Int64Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
| auto* const _this = static_cast<Int64Value*>(&to_msg); |
| auto& from = static_cast<const Int64Value&>(from_msg); |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int64Value) |
| ABSL_DCHECK_NE(&from, _this); |
| ::uint32_t cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (from._internal_value() != 0) { |
| _this->_impl_.value_ = from._impl_.value_; |
| } |
| } |
| _this->_impl_._has_bits_[0] |= cached_has_bits; |
| _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
| } |
| |
| void Int64Value::CopyFrom(const Int64Value& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Int64Value) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| |
| void Int64Value::InternalSwap(Int64Value* PROTOBUF_RESTRICT other) { |
| using std::swap; |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
| swap(_impl_.value_, other->_impl_.value_); |
| } |
| |
| ::google::protobuf::Metadata Int64Value::GetMetadata() const { |
| return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
| } |
| // =================================================================== |
| |
| class UInt64Value::_Internal { |
| public: |
| using HasBits = |
| decltype(std::declval<UInt64Value>()._impl_._has_bits_); |
| static constexpr ::int32_t kHasBitsOffset = |
| 8 * PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_._has_bits_); |
| }; |
| |
| UInt64Value::UInt64Value(::google::protobuf::Arena* arena) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, UInt64Value_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| SharedCtor(arena); |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.UInt64Value) |
| } |
| UInt64Value::UInt64Value( |
| ::google::protobuf::Arena* arena, const UInt64Value& from) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, UInt64Value_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(from._impl_) { |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
| from._internal_metadata_); |
| } |
| PROTOBUF_NDEBUG_INLINE UInt64Value::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena) |
| : _cached_size_{0} {} |
| |
| inline void UInt64Value::SharedCtor(::_pb::Arena* arena) { |
| new (&_impl_) Impl_(internal_visibility(), arena); |
| _impl_.value_ = {}; |
| } |
| UInt64Value::~UInt64Value() { |
| // @@protoc_insertion_point(destructor:google.protobuf.UInt64Value) |
| SharedDtor(*this); |
| } |
| inline void UInt64Value::SharedDtor(MessageLite& self) { |
| UInt64Value& this_ = static_cast<UInt64Value&>(self); |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
| ABSL_DCHECK(this_.GetArena() == nullptr); |
| this_._impl_.~Impl_(); |
| } |
| |
| inline void* UInt64Value::PlacementNew_(const void*, void* mem, |
| ::google::protobuf::Arena* arena) { |
| return ::new (mem) UInt64Value(arena); |
| } |
| constexpr auto UInt64Value::InternalNewImpl_() { |
| return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UInt64Value), |
| alignof(UInt64Value)); |
| } |
| constexpr auto UInt64Value::InternalGenerateClassData_() { |
| return ::google::protobuf::internal::ClassDataFull{ |
| ::google::protobuf::internal::ClassData{ |
| &_UInt64Value_default_instance_._instance, |
| &_table_.header, |
| nullptr, // OnDemandRegisterArenaDtor |
| nullptr, // IsInitialized |
| &UInt64Value::MergeImpl, |
| ::google::protobuf::Message::GetNewImpl<UInt64Value>(), |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| &UInt64Value::SharedDtor, |
| ::google::protobuf::Message::GetClearImpl<UInt64Value>(), &UInt64Value::ByteSizeLong, |
| &UInt64Value::_InternalSerialize, |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_._cached_size_), |
| false, |
| }, |
| &UInt64Value::kDescriptorMethods, |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto, |
| nullptr, // tracker |
| }; |
| } |
| |
| PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull |
| UInt64Value_class_data_ = |
| UInt64Value::InternalGenerateClassData_(); |
| |
| const ::google::protobuf::internal::ClassData* UInt64Value::GetClassData() const { |
| ::google::protobuf::internal::PrefetchToLocalCache(&UInt64Value_class_data_); |
| ::google::protobuf::internal::PrefetchToLocalCache(UInt64Value_class_data_.tc_table); |
| return UInt64Value_class_data_.base(); |
| } |
| PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
| const ::_pbi::TcParseTable<0, 1, 0, 0, 2> UInt64Value::_table_ = { |
| { |
| PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_._has_bits_), |
| 0, // no _extensions_ |
| 1, 0, // max_field_number, fast_idx_mask |
| offsetof(decltype(_table_), field_lookup_table), |
| 4294967294, // skipmap |
| offsetof(decltype(_table_), field_entries), |
| 1, // num_field_entries |
| 0, // num_aux_entries |
| offsetof(decltype(_table_), field_names), // no aux_entries |
| UInt64Value_class_data_.base(), |
| nullptr, // post_loop_handler |
| ::_pbi::TcParser::GenericFallback, // fallback |
| #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
| ::_pbi::TcParser::GetTable<::google::protobuf::UInt64Value>(), // to_prefetch |
| #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
| }, {{ |
| // uint64 value = 1; |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(UInt64Value, _impl_.value_), 0>(), |
| {8, 0, 0, PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_.value_)}}, |
| }}, {{ |
| 65535, 65535 |
| }}, {{ |
| // uint64 value = 1; |
| {PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, |
| (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, |
| }}, |
| // no aux_entries |
| {{ |
| }}, |
| }; |
| |
| PROTOBUF_NOINLINE void UInt64Value::Clear() { |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.UInt64Value) |
| ::google::protobuf::internal::TSanWrite(&_impl_); |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| _impl_.value_ = ::uint64_t{0u}; |
| _impl_._has_bits_.Clear(); |
| _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::uint8_t* UInt64Value::_InternalSerialize( |
| const MessageLite& base, ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) { |
| const UInt64Value& this_ = static_cast<const UInt64Value&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::uint8_t* UInt64Value::_InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
| const UInt64Value& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt64Value) |
| ::uint32_t cached_has_bits = 0; |
| (void)cached_has_bits; |
| |
| // uint64 value = 1; |
| if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { |
| if (this_._internal_value() != 0) { |
| target = stream->EnsureSpace(target); |
| target = ::_pbi::WireFormatLite::WriteUInt64ToArray( |
| 1, this_._internal_value(), 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.UInt64Value) |
| return target; |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::size_t UInt64Value::ByteSizeLong(const MessageLite& base) { |
| const UInt64Value& this_ = static_cast<const UInt64Value&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::size_t UInt64Value::ByteSizeLong() const { |
| const UInt64Value& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt64Value) |
| ::size_t total_size = 0; |
| |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void)cached_has_bits; |
| |
| { |
| // uint64 value = 1; |
| cached_has_bits = this_._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (this_._internal_value() != 0) { |
| total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( |
| this_._internal_value()); |
| } |
| } |
| } |
| return this_.MaybeComputeUnknownFieldsSize(total_size, |
| &this_._impl_._cached_size_); |
| } |
| |
| void UInt64Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
| auto* const _this = static_cast<UInt64Value*>(&to_msg); |
| auto& from = static_cast<const UInt64Value&>(from_msg); |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt64Value) |
| ABSL_DCHECK_NE(&from, _this); |
| ::uint32_t cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (from._internal_value() != 0) { |
| _this->_impl_.value_ = from._impl_.value_; |
| } |
| } |
| _this->_impl_._has_bits_[0] |= cached_has_bits; |
| _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
| } |
| |
| void UInt64Value::CopyFrom(const UInt64Value& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UInt64Value) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| |
| void UInt64Value::InternalSwap(UInt64Value* PROTOBUF_RESTRICT other) { |
| using std::swap; |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
| swap(_impl_.value_, other->_impl_.value_); |
| } |
| |
| ::google::protobuf::Metadata UInt64Value::GetMetadata() const { |
| return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
| } |
| // =================================================================== |
| |
| class Int32Value::_Internal { |
| public: |
| using HasBits = |
| decltype(std::declval<Int32Value>()._impl_._has_bits_); |
| static constexpr ::int32_t kHasBitsOffset = |
| 8 * PROTOBUF_FIELD_OFFSET(Int32Value, _impl_._has_bits_); |
| }; |
| |
| Int32Value::Int32Value(::google::protobuf::Arena* arena) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, Int32Value_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| SharedCtor(arena); |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.Int32Value) |
| } |
| Int32Value::Int32Value( |
| ::google::protobuf::Arena* arena, const Int32Value& from) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, Int32Value_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(from._impl_) { |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
| from._internal_metadata_); |
| } |
| PROTOBUF_NDEBUG_INLINE Int32Value::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena) |
| : _cached_size_{0} {} |
| |
| inline void Int32Value::SharedCtor(::_pb::Arena* arena) { |
| new (&_impl_) Impl_(internal_visibility(), arena); |
| _impl_.value_ = {}; |
| } |
| Int32Value::~Int32Value() { |
| // @@protoc_insertion_point(destructor:google.protobuf.Int32Value) |
| SharedDtor(*this); |
| } |
| inline void Int32Value::SharedDtor(MessageLite& self) { |
| Int32Value& this_ = static_cast<Int32Value&>(self); |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
| ABSL_DCHECK(this_.GetArena() == nullptr); |
| this_._impl_.~Impl_(); |
| } |
| |
| inline void* Int32Value::PlacementNew_(const void*, void* mem, |
| ::google::protobuf::Arena* arena) { |
| return ::new (mem) Int32Value(arena); |
| } |
| constexpr auto Int32Value::InternalNewImpl_() { |
| return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Int32Value), |
| alignof(Int32Value)); |
| } |
| constexpr auto Int32Value::InternalGenerateClassData_() { |
| return ::google::protobuf::internal::ClassDataFull{ |
| ::google::protobuf::internal::ClassData{ |
| &_Int32Value_default_instance_._instance, |
| &_table_.header, |
| nullptr, // OnDemandRegisterArenaDtor |
| nullptr, // IsInitialized |
| &Int32Value::MergeImpl, |
| ::google::protobuf::Message::GetNewImpl<Int32Value>(), |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| &Int32Value::SharedDtor, |
| ::google::protobuf::Message::GetClearImpl<Int32Value>(), &Int32Value::ByteSizeLong, |
| &Int32Value::_InternalSerialize, |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| PROTOBUF_FIELD_OFFSET(Int32Value, _impl_._cached_size_), |
| false, |
| }, |
| &Int32Value::kDescriptorMethods, |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto, |
| nullptr, // tracker |
| }; |
| } |
| |
| PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull |
| Int32Value_class_data_ = |
| Int32Value::InternalGenerateClassData_(); |
| |
| const ::google::protobuf::internal::ClassData* Int32Value::GetClassData() const { |
| ::google::protobuf::internal::PrefetchToLocalCache(&Int32Value_class_data_); |
| ::google::protobuf::internal::PrefetchToLocalCache(Int32Value_class_data_.tc_table); |
| return Int32Value_class_data_.base(); |
| } |
| PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
| const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Int32Value::_table_ = { |
| { |
| PROTOBUF_FIELD_OFFSET(Int32Value, _impl_._has_bits_), |
| 0, // no _extensions_ |
| 1, 0, // max_field_number, fast_idx_mask |
| offsetof(decltype(_table_), field_lookup_table), |
| 4294967294, // skipmap |
| offsetof(decltype(_table_), field_entries), |
| 1, // num_field_entries |
| 0, // num_aux_entries |
| offsetof(decltype(_table_), field_names), // no aux_entries |
| Int32Value_class_data_.base(), |
| nullptr, // post_loop_handler |
| ::_pbi::TcParser::GenericFallback, // fallback |
| #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
| ::_pbi::TcParser::GetTable<::google::protobuf::Int32Value>(), // to_prefetch |
| #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
| }, {{ |
| // int32 value = 1; |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Int32Value, _impl_.value_), 0>(), |
| {8, 0, 0, PROTOBUF_FIELD_OFFSET(Int32Value, _impl_.value_)}}, |
| }}, {{ |
| 65535, 65535 |
| }}, {{ |
| // int32 value = 1; |
| {PROTOBUF_FIELD_OFFSET(Int32Value, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, |
| (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, |
| }}, |
| // no aux_entries |
| {{ |
| }}, |
| }; |
| |
| PROTOBUF_NOINLINE void Int32Value::Clear() { |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.Int32Value) |
| ::google::protobuf::internal::TSanWrite(&_impl_); |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| _impl_.value_ = 0; |
| _impl_._has_bits_.Clear(); |
| _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::uint8_t* Int32Value::_InternalSerialize( |
| const MessageLite& base, ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) { |
| const Int32Value& this_ = static_cast<const Int32Value&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::uint8_t* Int32Value::_InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
| const Int32Value& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int32Value) |
| ::uint32_t cached_has_bits = 0; |
| (void)cached_has_bits; |
| |
| // int32 value = 1; |
| if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { |
| if (this_._internal_value() != 0) { |
| target = ::google::protobuf::internal::WireFormatLite:: |
| WriteInt32ToArrayWithField<1>( |
| stream, this_._internal_value(), 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.Int32Value) |
| return target; |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::size_t Int32Value::ByteSizeLong(const MessageLite& base) { |
| const Int32Value& this_ = static_cast<const Int32Value&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::size_t Int32Value::ByteSizeLong() const { |
| const Int32Value& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int32Value) |
| ::size_t total_size = 0; |
| |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void)cached_has_bits; |
| |
| { |
| // int32 value = 1; |
| cached_has_bits = this_._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (this_._internal_value() != 0) { |
| total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( |
| this_._internal_value()); |
| } |
| } |
| } |
| return this_.MaybeComputeUnknownFieldsSize(total_size, |
| &this_._impl_._cached_size_); |
| } |
| |
| void Int32Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
| auto* const _this = static_cast<Int32Value*>(&to_msg); |
| auto& from = static_cast<const Int32Value&>(from_msg); |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int32Value) |
| ABSL_DCHECK_NE(&from, _this); |
| ::uint32_t cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (from._internal_value() != 0) { |
| _this->_impl_.value_ = from._impl_.value_; |
| } |
| } |
| _this->_impl_._has_bits_[0] |= cached_has_bits; |
| _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
| } |
| |
| void Int32Value::CopyFrom(const Int32Value& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Int32Value) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| |
| void Int32Value::InternalSwap(Int32Value* PROTOBUF_RESTRICT other) { |
| using std::swap; |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
| swap(_impl_.value_, other->_impl_.value_); |
| } |
| |
| ::google::protobuf::Metadata Int32Value::GetMetadata() const { |
| return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
| } |
| // =================================================================== |
| |
| class UInt32Value::_Internal { |
| public: |
| using HasBits = |
| decltype(std::declval<UInt32Value>()._impl_._has_bits_); |
| static constexpr ::int32_t kHasBitsOffset = |
| 8 * PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_._has_bits_); |
| }; |
| |
| UInt32Value::UInt32Value(::google::protobuf::Arena* arena) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, UInt32Value_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| SharedCtor(arena); |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.UInt32Value) |
| } |
| UInt32Value::UInt32Value( |
| ::google::protobuf::Arena* arena, const UInt32Value& from) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, UInt32Value_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(from._impl_) { |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
| from._internal_metadata_); |
| } |
| PROTOBUF_NDEBUG_INLINE UInt32Value::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena) |
| : _cached_size_{0} {} |
| |
| inline void UInt32Value::SharedCtor(::_pb::Arena* arena) { |
| new (&_impl_) Impl_(internal_visibility(), arena); |
| _impl_.value_ = {}; |
| } |
| UInt32Value::~UInt32Value() { |
| // @@protoc_insertion_point(destructor:google.protobuf.UInt32Value) |
| SharedDtor(*this); |
| } |
| inline void UInt32Value::SharedDtor(MessageLite& self) { |
| UInt32Value& this_ = static_cast<UInt32Value&>(self); |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
| ABSL_DCHECK(this_.GetArena() == nullptr); |
| this_._impl_.~Impl_(); |
| } |
| |
| inline void* UInt32Value::PlacementNew_(const void*, void* mem, |
| ::google::protobuf::Arena* arena) { |
| return ::new (mem) UInt32Value(arena); |
| } |
| constexpr auto UInt32Value::InternalNewImpl_() { |
| return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UInt32Value), |
| alignof(UInt32Value)); |
| } |
| constexpr auto UInt32Value::InternalGenerateClassData_() { |
| return ::google::protobuf::internal::ClassDataFull{ |
| ::google::protobuf::internal::ClassData{ |
| &_UInt32Value_default_instance_._instance, |
| &_table_.header, |
| nullptr, // OnDemandRegisterArenaDtor |
| nullptr, // IsInitialized |
| &UInt32Value::MergeImpl, |
| ::google::protobuf::Message::GetNewImpl<UInt32Value>(), |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| &UInt32Value::SharedDtor, |
| ::google::protobuf::Message::GetClearImpl<UInt32Value>(), &UInt32Value::ByteSizeLong, |
| &UInt32Value::_InternalSerialize, |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_._cached_size_), |
| false, |
| }, |
| &UInt32Value::kDescriptorMethods, |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto, |
| nullptr, // tracker |
| }; |
| } |
| |
| PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull |
| UInt32Value_class_data_ = |
| UInt32Value::InternalGenerateClassData_(); |
| |
| const ::google::protobuf::internal::ClassData* UInt32Value::GetClassData() const { |
| ::google::protobuf::internal::PrefetchToLocalCache(&UInt32Value_class_data_); |
| ::google::protobuf::internal::PrefetchToLocalCache(UInt32Value_class_data_.tc_table); |
| return UInt32Value_class_data_.base(); |
| } |
| PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
| const ::_pbi::TcParseTable<0, 1, 0, 0, 2> UInt32Value::_table_ = { |
| { |
| PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_._has_bits_), |
| 0, // no _extensions_ |
| 1, 0, // max_field_number, fast_idx_mask |
| offsetof(decltype(_table_), field_lookup_table), |
| 4294967294, // skipmap |
| offsetof(decltype(_table_), field_entries), |
| 1, // num_field_entries |
| 0, // num_aux_entries |
| offsetof(decltype(_table_), field_names), // no aux_entries |
| UInt32Value_class_data_.base(), |
| nullptr, // post_loop_handler |
| ::_pbi::TcParser::GenericFallback, // fallback |
| #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
| ::_pbi::TcParser::GetTable<::google::protobuf::UInt32Value>(), // to_prefetch |
| #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
| }, {{ |
| // uint32 value = 1; |
| {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UInt32Value, _impl_.value_), 0>(), |
| {8, 0, 0, PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_.value_)}}, |
| }}, {{ |
| 65535, 65535 |
| }}, {{ |
| // uint32 value = 1; |
| {PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, |
| (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, |
| }}, |
| // no aux_entries |
| {{ |
| }}, |
| }; |
| |
| PROTOBUF_NOINLINE void UInt32Value::Clear() { |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.UInt32Value) |
| ::google::protobuf::internal::TSanWrite(&_impl_); |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| _impl_.value_ = 0u; |
| _impl_._has_bits_.Clear(); |
| _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::uint8_t* UInt32Value::_InternalSerialize( |
| const MessageLite& base, ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) { |
| const UInt32Value& this_ = static_cast<const UInt32Value&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::uint8_t* UInt32Value::_InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
| const UInt32Value& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt32Value) |
| ::uint32_t cached_has_bits = 0; |
| (void)cached_has_bits; |
| |
| // uint32 value = 1; |
| if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { |
| if (this_._internal_value() != 0) { |
| target = stream->EnsureSpace(target); |
| target = ::_pbi::WireFormatLite::WriteUInt32ToArray( |
| 1, this_._internal_value(), 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.UInt32Value) |
| return target; |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::size_t UInt32Value::ByteSizeLong(const MessageLite& base) { |
| const UInt32Value& this_ = static_cast<const UInt32Value&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::size_t UInt32Value::ByteSizeLong() const { |
| const UInt32Value& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt32Value) |
| ::size_t total_size = 0; |
| |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void)cached_has_bits; |
| |
| { |
| // uint32 value = 1; |
| cached_has_bits = this_._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (this_._internal_value() != 0) { |
| total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( |
| this_._internal_value()); |
| } |
| } |
| } |
| return this_.MaybeComputeUnknownFieldsSize(total_size, |
| &this_._impl_._cached_size_); |
| } |
| |
| void UInt32Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
| auto* const _this = static_cast<UInt32Value*>(&to_msg); |
| auto& from = static_cast<const UInt32Value&>(from_msg); |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt32Value) |
| ABSL_DCHECK_NE(&from, _this); |
| ::uint32_t cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (from._internal_value() != 0) { |
| _this->_impl_.value_ = from._impl_.value_; |
| } |
| } |
| _this->_impl_._has_bits_[0] |= cached_has_bits; |
| _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
| } |
| |
| void UInt32Value::CopyFrom(const UInt32Value& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UInt32Value) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| |
| void UInt32Value::InternalSwap(UInt32Value* PROTOBUF_RESTRICT other) { |
| using std::swap; |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
| swap(_impl_.value_, other->_impl_.value_); |
| } |
| |
| ::google::protobuf::Metadata UInt32Value::GetMetadata() const { |
| return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
| } |
| // =================================================================== |
| |
| class BoolValue::_Internal { |
| public: |
| using HasBits = |
| decltype(std::declval<BoolValue>()._impl_._has_bits_); |
| static constexpr ::int32_t kHasBitsOffset = |
| 8 * PROTOBUF_FIELD_OFFSET(BoolValue, _impl_._has_bits_); |
| }; |
| |
| BoolValue::BoolValue(::google::protobuf::Arena* arena) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, BoolValue_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| SharedCtor(arena); |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.BoolValue) |
| } |
| BoolValue::BoolValue( |
| ::google::protobuf::Arena* arena, const BoolValue& from) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, BoolValue_class_data_.base()), |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena), |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| _impl_(from._impl_) { |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
| from._internal_metadata_); |
| } |
| PROTOBUF_NDEBUG_INLINE BoolValue::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena) |
| : _cached_size_{0} {} |
| |
| inline void BoolValue::SharedCtor(::_pb::Arena* arena) { |
| new (&_impl_) Impl_(internal_visibility(), arena); |
| _impl_.value_ = {}; |
| } |
| BoolValue::~BoolValue() { |
| // @@protoc_insertion_point(destructor:google.protobuf.BoolValue) |
| SharedDtor(*this); |
| } |
| inline void BoolValue::SharedDtor(MessageLite& self) { |
| BoolValue& this_ = static_cast<BoolValue&>(self); |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
| ABSL_DCHECK(this_.GetArena() == nullptr); |
| this_._impl_.~Impl_(); |
| } |
| |
| inline void* BoolValue::PlacementNew_(const void*, void* mem, |
| ::google::protobuf::Arena* arena) { |
| return ::new (mem) BoolValue(arena); |
| } |
| constexpr auto BoolValue::InternalNewImpl_() { |
| return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BoolValue), |
| alignof(BoolValue)); |
| } |
| constexpr auto BoolValue::InternalGenerateClassData_() { |
| return ::google::protobuf::internal::ClassDataFull{ |
| ::google::protobuf::internal::ClassData{ |
| &_BoolValue_default_instance_._instance, |
| &_table_.header, |
| nullptr, // OnDemandRegisterArenaDtor |
| nullptr, // IsInitialized |
| &BoolValue::MergeImpl, |
| ::google::protobuf::Message::GetNewImpl<BoolValue>(), |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| &BoolValue::SharedDtor, |
| ::google::protobuf::Message::GetClearImpl<BoolValue>(), &BoolValue::ByteSizeLong, |
| &BoolValue::_InternalSerialize, |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| PROTOBUF_FIELD_OFFSET(BoolValue, _impl_._cached_size_), |
| false, |
| }, |
| &BoolValue::kDescriptorMethods, |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto, |
| nullptr, // tracker |
| }; |
| } |
| |
| PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull |
| BoolValue_class_data_ = |
| BoolValue::InternalGenerateClassData_(); |
| |
| const ::google::protobuf::internal::ClassData* BoolValue::GetClassData() const { |
| ::google::protobuf::internal::PrefetchToLocalCache(&BoolValue_class_data_); |
| ::google::protobuf::internal::PrefetchToLocalCache(BoolValue_class_data_.tc_table); |
| return BoolValue_class_data_.base(); |
| } |
| PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
| const ::_pbi::TcParseTable<0, 1, 0, 0, 2> BoolValue::_table_ = { |
| { |
| PROTOBUF_FIELD_OFFSET(BoolValue, _impl_._has_bits_), |
| 0, // no _extensions_ |
| 1, 0, // max_field_number, fast_idx_mask |
| offsetof(decltype(_table_), field_lookup_table), |
| 4294967294, // skipmap |
| offsetof(decltype(_table_), field_entries), |
| 1, // num_field_entries |
| 0, // num_aux_entries |
| offsetof(decltype(_table_), field_names), // no aux_entries |
| BoolValue_class_data_.base(), |
| nullptr, // post_loop_handler |
| ::_pbi::TcParser::GenericFallback, // fallback |
| #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
| ::_pbi::TcParser::GetTable<::google::protobuf::BoolValue>(), // to_prefetch |
| #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
| }, {{ |
| // bool value = 1; |
| {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(BoolValue, _impl_.value_), 0>(), |
| {8, 0, 0, PROTOBUF_FIELD_OFFSET(BoolValue, _impl_.value_)}}, |
| }}, {{ |
| 65535, 65535 |
| }}, {{ |
| // bool value = 1; |
| {PROTOBUF_FIELD_OFFSET(BoolValue, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, |
| (0 | ::_fl::kFcOptional | ::_fl::kBool)}, |
| }}, |
| // no aux_entries |
| {{ |
| }}, |
| }; |
| |
| PROTOBUF_NOINLINE void BoolValue::Clear() { |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.BoolValue) |
| ::google::protobuf::internal::TSanWrite(&_impl_); |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| _impl_.value_ = false; |
| _impl_._has_bits_.Clear(); |
| _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::uint8_t* BoolValue::_InternalSerialize( |
| const MessageLite& base, ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) { |
| const BoolValue& this_ = static_cast<const BoolValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::uint8_t* BoolValue::_InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
| const BoolValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BoolValue) |
| ::uint32_t cached_has_bits = 0; |
| (void)cached_has_bits; |
| |
| // bool value = 1; |
| if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { |
| if (this_._internal_value() != 0) { |
| target = stream->EnsureSpace(target); |
| target = ::_pbi::WireFormatLite::WriteBoolToArray( |
| 1, this_._internal_value(), 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.BoolValue) |
| return target; |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::size_t BoolValue::ByteSizeLong(const MessageLite& base) { |
| const BoolValue& this_ = static_cast<const BoolValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::size_t BoolValue::ByteSizeLong() const { |
| const BoolValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.BoolValue) |
| ::size_t total_size = 0; |
| |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void)cached_has_bits; |
| |
| { |
| // bool value = 1; |
| cached_has_bits = this_._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (this_._internal_value() != 0) { |
| total_size += 2; |
| } |
| } |
| } |
| return this_.MaybeComputeUnknownFieldsSize(total_size, |
| &this_._impl_._cached_size_); |
| } |
| |
| void BoolValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
| auto* const _this = static_cast<BoolValue*>(&to_msg); |
| auto& from = static_cast<const BoolValue&>(from_msg); |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BoolValue) |
| ABSL_DCHECK_NE(&from, _this); |
| ::uint32_t cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (from._internal_value() != 0) { |
| _this->_impl_.value_ = from._impl_.value_; |
| } |
| } |
| _this->_impl_._has_bits_[0] |= cached_has_bits; |
| _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
| } |
| |
| void BoolValue::CopyFrom(const BoolValue& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.BoolValue) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| |
| void BoolValue::InternalSwap(BoolValue* PROTOBUF_RESTRICT other) { |
| using std::swap; |
| _internal_metadata_.InternalSwap(&other->_internal_metadata_); |
| swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); |
| swap(_impl_.value_, other->_impl_.value_); |
| } |
| |
| ::google::protobuf::Metadata BoolValue::GetMetadata() const { |
| return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
| } |
| // =================================================================== |
| |
| class StringValue::_Internal { |
| public: |
| using HasBits = |
| decltype(std::declval<StringValue>()._impl_._has_bits_); |
| static constexpr ::int32_t kHasBitsOffset = |
| 8 * PROTOBUF_FIELD_OFFSET(StringValue, _impl_._has_bits_); |
| }; |
| |
| StringValue::StringValue(::google::protobuf::Arena* arena) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, StringValue_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| SharedCtor(arena); |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.StringValue) |
| } |
| PROTOBUF_NDEBUG_INLINE StringValue::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
| const Impl_& from, const ::google::protobuf::StringValue& from_msg) |
| : _has_bits_{from._has_bits_}, |
| _cached_size_{0}, |
| value_(arena, from.value_) {} |
| |
| StringValue::StringValue( |
| ::google::protobuf::Arena* arena, |
| const StringValue& from) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, StringValue_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| StringValue* const _this = this; |
| (void)_this; |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
| from._internal_metadata_); |
| new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
| |
| // @@protoc_insertion_point(copy_constructor:google.protobuf.StringValue) |
| } |
| PROTOBUF_NDEBUG_INLINE StringValue::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena) |
| : _cached_size_{0}, |
| value_(arena) {} |
| |
| inline void StringValue::SharedCtor(::_pb::Arena* arena) { |
| new (&_impl_) Impl_(internal_visibility(), arena); |
| } |
| StringValue::~StringValue() { |
| // @@protoc_insertion_point(destructor:google.protobuf.StringValue) |
| SharedDtor(*this); |
| } |
| inline void StringValue::SharedDtor(MessageLite& self) { |
| StringValue& this_ = static_cast<StringValue&>(self); |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
| ABSL_DCHECK(this_.GetArena() == nullptr); |
| this_._impl_.value_.Destroy(); |
| this_._impl_.~Impl_(); |
| } |
| |
| inline void* StringValue::PlacementNew_(const void*, void* mem, |
| ::google::protobuf::Arena* arena) { |
| return ::new (mem) StringValue(arena); |
| } |
| constexpr auto StringValue::InternalNewImpl_() { |
| return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(StringValue), |
| alignof(StringValue)); |
| } |
| constexpr auto StringValue::InternalGenerateClassData_() { |
| return ::google::protobuf::internal::ClassDataFull{ |
| ::google::protobuf::internal::ClassData{ |
| &_StringValue_default_instance_._instance, |
| &_table_.header, |
| nullptr, // OnDemandRegisterArenaDtor |
| nullptr, // IsInitialized |
| &StringValue::MergeImpl, |
| ::google::protobuf::Message::GetNewImpl<StringValue>(), |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| &StringValue::SharedDtor, |
| ::google::protobuf::Message::GetClearImpl<StringValue>(), &StringValue::ByteSizeLong, |
| &StringValue::_InternalSerialize, |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| PROTOBUF_FIELD_OFFSET(StringValue, _impl_._cached_size_), |
| false, |
| }, |
| &StringValue::kDescriptorMethods, |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto, |
| nullptr, // tracker |
| }; |
| } |
| |
| PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull |
| StringValue_class_data_ = |
| StringValue::InternalGenerateClassData_(); |
| |
| const ::google::protobuf::internal::ClassData* StringValue::GetClassData() const { |
| ::google::protobuf::internal::PrefetchToLocalCache(&StringValue_class_data_); |
| ::google::protobuf::internal::PrefetchToLocalCache(StringValue_class_data_.tc_table); |
| return StringValue_class_data_.base(); |
| } |
| PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
| const ::_pbi::TcParseTable<0, 1, 0, 41, 2> StringValue::_table_ = { |
| { |
| PROTOBUF_FIELD_OFFSET(StringValue, _impl_._has_bits_), |
| 0, // no _extensions_ |
| 1, 0, // max_field_number, fast_idx_mask |
| offsetof(decltype(_table_), field_lookup_table), |
| 4294967294, // skipmap |
| offsetof(decltype(_table_), field_entries), |
| 1, // num_field_entries |
| 0, // num_aux_entries |
| offsetof(decltype(_table_), field_names), // no aux_entries |
| StringValue_class_data_.base(), |
| nullptr, // post_loop_handler |
| ::_pbi::TcParser::GenericFallback, // fallback |
| #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
| ::_pbi::TcParser::GetTable<::google::protobuf::StringValue>(), // to_prefetch |
| #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
| }, {{ |
| // string value = 1; |
| {::_pbi::TcParser::FastUS1, |
| {10, 0, 0, PROTOBUF_FIELD_OFFSET(StringValue, _impl_.value_)}}, |
| }}, {{ |
| 65535, 65535 |
| }}, {{ |
| // string value = 1; |
| {PROTOBUF_FIELD_OFFSET(StringValue, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, |
| (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, |
| }}, |
| // no aux_entries |
| {{ |
| "\33\5\0\0\0\0\0\0" |
| "google.protobuf.StringValue" |
| "value" |
| }}, |
| }; |
| |
| PROTOBUF_NOINLINE void StringValue::Clear() { |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.StringValue) |
| ::google::protobuf::internal::TSanWrite(&_impl_); |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| _impl_.value_.ClearNonDefaultToEmpty(); |
| } |
| _impl_._has_bits_.Clear(); |
| _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::uint8_t* StringValue::_InternalSerialize( |
| const MessageLite& base, ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) { |
| const StringValue& this_ = static_cast<const StringValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::uint8_t* StringValue::_InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
| const StringValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.StringValue) |
| ::uint32_t cached_has_bits = 0; |
| (void)cached_has_bits; |
| |
| // string value = 1; |
| if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { |
| if (!this_._internal_value().empty()) { |
| const std::string& _s = this_._internal_value(); |
| ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( |
| _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.StringValue.value"); |
| target = stream->WriteStringMaybeAliased(1, _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.StringValue) |
| return target; |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::size_t StringValue::ByteSizeLong(const MessageLite& base) { |
| const StringValue& this_ = static_cast<const StringValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::size_t StringValue::ByteSizeLong() const { |
| const StringValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.StringValue) |
| ::size_t total_size = 0; |
| |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void)cached_has_bits; |
| |
| { |
| // string value = 1; |
| cached_has_bits = this_._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (!this_._internal_value().empty()) { |
| total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( |
| this_._internal_value()); |
| } |
| } |
| } |
| return this_.MaybeComputeUnknownFieldsSize(total_size, |
| &this_._impl_._cached_size_); |
| } |
| |
| void StringValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
| auto* const _this = static_cast<StringValue*>(&to_msg); |
| auto& from = static_cast<const StringValue&>(from_msg); |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.StringValue) |
| ABSL_DCHECK_NE(&from, _this); |
| ::uint32_t cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (!from._internal_value().empty()) { |
| _this->_internal_set_value(from._internal_value()); |
| } else { |
| if (_this->_impl_.value_.IsDefault()) { |
| _this->_internal_set_value(""); |
| } |
| } |
| } |
| _this->_impl_._has_bits_[0] |= cached_has_bits; |
| _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
| } |
| |
| void StringValue::CopyFrom(const StringValue& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.StringValue) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| |
| void StringValue::InternalSwap(StringValue* PROTOBUF_RESTRICT 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_.value_, &other->_impl_.value_, arena); |
| } |
| |
| ::google::protobuf::Metadata StringValue::GetMetadata() const { |
| return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
| } |
| // =================================================================== |
| |
| class BytesValue::_Internal { |
| public: |
| using HasBits = |
| decltype(std::declval<BytesValue>()._impl_._has_bits_); |
| static constexpr ::int32_t kHasBitsOffset = |
| 8 * PROTOBUF_FIELD_OFFSET(BytesValue, _impl_._has_bits_); |
| }; |
| |
| BytesValue::BytesValue(::google::protobuf::Arena* arena) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, BytesValue_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| SharedCtor(arena); |
| // @@protoc_insertion_point(arena_constructor:google.protobuf.BytesValue) |
| } |
| PROTOBUF_NDEBUG_INLINE BytesValue::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, |
| const Impl_& from, const ::google::protobuf::BytesValue& from_msg) |
| : _has_bits_{from._has_bits_}, |
| _cached_size_{0}, |
| value_(arena, from.value_) {} |
| |
| BytesValue::BytesValue( |
| ::google::protobuf::Arena* arena, |
| const BytesValue& from) |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| : ::google::protobuf::Message(arena, BytesValue_class_data_.base()) { |
| #else // PROTOBUF_CUSTOM_VTABLE |
| : ::google::protobuf::Message(arena) { |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| BytesValue* const _this = this; |
| (void)_this; |
| _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( |
| from._internal_metadata_); |
| new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); |
| |
| // @@protoc_insertion_point(copy_constructor:google.protobuf.BytesValue) |
| } |
| PROTOBUF_NDEBUG_INLINE BytesValue::Impl_::Impl_( |
| ::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena) |
| : _cached_size_{0}, |
| value_(arena) {} |
| |
| inline void BytesValue::SharedCtor(::_pb::Arena* arena) { |
| new (&_impl_) Impl_(internal_visibility(), arena); |
| } |
| BytesValue::~BytesValue() { |
| // @@protoc_insertion_point(destructor:google.protobuf.BytesValue) |
| SharedDtor(*this); |
| } |
| inline void BytesValue::SharedDtor(MessageLite& self) { |
| BytesValue& this_ = static_cast<BytesValue&>(self); |
| this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); |
| ABSL_DCHECK(this_.GetArena() == nullptr); |
| this_._impl_.value_.Destroy(); |
| this_._impl_.~Impl_(); |
| } |
| |
| inline void* BytesValue::PlacementNew_(const void*, void* mem, |
| ::google::protobuf::Arena* arena) { |
| return ::new (mem) BytesValue(arena); |
| } |
| constexpr auto BytesValue::InternalNewImpl_() { |
| return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BytesValue), |
| alignof(BytesValue)); |
| } |
| constexpr auto BytesValue::InternalGenerateClassData_() { |
| return ::google::protobuf::internal::ClassDataFull{ |
| ::google::protobuf::internal::ClassData{ |
| &_BytesValue_default_instance_._instance, |
| &_table_.header, |
| nullptr, // OnDemandRegisterArenaDtor |
| nullptr, // IsInitialized |
| &BytesValue::MergeImpl, |
| ::google::protobuf::Message::GetNewImpl<BytesValue>(), |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| &BytesValue::SharedDtor, |
| ::google::protobuf::Message::GetClearImpl<BytesValue>(), &BytesValue::ByteSizeLong, |
| &BytesValue::_InternalSerialize, |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| PROTOBUF_FIELD_OFFSET(BytesValue, _impl_._cached_size_), |
| false, |
| }, |
| &BytesValue::kDescriptorMethods, |
| &descriptor_table_google_2fprotobuf_2fwrappers_2eproto, |
| nullptr, // tracker |
| }; |
| } |
| |
| PROTOBUF_CONSTINIT PROTOBUF_EXPORT |
| PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull |
| BytesValue_class_data_ = |
| BytesValue::InternalGenerateClassData_(); |
| |
| const ::google::protobuf::internal::ClassData* BytesValue::GetClassData() const { |
| ::google::protobuf::internal::PrefetchToLocalCache(&BytesValue_class_data_); |
| ::google::protobuf::internal::PrefetchToLocalCache(BytesValue_class_data_.tc_table); |
| return BytesValue_class_data_.base(); |
| } |
| PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 |
| const ::_pbi::TcParseTable<0, 1, 0, 0, 2> BytesValue::_table_ = { |
| { |
| PROTOBUF_FIELD_OFFSET(BytesValue, _impl_._has_bits_), |
| 0, // no _extensions_ |
| 1, 0, // max_field_number, fast_idx_mask |
| offsetof(decltype(_table_), field_lookup_table), |
| 4294967294, // skipmap |
| offsetof(decltype(_table_), field_entries), |
| 1, // num_field_entries |
| 0, // num_aux_entries |
| offsetof(decltype(_table_), field_names), // no aux_entries |
| BytesValue_class_data_.base(), |
| nullptr, // post_loop_handler |
| ::_pbi::TcParser::GenericFallback, // fallback |
| #ifdef PROTOBUF_PREFETCH_PARSE_TABLE |
| ::_pbi::TcParser::GetTable<::google::protobuf::BytesValue>(), // to_prefetch |
| #endif // PROTOBUF_PREFETCH_PARSE_TABLE |
| }, {{ |
| // bytes value = 1; |
| {::_pbi::TcParser::FastBS1, |
| {10, 0, 0, PROTOBUF_FIELD_OFFSET(BytesValue, _impl_.value_)}}, |
| }}, {{ |
| 65535, 65535 |
| }}, {{ |
| // bytes value = 1; |
| {PROTOBUF_FIELD_OFFSET(BytesValue, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, |
| (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)}, |
| }}, |
| // no aux_entries |
| {{ |
| }}, |
| }; |
| |
| PROTOBUF_NOINLINE void BytesValue::Clear() { |
| // @@protoc_insertion_point(message_clear_start:google.protobuf.BytesValue) |
| ::google::protobuf::internal::TSanWrite(&_impl_); |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void) cached_has_bits; |
| |
| cached_has_bits = _impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| _impl_.value_.ClearNonDefaultToEmpty(); |
| } |
| _impl_._has_bits_.Clear(); |
| _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::uint8_t* BytesValue::_InternalSerialize( |
| const MessageLite& base, ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) { |
| const BytesValue& this_ = static_cast<const BytesValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::uint8_t* BytesValue::_InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
| const BytesValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BytesValue) |
| ::uint32_t cached_has_bits = 0; |
| (void)cached_has_bits; |
| |
| // bytes value = 1; |
| if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) { |
| if (!this_._internal_value().empty()) { |
| const std::string& _s = this_._internal_value(); |
| target = stream->WriteBytesMaybeAliased(1, _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.BytesValue) |
| return target; |
| } |
| |
| #if defined(PROTOBUF_CUSTOM_VTABLE) |
| ::size_t BytesValue::ByteSizeLong(const MessageLite& base) { |
| const BytesValue& this_ = static_cast<const BytesValue&>(base); |
| #else // PROTOBUF_CUSTOM_VTABLE |
| ::size_t BytesValue::ByteSizeLong() const { |
| const BytesValue& this_ = *this; |
| #endif // PROTOBUF_CUSTOM_VTABLE |
| // @@protoc_insertion_point(message_byte_size_start:google.protobuf.BytesValue) |
| ::size_t total_size = 0; |
| |
| ::uint32_t cached_has_bits = 0; |
| // Prevent compiler warnings about cached_has_bits being unused |
| (void)cached_has_bits; |
| |
| { |
| // bytes value = 1; |
| cached_has_bits = this_._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (!this_._internal_value().empty()) { |
| total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( |
| this_._internal_value()); |
| } |
| } |
| } |
| return this_.MaybeComputeUnknownFieldsSize(total_size, |
| &this_._impl_._cached_size_); |
| } |
| |
| void BytesValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { |
| auto* const _this = static_cast<BytesValue*>(&to_msg); |
| auto& from = static_cast<const BytesValue&>(from_msg); |
| // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BytesValue) |
| ABSL_DCHECK_NE(&from, _this); |
| ::uint32_t cached_has_bits = 0; |
| (void) cached_has_bits; |
| |
| cached_has_bits = from._impl_._has_bits_[0]; |
| if (cached_has_bits & 0x00000001u) { |
| if (!from._internal_value().empty()) { |
| _this->_internal_set_value(from._internal_value()); |
| } else { |
| if (_this->_impl_.value_.IsDefault()) { |
| _this->_internal_set_value(""); |
| } |
| } |
| } |
| _this->_impl_._has_bits_[0] |= cached_has_bits; |
| _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); |
| } |
| |
| void BytesValue::CopyFrom(const BytesValue& from) { |
| // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.BytesValue) |
| if (&from == this) return; |
| Clear(); |
| MergeFrom(from); |
| } |
| |
| |
| void BytesValue::InternalSwap(BytesValue* PROTOBUF_RESTRICT 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_.value_, &other->_impl_.value_, arena); |
| } |
| |
| ::google::protobuf::Metadata BytesValue::GetMetadata() const { |
| return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); |
| } |
| // @@protoc_insertion_point(namespace_scope) |
| } // 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_2fwrappers_2eproto), |
| ::std::false_type{}); |
| #include "google/protobuf/port_undef.inc" |