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

#ifndef smart_5fcompose_5fstats_2eproto_2epb_2eh
#define smart_5fcompose_5fstats_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 "google/protobuf/generated_enum_util.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_smart_5fcompose_5fstats_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_smart_5fcompose_5fstats_2eproto {
  static const ::uint32_t offsets[];
};
namespace omnibox {
namespace metrics {
enum SmartComposeStats_AcceptMethod : int;
extern const uint32_t SmartComposeStats_AcceptMethod_internal_data_[];
class SmartComposeStats;
struct SmartComposeStatsGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern SmartComposeStatsGlobalsTypeInternal SmartComposeStats_globals_;
extern const ::google::protobuf::internal::ClassDataLite SmartComposeStats_class_data_;
#else
extern const SmartComposeStatsGlobalsTypeInternal SmartComposeStats_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace metrics
}  // namespace omnibox
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::omnibox::metrics::SmartComposeStats_AcceptMethod_internal_data_>
    internal::EnumTraitsImpl::value<::omnibox::metrics::SmartComposeStats_AcceptMethod>;
}  // namespace protobuf
}  // namespace google

namespace omnibox {
namespace metrics {
enum SmartComposeStats_AcceptMethod : int {
  SmartComposeStats_AcceptMethod_ACCEPT_METHOD_UNSPECIFIED = 0,
  SmartComposeStats_AcceptMethod_TAP = 1,
  SmartComposeStats_AcceptMethod_SWIPE = 2,
  SmartComposeStats_AcceptMethod_GBOARD_SWIPE = 3,
  SmartComposeStats_AcceptMethod_ACCESSIBILITY_ACTION = 4,
};

extern const uint32_t SmartComposeStats_AcceptMethod_internal_data_[];
inline constexpr SmartComposeStats_AcceptMethod SmartComposeStats_AcceptMethod_AcceptMethod_MIN =
    static_cast<SmartComposeStats_AcceptMethod>(0);
inline constexpr SmartComposeStats_AcceptMethod SmartComposeStats_AcceptMethod_AcceptMethod_MAX =
    static_cast<SmartComposeStats_AcceptMethod>(4);
inline bool SmartComposeStats_AcceptMethod_IsValid(int value) {
  return 0 <= value && value <= 4;
}
inline constexpr int SmartComposeStats_AcceptMethod_AcceptMethod_ARRAYSIZE = 4 + 1;
const ::std::string& SmartComposeStats_AcceptMethod_Name(SmartComposeStats_AcceptMethod value);
template <typename T>
const ::std::string& SmartComposeStats_AcceptMethod_Name(T value) {
  static_assert(::std::is_same<T, SmartComposeStats_AcceptMethod>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to AcceptMethod_Name().");
  return SmartComposeStats_AcceptMethod_Name(static_cast<SmartComposeStats_AcceptMethod>(value));
}
bool SmartComposeStats_AcceptMethod_Parse(
    ::absl::string_view name, SmartComposeStats_AcceptMethod* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

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

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

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

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

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

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

  explicit SmartComposeStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  SmartComposeStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SmartComposeStats& from);
  SmartComposeStats(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SmartComposeStats&& from) noexcept
      : SmartComposeStats(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 ----------------------------------------------------
  using AcceptMethod = SmartComposeStats_AcceptMethod;
  static constexpr AcceptMethod ACCEPT_METHOD_UNSPECIFIED = SmartComposeStats_AcceptMethod_ACCEPT_METHOD_UNSPECIFIED;
  static constexpr AcceptMethod TAP = SmartComposeStats_AcceptMethod_TAP;
  static constexpr AcceptMethod SWIPE = SmartComposeStats_AcceptMethod_SWIPE;
  static constexpr AcceptMethod GBOARD_SWIPE = SmartComposeStats_AcceptMethod_GBOARD_SWIPE;
  static constexpr AcceptMethod ACCESSIBILITY_ACTION = SmartComposeStats_AcceptMethod_ACCESSIBILITY_ACTION;
  static inline bool AcceptMethod_IsValid(int value) {
    return SmartComposeStats_AcceptMethod_IsValid(value);
  }
  static constexpr AcceptMethod AcceptMethod_MIN = SmartComposeStats_AcceptMethod_AcceptMethod_MIN;
  static constexpr AcceptMethod AcceptMethod_MAX = SmartComposeStats_AcceptMethod_AcceptMethod_MAX;
  static constexpr int AcceptMethod_ARRAYSIZE = SmartComposeStats_AcceptMethod_AcceptMethod_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& AcceptMethod_Name(T value) {
    return SmartComposeStats_AcceptMethod_Name(value);
  }
  static inline bool AcceptMethod_Parse(
      ::absl::string_view name, AcceptMethod* PROTOBUF_NONNULL value) {
    return SmartComposeStats_AcceptMethod_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kAcceptMethodsFieldNumber = 6,
    kImpressedIndexFieldNumber = 7,
    kAcceptedAtIndexFieldNumber = 8,
    kEnabledFieldNumber = 1,
    kShownCountFieldNumber = 2,
    kAcceptedCountFieldNumber = 3,
    kCharactersAcceptedFieldNumber = 4,
    kShownLengthFieldNumber = 5,
  };
  // repeated .omnibox.metrics.SmartComposeStats.AcceptMethod accept_methods = 6;
  int accept_methods_size()
      const;
  private:
  int _internal_accept_methods_size() const;

  public:
  void clear_accept_methods() ;
  public:
  ::omnibox::metrics::SmartComposeStats_AcceptMethod accept_methods(int index) const;
  void set_accept_methods(int index, ::omnibox::metrics::SmartComposeStats_AcceptMethod value);
  void add_accept_methods(::omnibox::metrics::SmartComposeStats_AcceptMethod value);
  const ::google::protobuf::RepeatedField<int>& accept_methods()
      const;
  ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_accept_methods();

  private:
  const ::google::protobuf::RepeatedField<int>& _internal_accept_methods() const;
  ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_accept_methods();

  public:
  // repeated int32 impressed_index = 7;
  int impressed_index_size()
      const;
  private:
  int _internal_impressed_index_size() const;

  public:
  void clear_impressed_index() ;
  ::int32_t impressed_index(int index) const;
  void set_impressed_index(int index, ::int32_t value);
  void add_impressed_index(::int32_t value);
  const ::google::protobuf::RepeatedField<::int32_t>& impressed_index()
      const;
  ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_impressed_index();

  private:
  const ::google::protobuf::RepeatedField<::int32_t>& _internal_impressed_index() const;
  ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_impressed_index();

  public:
  // repeated int32 accepted_at_index = 8;
  int accepted_at_index_size()
      const;
  private:
  int _internal_accepted_at_index_size() const;

  public:
  void clear_accepted_at_index() ;
  ::int32_t accepted_at_index(int index) const;
  void set_accepted_at_index(int index, ::int32_t value);
  void add_accepted_at_index(::int32_t value);
  const ::google::protobuf::RepeatedField<::int32_t>& accepted_at_index()
      const;
  ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL mutable_accepted_at_index();

  private:
  const ::google::protobuf::RepeatedField<::int32_t>& _internal_accepted_at_index() const;
  ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_accepted_at_index();

  public:
  // optional bool enabled = 1;
  bool has_enabled()
      const;
  void clear_enabled() ;
  bool enabled() const;
  void set_enabled(bool value);

  private:
  bool _internal_enabled() const;
  void _internal_set_enabled(bool value);

  public:
  // optional int32 shown_count = 2;
  bool has_shown_count()
      const;
  void clear_shown_count() ;
  ::int32_t shown_count() const;
  void set_shown_count(::int32_t value);

  private:
  ::int32_t _internal_shown_count() const;
  void _internal_set_shown_count(::int32_t value);

  public:
  // optional int32 accepted_count = 3;
  bool has_accepted_count()
      const;
  void clear_accepted_count() ;
  ::int32_t accepted_count() const;
  void set_accepted_count(::int32_t value);

  private:
  ::int32_t _internal_accepted_count() const;
  void _internal_set_accepted_count(::int32_t value);

  public:
  // optional int32 characters_accepted = 4;
  bool has_characters_accepted()
      const;
  void clear_characters_accepted() ;
  ::int32_t characters_accepted() const;
  void set_characters_accepted(::int32_t value);

  private:
  ::int32_t _internal_characters_accepted() const;
  void _internal_set_characters_accepted(::int32_t value);

  public:
  // optional int32 shown_length = 5;
  bool has_shown_length()
      const;
  void clear_shown_length() ;
  ::int32_t shown_length() const;
  void set_shown_length(::int32_t value);

  private:
  ::int32_t _internal_shown_length() const;
  void _internal_set_shown_length(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:omnibox.metrics.SmartComposeStats)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 8,
                          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 SmartComposeStats& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedField<int> accept_methods_;
    ::google::protobuf::RepeatedField<::int32_t> impressed_index_;
    ::google::protobuf::RepeatedField<::int32_t> accepted_at_index_;
    bool enabled_;
    ::int32_t shown_count_;
    ::int32_t accepted_count_;
    ::int32_t characters_accepted_;
    ::int32_t shown_length_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_smart_5fcompose_5fstats_2eproto;
};

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




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


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

// SmartComposeStats

// optional bool enabled = 1;
inline bool SmartComposeStats::has_enabled() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void SmartComposeStats::clear_enabled() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.enabled_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline bool SmartComposeStats::enabled() const {
  // @@protoc_insertion_point(field_get:omnibox.metrics.SmartComposeStats.enabled)
  return _internal_enabled();
}
inline void SmartComposeStats::set_enabled(bool value) {
  _internal_set_enabled(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:omnibox.metrics.SmartComposeStats.enabled)
}
inline bool SmartComposeStats::_internal_enabled() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.enabled_;
}
inline void SmartComposeStats::_internal_set_enabled(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.enabled_ = value;
}

// optional int32 shown_count = 2;
inline bool SmartComposeStats::has_shown_count() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void SmartComposeStats::clear_shown_count() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.shown_count_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::int32_t SmartComposeStats::shown_count() const {
  // @@protoc_insertion_point(field_get:omnibox.metrics.SmartComposeStats.shown_count)
  return _internal_shown_count();
}
inline void SmartComposeStats::set_shown_count(::int32_t value) {
  _internal_set_shown_count(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:omnibox.metrics.SmartComposeStats.shown_count)
}
inline ::int32_t SmartComposeStats::_internal_shown_count() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.shown_count_;
}
inline void SmartComposeStats::_internal_set_shown_count(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.shown_count_ = value;
}

// optional int32 accepted_count = 3;
inline bool SmartComposeStats::has_accepted_count() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
  return value;
}
inline void SmartComposeStats::clear_accepted_count() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.accepted_count_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline ::int32_t SmartComposeStats::accepted_count() const {
  // @@protoc_insertion_point(field_get:omnibox.metrics.SmartComposeStats.accepted_count)
  return _internal_accepted_count();
}
inline void SmartComposeStats::set_accepted_count(::int32_t value) {
  _internal_set_accepted_count(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  // @@protoc_insertion_point(field_set:omnibox.metrics.SmartComposeStats.accepted_count)
}
inline ::int32_t SmartComposeStats::_internal_accepted_count() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.accepted_count_;
}
inline void SmartComposeStats::_internal_set_accepted_count(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.accepted_count_ = value;
}

