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

#ifndef tool_5fconfig_2eproto_2epb_2eh
#define tool_5fconfig_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 "tool_rule.pb.h"
#include "icon.pb.h"
#include "tool_substate_config.pb.h"
#include "tool_mode.pb.h"
#include "url_param.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_tool_5fconfig_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_tool_5fconfig_2eproto {
  static const ::uint32_t offsets[];
};
namespace omnibox {
class ToolConfig;
struct ToolConfigGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ToolConfigGlobalsTypeInternal ToolConfig_globals_;
extern const ::google::protobuf::internal::ClassDataLite ToolConfig_class_data_;
#else
extern const ToolConfigGlobalsTypeInternal ToolConfig_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace omnibox
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace omnibox {

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


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

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

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

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

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

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

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

  explicit ToolConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ToolConfig(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ToolConfig& from);
  ToolConfig(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ToolConfig&& from) noexcept
      : ToolConfig(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 {
    kAimUrlParamsFieldNumber = 7,
    kSubstateConfigsFieldNumber = 8,
    kMenuLabelFieldNumber = 3,
    kChipLabelFieldNumber = 4,
    kHintTextFieldNumber = 5,
    kMenuTooltipFieldNumber = 13,
    kRuleFieldNumber = 6,
    kIconFieldNumber = 9,
    kToolFieldNumber = 1,
    kDisableActiveModelSelectionFieldNumber = 2,
    kHideFromMenuFieldNumber = 10,
  };
  // repeated .omnibox.UrlParam aim_url_params = 7;
  int aim_url_params_size()
      const;
  private:
  int _internal_aim_url_params_size() const;

  public:
  void clear_aim_url_params() ;
  const ::omnibox::UrlParam& aim_url_params(int index) const;
  ::omnibox::UrlParam* PROTOBUF_NONNULL mutable_aim_url_params(int index);
  ::omnibox::UrlParam* PROTOBUF_NONNULL add_aim_url_params();
  const ::google::protobuf::RepeatedPtrField<::omnibox::UrlParam>&
  aim_url_params() const;
  ::google::protobuf::RepeatedPtrField<::omnibox::UrlParam>* PROTOBUF_NONNULL
  mutable_aim_url_params();

  private:
  const ::google::protobuf::RepeatedPtrField<::omnibox::UrlParam>& _internal_aim_url_params() const;
  ::google::protobuf::RepeatedPtrField<::omnibox::UrlParam>* PROTOBUF_NONNULL _internal_mutable_aim_url_params();

  public:
  // repeated .omnibox.ToolSubstateConfig substate_configs = 8;
  int substate_configs_size()
      const;
  private:
  int _internal_substate_configs_size() const;

  public:
  void clear_substate_configs() ;
  const ::omnibox::ToolSubstateConfig& substate_configs(int index) const;
  ::omnibox::ToolSubstateConfig* PROTOBUF_NONNULL mutable_substate_configs(int index);
  ::omnibox::ToolSubstateConfig* PROTOBUF_NONNULL add_substate_configs();
  const ::google::protobuf::RepeatedPtrField<::omnibox::ToolSubstateConfig>&
  substate_configs() const;
  ::google::protobuf::RepeatedPtrField<::omnibox::ToolSubstateConfig>* PROTOBUF_NONNULL
  mutable_substate_configs();

  private:
  const ::google::protobuf::RepeatedPtrField<::omnibox::ToolSubstateConfig>& _internal_substate_configs() const;
  ::google::protobuf::RepeatedPtrField<::omnibox::ToolSubstateConfig>* PROTOBUF_NONNULL _internal_mutable_substate_configs();

  public:
  // string menu_label = 3;
  void clear_menu_label() ;
  const ::std::string& menu_label() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_menu_label(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_menu_label();
  ::std::string* PROTOBUF_NULLABLE release_menu_label();
  void set_allocated_menu_label(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_menu_label() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_menu_label(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_menu_label();

  public:
  // string chip_label = 4;
  void clear_chip_label() ;
  const ::std::string& chip_label() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_chip_label(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_chip_label();
  ::std::string* PROTOBUF_NULLABLE release_chip_label();
  void set_allocated_chip_label(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_chip_label() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_chip_label(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_chip_label();

  public:
  // string hint_text = 5;
  void clear_hint_text() ;
  const ::std::string& hint_text() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_hint_text(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_hint_text();
  ::std::string* PROTOBUF_NULLABLE release_hint_text();
  void set_allocated_hint_text(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_hint_text() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_hint_text(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_hint_text();

  public:
  // string menu_tooltip = 13;
  void clear_menu_tooltip() ;
  const ::std::string& menu_tooltip() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_menu_tooltip(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_menu_tooltip();
  ::std::string* PROTOBUF_NULLABLE release_menu_tooltip();
  void set_allocated_menu_tooltip(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_menu_tooltip() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_menu_tooltip(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_menu_tooltip();

  public:
  // optional .omnibox.ToolRule rule = 6;
  bool has_rule()
      const;
  void clear_rule() ;
  const ::omnibox::ToolRule& rule() const;
  ::omnibox::ToolRule* PROTOBUF_NULLABLE release_rule();
  ::omnibox::ToolRule* PROTOBUF_NONNULL mutable_rule();
  void set_allocated_rule(::omnibox::ToolRule* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_rule(::omnibox::ToolRule* PROTOBUF_NULLABLE value);
  ::omnibox::ToolRule* PROTOBUF_NULLABLE unsafe_arena_release_rule();

  private:
  const ::omnibox::ToolRule& _internal_rule() const;
  ::omnibox::ToolRule* PROTOBUF_NONNULL _internal_mutable_rule();

  public:
  // optional .omnibox.Icon icon = 9;
  bool has_icon()
      const;
  void clear_icon() ;
  const ::omnibox::Icon& icon() const;
  ::omnibox::Icon* PROTOBUF_NULLABLE release_icon();
  ::omnibox::Icon* PROTOBUF_NONNULL mutable_icon();
  void set_allocated_icon(::omnibox::Icon* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_icon(::omnibox::Icon* PROTOBUF_NULLABLE value);
  ::omnibox::Icon* PROTOBUF_NULLABLE unsafe_arena_release_icon();

  private:
  const ::omnibox::Icon& _internal_icon() const;
  ::omnibox::Icon* PROTOBUF_NONNULL _internal_mutable_icon();

  public:
  // .omnibox.ToolMode tool = 1;
  void clear_tool() ;
  ::omnibox::ToolMode tool() const;
  void set_tool(::omnibox::ToolMode value);

  private:
  ::omnibox::ToolMode _internal_tool() const;
  void _internal_set_tool(::omnibox::ToolMode value);

  public:
  // bool disable_active_model_selection = 2;
  void clear_disable_active_model_selection() ;
  bool disable_active_model_selection() const;
  void set_disable_active_model_selection(bool value);

  private:
  bool _internal_disable_active_model_selection() const;
  void _internal_set_disable_active_model_selection(bool value);

  public:
  // bool hide_from_menu = 10;
  void clear_hide_from_menu() ;
  bool hide_from_menu() const;
  void set_hide_from_menu(bool value);

  private:
  bool _internal_hide_from_menu() const;
  void _internal_set_hide_from_menu(bool value);

  public:
  // @@protoc_insertion_point(class_scope:omnibox.ToolConfig)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<4, 11,
                          4, 76,
                          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 ToolConfig& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::omnibox::UrlParam > aim_url_params_;
    ::google::protobuf::RepeatedPtrField< ::omnibox::ToolSubstateConfig > substate_configs_;
    ::google::protobuf::internal::ArenaStringPtr menu_label_;
    ::google::protobuf::internal::ArenaStringPtr chip_label_;
    ::google::protobuf::internal::ArenaStringPtr hint_text_;
    ::google::protobuf::internal::ArenaStringPtr menu_tooltip_;
    ::omnibox::ToolRule* PROTOBUF_NULLABLE rule_;
    ::omnibox::Icon* PROTOBUF_NULLABLE icon_;
    int tool_;
    bool disable_active_model_selection_;
    bool hide_from_menu_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_tool_5fconfig_2eproto;
};

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




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


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

// ToolConfig

// .omnibox.ToolMode tool = 1;
inline void ToolConfig::clear_tool() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tool_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
}
inline ::omnibox::ToolMode ToolConfig::tool() const {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.tool)
  return _internal_tool();
}
inline void ToolConfig::set_tool(::omnibox::ToolMode value) {
  _internal_set_tool(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000100U);
  // @@protoc_insertion_point(field_set:omnibox.ToolConfig.tool)
}
inline ::omnibox::ToolMode ToolConfig::_internal_tool() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::omnibox::ToolMode>(_impl_.tool_);
}
inline void ToolConfig::_internal_set_tool(::omnibox::ToolMode value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.tool_ = value;
}

// bool disable_active_model_selection = 2;
inline void ToolConfig::clear_disable_active_model_selection() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.disable_active_model_selection_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
}
inline bool ToolConfig::disable_active_model_selection() const {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.disable_active_model_selection)
  return _internal_disable_active_model_selection();
}
inline void ToolConfig::set_disable_active_model_selection(bool value) {
  _internal_set_disable_active_model_selection(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000200U);
  // @@protoc_insertion_point(field_set:omnibox.ToolConfig.disable_active_model_selection)
}
inline bool ToolConfig::_internal_disable_active_model_selection() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.disable_active_model_selection_;
}
inline void ToolConfig::_internal_set_disable_active_model_selection(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.disable_active_model_selection_ = value;
}

// string menu_label = 3;
inline void ToolConfig::clear_menu_label() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.menu_label_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::std::string& ToolConfig::menu_label() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.menu_label)
  return _internal_menu_label();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void ToolConfig::set_menu_label(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  _impl_.menu_label_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:omnibox.ToolConfig.menu_label)
}
inline ::std::string* PROTOBUF_NONNULL ToolConfig::mutable_menu_label()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::std::string* _s = _internal_mutable_menu_label();
  // @@protoc_insertion_point(field_mutable:omnibox.ToolConfig.menu_label)
  return _s;
}
inline const ::std::string& ToolConfig::_internal_menu_label() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.menu_label_.Get();
}
inline void ToolConfig::_internal_set_menu_label(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.menu_label_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL ToolConfig::_internal_mutable_menu_label() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.menu_label_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE ToolConfig::release_menu_label() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:omnibox.ToolConfig.menu_label)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  auto* released = _impl_.menu_label_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.menu_label_.Set("", GetArena());
  }
  return released;
}
inline void ToolConfig::set_allocated_menu_label(::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_.menu_label_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.menu_label_.IsDefault()) {
    _impl_.menu_label_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:omnibox.ToolConfig.menu_label)
}

// string chip_label = 4;
inline void ToolConfig::clear_chip_label() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.chip_label_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline const ::std::string& ToolConfig::chip_label() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.chip_label)
  return _internal_chip_label();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void ToolConfig::set_chip_label(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  _impl_.chip_label_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:omnibox.ToolConfig.chip_label)
}
inline ::std::string* PROTOBUF_NONNULL ToolConfig::mutable_chip_label()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::std::string* _s = _internal_mutable_chip_label();
  // @@protoc_insertion_point(field_mutable:omnibox.ToolConfig.chip_label)
  return _s;
}
inline const ::std::string& ToolConfig::_internal_chip_label() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.chip_label_.Get();
}
inline void ToolConfig::_internal_set_chip_label(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.chip_label_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL ToolConfig::_internal_mutable_chip_label() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.chip_label_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE ToolConfig::release_chip_label() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:omnibox.ToolConfig.chip_label)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  auto* released = _impl_.chip_label_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.chip_label_.Set("", GetArena());
  }
  return released;
}
inline void ToolConfig::set_allocated_chip_label(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  }
  _impl_.chip_label_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.chip_label_.IsDefault()) {
    _impl_.chip_label_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:omnibox.ToolConfig.chip_label)
}

