// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: paint_preview.proto
// Protobuf C++ Version: 7.35.1

#ifndef paint_5fpreview_2eproto_2epb_2eh
#define paint_5fpreview_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>
#include <utility>

// clang-format off
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 7035001
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.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)

// Must be included last.
#include "google/protobuf/port_def.inc"

#define PROTOBUF_INTERNAL_EXPORT_paint_5fpreview_2eproto

namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
}  // namespace internal
}  // namespace protobuf
}  // namespace google

// Internal implementation detail -- do not use these members.
struct TableStruct_paint_5fpreview_2eproto {
  static const ::uint32_t offsets[];
};
namespace paint_preview {
class ChromeVersionProto;
struct ChromeVersionProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ChromeVersionProtoGlobalsTypeInternal ChromeVersionProto_globals_;
extern const ::google::protobuf::internal::ClassDataLite ChromeVersionProto_class_data_;
#else
extern const ChromeVersionProtoGlobalsTypeInternal ChromeVersionProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ContentIdEmbeddingTokenPairProto;
struct ContentIdEmbeddingTokenPairProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ContentIdEmbeddingTokenPairProtoGlobalsTypeInternal ContentIdEmbeddingTokenPairProto_globals_;
extern const ::google::protobuf::internal::ClassDataLite ContentIdEmbeddingTokenPairProto_class_data_;
#else
extern const ContentIdEmbeddingTokenPairProtoGlobalsTypeInternal ContentIdEmbeddingTokenPairProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class LinkDataProto;
struct LinkDataProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern LinkDataProtoGlobalsTypeInternal LinkDataProto_globals_;
extern const ::google::protobuf::internal::ClassDataLite LinkDataProto_class_data_;
#else
extern const LinkDataProtoGlobalsTypeInternal LinkDataProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class MetadataProto;
struct MetadataProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern MetadataProtoGlobalsTypeInternal MetadataProto_globals_;
extern const ::google::protobuf::internal::ClassDataLite MetadataProto_class_data_;
#else
extern const MetadataProtoGlobalsTypeInternal MetadataProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PaintPreviewFrameProto;
struct PaintPreviewFrameProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PaintPreviewFrameProtoGlobalsTypeInternal PaintPreviewFrameProto_globals_;
extern const ::google::protobuf::internal::ClassDataLite PaintPreviewFrameProto_class_data_;
#else
extern const PaintPreviewFrameProtoGlobalsTypeInternal PaintPreviewFrameProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class PaintPreviewProto;
struct PaintPreviewProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern PaintPreviewProtoGlobalsTypeInternal PaintPreviewProto_globals_;
extern const ::google::protobuf::internal::ClassDataLite PaintPreviewProto_class_data_;
#else
extern const PaintPreviewProtoGlobalsTypeInternal PaintPreviewProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class RectProto;
struct RectProtoGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern RectProtoGlobalsTypeInternal RectProto_globals_;
extern const ::google::protobuf::internal::ClassDataLite RectProto_class_data_;
#else
extern const RectProtoGlobalsTypeInternal RectProto_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace paint_preview
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace paint_preview {

// ===================================================================


// -------------------------------------------------------------------

class  RectProto final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:paint_preview.RectProto) */ {
 public:
  inline RectProto() : RectProto(nullptr) {}
  ~RectProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(RectProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(RectProto));
  }
#endif