// optional int32 characters_accepted = 4;
inline bool SmartComposeStats::has_characters_accepted() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
  return value;
}
inline void SmartComposeStats::clear_characters_accepted() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.characters_accepted_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
inline ::int32_t SmartComposeStats::characters_accepted() const {
  // @@protoc_insertion_point(field_get:omnibox.metrics.SmartComposeStats.characters_accepted)
  return _internal_characters_accepted();
}
inline void SmartComposeStats::set_characters_accepted(::int32_t value) {
  _internal_set_characters_accepted(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  // @@protoc_insertion_point(field_set:omnibox.metrics.SmartComposeStats.characters_accepted)
}
inline ::int32_t SmartComposeStats::_internal_characters_accepted() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.characters_accepted_;
}
inline void SmartComposeStats::_internal_set_characters_accepted(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.characters_accepted_ = value;
}

// optional int32 shown_length = 5;
inline bool SmartComposeStats::has_shown_length() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
  return value;
}
inline void SmartComposeStats::clear_shown_length() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.shown_length_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
inline ::int32_t SmartComposeStats::shown_length() const {
  // @@protoc_insertion_point(field_get:omnibox.metrics.SmartComposeStats.shown_length)
  return _internal_shown_length();
}
inline void SmartComposeStats::set_shown_length(::int32_t value) {
  _internal_set_shown_length(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  // @@protoc_insertion_point(field_set:omnibox.metrics.SmartComposeStats.shown_length)
}
inline ::int32_t SmartComposeStats::_internal_shown_length() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.shown_length_;
}
inline void SmartComposeStats::_internal_set_shown_length(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.shown_length_ = value;
}