// string hint_text = 5;
inline void ToolConfig::clear_hint_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.hint_text_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline const ::std::string& ToolConfig::hint_text() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.hint_text)
  return _internal_hint_text();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void ToolConfig::set_hint_text(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  _impl_.hint_text_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:omnibox.ToolConfig.hint_text)
}
inline ::std::string* PROTOBUF_NONNULL ToolConfig::mutable_hint_text()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  ::std::string* _s = _internal_mutable_hint_text();
  // @@protoc_insertion_point(field_mutable:omnibox.ToolConfig.hint_text)
  return _s;
}
inline const ::std::string& ToolConfig::_internal_hint_text() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.hint_text_.Get();
}
inline void ToolConfig::_internal_set_hint_text(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.hint_text_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL ToolConfig::_internal_mutable_hint_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.hint_text_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE ToolConfig::release_hint_text() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:omnibox.ToolConfig.hint_text)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
  auto* released = _impl_.hint_text_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.hint_text_.Set("", GetArena());
  }
  return released;
}
inline void ToolConfig::set_allocated_hint_text(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
  }
  _impl_.hint_text_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.hint_text_.IsDefault()) {
    _impl_.hint_text_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:omnibox.ToolConfig.hint_text)
}

// optional .omnibox.ToolRule rule = 6;
inline bool ToolConfig::has_rule() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
  PROTOBUF_ASSUME(!value || _impl_.rule_ != nullptr);
  return value;
}
inline const ::omnibox::ToolRule& ToolConfig::_internal_rule() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::omnibox::ToolRule* p = _impl_.rule_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::omnibox::ToolRule>(&::omnibox::ToolRule_globals_);
}
inline const ::omnibox::ToolRule& ToolConfig::rule() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.rule)
  return _internal_rule();
}
inline void ToolConfig::unsafe_arena_set_allocated_rule(
    ::omnibox::ToolRule* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rule_);
  }
  _impl_.rule_ = reinterpret_cast<::omnibox::ToolRule*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:omnibox.ToolConfig.rule)
}
inline ::omnibox::ToolRule* PROTOBUF_NULLABLE ToolConfig::release_rule() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
  ::omnibox::ToolRule* released = _impl_.rule_;
  _impl_.rule_ = 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 ::omnibox::ToolRule* PROTOBUF_NULLABLE ToolConfig::unsafe_arena_release_rule() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:omnibox.ToolConfig.rule)

  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
  ::omnibox::ToolRule* temp = _impl_.rule_;
  _impl_.rule_ = nullptr;
  return temp;
}
inline ::omnibox::ToolRule* PROTOBUF_NONNULL ToolConfig::_internal_mutable_rule() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.rule_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::omnibox::ToolRule>(GetArena());
    _impl_.rule_ = reinterpret_cast<::omnibox::ToolRule*>(p);
  }
  return _impl_.rule_;
}
inline ::omnibox::ToolRule* PROTOBUF_NONNULL ToolConfig::mutable_rule()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  ::omnibox::ToolRule* _msg = _internal_mutable_rule();
  // @@protoc_insertion_point(field_mutable:omnibox.ToolConfig.rule)
  return _msg;
}
inline void ToolConfig::set_allocated_rule(::omnibox::ToolRule* 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_.rule_);
  }

  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], 0x00000040U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
  }

  _impl_.rule_ = reinterpret_cast<::omnibox::ToolRule*>(value);
  // @@protoc_insertion_point(field_set_allocated:omnibox.ToolConfig.rule)
}

