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

#ifndef chrome_2fbrowser_2ftab_2fprotocol_2ftab_5fstate_2eproto_2epb_2eh
#define chrome_2fbrowser_2ftab_2fprotocol_2ftab_5fstate_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
#include "chrome/browser/tab/protocol/token.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_chrome_2fbrowser_2ftab_2fprotocol_2ftab_5fstate_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_chrome_2fbrowser_2ftab_2fprotocol_2ftab_5fstate_2eproto {
  static const ::uint32_t offsets[];
};
namespace tabs_pb {
class TabState;
struct TabStateGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern TabStateGlobalsTypeInternal TabState_globals_;
extern const ::google::protobuf::internal::ClassDataLite TabState_class_data_;
#else
extern const TabStateGlobalsTypeInternal TabState_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace tabs_pb
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace tabs_pb {

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


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

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

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

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

  inline TabState(const TabState& from) : TabState(nullptr, from) {}
  inline TabState(TabState&& from) noexcept : TabState(nullptr, ::std::move(from)) {}
  inline TabState& operator=(const TabState& from) {
    CopyFrom(from);
    return *this;
  }
  inline TabState& operator=(TabState&& 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 TabState& default_instance() {
    return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<TabState>(&TabState_globals_);
  }
  static constexpr int kIndexInFileMessages = 0;
  friend void swap(TabState& a, TabState& b) { a.Swap(&b); }
  PROTOBUF_NOINLINE void Swap(TabState* 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(TabState* PROTOBUF_NONNULL other) {
    if (other == this) return;
    ABSL_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

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

  TabState* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<TabState>(arena);
  }
  void CopyFrom(const TabState& from);
  void MergeFrom(const TabState& from) { TabState::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(TabState* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "tabs_pb.TabState"; }

  explicit TabState(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  TabState(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TabState& from);
  TabState(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TabState&& from) noexcept
      : TabState(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 {
    kWebContentsStateBytesFieldNumber = 4,
    kOpenerAppIdFieldNumber = 5,
    kUrlFieldNumber = 16,
    kTabGroupIdFieldNumber = 10,
    kParentIdFieldNumber = 1,
    kRootIdFieldNumber = 2,
    kTimestampMillisFieldNumber = 3,
    kThemeColorFieldNumber = 6,
    kLaunchTypeAtCreationFieldNumber = 7,
    kLastNavigationCommittedTimestampMillisFieldNumber = 9,
    kUserAgentFieldNumber = 8,
    kTabHasSensitiveContentFieldNumber = 12,
    kIsPinnedFieldNumber = 13,
    kWebContentsStateVersionFieldNumber = 14,
    kTabIdFieldNumber = 15,
  };
  // optional bytes web_contents_state_bytes = 4;
  bool has_web_contents_state_bytes()
      const;
  void clear_web_contents_state_bytes() ;
  const ::std::string& web_contents_state_bytes() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_web_contents_state_bytes(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_web_contents_state_bytes();
  ::std::string* PROTOBUF_NULLABLE release_web_contents_state_bytes();
  void set_allocated_web_contents_state_bytes(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_web_contents_state_bytes() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_web_contents_state_bytes(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_web_contents_state_bytes();

  public:
  // optional string opener_app_id = 5;
  bool has_opener_app_id()
      const;
  void clear_opener_app_id() ;
  const ::std::string& opener_app_id() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_opener_app_id(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_opener_app_id();
  ::std::string* PROTOBUF_NULLABLE release_opener_app_id();
  void set_allocated_opener_app_id(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_opener_app_id() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_opener_app_id(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_opener_app_id();

  public:
  // optional string url = 16;
  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 .tabs_pb.Token tab_group_id = 10;
  bool has_tab_group_id()
      const;
  void clear_tab_group_id() ;
  const ::tabs_pb::Token& tab_group_id() const;
  ::tabs_pb::Token* PROTOBUF_NULLABLE release_tab_group_id();
  ::tabs_pb::Token* PROTOBUF_NONNULL mutable_tab_group_id();
  void set_allocated_tab_group_id(::tabs_pb::Token* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_tab_group_id(::tabs_pb::Token* PROTOBUF_NULLABLE value);
  ::tabs_pb::Token* PROTOBUF_NULLABLE unsafe_arena_release_tab_group_id();

  private:
  const ::tabs_pb::Token& _internal_tab_group_id() const;
  ::tabs_pb::Token* PROTOBUF_NONNULL _internal_mutable_tab_group_id();

  public:
  // optional int32 parent_id = 1;
  bool has_parent_id()
      const;
  void clear_parent_id() ;
  ::int32_t parent_id() const;
  void set_parent_id(::int32_t value);

  private:
  ::int32_t _internal_parent_id() const;
  void _internal_set_parent_id(::int32_t value);

  public:
  // optional int32 root_id = 2;
  bool has_root_id()
      const;
  void clear_root_id() ;
  ::int32_t root_id() const;
  void set_root_id(::int32_t value);

  private:
  ::int32_t _internal_root_id() const;
  void _internal_set_root_id(::int32_t value);

  public:
  // optional int64 timestamp_millis = 3;
  bool has_timestamp_millis()
      const;
  void clear_timestamp_millis() ;
  ::int64_t timestamp_millis() const;
  void set_timestamp_millis(::int64_t value);

  private:
  ::int64_t _internal_timestamp_millis() const;
  void _internal_set_timestamp_millis(::int64_t value);

  public:
  // optional int32 theme_color = 6;
  bool has_theme_color()
      const;
  void clear_theme_color() ;
  ::int32_t theme_color() const;
  void set_theme_color(::int32_t value);

  private:
  ::int32_t _internal_theme_color() const;
  void _internal_set_theme_color(::int32_t value);

  public:
  // optional int32 launch_type_at_creation = 7;
  bool has_launch_type_at_creation()
      const;
  void clear_launch_type_at_creation() ;
  ::int32_t launch_type_at_creation() const;
  void set_launch_type_at_creation(::int32_t value);

  private:
  ::int32_t _internal_launch_type_at_creation() const;
  void _internal_set_launch_type_at_creation(::int32_t value);

  public:
  // optional int64 last_navigation_committed_timestamp_millis = 9;
  bool has_last_navigation_committed_timestamp_millis()
      const;
  void clear_last_navigation_committed_timestamp_millis() ;
  ::int64_t last_navigation_committed_timestamp_millis() const;
  void set_last_navigation_committed_timestamp_millis(::int64_t value);

  private:
  ::int64_t _internal_last_navigation_committed_timestamp_millis() const;
  void _internal_set_last_navigation_committed_timestamp_millis(::int64_t value);

  public:
  // optional int32 user_agent = 8;
  bool has_user_agent()
      const;
  void clear_user_agent() ;
  ::int32_t user_agent() const;
  void set_user_agent(::int32_t value);

  private:
  ::int32_t _internal_user_agent() const;
  void _internal_set_user_agent(::int32_t value);

  public:
  // optional bool tab_has_sensitive_content = 12;
  bool has_tab_has_sensitive_content()
      const;
  void clear_tab_has_sensitive_content() ;
  bool tab_has_sensitive_content() const;
  void set_tab_has_sensitive_content(bool value);

  private:
  bool _internal_tab_has_sensitive_content() const;
  void _internal_set_tab_has_sensitive_content(bool value);

  public:
  // optional bool is_pinned = 13;
  bool has_is_pinned()
      const;
  void clear_is_pinned() ;
  bool is_pinned() const;
  void set_is_pinned(bool value);

  private:
  bool _internal_is_pinned() const;
  void _internal_set_is_pinned(bool value);

  public:
  // optional int32 web_contents_state_version = 14;
  bool has_web_contents_state_version()
      const;
  void clear_web_contents_state_version() ;
  ::int32_t web_contents_state_version() const;
  void set_web_contents_state_version(::int32_t value);

  private:
  ::int32_t _internal_web_contents_state_version() const;
  void _internal_set_web_contents_state_version(::int32_t value);

  public:
  // optional int32 tab_id = 15;
  bool has_tab_id()
      const;
  void clear_tab_id() ;
  ::int32_t tab_id() const;
  void set_tab_id(::int32_t value);

  private:
  ::int32_t _internal_tab_id() const;
  void _internal_set_tab_id(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:tabs_pb.TabState)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<4, 15,
                          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 TabState& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr web_contents_state_bytes_;
    ::google::protobuf::internal::ArenaStringPtr opener_app_id_;
    ::google::protobuf::internal::ArenaStringPtr url_;
    ::tabs_pb::Token* PROTOBUF_NULLABLE tab_group_id_;
    ::int32_t parent_id_;
    ::int32_t root_id_;
    ::int64_t timestamp_millis_;
    ::int32_t theme_color_;
    ::int32_t launch_type_at_creation_;
    ::int64_t last_navigation_committed_timestamp_millis_;
    ::int32_t user_agent_;
    bool tab_has_sensitive_content_;
    bool is_pinned_;
    ::int32_t web_contents_state_version_;
    ::int32_t tab_id_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_chrome_2fbrowser_2ftab_2fprotocol_2ftab_5fstate_2eproto;
};

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




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


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

// TabState

// optional int32 tab_id = 15;
inline bool TabState::has_tab_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00004000U);
  return value;
}
inline void TabState::clear_tab_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tab_id_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00004000U);
}
inline ::int32_t TabState::tab_id() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.tab_id)
  return _internal_tab_id();
}
inline void TabState::set_tab_id(::int32_t value) {
  _internal_set_tab_id(value);
  SetHasBit(_impl_._has_bits_[0], 0x00004000U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.tab_id)
}
inline ::int32_t TabState::_internal_tab_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.tab_id_;
}
inline void TabState::_internal_set_tab_id(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tab_id_ = value;
}

// optional int32 parent_id = 1;
inline bool TabState::has_parent_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void TabState::clear_parent_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.parent_id_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::int32_t TabState::parent_id() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.parent_id)
  return _internal_parent_id();
}
inline void TabState::set_parent_id(::int32_t value) {
  _internal_set_parent_id(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.parent_id)
}
inline ::int32_t TabState::_internal_parent_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.parent_id_;
}
inline void TabState::_internal_set_parent_id(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.parent_id_ = value;
}

// optional int32 root_id = 2;
inline bool TabState::has_root_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
  return value;
}
inline void TabState::clear_root_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.root_id_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline ::int32_t TabState::root_id() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.root_id)
  return _internal_root_id();
}
inline void TabState::set_root_id(::int32_t value) {
  _internal_set_root_id(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.root_id)
}
inline ::int32_t TabState::_internal_root_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.root_id_;
}
inline void TabState::_internal_set_root_id(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.root_id_ = value;
}