// repeated .omnibox.metrics.SmartComposeStats.AcceptMethod accept_methods = 6;
inline int SmartComposeStats::_internal_accept_methods_size() const {
  return _internal_accept_methods().size();
}
inline int SmartComposeStats::accept_methods_size() const {
  return _internal_accept_methods_size();
}
inline void SmartComposeStats::clear_accept_methods() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.accept_methods_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::omnibox::metrics::SmartComposeStats_AcceptMethod SmartComposeStats::accept_methods(int index) const {
  // @@protoc_insertion_point(field_get:omnibox.metrics.SmartComposeStats.accept_methods)
  return static_cast<::omnibox::metrics::SmartComposeStats_AcceptMethod>(_internal_accept_methods().Get(index));
}
inline void SmartComposeStats::set_accept_methods(int index, ::omnibox::metrics::SmartComposeStats_AcceptMethod value) {

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::omnibox::metrics::SmartComposeStats_AcceptMethod_internal_data_));
                                          _internal_mutable_accept_methods()->Set(index, value);
  // @@protoc_insertion_point(field_set:omnibox.metrics.SmartComposeStats.accept_methods)
}
inline void SmartComposeStats::add_accept_methods(::omnibox::metrics::SmartComposeStats_AcceptMethod value) {

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::omnibox::metrics::SmartComposeStats_AcceptMethod_internal_data_));
                                          ::google::protobuf::internal::TSanWrite(&_impl_);
  _internal_mutable_accept_methods()
      ->InternalAddWithArena<const ::google::protobuf::MessageLite*>(
          internal_visibility(), this, value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:omnibox.metrics.SmartComposeStats.accept_methods)
}
inline const ::google::protobuf::RepeatedField<int>& SmartComposeStats::accept_methods() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:omnibox.metrics.SmartComposeStats.accept_methods)
  return _internal_accept_methods();
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL SmartComposeStats::mutable_accept_methods()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:omnibox.metrics.SmartComposeStats.accept_methods)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_accept_methods();
}
inline const ::google::protobuf::RepeatedField<int>& SmartComposeStats::_internal_accept_methods()
    const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.accept_methods_;
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
SmartComposeStats::_internal_mutable_accept_methods() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.accept_methods_;
}