  template <typename = void>
  explicit constexpr RectProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline RectProto(const RectProto& from) : RectProto(nullptr, from) {}
  inline RectProto(RectProto&& from) noexcept : RectProto(nullptr, ::std::move(from)) {}
  inline RectProto& operator=(const RectProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline RectProto& operator=(RectProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const RectProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<RectProto>(&RectProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(RectProto& a, RectProto& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(RectProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(RectProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  RectProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<RectProto>(arena);
  }
  void CopyFrom(const RectProto& from);
  void MergeFrom(const RectProto& from) { RectProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(RectProto* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "paint_preview.RectProto"; }

  explicit RectProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  RectProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const RectProto& from);
  RectProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, RectProto&& from) noexcept
      : RectProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kXFieldNumber = 1,
    kYFieldNumber = 2,
    kWidthFieldNumber = 3,
    kHeightFieldNumber = 4,
  };
  // optional int64 x = 1;
  bool has_x()
      const;
  void clear_x() ;
  ::int64_t x() const;
  void set_x(::int64_t value);

  private:
  ::int64_t _internal_x() const;
  void _internal_set_x(::int64_t value);

  public:
  // optional int64 y = 2;
  bool has_y()
      const;
  void clear_y() ;
  ::int64_t y() const;
  void set_y(::int64_t value);

  private:
  ::int64_t _internal_y() const;
  void _internal_set_y(::int64_t value);

  public:
  // optional int64 width = 3;
  bool has_width()
      const;
  void clear_width() ;
  ::int64_t width() const;
  void set_width(::int64_t value);

  private:
  ::int64_t _internal_width() const;
  void _internal_set_width(::int64_t value);

  public:
  // optional int64 height = 4;
  bool has_height()
      const;
  void clear_height() ;
  ::int64_t height() const;
  void set_height(::int64_t value);

  private:
  ::int64_t _internal_height() const;
  void _internal_set_height(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:paint_preview.RectProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 4,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const RectProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::int64_t x_;
    ::int64_t y_;
    ::int64_t width_;
    ::int64_t height_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_paint_5fpreview_2eproto;
};
// -------------------------------------------------------------------

class  ContentIdEmbeddingTokenPairProto final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:paint_preview.ContentIdEmbeddingTokenPairProto) */ {
 public:
  inline ContentIdEmbeddingTokenPairProto() : ContentIdEmbeddingTokenPairProto(nullptr) {}
  ~ContentIdEmbeddingTokenPairProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(ContentIdEmbeddingTokenPairProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(ContentIdEmbeddingTokenPairProto));
  }
#endif

  template <typename = void>
  explicit constexpr ContentIdEmbeddingTokenPairProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ContentIdEmbeddingTokenPairProto(const ContentIdEmbeddingTokenPairProto& from) : ContentIdEmbeddingTokenPairProto(nullptr, from) {}
  inline ContentIdEmbeddingTokenPairProto(ContentIdEmbeddingTokenPairProto&& from) noexcept : ContentIdEmbeddingTokenPairProto(nullptr, ::std::move(from)) {}
  inline ContentIdEmbeddingTokenPairProto& operator=(const ContentIdEmbeddingTokenPairProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline ContentIdEmbeddingTokenPairProto& operator=(ContentIdEmbeddingTokenPairProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ContentIdEmbeddingTokenPairProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ContentIdEmbeddingTokenPairProto>(&ContentIdEmbeddingTokenPairProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 2;
  friend void swap(ContentIdEmbeddingTokenPairProto& a, ContentIdEmbeddingTokenPairProto& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ContentIdEmbeddingTokenPairProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ContentIdEmbeddingTokenPairProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ContentIdEmbeddingTokenPairProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<ContentIdEmbeddingTokenPairProto>(arena);
  }
  void CopyFrom(const ContentIdEmbeddingTokenPairProto& from);
  void MergeFrom(const ContentIdEmbeddingTokenPairProto& from) { ContentIdEmbeddingTokenPairProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(ContentIdEmbeddingTokenPairProto* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "paint_preview.ContentIdEmbeddingTokenPairProto"; }

  explicit ContentIdEmbeddingTokenPairProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ContentIdEmbeddingTokenPairProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ContentIdEmbeddingTokenPairProto& from);
  ContentIdEmbeddingTokenPairProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ContentIdEmbeddingTokenPairProto&& from) noexcept
      : ContentIdEmbeddingTokenPairProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kEmbeddingTokenLowFieldNumber = 2,
    kEmbeddingTokenHighFieldNumber = 3,
    kContentIdFieldNumber = 1,
  };
  // optional uint64 embedding_token_low = 2;
  bool has_embedding_token_low()
      const;
  void clear_embedding_token_low() ;
  ::uint64_t embedding_token_low() const;
  void set_embedding_token_low(::uint64_t value);

  private:
  ::uint64_t _internal_embedding_token_low() const;
  void _internal_set_embedding_token_low(::uint64_t value);

  public:
  // optional uint64 embedding_token_high = 3;
  bool has_embedding_token_high()
      const;
  void clear_embedding_token_high() ;
  ::uint64_t embedding_token_high() const;
  void set_embedding_token_high(::uint64_t value);

  private:
  ::uint64_t _internal_embedding_token_high() const;
  void _internal_set_embedding_token_high(::uint64_t value);

  public:
  // optional uint32 content_id = 1;
  bool has_content_id()
      const;
  void clear_content_id() ;
  ::uint32_t content_id() const;
  void set_content_id(::uint32_t value);

  private:
  ::uint32_t _internal_content_id() const;
  void _internal_set_content_id(::uint32_t value);

  public:
  // @@protoc_insertion_point(class_scope:paint_preview.ContentIdEmbeddingTokenPairProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ContentIdEmbeddingTokenPairProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::uint64_t embedding_token_low_;
    ::uint64_t embedding_token_high_;
    ::uint32_t content_id_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_paint_5fpreview_2eproto;
};
// -------------------------------------------------------------------

class  ChromeVersionProto final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:paint_preview.ChromeVersionProto) */ {
 public:
  inline ChromeVersionProto() : ChromeVersionProto(nullptr) {}
  ~ChromeVersionProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(ChromeVersionProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(ChromeVersionProto));
  }
#endif

  template <typename = void>
  explicit constexpr ChromeVersionProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline ChromeVersionProto(const ChromeVersionProto& from) : ChromeVersionProto(nullptr, from) {}
  inline ChromeVersionProto(ChromeVersionProto&& from) noexcept : ChromeVersionProto(nullptr, ::std::move(from)) {}
  inline ChromeVersionProto& operator=(const ChromeVersionProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline ChromeVersionProto& operator=(ChromeVersionProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const ChromeVersionProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<ChromeVersionProto>(&ChromeVersionProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 4;
  friend void swap(ChromeVersionProto& a, ChromeVersionProto& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(ChromeVersionProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ChromeVersionProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  ChromeVersionProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<ChromeVersionProto>(arena);
  }
  void CopyFrom(const ChromeVersionProto& from);
  void MergeFrom(const ChromeVersionProto& from) { ChromeVersionProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(ChromeVersionProto* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "paint_preview.ChromeVersionProto"; }

  explicit ChromeVersionProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ChromeVersionProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ChromeVersionProto& from);
  ChromeVersionProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ChromeVersionProto&& from) noexcept
      : ChromeVersionProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kMajorFieldNumber = 1,
    kMinorFieldNumber = 2,
    kBuildFieldNumber = 3,
    kPatchFieldNumber = 4,
  };
  // optional uint64 major = 1;
  bool has_major()
      const;
  void clear_major() ;
  ::uint64_t major() const;
  void set_major(::uint64_t value);

  private:
  ::uint64_t _internal_major() const;
  void _internal_set_major(::uint64_t value);

  public:
  // optional uint64 minor = 2;
  bool has_minor()
      const;
  void clear_minor() ;
  ::uint64_t minor() const;
  void set_minor(::uint64_t value);

  private:
  ::uint64_t _internal_minor() const;
  void _internal_set_minor(::uint64_t value);

  public:
  // optional uint64 build = 3;
  bool has_build()
      const;
  void clear_build() ;
  ::uint64_t build() const;
  void set_build(::uint64_t value);

  private:
  ::uint64_t _internal_build() const;
  void _internal_set_build(::uint64_t value);

  public:
  // optional uint64 patch = 4;
  bool has_patch()
      const;
  void clear_patch() ;
  ::uint64_t patch() const;
  void set_patch(::uint64_t value);

  private:
  ::uint64_t _internal_patch() const;
  void _internal_set_patch(::uint64_t value);

  public:
  // @@protoc_insertion_point(class_scope:paint_preview.ChromeVersionProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 4,
                          0, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ChromeVersionProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::uint64_t major_;
    ::uint64_t minor_;
    ::uint64_t build_;
    ::uint64_t patch_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_paint_5fpreview_2eproto;
};
// -------------------------------------------------------------------

class  MetadataProto final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:paint_preview.MetadataProto) */ {
 public:
  inline MetadataProto() : MetadataProto(nullptr) {}
  ~MetadataProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(MetadataProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(MetadataProto));
  }
#endif

  template <typename = void>
  explicit constexpr MetadataProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline MetadataProto(const MetadataProto& from) : MetadataProto(nullptr, from) {}
  inline MetadataProto(MetadataProto&& from) noexcept : MetadataProto(nullptr, ::std::move(from)) {}
  inline MetadataProto& operator=(const MetadataProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline MetadataProto& operator=(MetadataProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const MetadataProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<MetadataProto>(&MetadataProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 5;
  friend void swap(MetadataProto& a, MetadataProto& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(MetadataProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(MetadataProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  MetadataProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<MetadataProto>(arena);
  }
  void CopyFrom(const MetadataProto& from);
  void MergeFrom(const MetadataProto& from) { MetadataProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(MetadataProto* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "paint_preview.MetadataProto"; }

  explicit MetadataProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  MetadataProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MetadataProto& from);
  MetadataProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MetadataProto&& from) noexcept
      : MetadataProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kUrlFieldNumber = 1,
    kChromeVersionFieldNumber = 3,
    kVersionFieldNumber = 2,
    kPageScaleFactorFieldNumber = 4,
  };
  // optional string url = 1;
  bool has_url()
      const;
  void clear_url() ;
  const ::std::string& url() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_url(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_url();
  ::std::string* PROTOBUF_NULLABLE release_url();
  void set_allocated_url(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_url() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_url(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_url();

  public:
  // optional .paint_preview.ChromeVersionProto chrome_version = 3;
  bool has_chrome_version()
      const;
  void clear_chrome_version() ;
  const ::paint_preview::ChromeVersionProto& chrome_version() const;
  ::paint_preview::ChromeVersionProto* PROTOBUF_NULLABLE release_chrome_version();
  ::paint_preview::ChromeVersionProto* PROTOBUF_NONNULL mutable_chrome_version();
  void set_allocated_chrome_version(::paint_preview::ChromeVersionProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_chrome_version(::paint_preview::ChromeVersionProto* PROTOBUF_NULLABLE value);
  ::paint_preview::ChromeVersionProto* PROTOBUF_NULLABLE unsafe_arena_release_chrome_version();

  private:
  const ::paint_preview::ChromeVersionProto& _internal_chrome_version() const;
  ::paint_preview::ChromeVersionProto* PROTOBUF_NONNULL _internal_mutable_chrome_version();

  public:
  // optional uint64 version = 2;
  bool has_version()
      const;
  void clear_version() ;
  ::uint64_t version() const;
  void set_version(::uint64_t value);

  private:
  ::uint64_t _internal_version() const;
  void _internal_set_version(::uint64_t value);

  public:
  // optional float page_scale_factor = 4;
  bool has_page_scale_factor()
      const;
  void clear_page_scale_factor() ;
  float page_scale_factor() const;
  void set_page_scale_factor(float value);

  private:
  float _internal_page_scale_factor() const;
  void _internal_set_page_scale_factor(float value);

  public:
  // @@protoc_insertion_point(class_scope:paint_preview.MetadataProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 4,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const MetadataProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr url_;
    ::paint_preview::ChromeVersionProto* PROTOBUF_NULLABLE chrome_version_;
    ::uint64_t version_;
    float page_scale_factor_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_paint_5fpreview_2eproto;
};
// -------------------------------------------------------------------

class  LinkDataProto final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:paint_preview.LinkDataProto) */ {
 public:
  inline LinkDataProto() : LinkDataProto(nullptr) {}
  ~LinkDataProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(LinkDataProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(LinkDataProto));
  }
#endif

  template <typename = void>
  explicit constexpr LinkDataProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline LinkDataProto(const LinkDataProto& from) : LinkDataProto(nullptr, from) {}
  inline LinkDataProto(LinkDataProto&& from) noexcept : LinkDataProto(nullptr, ::std::move(from)) {}
  inline LinkDataProto& operator=(const LinkDataProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline LinkDataProto& operator=(LinkDataProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const LinkDataProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<LinkDataProto>(&LinkDataProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 1;
  friend void swap(LinkDataProto& a, LinkDataProto& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(LinkDataProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(LinkDataProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  LinkDataProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<LinkDataProto>(arena);
  }
  void CopyFrom(const LinkDataProto& from);
  void MergeFrom(const LinkDataProto& from) { LinkDataProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(LinkDataProto* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "paint_preview.LinkDataProto"; }

  explicit LinkDataProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  LinkDataProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LinkDataProto& from);
  LinkDataProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LinkDataProto&& from) noexcept
      : LinkDataProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kUrlFieldNumber = 2,
    kRectFieldNumber = 1,
  };
  // optional string url = 2;
  bool has_url()
      const;
  void clear_url() ;
  const ::std::string& url() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_url(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_url();
  ::std::string* PROTOBUF_NULLABLE release_url();
  void set_allocated_url(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_url() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_url(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_url();

  public:
  // optional .paint_preview.RectProto rect = 1;
  bool has_rect()
      const;
  void clear_rect() ;
  const ::paint_preview::RectProto& rect() const;
  ::paint_preview::RectProto* PROTOBUF_NULLABLE release_rect();
  ::paint_preview::RectProto* PROTOBUF_NONNULL mutable_rect();
  void set_allocated_rect(::paint_preview::RectProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_rect(::paint_preview::RectProto* PROTOBUF_NULLABLE value);
  ::paint_preview::RectProto* PROTOBUF_NULLABLE unsafe_arena_release_rect();

  private:
  const ::paint_preview::RectProto& _internal_rect() const;
  ::paint_preview::RectProto* PROTOBUF_NONNULL _internal_mutable_rect();

  public:
  // @@protoc_insertion_point(class_scope:paint_preview.LinkDataProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<1, 2,
                          1, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const LinkDataProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr url_;
    ::paint_preview::RectProto* PROTOBUF_NULLABLE rect_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_paint_5fpreview_2eproto;
};
// -------------------------------------------------------------------

class  PaintPreviewFrameProto final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:paint_preview.PaintPreviewFrameProto) */ {
 public:
  inline PaintPreviewFrameProto() : PaintPreviewFrameProto(nullptr) {}
  ~PaintPreviewFrameProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PaintPreviewFrameProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PaintPreviewFrameProto));
  }
#endif

  template <typename = void>
  explicit constexpr PaintPreviewFrameProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PaintPreviewFrameProto(const PaintPreviewFrameProto& from) : PaintPreviewFrameProto(nullptr, from) {}
  inline PaintPreviewFrameProto(PaintPreviewFrameProto&& from) noexcept : PaintPreviewFrameProto(nullptr, ::std::move(from)) {}
  inline PaintPreviewFrameProto& operator=(const PaintPreviewFrameProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline PaintPreviewFrameProto& operator=(PaintPreviewFrameProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PaintPreviewFrameProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PaintPreviewFrameProto>(&PaintPreviewFrameProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 3;
  friend void swap(PaintPreviewFrameProto& a, PaintPreviewFrameProto& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PaintPreviewFrameProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PaintPreviewFrameProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PaintPreviewFrameProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PaintPreviewFrameProto>(arena);
  }
  void CopyFrom(const PaintPreviewFrameProto& from);
  void MergeFrom(const PaintPreviewFrameProto& from) { PaintPreviewFrameProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PaintPreviewFrameProto* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "paint_preview.PaintPreviewFrameProto"; }

  explicit PaintPreviewFrameProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PaintPreviewFrameProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PaintPreviewFrameProto& from);
  PaintPreviewFrameProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PaintPreviewFrameProto&& from) noexcept
      : PaintPreviewFrameProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kLinksFieldNumber = 5,
    kContentIdToEmbeddingTokensFieldNumber = 6,
    kFilePathFieldNumber = 4,
    kEmbeddingTokenLowFieldNumber = 1,
    kEmbeddingTokenHighFieldNumber = 2,
    kIsMainFrameFieldNumber = 3,
    kScrollOffsetXFieldNumber = 7,
    kScrollOffsetYFieldNumber = 8,
    kFrameOffsetXFieldNumber = 9,
    kFrameOffsetYFieldNumber = 10,
  };
  // repeated .paint_preview.LinkDataProto links = 5;
  int links_size()
      const;
  private:
  int _internal_links_size() const;

  public:
  void clear_links() ;
  const ::paint_preview::LinkDataProto& links(int index) const;
  ::paint_preview::LinkDataProto* PROTOBUF_NONNULL mutable_links(int index);
  ::paint_preview::LinkDataProto* PROTOBUF_NONNULL add_links();
  const ::google::protobuf::RepeatedPtrField<::paint_preview::LinkDataProto>&
  links() const;
  ::google::protobuf::RepeatedPtrField<::paint_preview::LinkDataProto>* PROTOBUF_NONNULL
  mutable_links();

  private:
  const ::google::protobuf::RepeatedPtrField<::paint_preview::LinkDataProto>& _internal_links() const;
  ::google::protobuf::RepeatedPtrField<::paint_preview::LinkDataProto>* PROTOBUF_NONNULL _internal_mutable_links();

  public:
  // repeated .paint_preview.ContentIdEmbeddingTokenPairProto content_id_to_embedding_tokens = 6;
  int content_id_to_embedding_tokens_size()
      const;
  private:
  int _internal_content_id_to_embedding_tokens_size() const;

  public:
  void clear_content_id_to_embedding_tokens() ;
  const ::paint_preview::ContentIdEmbeddingTokenPairProto& content_id_to_embedding_tokens(int index) const;
  ::paint_preview::ContentIdEmbeddingTokenPairProto* PROTOBUF_NONNULL mutable_content_id_to_embedding_tokens(int index);
  ::paint_preview::ContentIdEmbeddingTokenPairProto* PROTOBUF_NONNULL add_content_id_to_embedding_tokens();
  const ::google::protobuf::RepeatedPtrField<::paint_preview::ContentIdEmbeddingTokenPairProto>&
  content_id_to_embedding_tokens() const;
  ::google::protobuf::RepeatedPtrField<::paint_preview::ContentIdEmbeddingTokenPairProto>* PROTOBUF_NONNULL
  mutable_content_id_to_embedding_tokens();

  private:
  const ::google::protobuf::RepeatedPtrField<::paint_preview::ContentIdEmbeddingTokenPairProto>& _internal_content_id_to_embedding_tokens() const;
  ::google::protobuf::RepeatedPtrField<::paint_preview::ContentIdEmbeddingTokenPairProto>* PROTOBUF_NONNULL _internal_mutable_content_id_to_embedding_tokens();

  public:
  // optional string file_path = 4;
  bool has_file_path()
      const;
  void clear_file_path() ;
  const ::std::string& file_path() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_file_path(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_file_path();
  ::std::string* PROTOBUF_NULLABLE release_file_path();
  void set_allocated_file_path(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_file_path() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_file_path(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_file_path();

  public:
  // optional uint64 embedding_token_low = 1;
  bool has_embedding_token_low()
      const;
  void clear_embedding_token_low() ;
  ::uint64_t embedding_token_low() const;
  void set_embedding_token_low(::uint64_t value);

  private:
  ::uint64_t _internal_embedding_token_low() const;
  void _internal_set_embedding_token_low(::uint64_t value);

  public:
  // optional uint64 embedding_token_high = 2;
  bool has_embedding_token_high()
      const;
  void clear_embedding_token_high() ;
  ::uint64_t embedding_token_high() const;
  void set_embedding_token_high(::uint64_t value);

  private:
  ::uint64_t _internal_embedding_token_high() const;
  void _internal_set_embedding_token_high(::uint64_t value);

  public:
  // optional bool is_main_frame = 3;
  bool has_is_main_frame()
      const;
  void clear_is_main_frame() ;
  bool is_main_frame() const;
  void set_is_main_frame(bool value);

  private:
  bool _internal_is_main_frame() const;
  void _internal_set_is_main_frame(bool value);

  public:
  // optional uint32 scroll_offset_x = 7;
  bool has_scroll_offset_x()
      const;
  void clear_scroll_offset_x() ;
  ::uint32_t scroll_offset_x() const;
  void set_scroll_offset_x(::uint32_t value);

  private:
  ::uint32_t _internal_scroll_offset_x() const;
  void _internal_set_scroll_offset_x(::uint32_t value);

  public:
  // optional uint32 scroll_offset_y = 8;
  bool has_scroll_offset_y()
      const;
  void clear_scroll_offset_y() ;
  ::uint32_t scroll_offset_y() const;
  void set_scroll_offset_y(::uint32_t value);

  private:
  ::uint32_t _internal_scroll_offset_y() const;
  void _internal_set_scroll_offset_y(::uint32_t value);

  public:
  // optional uint32 frame_offset_x = 9;
  bool has_frame_offset_x()
      const;
  void clear_frame_offset_x() ;
  ::uint32_t frame_offset_x() const;
  void set_frame_offset_x(::uint32_t value);

  private:
  ::uint32_t _internal_frame_offset_x() const;
  void _internal_set_frame_offset_x(::uint32_t value);

  public:
  // optional uint32 frame_offset_y = 10;
  bool has_frame_offset_y()
      const;
  void clear_frame_offset_y() ;
  ::uint32_t frame_offset_y() const;
  void set_frame_offset_y(::uint32_t value);

  private:
  ::uint32_t _internal_frame_offset_y() const;
  void _internal_set_frame_offset_y(::uint32_t value);

  public:
  // @@protoc_insertion_point(class_scope:paint_preview.PaintPreviewFrameProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<4, 10,
                          2, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PaintPreviewFrameProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::paint_preview::LinkDataProto > links_;
    ::google::protobuf::RepeatedPtrField< ::paint_preview::ContentIdEmbeddingTokenPairProto > content_id_to_embedding_tokens_;
    ::google::protobuf::internal::ArenaStringPtr file_path_;
    ::uint64_t embedding_token_low_;
    ::uint64_t embedding_token_high_;
    bool is_main_frame_;
    ::uint32_t scroll_offset_x_;
    ::uint32_t scroll_offset_y_;
    ::uint32_t frame_offset_x_;
    ::uint32_t frame_offset_y_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_paint_5fpreview_2eproto;
};
// -------------------------------------------------------------------

class  PaintPreviewProto final : public ::google::protobuf::MessageLite
/* @@protoc_insertion_point(class_definition:paint_preview.PaintPreviewProto) */ {
 public:
  inline PaintPreviewProto() : PaintPreviewProto(nullptr) {}
  ~PaintPreviewProto() PROTOBUF_FINAL;

#if defined(PROTOBUF_CUSTOM_VTABLE)
  void operator delete(PaintPreviewProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
    SharedDtor(*msg);
    ::google::protobuf::internal::SizedDelete(msg, sizeof(PaintPreviewProto));
  }
#endif

  template <typename = void>
  explicit constexpr PaintPreviewProto(::google::protobuf::internal::ConstantInitialized,
                           const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
                               class_data);

  inline PaintPreviewProto(const PaintPreviewProto& from) : PaintPreviewProto(nullptr, from) {}
  inline PaintPreviewProto(PaintPreviewProto&& from) noexcept : PaintPreviewProto(nullptr, ::std::move(from)) {}
  inline PaintPreviewProto& operator=(const PaintPreviewProto& from) {
    CopyFrom(from);
    return *this;
  }
  inline PaintPreviewProto& operator=(PaintPreviewProto&& from) noexcept {
    if (this == &from) return *this;
    if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const ::std::string& unknown_fields() const
      ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.unknown_fields<::std::string>(::google::protobuf::internal::GetEmptyString);
  }
  inline ::std::string* PROTOBUF_NONNULL
  mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
    return _internal_metadata_.mutable_unknown_fields<::std::string>();
  }

  static const PaintPreviewProto& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<PaintPreviewProto>(&PaintPreviewProto_globals_);
  }
  static constexpr int kIndexInFileMessages = 6;
  friend void swap(PaintPreviewProto& a, PaintPreviewProto& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(PaintPreviewProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
      InternalSwap(other);
    } else {
      ::google::protobuf::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PaintPreviewProto* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  PaintPreviewProto* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<PaintPreviewProto>(arena);
  }
  void CopyFrom(const PaintPreviewProto& from);
  void MergeFrom(const PaintPreviewProto& from) { PaintPreviewProto::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return true;
  }
  ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
  #if defined(PROTOBUF_CUSTOM_VTABLE)
  private:
  static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
  static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);

  public:
  ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
    return _InternalSerialize(*this, target, stream);
  }
  #else   // PROTOBUF_CUSTOM_VTABLE
  ::size_t ByteSizeLong() const final;
  ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
      ::uint8_t* PROTOBUF_NONNULL target,
      ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
  #endif  // PROTOBUF_CUSTOM_VTABLE
  int GetCachedSize() const {
    return _impl_._cached_size_.Get();
  }

  private:
  void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static void SharedDtor(MessageLite& self);
  void InternalSwap(PaintPreviewProto* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "paint_preview.PaintPreviewProto"; }

  explicit PaintPreviewProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  PaintPreviewProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const PaintPreviewProto& from);
  PaintPreviewProto(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, PaintPreviewProto&& from) noexcept
      : PaintPreviewProto(arena) {
    *this = ::std::move(from);
  }
  const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
  static void* PROTOBUF_NONNULL PlacementNew_(
      const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  static constexpr auto InternalNewImpl_();

 public:
  static constexpr auto InternalGenerateClassData_(
      const MessageLite& prototype,
      const ::google::protobuf::internal::TcParseTableBase* PROTOBUF_NULLABLE tc_table = nullptr);

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------
  enum : int {
    kSubframesFieldNumber = 2,
    kRootFrameFieldNumber = 1,
    kMetadataFieldNumber = 3,
  };
  // repeated .paint_preview.PaintPreviewFrameProto subframes = 2;
  int subframes_size()
      const;
  private:
  int _internal_subframes_size() const;

  public:
  void clear_subframes() ;
  const ::paint_preview::PaintPreviewFrameProto& subframes(int index) const;
  ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NONNULL mutable_subframes(int index);
  ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NONNULL add_subframes();
  const ::google::protobuf::RepeatedPtrField<::paint_preview::PaintPreviewFrameProto>&
  subframes() const;
  ::google::protobuf::RepeatedPtrField<::paint_preview::PaintPreviewFrameProto>* PROTOBUF_NONNULL
  mutable_subframes();

  private:
  const ::google::protobuf::RepeatedPtrField<::paint_preview::PaintPreviewFrameProto>& _internal_subframes() const;
  ::google::protobuf::RepeatedPtrField<::paint_preview::PaintPreviewFrameProto>* PROTOBUF_NONNULL _internal_mutable_subframes();

  public:
  // optional .paint_preview.PaintPreviewFrameProto root_frame = 1;
  bool has_root_frame()
      const;
  void clear_root_frame() ;
  const ::paint_preview::PaintPreviewFrameProto& root_frame() const;
  ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NULLABLE release_root_frame();
  ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NONNULL mutable_root_frame();
  void set_allocated_root_frame(::paint_preview::PaintPreviewFrameProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_root_frame(::paint_preview::PaintPreviewFrameProto* PROTOBUF_NULLABLE value);
  ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NULLABLE unsafe_arena_release_root_frame();

  private:
  const ::paint_preview::PaintPreviewFrameProto& _internal_root_frame() const;
  ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NONNULL _internal_mutable_root_frame();

  public:
  // optional .paint_preview.MetadataProto metadata = 3;
  bool has_metadata()
      const;
  void clear_metadata() ;
  const ::paint_preview::MetadataProto& metadata() const;
  ::paint_preview::MetadataProto* PROTOBUF_NULLABLE release_metadata();
  ::paint_preview::MetadataProto* PROTOBUF_NONNULL mutable_metadata();
  void set_allocated_metadata(::paint_preview::MetadataProto* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_metadata(::paint_preview::MetadataProto* PROTOBUF_NULLABLE value);
  ::paint_preview::MetadataProto* PROTOBUF_NULLABLE unsafe_arena_release_metadata();

  private:
  const ::paint_preview::MetadataProto& _internal_metadata() const;
  ::paint_preview::MetadataProto* PROTOBUF_NONNULL _internal_mutable_metadata();

  public:
  // @@protoc_insertion_point(class_scope:paint_preview.PaintPreviewProto)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          3, 0,
                          2>;
  static constexpr ParseTableT_ InternalGenerateParseTable_(
      const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data);
  friend class ::google::protobuf::internal::TcParser;
  #ifndef PROTOBUF_MESSAGE_GLOBALS
  static const ParseTableT_ _table_;
  #endif

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const PaintPreviewProto& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::paint_preview::PaintPreviewFrameProto > subframes_;
    ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NULLABLE root_frame_;
    ::paint_preview::MetadataProto* PROTOBUF_NULLABLE metadata_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_paint_5fpreview_2eproto;
};

// ===================================================================




// ===================================================================


#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// -------------------------------------------------------------------

// RectProto

// optional int64 x = 1;
inline bool RectProto::has_x() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void RectProto::clear_x() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.x_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::int64_t RectProto::x() const {
  // @@protoc_insertion_point(field_get:paint_preview.RectProto.x)
  return _internal_x();
}
inline void RectProto::set_x(::int64_t value) {
  _internal_set_x(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:paint_preview.RectProto.x)
}
inline ::int64_t RectProto::_internal_x() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.x_;
}
inline void RectProto::_internal_set_x(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.x_ = value;
}

// optional int64 y = 2;
inline bool RectProto::has_y() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void RectProto::clear_y() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.y_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int64_t RectProto::y() const {
  // @@protoc_insertion_point(field_get:paint_preview.RectProto.y)
  return _internal_y();
}
inline void RectProto::set_y(::int64_t value) {
  _internal_set_y(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:paint_preview.RectProto.y)
}
inline ::int64_t RectProto::_internal_y() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.y_;
}
inline void RectProto::_internal_set_y(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.y_ = value;
}

// optional int64 width = 3;
inline bool RectProto::has_width() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void RectProto::clear_width() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.width_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::int64_t RectProto::width() const {
  // @@protoc_insertion_point(field_get:paint_preview.RectProto.width)
  return _internal_width();
}
inline void RectProto::set_width(::int64_t value) {
  _internal_set_width(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:paint_preview.RectProto.width)
}
inline ::int64_t RectProto::_internal_width() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.width_;
}
inline void RectProto::_internal_set_width(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.width_ = value;
}

// optional int64 height = 4;
inline bool RectProto::has_height() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void RectProto::clear_height() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.height_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::int64_t RectProto::height() const {
  // @@protoc_insertion_point(field_get:paint_preview.RectProto.height)
  return _internal_height();
}
inline void RectProto::set_height(::int64_t value) {
  _internal_set_height(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:paint_preview.RectProto.height)
}
inline ::int64_t RectProto::_internal_height() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.height_;
}
inline void RectProto::_internal_set_height(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.height_ = value;
}

// -------------------------------------------------------------------

// LinkDataProto

// optional .paint_preview.RectProto rect = 1;
inline bool LinkDataProto::has_rect() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.rect_ != nullptr);
  return value;
}
inline void LinkDataProto::clear_rect() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.rect_ != nullptr) _impl_.rect_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::paint_preview::RectProto& LinkDataProto::_internal_rect() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::paint_preview::RectProto* p = _impl_.rect_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::paint_preview::RectProto>(&::paint_preview::RectProto_globals_);
}
inline const ::paint_preview::RectProto& LinkDataProto::rect() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.LinkDataProto.rect)
  return _internal_rect();
}
inline void LinkDataProto::unsafe_arena_set_allocated_rect(
    ::paint_preview::RectProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rect_);
  }
  _impl_.rect_ = reinterpret_cast<::paint_preview::RectProto*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:paint_preview.LinkDataProto.rect)
}
inline ::paint_preview::RectProto* PROTOBUF_NULLABLE LinkDataProto::release_rect() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::paint_preview::RectProto* released = _impl_.rect_;
  _impl_.rect_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::paint_preview::RectProto* PROTOBUF_NULLABLE LinkDataProto::unsafe_arena_release_rect() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:paint_preview.LinkDataProto.rect)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::paint_preview::RectProto* temp = _impl_.rect_;
  _impl_.rect_ = nullptr;
  return temp;
}
inline ::paint_preview::RectProto* PROTOBUF_NONNULL LinkDataProto::_internal_mutable_rect() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.rect_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::paint_preview::RectProto>(GetArena());
    _impl_.rect_ = reinterpret_cast<::paint_preview::RectProto*>(p);
  }
  return _impl_.rect_;
}
inline ::paint_preview::RectProto* PROTOBUF_NONNULL LinkDataProto::mutable_rect()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::paint_preview::RectProto* _msg = _internal_mutable_rect();
  // @@protoc_insertion_point(field_mutable:paint_preview.LinkDataProto.rect)
  return _msg;
}
inline void LinkDataProto::set_allocated_rect(::paint_preview::RectProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rect_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }

  _impl_.rect_ = reinterpret_cast<::paint_preview::RectProto*>(value);
  // @@protoc_insertion_point(field_set_allocated:paint_preview.LinkDataProto.rect)
}