// optional int64 timestamp_millis = 3;
inline bool TabState::has_timestamp_millis() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
  return value;
}
inline void TabState::clear_timestamp_millis() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.timestamp_millis_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
inline ::int64_t TabState::timestamp_millis() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.timestamp_millis)
  return _internal_timestamp_millis();
}
inline void TabState::set_timestamp_millis(::int64_t value) {
  _internal_set_timestamp_millis(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.timestamp_millis)
}
inline ::int64_t TabState::_internal_timestamp_millis() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.timestamp_millis_;
}
inline void TabState::_internal_set_timestamp_millis(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.timestamp_millis_ = value;
}

// optional bytes web_contents_state_bytes = 4;
inline bool TabState::has_web_contents_state_bytes() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void TabState::clear_web_contents_state_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.web_contents_state_bytes_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& TabState::web_contents_state_bytes() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.web_contents_state_bytes)
  return _internal_web_contents_state_bytes();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void TabState::set_web_contents_state_bytes(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.web_contents_state_bytes_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.web_contents_state_bytes)
}
inline ::std::string* PROTOBUF_NONNULL TabState::mutable_web_contents_state_bytes()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_web_contents_state_bytes();
  // @@protoc_insertion_point(field_mutable:tabs_pb.TabState.web_contents_state_bytes)
  return _s;
}
inline const ::std::string& TabState::_internal_web_contents_state_bytes() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.web_contents_state_bytes_.Get();
}
inline void TabState::_internal_set_web_contents_state_bytes(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.web_contents_state_bytes_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL TabState::_internal_mutable_web_contents_state_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.web_contents_state_bytes_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE TabState::release_web_contents_state_bytes() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:tabs_pb.TabState.web_contents_state_bytes)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.web_contents_state_bytes_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.web_contents_state_bytes_.Set("", GetArena());
  }
  return released;
}
inline void TabState::set_allocated_web_contents_state_bytes(::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_.web_contents_state_bytes_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.web_contents_state_bytes_.IsDefault()) {
    _impl_.web_contents_state_bytes_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:tabs_pb.TabState.web_contents_state_bytes)
}