// repeated int32 impressed_index = 7;
inline int SmartComposeStats::_internal_impressed_index_size() const {
  return _internal_impressed_index().size();
}
inline int SmartComposeStats::impressed_index_size() const {
  return _internal_impressed_index_size();
}
inline void SmartComposeStats::clear_impressed_index() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.impressed_index_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::int32_t SmartComposeStats::impressed_index(int index) const {
  // @@protoc_insertion_point(field_get:omnibox.metrics.SmartComposeStats.impressed_index)
  return _internal_impressed_index().Get(index);
}
inline void SmartComposeStats::set_impressed_index(int index, ::int32_t value) {
  _internal_mutable_impressed_index()->Set(index, value);
  // @@protoc_insertion_point(field_set:omnibox.metrics.SmartComposeStats.impressed_index)
}
inline void SmartComposeStats::add_impressed_index(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _internal_mutable_impressed_index()
      ->InternalAddWithArena<const ::google::protobuf::MessageLite*>(
          internal_visibility(), this, value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_add:omnibox.metrics.SmartComposeStats.impressed_index)
}
inline const ::google::protobuf::RepeatedField<::int32_t>& SmartComposeStats::impressed_index() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:omnibox.metrics.SmartComposeStats.impressed_index)
  return _internal_impressed_index();
}
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL SmartComposeStats::mutable_impressed_index()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_mutable_list:omnibox.metrics.SmartComposeStats.impressed_index)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_impressed_index();
}
inline const ::google::protobuf::RepeatedField<::int32_t>&
SmartComposeStats::_internal_impressed_index() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.impressed_index_;
}
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
SmartComposeStats::_internal_mutable_impressed_index() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.impressed_index_;
}