// repeated .omnibox.UrlParam aim_url_params = 7;
inline int ToolConfig::_internal_aim_url_params_size() const {
  return _internal_aim_url_params().size();
}
inline int ToolConfig::aim_url_params_size() const {
  return _internal_aim_url_params_size();
}
inline const ::omnibox::UrlParam& ToolConfig::aim_url_params(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.aim_url_params)
  return _internal_aim_url_params().Get(index);
}
inline ::omnibox::UrlParam* PROTOBUF_NONNULL ToolConfig::mutable_aim_url_params(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:omnibox.ToolConfig.aim_url_params)
  return _internal_mutable_aim_url_params()->Mutable(index);
}
inline ::omnibox::UrlParam* PROTOBUF_NONNULL ToolConfig::add_aim_url_params()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::omnibox::UrlParam* _add =
      _internal_mutable_aim_url_params()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:omnibox.ToolConfig.aim_url_params)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::omnibox::UrlParam>& ToolConfig::aim_url_params() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:omnibox.ToolConfig.aim_url_params)
  return _internal_aim_url_params();
}
inline ::google::protobuf::RepeatedPtrField<::omnibox::UrlParam>* PROTOBUF_NONNULL
ToolConfig::mutable_aim_url_params() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:omnibox.ToolConfig.aim_url_params)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_aim_url_params();
}
inline const ::google::protobuf::RepeatedPtrField<::omnibox::UrlParam>&
ToolConfig::_internal_aim_url_params() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.aim_url_params_;
}
inline ::google::protobuf::RepeatedPtrField<::omnibox::UrlParam>* PROTOBUF_NONNULL
ToolConfig::_internal_mutable_aim_url_params() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.aim_url_params_;
}