// optional int32 web_contents_state_version = 14;
inline bool TabState::has_web_contents_state_version() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00002000U);
  return value;
}
inline void TabState::clear_web_contents_state_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.web_contents_state_version_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00002000U);
}
inline ::int32_t TabState::web_contents_state_version() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.web_contents_state_version)
  return _internal_web_contents_state_version();
}
inline void TabState::set_web_contents_state_version(::int32_t value) {
  _internal_set_web_contents_state_version(value);
  SetHasBit(_impl_._has_bits_[0], 0x00002000U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.web_contents_state_version)
}
inline ::int32_t TabState::_internal_web_contents_state_version() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.web_contents_state_version_;
}
inline void TabState::_internal_set_web_contents_state_version(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.web_contents_state_version_ = value;
}

// optional string opener_app_id = 5;
inline bool TabState::has_opener_app_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void TabState::clear_opener_app_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.opener_app_id_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& TabState::opener_app_id() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.opener_app_id)
  return _internal_opener_app_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void TabState::set_opener_app_id(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.opener_app_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.opener_app_id)
}
inline ::std::string* PROTOBUF_NONNULL TabState::mutable_opener_app_id()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_opener_app_id();
  // @@protoc_insertion_point(field_mutable:tabs_pb.TabState.opener_app_id)
  return _s;
}
inline const ::std::string& TabState::_internal_opener_app_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.opener_app_id_.Get();
}
inline void TabState::_internal_set_opener_app_id(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.opener_app_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL TabState::_internal_mutable_opener_app_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.opener_app_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE TabState::release_opener_app_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:tabs_pb.TabState.opener_app_id)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.opener_app_id_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.opener_app_id_.Set("", GetArena());
  }
  return released;
}
inline void TabState::set_allocated_opener_app_id(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  _impl_.opener_app_id_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.opener_app_id_.IsDefault()) {
    _impl_.opener_app_id_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:tabs_pb.TabState.opener_app_id)
}