// repeated int32 accepted_at_index = 8;
inline int SmartComposeStats::_internal_accepted_at_index_size() const {
  return _internal_accepted_at_index().size();
}
inline int SmartComposeStats::accepted_at_index_size() const {
  return _internal_accepted_at_index_size();
}
inline void SmartComposeStats::clear_accepted_at_index() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.accepted_at_index_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::int32_t SmartComposeStats::accepted_at_index(int index) const {
  // @@protoc_insertion_point(field_get:omnibox.metrics.SmartComposeStats.accepted_at_index)
  return _internal_accepted_at_index().Get(index);
}
inline void SmartComposeStats::set_accepted_at_index(int index, ::int32_t value) {
  _internal_mutable_accepted_at_index()->Set(index, value);
  // @@protoc_insertion_point(field_set:omnibox.metrics.SmartComposeStats.accepted_at_index)
}
inline void SmartComposeStats::add_accepted_at_index(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _internal_mutable_accepted_at_index()
      ->InternalAddWithArena<const ::google::protobuf::MessageLite*>(
          internal_visibility(), this, value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_add:omnibox.metrics.SmartComposeStats.accepted_at_index)
}
inline const ::google::protobuf::RepeatedField<::int32_t>& SmartComposeStats::accepted_at_index() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:omnibox.metrics.SmartComposeStats.accepted_at_index)
  return _internal_accepted_at_index();
}
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL SmartComposeStats::mutable_accepted_at_index()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_mutable_list:omnibox.metrics.SmartComposeStats.accepted_at_index)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_accepted_at_index();
}
inline const ::google::protobuf::RepeatedField<::int32_t>&
SmartComposeStats::_internal_accepted_at_index() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.accepted_at_index_;
}
inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
SmartComposeStats::_internal_mutable_accepted_at_index() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.accepted_at_index_;
}

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

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


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::omnibox::metrics::SmartComposeStats_AcceptMethod> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::omnibox::metrics::SmartComposeStats_AcceptMethod> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::omnibox::metrics::SmartComposeStats_AcceptMethod_Parse;
  static constexpr auto kNameFunc = ::omnibox::metrics::SmartComposeStats_AcceptMethod_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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

#endif  // smart_5fcompose_5fstats_2eproto_2epb_2eh