// optional string url = 2;
inline bool LinkDataProto::has_url() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void LinkDataProto::clear_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.url_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& LinkDataProto::url() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.LinkDataProto.url)
  return _internal_url();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void LinkDataProto::set_url(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:paint_preview.LinkDataProto.url)
}
inline ::std::string* PROTOBUF_NONNULL LinkDataProto::mutable_url()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_url();
  // @@protoc_insertion_point(field_mutable:paint_preview.LinkDataProto.url)
  return _s;
}
inline const ::std::string& LinkDataProto::_internal_url() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.url_.Get();
}
inline void LinkDataProto::_internal_set_url(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.url_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL LinkDataProto::_internal_mutable_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.url_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE LinkDataProto::release_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:paint_preview.LinkDataProto.url)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.url_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.url_.Set("", GetArena());
  }
  return released;
}
inline void LinkDataProto::set_allocated_url(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.url_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.url_.IsDefault()) {
    _impl_.url_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:paint_preview.LinkDataProto.url)
}

// -------------------------------------------------------------------

// ContentIdEmbeddingTokenPairProto

// optional uint32 content_id = 1;
inline bool ContentIdEmbeddingTokenPairProto::has_content_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void ContentIdEmbeddingTokenPairProto::clear_content_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.content_id_ = 0u;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::uint32_t ContentIdEmbeddingTokenPairProto::content_id() const {
  // @@protoc_insertion_point(field_get:paint_preview.ContentIdEmbeddingTokenPairProto.content_id)
  return _internal_content_id();
}
inline void ContentIdEmbeddingTokenPairProto::set_content_id(::uint32_t value) {
  _internal_set_content_id(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:paint_preview.ContentIdEmbeddingTokenPairProto.content_id)
}
inline ::uint32_t ContentIdEmbeddingTokenPairProto::_internal_content_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.content_id_;
}
inline void ContentIdEmbeddingTokenPairProto::_internal_set_content_id(::uint32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.content_id_ = value;
}