// optional int32 theme_color = 6;
inline bool TabState::has_theme_color() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
  return value;
}
inline void TabState::clear_theme_color() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.theme_color_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
inline ::int32_t TabState::theme_color() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.theme_color)
  return _internal_theme_color();
}
inline void TabState::set_theme_color(::int32_t value) {
  _internal_set_theme_color(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.theme_color)
}
inline ::int32_t TabState::_internal_theme_color() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.theme_color_;
}
inline void TabState::_internal_set_theme_color(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.theme_color_ = value;
}

// optional int32 launch_type_at_creation = 7;
inline bool TabState::has_launch_type_at_creation() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
  return value;
}
inline void TabState::clear_launch_type_at_creation() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.launch_type_at_creation_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
}
inline ::int32_t TabState::launch_type_at_creation() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.launch_type_at_creation)
  return _internal_launch_type_at_creation();
}
inline void TabState::set_launch_type_at_creation(::int32_t value) {
  _internal_set_launch_type_at_creation(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000100U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.launch_type_at_creation)
}
inline ::int32_t TabState::_internal_launch_type_at_creation() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.launch_type_at_creation_;
}
inline void TabState::_internal_set_launch_type_at_creation(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.launch_type_at_creation_ = value;
}

// optional int32 user_agent = 8;
inline bool TabState::has_user_agent() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
  return value;
}
inline void TabState::clear_user_agent() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.user_agent_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
}
inline ::int32_t TabState::user_agent() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.user_agent)
  return _internal_user_agent();
}
inline void TabState::set_user_agent(::int32_t value) {
  _internal_set_user_agent(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000400U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.user_agent)
}
inline ::int32_t TabState::_internal_user_agent() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.user_agent_;
}
inline void TabState::_internal_set_user_agent(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.user_agent_ = value;
}

// optional int64 last_navigation_committed_timestamp_millis = 9;
inline bool TabState::has_last_navigation_committed_timestamp_millis() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
  return value;
}
inline void TabState::clear_last_navigation_committed_timestamp_millis() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.last_navigation_committed_timestamp_millis_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
}
inline ::int64_t TabState::last_navigation_committed_timestamp_millis() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.last_navigation_committed_timestamp_millis)
  return _internal_last_navigation_committed_timestamp_millis();
}
inline void TabState::set_last_navigation_committed_timestamp_millis(::int64_t value) {
  _internal_set_last_navigation_committed_timestamp_millis(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000200U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.last_navigation_committed_timestamp_millis)
}
inline ::int64_t TabState::_internal_last_navigation_committed_timestamp_millis() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.last_navigation_committed_timestamp_millis_;
}
inline void TabState::_internal_set_last_navigation_committed_timestamp_millis(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.last_navigation_committed_timestamp_millis_ = value;
}