// repeated .omnibox.ToolSubstateConfig substate_configs = 8;
inline int ToolConfig::_internal_substate_configs_size() const {
  return _internal_substate_configs().size();
}
inline int ToolConfig::substate_configs_size() const {
  return _internal_substate_configs_size();
}
inline const ::omnibox::ToolSubstateConfig& ToolConfig::substate_configs(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.substate_configs)
  return _internal_substate_configs().Get(index);
}
inline ::omnibox::ToolSubstateConfig* PROTOBUF_NONNULL ToolConfig::mutable_substate_configs(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:omnibox.ToolConfig.substate_configs)
  return _internal_mutable_substate_configs()->Mutable(index);
}
inline ::omnibox::ToolSubstateConfig* PROTOBUF_NONNULL ToolConfig::add_substate_configs()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::omnibox::ToolSubstateConfig* _add =
      _internal_mutable_substate_configs()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_add:omnibox.ToolConfig.substate_configs)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::omnibox::ToolSubstateConfig>& ToolConfig::substate_configs() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:omnibox.ToolConfig.substate_configs)
  return _internal_substate_configs();
}
inline ::google::protobuf::RepeatedPtrField<::omnibox::ToolSubstateConfig>* PROTOBUF_NONNULL
ToolConfig::mutable_substate_configs() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_mutable_list:omnibox.ToolConfig.substate_configs)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_substate_configs();
}
inline const ::google::protobuf::RepeatedPtrField<::omnibox::ToolSubstateConfig>&
ToolConfig::_internal_substate_configs() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.substate_configs_;
}
inline ::google::protobuf::RepeatedPtrField<::omnibox::ToolSubstateConfig>* PROTOBUF_NONNULL
ToolConfig::_internal_mutable_substate_configs() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.substate_configs_;
}