// optional uint64 embedding_token_low = 2;
inline bool ContentIdEmbeddingTokenPairProto::has_embedding_token_low() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void ContentIdEmbeddingTokenPairProto::clear_embedding_token_low() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.embedding_token_low_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::uint64_t ContentIdEmbeddingTokenPairProto::embedding_token_low() const {
  // @@protoc_insertion_point(field_get:paint_preview.ContentIdEmbeddingTokenPairProto.embedding_token_low)
  return _internal_embedding_token_low();
}
inline void ContentIdEmbeddingTokenPairProto::set_embedding_token_low(::uint64_t value) {
  _internal_set_embedding_token_low(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:paint_preview.ContentIdEmbeddingTokenPairProto.embedding_token_low)
}
inline ::uint64_t ContentIdEmbeddingTokenPairProto::_internal_embedding_token_low() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.embedding_token_low_;
}
inline void ContentIdEmbeddingTokenPairProto::_internal_set_embedding_token_low(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.embedding_token_low_ = value;
}

// optional uint64 embedding_token_high = 3;
inline bool ContentIdEmbeddingTokenPairProto::has_embedding_token_high() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void ContentIdEmbeddingTokenPairProto::clear_embedding_token_high() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.embedding_token_high_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::uint64_t ContentIdEmbeddingTokenPairProto::embedding_token_high() const {
  // @@protoc_insertion_point(field_get:paint_preview.ContentIdEmbeddingTokenPairProto.embedding_token_high)
  return _internal_embedding_token_high();
}
inline void ContentIdEmbeddingTokenPairProto::set_embedding_token_high(::uint64_t value) {
  _internal_set_embedding_token_high(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:paint_preview.ContentIdEmbeddingTokenPairProto.embedding_token_high)
}
inline ::uint64_t ContentIdEmbeddingTokenPairProto::_internal_embedding_token_high() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.embedding_token_high_;
}
inline void ContentIdEmbeddingTokenPairProto::_internal_set_embedding_token_high(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.embedding_token_high_ = value;
}