// optional .tabs_pb.Token tab_group_id = 10;
inline bool TabState::has_tab_group_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  PROTOBUF_ASSUME(!value || _impl_.tab_group_id_ != nullptr);
  return value;
}
inline const ::tabs_pb::Token& TabState::_internal_tab_group_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::tabs_pb::Token* p = _impl_.tab_group_id_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::tabs_pb::Token>(&::tabs_pb::Token_globals_);
}
inline const ::tabs_pb::Token& TabState::tab_group_id() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.tab_group_id)
  return _internal_tab_group_id();
}
inline void TabState::unsafe_arena_set_allocated_tab_group_id(
    ::tabs_pb::Token* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tab_group_id_);
  }
  _impl_.tab_group_id_ = reinterpret_cast<::tabs_pb::Token*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tabs_pb.TabState.tab_group_id)
}
inline ::tabs_pb::Token* PROTOBUF_NULLABLE TabState::release_tab_group_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::tabs_pb::Token* released = _impl_.tab_group_id_;
  _impl_.tab_group_id_ = 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 ::tabs_pb::Token* PROTOBUF_NULLABLE TabState::unsafe_arena_release_tab_group_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:tabs_pb.TabState.tab_group_id)

  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::tabs_pb::Token* temp = _impl_.tab_group_id_;
  _impl_.tab_group_id_ = nullptr;
  return temp;
}
inline ::tabs_pb::Token* PROTOBUF_NONNULL TabState::_internal_mutable_tab_group_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.tab_group_id_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::tabs_pb::Token>(GetArena());
    _impl_.tab_group_id_ = reinterpret_cast<::tabs_pb::Token*>(p);
  }
  return _impl_.tab_group_id_;
}
inline ::tabs_pb::Token* PROTOBUF_NONNULL TabState::mutable_tab_group_id()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::tabs_pb::Token* _msg = _internal_mutable_tab_group_id();
  // @@protoc_insertion_point(field_mutable:tabs_pb.TabState.tab_group_id)
  return _msg;
}
inline void TabState::set_allocated_tab_group_id(::tabs_pb::Token* 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_.tab_group_id_);
  }

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

  _impl_.tab_group_id_ = reinterpret_cast<::tabs_pb::Token*>(value);
  // @@protoc_insertion_point(field_set_allocated:tabs_pb.TabState.tab_group_id)
}

// optional bool tab_has_sensitive_content = 12;
inline bool TabState::has_tab_has_sensitive_content() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
  return value;
}
inline void TabState::clear_tab_has_sensitive_content() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tab_has_sensitive_content_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000800U);
}
inline bool TabState::tab_has_sensitive_content() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.tab_has_sensitive_content)
  return _internal_tab_has_sensitive_content();
}
inline void TabState::set_tab_has_sensitive_content(bool value) {
  _internal_set_tab_has_sensitive_content(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000800U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.tab_has_sensitive_content)
}
inline bool TabState::_internal_tab_has_sensitive_content() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.tab_has_sensitive_content_;
}
inline void TabState::_internal_set_tab_has_sensitive_content(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tab_has_sensitive_content_ = value;
}

// optional bool is_pinned = 13;
inline bool TabState::has_is_pinned() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00001000U);
  return value;
}
inline void TabState::clear_is_pinned() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.is_pinned_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00001000U);
}
inline bool TabState::is_pinned() const {
  // @@protoc_insertion_point(field_get:tabs_pb.TabState.is_pinned)
  return _internal_is_pinned();
}
inline void TabState::set_is_pinned(bool value) {
  _internal_set_is_pinned(value);
  SetHasBit(_impl_._has_bits_[0], 0x00001000U);
  // @@protoc_insertion_point(field_set:tabs_pb.TabState.is_pinned)
}
inline bool TabState::_internal_is_pinned() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.is_pinned_;
}
inline void TabState::_internal_set_is_pinned(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.is_pinned_ = value;
}

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

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

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


// @@protoc_insertion_point(global_scope)

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

#endif  // chrome_2fbrowser_2ftab_2fprotocol_2ftab_5fstate_2eproto_2epb_2eh