// optional .omnibox.Icon icon = 9;
inline bool ToolConfig::has_icon() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
  PROTOBUF_ASSUME(!value || _impl_.icon_ != nullptr);
  return value;
}
inline const ::omnibox::Icon& ToolConfig::_internal_icon() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::omnibox::Icon* p = _impl_.icon_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::omnibox::Icon>(&::omnibox::Icon_globals_);
}
inline const ::omnibox::Icon& ToolConfig::icon() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.icon)
  return _internal_icon();
}
inline void ToolConfig::unsafe_arena_set_allocated_icon(
    ::omnibox::Icon* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.icon_);
  }
  _impl_.icon_ = reinterpret_cast<::omnibox::Icon*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:omnibox.ToolConfig.icon)
}
inline ::omnibox::Icon* PROTOBUF_NULLABLE ToolConfig::release_icon() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
  ::omnibox::Icon* released = _impl_.icon_;
  _impl_.icon_ = 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 ::omnibox::Icon* PROTOBUF_NULLABLE ToolConfig::unsafe_arena_release_icon() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:omnibox.ToolConfig.icon)

  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
  ::omnibox::Icon* temp = _impl_.icon_;
  _impl_.icon_ = nullptr;
  return temp;
}
inline ::omnibox::Icon* PROTOBUF_NONNULL ToolConfig::_internal_mutable_icon() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.icon_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::omnibox::Icon>(GetArena());
    _impl_.icon_ = reinterpret_cast<::omnibox::Icon*>(p);
  }
  return _impl_.icon_;
}
inline ::omnibox::Icon* PROTOBUF_NONNULL ToolConfig::mutable_icon()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  ::omnibox::Icon* _msg = _internal_mutable_icon();
  // @@protoc_insertion_point(field_mutable:omnibox.ToolConfig.icon)
  return _msg;
}
inline void ToolConfig::set_allocated_icon(::omnibox::Icon* 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_.icon_);
  }

  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], 0x00000080U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
  }

  _impl_.icon_ = reinterpret_cast<::omnibox::Icon*>(value);
  // @@protoc_insertion_point(field_set_allocated:omnibox.ToolConfig.icon)
}