// -------------------------------------------------------------------

// PaintPreviewFrameProto

// optional uint64 embedding_token_low = 1;
inline bool PaintPreviewFrameProto::has_embedding_token_low() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void PaintPreviewFrameProto::clear_embedding_token_low() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.embedding_token_low_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::uint64_t PaintPreviewFrameProto::embedding_token_low() const {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.embedding_token_low)
  return _internal_embedding_token_low();
}
inline void PaintPreviewFrameProto::set_embedding_token_low(::uint64_t value) {
  _internal_set_embedding_token_low(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:paint_preview.PaintPreviewFrameProto.embedding_token_low)
}
inline ::uint64_t PaintPreviewFrameProto::_internal_embedding_token_low() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.embedding_token_low_;
}
inline void PaintPreviewFrameProto::_internal_set_embedding_token_low(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.embedding_token_low_ = value;
}

// optional uint64 embedding_token_high = 2;
inline bool PaintPreviewFrameProto::has_embedding_token_high() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void PaintPreviewFrameProto::clear_embedding_token_high() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.embedding_token_high_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::uint64_t PaintPreviewFrameProto::embedding_token_high() const {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.embedding_token_high)
  return _internal_embedding_token_high();
}
inline void PaintPreviewFrameProto::set_embedding_token_high(::uint64_t value) {
  _internal_set_embedding_token_high(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:paint_preview.PaintPreviewFrameProto.embedding_token_high)
}
inline ::uint64_t PaintPreviewFrameProto::_internal_embedding_token_high() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.embedding_token_high_;
}
inline void PaintPreviewFrameProto::_internal_set_embedding_token_high(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.embedding_token_high_ = value;
}

