| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // source: merchant_signal_db_content.proto |
| |
| #ifndef GOOGLE_PROTOBUF_INCLUDED_merchant_5fsignal_5fdb_5fcontent_2eproto |
| #define GOOGLE_PROTOBUF_INCLUDED_merchant_5fsignal_5fdb_5fcontent_2eproto |
| |
| #include <limits> |
| #include <string> |
| |
| #include <google/protobuf/port_def.inc> |
| #if PROTOBUF_VERSION < 3013000 |
| #error This file was generated by a newer version of protoc which is |
| #error incompatible with your Protocol Buffer headers. Please update |
| #error your headers. |
| #endif |
| #if 3013000 < PROTOBUF_MIN_PROTOC_VERSION |
| #error This file was generated by an older version of protoc which is |
| #error incompatible with your Protocol Buffer headers. Please |
| #error regenerate this file with a newer version of protoc. |
| #endif |
| |
| #include <google/protobuf/port_undef.inc> |
| #include <google/protobuf/io/coded_stream.h> |
| #include <google/protobuf/arena.h> |
| #include <google/protobuf/arenastring.h> |
| #include <google/protobuf/generated_message_table_driven.h> |
| #include <google/protobuf/generated_message_util.h> |
| #include <google/protobuf/inlined_string_field.h> |
| #include <google/protobuf/metadata_lite.h> |
| #include <google/protobuf/message_lite.h> |
| #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
| #include <google/protobuf/extension_set.h> // IWYU pragma: export |
| // @@protoc_insertion_point(includes) |
| #ifdef KYTHE_IS_RUNNING |
| #pragma kythe_metadata "merchant_signal_db_content.pb.h.meta" |
| #endif // KYTHE_IS_RUNNING |
| #include <google/protobuf/port_def.inc> |
| #define PROTOBUF_INTERNAL_EXPORT_merchant_5fsignal_5fdb_5fcontent_2eproto |
| PROTOBUF_NAMESPACE_OPEN |
| namespace internal { |
| class AnyMetadata; |
| } // namespace internal |
| PROTOBUF_NAMESPACE_CLOSE |
| |
| // Internal implementation detail -- do not use these members. |
| struct TableStruct_merchant_5fsignal_5fdb_5fcontent_2eproto { |
| static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
| PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] |
| PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] |
| PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
| static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
| static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
| static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
| }; |
| namespace merchant_signal_db { |
| class MerchantSignalContentProto; |
| class MerchantSignalContentProtoDefaultTypeInternal; |
| extern MerchantSignalContentProtoDefaultTypeInternal _MerchantSignalContentProto_default_instance_; |
| } // namespace merchant_signal_db |
| PROTOBUF_NAMESPACE_OPEN |
| template<> ::merchant_signal_db::MerchantSignalContentProto* Arena::CreateMaybeMessage<::merchant_signal_db::MerchantSignalContentProto>(Arena*); |
| PROTOBUF_NAMESPACE_CLOSE |
| namespace merchant_signal_db { |
| |
| // =================================================================== |
| |
| class MerchantSignalContentProto PROTOBUF_FINAL : |
| public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:merchant_signal_db.MerchantSignalContentProto) */ { |
| public: |
| inline MerchantSignalContentProto() : MerchantSignalContentProto(nullptr) {} |
| virtual ~MerchantSignalContentProto(); |
| |
| MerchantSignalContentProto(const MerchantSignalContentProto& from); |
| MerchantSignalContentProto(MerchantSignalContentProto&& from) noexcept |
| : MerchantSignalContentProto() { |
| *this = ::std::move(from); |
| } |
| |
| inline MerchantSignalContentProto& operator=(const MerchantSignalContentProto& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| inline MerchantSignalContentProto& operator=(MerchantSignalContentProto&& from) noexcept { |
| if (GetArena() == from.GetArena()) { |
| if (this != &from) InternalSwap(&from); |
| } else { |
| CopyFrom(from); |
| } |
| return *this; |
| } |
| |
| static const MerchantSignalContentProto& default_instance(); |
| |
| static inline const MerchantSignalContentProto* internal_default_instance() { |
| return reinterpret_cast<const MerchantSignalContentProto*>( |
| &_MerchantSignalContentProto_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = |
| 0; |
| |
| friend void swap(MerchantSignalContentProto& a, MerchantSignalContentProto& b) { |
| a.Swap(&b); |
| } |
| PROTOBUF_NOINLINE void Swap(MerchantSignalContentProto* other) { |
| if (other == this) return; |
| if (GetArena() == other->GetArena()) { |
| InternalSwap(other); |
| } else { |
| ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
| } |
| } |
| void UnsafeArenaSwap(MerchantSignalContentProto* other) { |
| if (other == this) return; |
| GOOGLE_DCHECK(GetArena() == other->GetArena()); |
| InternalSwap(other); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| inline MerchantSignalContentProto* New() const final { |
| return CreateMaybeMessage<MerchantSignalContentProto>(nullptr); |
| } |
| |
| MerchantSignalContentProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
| return CreateMaybeMessage<MerchantSignalContentProto>(arena); |
| } |
| void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) |
| final; |
| void CopyFrom(const MerchantSignalContentProto& from); |
| void MergeFrom(const MerchantSignalContentProto& from); |
| PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
| bool IsInitialized() const final; |
| |
| size_t ByteSizeLong() const final; |
| const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
| ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize( |
| ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
| void DiscardUnknownFields(); |
| int GetCachedSize() const final { return _cached_size_.Get(); } |
| |
| private: |
| inline void SharedCtor(); |
| inline void SharedDtor(); |
| void SetCachedSize(int size) const; |
| void InternalSwap(MerchantSignalContentProto* other); |
| friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
| static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
| return "merchant_signal_db.MerchantSignalContentProto"; |
| } |
| protected: |
| explicit MerchantSignalContentProto(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| private: |
| static void ArenaDtor(void* object); |
| inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
| public: |
| |
| std::string GetTypeName() const final; |
| |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| |
| enum : int { |
| kKeyFieldNumber = 1, |
| kTrustSignalsMessageDisplayedTimestampFieldNumber = 2, |
| }; |
| // string key = 1; |
| void clear_key(); |
| const std::string& key() const; |
| void set_key(const std::string& value); |
| void set_key(std::string&& value); |
| void set_key(const char* value); |
| void set_key(const char* value, size_t size); |
| std::string* mutable_key(); |
| std::string* release_key(); |
| void set_allocated_key(std::string* key); |
| private: |
| const std::string& _internal_key() const; |
| void _internal_set_key(const std::string& value); |
| std::string* _internal_mutable_key(); |
| public: |
| |
| // int64 trust_signals_message_displayed_timestamp = 2; |
| void clear_trust_signals_message_displayed_timestamp(); |
| ::PROTOBUF_NAMESPACE_ID::int64 trust_signals_message_displayed_timestamp() const; |
| void set_trust_signals_message_displayed_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); |
| private: |
| ::PROTOBUF_NAMESPACE_ID::int64 _internal_trust_signals_message_displayed_timestamp() const; |
| void _internal_set_trust_signals_message_displayed_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value); |
| public: |
| |
| // @@protoc_insertion_point(class_scope:merchant_signal_db.MerchantSignalContentProto) |
| private: |
| class _Internal; |
| |
| template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
| typedef void InternalArenaConstructable_; |
| typedef void DestructorSkippable_; |
| ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; |
| ::PROTOBUF_NAMESPACE_ID::int64 trust_signals_message_displayed_timestamp_; |
| mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
| friend struct ::TableStruct_merchant_5fsignal_5fdb_5fcontent_2eproto; |
| }; |
| // =================================================================== |
| |
| |
| // =================================================================== |
| |
| #ifdef __GNUC__ |
| #pragma GCC diagnostic push |
| #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
| #endif // __GNUC__ |
| // MerchantSignalContentProto |
| |
| // string key = 1; |
| inline void MerchantSignalContentProto::clear_key() { |
| key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); |
| } |
| inline const std::string& MerchantSignalContentProto::key() const { |
| // @@protoc_insertion_point(field_get:merchant_signal_db.MerchantSignalContentProto.key) |
| return _internal_key(); |
| } |
| inline void MerchantSignalContentProto::set_key(const std::string& value) { |
| _internal_set_key(value); |
| // @@protoc_insertion_point(field_set:merchant_signal_db.MerchantSignalContentProto.key) |
| } |
| inline std::string* MerchantSignalContentProto::mutable_key() { |
| // @@protoc_insertion_point(field_mutable:merchant_signal_db.MerchantSignalContentProto.key) |
| return _internal_mutable_key(); |
| } |
| inline const std::string& MerchantSignalContentProto::_internal_key() const { |
| return key_.Get(); |
| } |
| inline void MerchantSignalContentProto::_internal_set_key(const std::string& value) { |
| |
| key_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena()); |
| } |
| inline void MerchantSignalContentProto::set_key(std::string&& value) { |
| |
| key_.SetLite( |
| &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena()); |
| // @@protoc_insertion_point(field_set_rvalue:merchant_signal_db.MerchantSignalContentProto.key) |
| } |
| inline void MerchantSignalContentProto::set_key(const char* value) { |
| GOOGLE_DCHECK(value != nullptr); |
| |
| key_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
| GetArena()); |
| // @@protoc_insertion_point(field_set_char:merchant_signal_db.MerchantSignalContentProto.key) |
| } |
| inline void MerchantSignalContentProto::set_key(const char* value, |
| size_t size) { |
| |
| key_.SetLite(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
| reinterpret_cast<const char*>(value), size), GetArena()); |
| // @@protoc_insertion_point(field_set_pointer:merchant_signal_db.MerchantSignalContentProto.key) |
| } |
| inline std::string* MerchantSignalContentProto::_internal_mutable_key() { |
| |
| return key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); |
| } |
| inline std::string* MerchantSignalContentProto::release_key() { |
| // @@protoc_insertion_point(field_release:merchant_signal_db.MerchantSignalContentProto.key) |
| return key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); |
| } |
| inline void MerchantSignalContentProto::set_allocated_key(std::string* key) { |
| if (key != nullptr) { |
| |
| } else { |
| |
| } |
| key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key, |
| GetArena()); |
| // @@protoc_insertion_point(field_set_allocated:merchant_signal_db.MerchantSignalContentProto.key) |
| } |
| |
| // int64 trust_signals_message_displayed_timestamp = 2; |
| inline void MerchantSignalContentProto::clear_trust_signals_message_displayed_timestamp() { |
| trust_signals_message_displayed_timestamp_ = PROTOBUF_LONGLONG(0); |
| } |
| inline ::PROTOBUF_NAMESPACE_ID::int64 MerchantSignalContentProto::_internal_trust_signals_message_displayed_timestamp() const { |
| return trust_signals_message_displayed_timestamp_; |
| } |
| inline ::PROTOBUF_NAMESPACE_ID::int64 MerchantSignalContentProto::trust_signals_message_displayed_timestamp() const { |
| // @@protoc_insertion_point(field_get:merchant_signal_db.MerchantSignalContentProto.trust_signals_message_displayed_timestamp) |
| return _internal_trust_signals_message_displayed_timestamp(); |
| } |
| inline void MerchantSignalContentProto::_internal_set_trust_signals_message_displayed_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) { |
| |
| trust_signals_message_displayed_timestamp_ = value; |
| } |
| inline void MerchantSignalContentProto::set_trust_signals_message_displayed_timestamp(::PROTOBUF_NAMESPACE_ID::int64 value) { |
| _internal_set_trust_signals_message_displayed_timestamp(value); |
| // @@protoc_insertion_point(field_set:merchant_signal_db.MerchantSignalContentProto.trust_signals_message_displayed_timestamp) |
| } |
| |
| #ifdef __GNUC__ |
| #pragma GCC diagnostic pop |
| #endif // __GNUC__ |
| |
| // @@protoc_insertion_point(namespace_scope) |
| |
| } // namespace merchant_signal_db |
| |
| // @@protoc_insertion_point(global_scope) |
| |
| #include <google/protobuf/port_undef.inc> |
| #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_merchant_5fsignal_5fdb_5fcontent_2eproto |