// bool hide_from_menu = 10;
inline void ToolConfig::clear_hide_from_menu() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.hide_from_menu_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000400U);
}
inline bool ToolConfig::hide_from_menu() const {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.hide_from_menu)
  return _internal_hide_from_menu();
}
inline void ToolConfig::set_hide_from_menu(bool value) {
  _internal_set_hide_from_menu(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000400U);
  // @@protoc_insertion_point(field_set:omnibox.ToolConfig.hide_from_menu)
}
inline bool ToolConfig::_internal_hide_from_menu() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.hide_from_menu_;
}
inline void ToolConfig::_internal_set_hide_from_menu(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.hide_from_menu_ = value;
}

// string menu_tooltip = 13;
inline void ToolConfig::clear_menu_tooltip() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.menu_tooltip_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline const ::std::string& ToolConfig::menu_tooltip() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:omnibox.ToolConfig.menu_tooltip)
  return _internal_menu_tooltip();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void ToolConfig::set_menu_tooltip(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  _impl_.menu_tooltip_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:omnibox.ToolConfig.menu_tooltip)
}
inline ::std::string* PROTOBUF_NONNULL ToolConfig::mutable_menu_tooltip()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  ::std::string* _s = _internal_mutable_menu_tooltip();
  // @@protoc_insertion_point(field_mutable:omnibox.ToolConfig.menu_tooltip)
  return _s;
}
inline const ::std::string& ToolConfig::_internal_menu_tooltip() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.menu_tooltip_.Get();
}
inline void ToolConfig::_internal_set_menu_tooltip(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.menu_tooltip_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL ToolConfig::_internal_mutable_menu_tooltip() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.menu_tooltip_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE ToolConfig::release_menu_tooltip() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:omnibox.ToolConfig.menu_tooltip)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000020U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
  auto* released = _impl_.menu_tooltip_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.menu_tooltip_.Set("", GetArena());
  }
  return released;
}
inline void ToolConfig::set_allocated_menu_tooltip(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
  }
  _impl_.menu_tooltip_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.menu_tooltip_.IsDefault()) {
    _impl_.menu_tooltip_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:omnibox.ToolConfig.menu_tooltip)
}

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

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


// @@protoc_insertion_point(global_scope)

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

#endif  // tool_5fconfig_2eproto_2epb_2eh