// optional bool is_main_frame = 3;
inline bool PaintPreviewFrameProto::has_is_main_frame() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
  return value;
}
inline void PaintPreviewFrameProto::clear_is_main_frame() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.is_main_frame_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline bool PaintPreviewFrameProto::is_main_frame() const {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.is_main_frame)
  return _internal_is_main_frame();
}
inline void PaintPreviewFrameProto::set_is_main_frame(bool value) {
  _internal_set_is_main_frame(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  // @@protoc_insertion_point(field_set:paint_preview.PaintPreviewFrameProto.is_main_frame)
}
inline bool PaintPreviewFrameProto::_internal_is_main_frame() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.is_main_frame_;
}
inline void PaintPreviewFrameProto::_internal_set_is_main_frame(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.is_main_frame_ = value;
}

// optional string file_path = 4;
inline bool PaintPreviewFrameProto::has_file_path() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void PaintPreviewFrameProto::clear_file_path() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.file_path_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::std::string& PaintPreviewFrameProto::file_path() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.file_path)
  return _internal_file_path();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void PaintPreviewFrameProto::set_file_path(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  _impl_.file_path_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:paint_preview.PaintPreviewFrameProto.file_path)
}
inline ::std::string* PROTOBUF_NONNULL PaintPreviewFrameProto::mutable_file_path()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::std::string* _s = _internal_mutable_file_path();
  // @@protoc_insertion_point(field_mutable:paint_preview.PaintPreviewFrameProto.file_path)
  return _s;
}
inline const ::std::string& PaintPreviewFrameProto::_internal_file_path() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.file_path_.Get();
}
inline void PaintPreviewFrameProto::_internal_set_file_path(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.file_path_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL PaintPreviewFrameProto::_internal_mutable_file_path() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.file_path_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE PaintPreviewFrameProto::release_file_path() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:paint_preview.PaintPreviewFrameProto.file_path)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  auto* released = _impl_.file_path_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.file_path_.Set("", GetArena());
  }
  return released;
}
inline void PaintPreviewFrameProto::set_allocated_file_path(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }
  _impl_.file_path_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.file_path_.IsDefault()) {
    _impl_.file_path_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:paint_preview.PaintPreviewFrameProto.file_path)
}

// repeated .paint_preview.LinkDataProto links = 5;
inline int PaintPreviewFrameProto::_internal_links_size() const {
  return _internal_links().size();
}
inline int PaintPreviewFrameProto::links_size() const {
  return _internal_links_size();
}
inline void PaintPreviewFrameProto::clear_links() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.links_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::paint_preview::LinkDataProto& PaintPreviewFrameProto::links(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.links)
  return _internal_links().Get(index);
}
inline ::paint_preview::LinkDataProto* PROTOBUF_NONNULL PaintPreviewFrameProto::mutable_links(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:paint_preview.PaintPreviewFrameProto.links)
  return _internal_mutable_links()->Mutable(index);
}
inline ::paint_preview::LinkDataProto* PROTOBUF_NONNULL PaintPreviewFrameProto::add_links()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::paint_preview::LinkDataProto* _add =
      _internal_mutable_links()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:paint_preview.PaintPreviewFrameProto.links)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::paint_preview::LinkDataProto>& PaintPreviewFrameProto::links() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:paint_preview.PaintPreviewFrameProto.links)
  return _internal_links();
}
inline ::google::protobuf::RepeatedPtrField<::paint_preview::LinkDataProto>* PROTOBUF_NONNULL
PaintPreviewFrameProto::mutable_links() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:paint_preview.PaintPreviewFrameProto.links)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_links();
}
inline const ::google::protobuf::RepeatedPtrField<::paint_preview::LinkDataProto>&
PaintPreviewFrameProto::_internal_links() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.links_;
}
inline ::google::protobuf::RepeatedPtrField<::paint_preview::LinkDataProto>* PROTOBUF_NONNULL
PaintPreviewFrameProto::_internal_mutable_links() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.links_;
}

// repeated .paint_preview.ContentIdEmbeddingTokenPairProto content_id_to_embedding_tokens = 6;
inline int PaintPreviewFrameProto::_internal_content_id_to_embedding_tokens_size() const {
  return _internal_content_id_to_embedding_tokens().size();
}
inline int PaintPreviewFrameProto::content_id_to_embedding_tokens_size() const {
  return _internal_content_id_to_embedding_tokens_size();
}
inline void PaintPreviewFrameProto::clear_content_id_to_embedding_tokens() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.content_id_to_embedding_tokens_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::paint_preview::ContentIdEmbeddingTokenPairProto& PaintPreviewFrameProto::content_id_to_embedding_tokens(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.content_id_to_embedding_tokens)
  return _internal_content_id_to_embedding_tokens().Get(index);
}
inline ::paint_preview::ContentIdEmbeddingTokenPairProto* PROTOBUF_NONNULL PaintPreviewFrameProto::mutable_content_id_to_embedding_tokens(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:paint_preview.PaintPreviewFrameProto.content_id_to_embedding_tokens)
  return _internal_mutable_content_id_to_embedding_tokens()->Mutable(index);
}
inline ::paint_preview::ContentIdEmbeddingTokenPairProto* PROTOBUF_NONNULL PaintPreviewFrameProto::add_content_id_to_embedding_tokens()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::paint_preview::ContentIdEmbeddingTokenPairProto* _add =
      _internal_mutable_content_id_to_embedding_tokens()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_add:paint_preview.PaintPreviewFrameProto.content_id_to_embedding_tokens)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::paint_preview::ContentIdEmbeddingTokenPairProto>& PaintPreviewFrameProto::content_id_to_embedding_tokens() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:paint_preview.PaintPreviewFrameProto.content_id_to_embedding_tokens)
  return _internal_content_id_to_embedding_tokens();
}
inline ::google::protobuf::RepeatedPtrField<::paint_preview::ContentIdEmbeddingTokenPairProto>* PROTOBUF_NONNULL
PaintPreviewFrameProto::mutable_content_id_to_embedding_tokens() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_mutable_list:paint_preview.PaintPreviewFrameProto.content_id_to_embedding_tokens)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_content_id_to_embedding_tokens();
}
inline const ::google::protobuf::RepeatedPtrField<::paint_preview::ContentIdEmbeddingTokenPairProto>&
PaintPreviewFrameProto::_internal_content_id_to_embedding_tokens() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.content_id_to_embedding_tokens_;
}
inline ::google::protobuf::RepeatedPtrField<::paint_preview::ContentIdEmbeddingTokenPairProto>* PROTOBUF_NONNULL
PaintPreviewFrameProto::_internal_mutable_content_id_to_embedding_tokens() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.content_id_to_embedding_tokens_;
}

// optional uint32 scroll_offset_x = 7;
inline bool PaintPreviewFrameProto::has_scroll_offset_x() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
  return value;
}
inline void PaintPreviewFrameProto::clear_scroll_offset_x() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.scroll_offset_x_ = 0u;
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
inline ::uint32_t PaintPreviewFrameProto::scroll_offset_x() const {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.scroll_offset_x)
  return _internal_scroll_offset_x();
}
inline void PaintPreviewFrameProto::set_scroll_offset_x(::uint32_t value) {
  _internal_set_scroll_offset_x(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  // @@protoc_insertion_point(field_set:paint_preview.PaintPreviewFrameProto.scroll_offset_x)
}
inline ::uint32_t PaintPreviewFrameProto::_internal_scroll_offset_x() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.scroll_offset_x_;
}
inline void PaintPreviewFrameProto::_internal_set_scroll_offset_x(::uint32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.scroll_offset_x_ = value;
}

// optional uint32 scroll_offset_y = 8;
inline bool PaintPreviewFrameProto::has_scroll_offset_y() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
  return value;
}
inline void PaintPreviewFrameProto::clear_scroll_offset_y() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.scroll_offset_y_ = 0u;
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
inline ::uint32_t PaintPreviewFrameProto::scroll_offset_y() const {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.scroll_offset_y)
  return _internal_scroll_offset_y();
}
inline void PaintPreviewFrameProto::set_scroll_offset_y(::uint32_t value) {
  _internal_set_scroll_offset_y(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  // @@protoc_insertion_point(field_set:paint_preview.PaintPreviewFrameProto.scroll_offset_y)
}
inline ::uint32_t PaintPreviewFrameProto::_internal_scroll_offset_y() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.scroll_offset_y_;
}
inline void PaintPreviewFrameProto::_internal_set_scroll_offset_y(::uint32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.scroll_offset_y_ = value;
}

// optional uint32 frame_offset_x = 9;
inline bool PaintPreviewFrameProto::has_frame_offset_x() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
  return value;
}
inline void PaintPreviewFrameProto::clear_frame_offset_x() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.frame_offset_x_ = 0u;
  ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
}
inline ::uint32_t PaintPreviewFrameProto::frame_offset_x() const {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.frame_offset_x)
  return _internal_frame_offset_x();
}
inline void PaintPreviewFrameProto::set_frame_offset_x(::uint32_t value) {
  _internal_set_frame_offset_x(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000100U);
  // @@protoc_insertion_point(field_set:paint_preview.PaintPreviewFrameProto.frame_offset_x)
}
inline ::uint32_t PaintPreviewFrameProto::_internal_frame_offset_x() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.frame_offset_x_;
}
inline void PaintPreviewFrameProto::_internal_set_frame_offset_x(::uint32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.frame_offset_x_ = value;
}

// optional uint32 frame_offset_y = 10;
inline bool PaintPreviewFrameProto::has_frame_offset_y() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
  return value;
}
inline void PaintPreviewFrameProto::clear_frame_offset_y() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.frame_offset_y_ = 0u;
  ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
}
inline ::uint32_t PaintPreviewFrameProto::frame_offset_y() const {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewFrameProto.frame_offset_y)
  return _internal_frame_offset_y();
}
inline void PaintPreviewFrameProto::set_frame_offset_y(::uint32_t value) {
  _internal_set_frame_offset_y(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000200U);
  // @@protoc_insertion_point(field_set:paint_preview.PaintPreviewFrameProto.frame_offset_y)
}
inline ::uint32_t PaintPreviewFrameProto::_internal_frame_offset_y() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.frame_offset_y_;
}
inline void PaintPreviewFrameProto::_internal_set_frame_offset_y(::uint32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.frame_offset_y_ = value;
}

// -------------------------------------------------------------------

// ChromeVersionProto

// optional uint64 major = 1;
inline bool ChromeVersionProto::has_major() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void ChromeVersionProto::clear_major() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.major_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::uint64_t ChromeVersionProto::major() const {
  // @@protoc_insertion_point(field_get:paint_preview.ChromeVersionProto.major)
  return _internal_major();
}
inline void ChromeVersionProto::set_major(::uint64_t value) {
  _internal_set_major(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:paint_preview.ChromeVersionProto.major)
}
inline ::uint64_t ChromeVersionProto::_internal_major() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.major_;
}
inline void ChromeVersionProto::_internal_set_major(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.major_ = value;
}

// optional uint64 minor = 2;
inline bool ChromeVersionProto::has_minor() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void ChromeVersionProto::clear_minor() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.minor_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::uint64_t ChromeVersionProto::minor() const {
  // @@protoc_insertion_point(field_get:paint_preview.ChromeVersionProto.minor)
  return _internal_minor();
}
inline void ChromeVersionProto::set_minor(::uint64_t value) {
  _internal_set_minor(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:paint_preview.ChromeVersionProto.minor)
}
inline ::uint64_t ChromeVersionProto::_internal_minor() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.minor_;
}
inline void ChromeVersionProto::_internal_set_minor(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.minor_ = value;
}

// optional uint64 build = 3;
inline bool ChromeVersionProto::has_build() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void ChromeVersionProto::clear_build() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.build_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::uint64_t ChromeVersionProto::build() const {
  // @@protoc_insertion_point(field_get:paint_preview.ChromeVersionProto.build)
  return _internal_build();
}
inline void ChromeVersionProto::set_build(::uint64_t value) {
  _internal_set_build(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:paint_preview.ChromeVersionProto.build)
}
inline ::uint64_t ChromeVersionProto::_internal_build() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.build_;
}
inline void ChromeVersionProto::_internal_set_build(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.build_ = value;
}

// optional uint64 patch = 4;
inline bool ChromeVersionProto::has_patch() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void ChromeVersionProto::clear_patch() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.patch_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline ::uint64_t ChromeVersionProto::patch() const {
  // @@protoc_insertion_point(field_get:paint_preview.ChromeVersionProto.patch)
  return _internal_patch();
}
inline void ChromeVersionProto::set_patch(::uint64_t value) {
  _internal_set_patch(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:paint_preview.ChromeVersionProto.patch)
}
inline ::uint64_t ChromeVersionProto::_internal_patch() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.patch_;
}
inline void ChromeVersionProto::_internal_set_patch(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.patch_ = value;
}

// -------------------------------------------------------------------

// MetadataProto

// optional string url = 1;
inline bool MetadataProto::has_url() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void MetadataProto::clear_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.url_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& MetadataProto::url() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.MetadataProto.url)
  return _internal_url();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void MetadataProto::set_url(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:paint_preview.MetadataProto.url)
}
inline ::std::string* PROTOBUF_NONNULL MetadataProto::mutable_url()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_url();
  // @@protoc_insertion_point(field_mutable:paint_preview.MetadataProto.url)
  return _s;
}
inline const ::std::string& MetadataProto::_internal_url() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.url_.Get();
}
inline void MetadataProto::_internal_set_url(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.url_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL MetadataProto::_internal_mutable_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.url_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE MetadataProto::release_url() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:paint_preview.MetadataProto.url)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.url_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.url_.Set("", GetArena());
  }
  return released;
}
inline void MetadataProto::set_allocated_url(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.url_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.url_.IsDefault()) {
    _impl_.url_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:paint_preview.MetadataProto.url)
}

// optional uint64 version = 2;
inline bool MetadataProto::has_version() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void MetadataProto::clear_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.version_ = ::uint64_t{0u};
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::uint64_t MetadataProto::version() const {
  // @@protoc_insertion_point(field_get:paint_preview.MetadataProto.version)
  return _internal_version();
}
inline void MetadataProto::set_version(::uint64_t value) {
  _internal_set_version(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:paint_preview.MetadataProto.version)
}
inline ::uint64_t MetadataProto::_internal_version() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.version_;
}
inline void MetadataProto::_internal_set_version(::uint64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.version_ = value;
}

// optional .paint_preview.ChromeVersionProto chrome_version = 3;
inline bool MetadataProto::has_chrome_version() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.chrome_version_ != nullptr);
  return value;
}
inline void MetadataProto::clear_chrome_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.chrome_version_ != nullptr) _impl_.chrome_version_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::paint_preview::ChromeVersionProto& MetadataProto::_internal_chrome_version() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::paint_preview::ChromeVersionProto* p = _impl_.chrome_version_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::paint_preview::ChromeVersionProto>(&::paint_preview::ChromeVersionProto_globals_);
}
inline const ::paint_preview::ChromeVersionProto& MetadataProto::chrome_version() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.MetadataProto.chrome_version)
  return _internal_chrome_version();
}
inline void MetadataProto::unsafe_arena_set_allocated_chrome_version(
    ::paint_preview::ChromeVersionProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.chrome_version_);
  }
  _impl_.chrome_version_ = reinterpret_cast<::paint_preview::ChromeVersionProto*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:paint_preview.MetadataProto.chrome_version)
}
inline ::paint_preview::ChromeVersionProto* PROTOBUF_NULLABLE MetadataProto::release_chrome_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::paint_preview::ChromeVersionProto* released = _impl_.chrome_version_;
  _impl_.chrome_version_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::paint_preview::ChromeVersionProto* PROTOBUF_NULLABLE MetadataProto::unsafe_arena_release_chrome_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:paint_preview.MetadataProto.chrome_version)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::paint_preview::ChromeVersionProto* temp = _impl_.chrome_version_;
  _impl_.chrome_version_ = nullptr;
  return temp;
}
inline ::paint_preview::ChromeVersionProto* PROTOBUF_NONNULL MetadataProto::_internal_mutable_chrome_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.chrome_version_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::paint_preview::ChromeVersionProto>(GetArena());
    _impl_.chrome_version_ = reinterpret_cast<::paint_preview::ChromeVersionProto*>(p);
  }
  return _impl_.chrome_version_;
}
inline ::paint_preview::ChromeVersionProto* PROTOBUF_NONNULL MetadataProto::mutable_chrome_version()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::paint_preview::ChromeVersionProto* _msg = _internal_mutable_chrome_version();
  // @@protoc_insertion_point(field_mutable:paint_preview.MetadataProto.chrome_version)
  return _msg;
}
inline void MetadataProto::set_allocated_chrome_version(::paint_preview::ChromeVersionProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.chrome_version_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }

  _impl_.chrome_version_ = reinterpret_cast<::paint_preview::ChromeVersionProto*>(value);
  // @@protoc_insertion_point(field_set_allocated:paint_preview.MetadataProto.chrome_version)
}

// optional float page_scale_factor = 4;
inline bool MetadataProto::has_page_scale_factor() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void MetadataProto::clear_page_scale_factor() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.page_scale_factor_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline float MetadataProto::page_scale_factor() const {
  // @@protoc_insertion_point(field_get:paint_preview.MetadataProto.page_scale_factor)
  return _internal_page_scale_factor();
}
inline void MetadataProto::set_page_scale_factor(float value) {
  _internal_set_page_scale_factor(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:paint_preview.MetadataProto.page_scale_factor)
}
inline float MetadataProto::_internal_page_scale_factor() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.page_scale_factor_;
}
inline void MetadataProto::_internal_set_page_scale_factor(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.page_scale_factor_ = value;
}

// -------------------------------------------------------------------

// PaintPreviewProto

// optional .paint_preview.PaintPreviewFrameProto root_frame = 1;
inline bool PaintPreviewProto::has_root_frame() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  PROTOBUF_ASSUME(!value || _impl_.root_frame_ != nullptr);
  return value;
}
inline void PaintPreviewProto::clear_root_frame() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.root_frame_ != nullptr) _impl_.root_frame_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::paint_preview::PaintPreviewFrameProto& PaintPreviewProto::_internal_root_frame() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::paint_preview::PaintPreviewFrameProto* p = _impl_.root_frame_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::paint_preview::PaintPreviewFrameProto>(&::paint_preview::PaintPreviewFrameProto_globals_);
}
inline const ::paint_preview::PaintPreviewFrameProto& PaintPreviewProto::root_frame() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewProto.root_frame)
  return _internal_root_frame();
}
inline void PaintPreviewProto::unsafe_arena_set_allocated_root_frame(
    ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.root_frame_);
  }
  _impl_.root_frame_ = reinterpret_cast<::paint_preview::PaintPreviewFrameProto*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:paint_preview.PaintPreviewProto.root_frame)
}
inline ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NULLABLE PaintPreviewProto::release_root_frame() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::paint_preview::PaintPreviewFrameProto* released = _impl_.root_frame_;
  _impl_.root_frame_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NULLABLE PaintPreviewProto::unsafe_arena_release_root_frame() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:paint_preview.PaintPreviewProto.root_frame)

  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::paint_preview::PaintPreviewFrameProto* temp = _impl_.root_frame_;
  _impl_.root_frame_ = nullptr;
  return temp;
}
inline ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NONNULL PaintPreviewProto::_internal_mutable_root_frame() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.root_frame_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::paint_preview::PaintPreviewFrameProto>(GetArena());
    _impl_.root_frame_ = reinterpret_cast<::paint_preview::PaintPreviewFrameProto*>(p);
  }
  return _impl_.root_frame_;
}
inline ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NONNULL PaintPreviewProto::mutable_root_frame()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::paint_preview::PaintPreviewFrameProto* _msg = _internal_mutable_root_frame();
  // @@protoc_insertion_point(field_mutable:paint_preview.PaintPreviewProto.root_frame)
  return _msg;
}
inline void PaintPreviewProto::set_allocated_root_frame(::paint_preview::PaintPreviewFrameProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.root_frame_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }

  _impl_.root_frame_ = reinterpret_cast<::paint_preview::PaintPreviewFrameProto*>(value);
  // @@protoc_insertion_point(field_set_allocated:paint_preview.PaintPreviewProto.root_frame)
}

// repeated .paint_preview.PaintPreviewFrameProto subframes = 2;
inline int PaintPreviewProto::_internal_subframes_size() const {
  return _internal_subframes().size();
}
inline int PaintPreviewProto::subframes_size() const {
  return _internal_subframes_size();
}
inline void PaintPreviewProto::clear_subframes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.subframes_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::paint_preview::PaintPreviewFrameProto& PaintPreviewProto::subframes(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewProto.subframes)
  return _internal_subframes().Get(index);
}
inline ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NONNULL PaintPreviewProto::mutable_subframes(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:paint_preview.PaintPreviewProto.subframes)
  return _internal_mutable_subframes()->Mutable(index);
}
inline ::paint_preview::PaintPreviewFrameProto* PROTOBUF_NONNULL PaintPreviewProto::add_subframes()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::paint_preview::PaintPreviewFrameProto* _add =
      _internal_mutable_subframes()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:paint_preview.PaintPreviewProto.subframes)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::paint_preview::PaintPreviewFrameProto>& PaintPreviewProto::subframes() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:paint_preview.PaintPreviewProto.subframes)
  return _internal_subframes();
}
inline ::google::protobuf::RepeatedPtrField<::paint_preview::PaintPreviewFrameProto>* PROTOBUF_NONNULL
PaintPreviewProto::mutable_subframes() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:paint_preview.PaintPreviewProto.subframes)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_subframes();
}
inline const ::google::protobuf::RepeatedPtrField<::paint_preview::PaintPreviewFrameProto>&
PaintPreviewProto::_internal_subframes() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.subframes_;
}
inline ::google::protobuf::RepeatedPtrField<::paint_preview::PaintPreviewFrameProto>* PROTOBUF_NONNULL
PaintPreviewProto::_internal_mutable_subframes() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.subframes_;
}

// optional .paint_preview.MetadataProto metadata = 3;
inline bool PaintPreviewProto::has_metadata() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  PROTOBUF_ASSUME(!value || _impl_.metadata_ != nullptr);
  return value;
}
inline void PaintPreviewProto::clear_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.metadata_ != nullptr) _impl_.metadata_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::paint_preview::MetadataProto& PaintPreviewProto::_internal_metadata() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::paint_preview::MetadataProto* p = _impl_.metadata_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::paint_preview::MetadataProto>(&::paint_preview::MetadataProto_globals_);
}
inline const ::paint_preview::MetadataProto& PaintPreviewProto::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:paint_preview.PaintPreviewProto.metadata)
  return _internal_metadata();
}
inline void PaintPreviewProto::unsafe_arena_set_allocated_metadata(
    ::paint_preview::MetadataProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_);
  }
  _impl_.metadata_ = reinterpret_cast<::paint_preview::MetadataProto*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:paint_preview.PaintPreviewProto.metadata)
}
inline ::paint_preview::MetadataProto* PROTOBUF_NULLABLE PaintPreviewProto::release_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::paint_preview::MetadataProto* released = _impl_.metadata_;
  _impl_.metadata_ = nullptr;
  if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
    auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
    released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    if (GetArena() == nullptr) {
      delete old;
    }
  } else {
    if (GetArena() != nullptr) {
      released = ::google::protobuf::internal::DuplicateIfNonNull(released);
    }
  }
  return released;
}
inline ::paint_preview::MetadataProto* PROTOBUF_NULLABLE PaintPreviewProto::unsafe_arena_release_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:paint_preview.PaintPreviewProto.metadata)

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::paint_preview::MetadataProto* temp = _impl_.metadata_;
  _impl_.metadata_ = nullptr;
  return temp;
}
inline ::paint_preview::MetadataProto* PROTOBUF_NONNULL PaintPreviewProto::_internal_mutable_metadata() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.metadata_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::paint_preview::MetadataProto>(GetArena());
    _impl_.metadata_ = reinterpret_cast<::paint_preview::MetadataProto*>(p);
  }
  return _impl_.metadata_;
}
inline ::paint_preview::MetadataProto* PROTOBUF_NONNULL PaintPreviewProto::mutable_metadata()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::paint_preview::MetadataProto* _msg = _internal_mutable_metadata();
  // @@protoc_insertion_point(field_mutable:paint_preview.PaintPreviewProto.metadata)
  return _msg;
}
inline void PaintPreviewProto::set_allocated_metadata(::paint_preview::MetadataProto* PROTOBUF_NULLABLE value) {
  ::google::protobuf::Arena* message_arena = GetArena();
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (message_arena == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.metadata_);
  }

  if (value != nullptr) {
    ::google::protobuf::Arena* submessage_arena = value->GetArena();
    if (message_arena != submessage_arena) {
      value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
    }
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }

  _impl_.metadata_ = reinterpret_cast<::paint_preview::MetadataProto*>(value);
  // @@protoc_insertion_point(field_set_allocated:paint_preview.PaintPreviewProto.metadata)
}

#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)
}  // namespace paint_preview


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"
// clang-format on

#endif  // paint_5fpreview_2eproto_2epb_2eh
