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

#ifndef components_2foptimization_5fguide_2fproto_2fautofill_5ffield_5fclassification_5fmodel_5fmetadata_2eproto_2epb_2eh
#define components_2foptimization_5fguide_2fproto_2fautofill_5ffield_5fclassification_5fmodel_5fmetadata_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_components_2foptimization_5fguide_2fproto_2fautofill_5ffield_5fclassification_5fmodel_5fmetadata_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_components_2foptimization_5fguide_2fproto_2fautofill_5ffield_5fclassification_5fmodel_5fmetadata_2eproto {
  static const ::uint32_t offsets[];
};
namespace optimization_guide {
namespace proto {
enum AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature : int;
extern const uint32_t AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_internal_data_[];
enum AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature : int;
extern const uint32_t AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_internal_data_[];
class AutofillFieldClassificationEncodingParameters;
struct AutofillFieldClassificationEncodingParametersGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern AutofillFieldClassificationEncodingParametersGlobalsTypeInternal AutofillFieldClassificationEncodingParameters_globals_;
extern const ::google::protobuf::internal::ClassDataLite AutofillFieldClassificationEncodingParameters_class_data_;
#else
extern const AutofillFieldClassificationEncodingParametersGlobalsTypeInternal AutofillFieldClassificationEncodingParameters_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class AutofillFieldClassificationModelMetadata;
struct AutofillFieldClassificationModelMetadataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern AutofillFieldClassificationModelMetadataGlobalsTypeInternal AutofillFieldClassificationModelMetadata_globals_;
extern const ::google::protobuf::internal::ClassDataLite AutofillFieldClassificationModelMetadata_class_data_;
#else
extern const AutofillFieldClassificationModelMetadataGlobalsTypeInternal AutofillFieldClassificationModelMetadata_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class AutofillFieldClassificationPostprocessingParameters;
struct AutofillFieldClassificationPostprocessingParametersGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern AutofillFieldClassificationPostprocessingParametersGlobalsTypeInternal AutofillFieldClassificationPostprocessingParameters_globals_;
extern const ::google::protobuf::internal::ClassDataLite AutofillFieldClassificationPostprocessingParameters_class_data_;
#else
extern const AutofillFieldClassificationPostprocessingParametersGlobalsTypeInternal AutofillFieldClassificationPostprocessingParameters_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace proto
}  // namespace optimization_guide
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_internal_data_>
    internal::EnumTraitsImpl::value<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature>;
template <>
internal::EnumTraitsT<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_internal_data_>
    internal::EnumTraitsImpl::value<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature>;
}  // namespace protobuf
}  // namespace google

namespace optimization_guide {
namespace proto {
enum AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature : int {
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_UNKNOWN = 0,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_LABEL = 1,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_PLACEHOLDER = 2,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_AUTOCOMPLETE = 3,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_ID = 4,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_NAME = 5,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_TYPE = 6,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_INT_MIN_SENTINEL_DO_NOT_USE_ =
      ::std::numeric_limits<::int32_t>::min(),
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_INT_MAX_SENTINEL_DO_NOT_USE_ =
      ::std::numeric_limits<::int32_t>::max(),
};

extern const uint32_t AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_internal_data_[];
inline constexpr AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_AutofillFieldClassificationFeature_MIN =
    static_cast<AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature>(0);
inline constexpr AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_AutofillFieldClassificationFeature_MAX =
    static_cast<AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature>(6);
inline bool AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_IsValid(int value) {
  return 0 <= value && value <= 6;
}
inline constexpr int AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_AutofillFieldClassificationFeature_ARRAYSIZE = 6 + 1;
const ::std::string& AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_Name(AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature value);
template <typename T>
const ::std::string& AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_Name(T value) {
  static_assert(::std::is_same<T, AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to AutofillFieldClassificationFeature_Name().");
  return AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_Name(static_cast<AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature>(value));
}
bool AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_Parse(
    ::absl::string_view name, AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature* PROTOBUF_NONNULL value);
enum AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature : int {
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FORM_FEATURE_UNKNOWN = 0,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FEATURE_FORM_BUTTON_TITLES = 1,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FEATURE_FORM_ID = 2,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FEATURE_FORM_NAME = 3,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FEATURE_FRAME_URL_PATH = 4,
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_INT_MIN_SENTINEL_DO_NOT_USE_ =
      ::std::numeric_limits<::int32_t>::min(),
  AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_INT_MAX_SENTINEL_DO_NOT_USE_ =
      ::std::numeric_limits<::int32_t>::max(),
};

extern const uint32_t AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_internal_data_[];
inline constexpr AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_AutofillFieldClassificationFormLevelFeature_MIN =
    static_cast<AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature>(0);
inline constexpr AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_AutofillFieldClassificationFormLevelFeature_MAX =
    static_cast<AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature>(4);
inline bool AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_IsValid(int value) {
  return 0 <= value && value <= 4;
}
inline constexpr int AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_AutofillFieldClassificationFormLevelFeature_ARRAYSIZE = 4 + 1;
const ::std::string& AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_Name(AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature value);
template <typename T>
const ::std::string& AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_Name(T value) {
  static_assert(::std::is_same<T, AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to AutofillFieldClassificationFormLevelFeature_Name().");
  return AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_Name(static_cast<AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature>(value));
}
bool AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_Parse(
    ::absl::string_view name, AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

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

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

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

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

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

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

  explicit AutofillFieldClassificationPostprocessingParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  AutofillFieldClassificationPostprocessingParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AutofillFieldClassificationPostprocessingParameters& from);
  AutofillFieldClassificationPostprocessingParameters(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AutofillFieldClassificationPostprocessingParameters&& from) noexcept
      : AutofillFieldClassificationPostprocessingParameters(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 {
    kConfidenceThresholdPerFieldFieldNumber = 1,
    kConfidenceThresholdToDisableAllPredictionsFieldNumber = 2,
    kDisallowSameTypePredictionsFieldNumber = 3,
  };
  // float confidence_threshold_per_field = 1;
  bool has_confidence_threshold_per_field()
      const;
  void clear_confidence_threshold_per_field() ;
  float confidence_threshold_per_field() const;
  void set_confidence_threshold_per_field(float value);

  private:
  float _internal_confidence_threshold_per_field() const;
  void _internal_set_confidence_threshold_per_field(float value);

  public:
  // float confidence_threshold_to_disable_all_predictions = 2;
  bool has_confidence_threshold_to_disable_all_predictions()
      const;
  void clear_confidence_threshold_to_disable_all_predictions() ;
  float confidence_threshold_to_disable_all_predictions() const;
  void set_confidence_threshold_to_disable_all_predictions(float value);

  private:
  float _internal_confidence_threshold_to_disable_all_predictions() const;
  void _internal_set_confidence_threshold_to_disable_all_predictions(float value);

  public:
  // bool disallow_same_type_predictions = 3;
  bool has_disallow_same_type_predictions()
      const;
  void clear_disallow_same_type_predictions() ;
  bool disallow_same_type_predictions() const;
  void set_disallow_same_type_predictions(bool value);

  private:
  bool _internal_disallow_same_type_predictions() const;
  void _internal_set_disallow_same_type_predictions(bool value);

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

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const AutofillFieldClassificationPostprocessingParameters& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    float confidence_threshold_per_field_;
    float confidence_threshold_to_disable_all_predictions_;
    bool disallow_same_type_predictions_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2fautofill_5ffield_5fclassification_5fmodel_5fmetadata_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit AutofillFieldClassificationEncodingParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  AutofillFieldClassificationEncodingParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AutofillFieldClassificationEncodingParameters& from);
  AutofillFieldClassificationEncodingParameters(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AutofillFieldClassificationEncodingParameters&& from) noexcept
      : AutofillFieldClassificationEncodingParameters(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 AutofillFieldClassificationFeature = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature;
  static constexpr AutofillFieldClassificationFeature FEATURE_UNKNOWN = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_UNKNOWN;
  static constexpr AutofillFieldClassificationFeature FEATURE_LABEL = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_LABEL;
  static constexpr AutofillFieldClassificationFeature FEATURE_PLACEHOLDER = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_PLACEHOLDER;
  static constexpr AutofillFieldClassificationFeature FEATURE_AUTOCOMPLETE = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_AUTOCOMPLETE;
  static constexpr AutofillFieldClassificationFeature FEATURE_ID = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_ID;
  static constexpr AutofillFieldClassificationFeature FEATURE_NAME = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_NAME;
  static constexpr AutofillFieldClassificationFeature FEATURE_TYPE = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_FEATURE_TYPE;
  static inline bool AutofillFieldClassificationFeature_IsValid(int value) {
    return AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_IsValid(value);
  }
  static constexpr AutofillFieldClassificationFeature AutofillFieldClassificationFeature_MIN = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_AutofillFieldClassificationFeature_MIN;
  static constexpr AutofillFieldClassificationFeature AutofillFieldClassificationFeature_MAX = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_AutofillFieldClassificationFeature_MAX;
  static constexpr int AutofillFieldClassificationFeature_ARRAYSIZE = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_AutofillFieldClassificationFeature_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& AutofillFieldClassificationFeature_Name(T value) {
    return AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_Name(value);
  }
  static inline bool AutofillFieldClassificationFeature_Parse(
      ::absl::string_view name, AutofillFieldClassificationFeature* PROTOBUF_NONNULL value) {
    return AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_Parse(name, value);
  }
  using AutofillFieldClassificationFormLevelFeature = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature;
  static constexpr AutofillFieldClassificationFormLevelFeature FORM_FEATURE_UNKNOWN = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FORM_FEATURE_UNKNOWN;
  static constexpr AutofillFieldClassificationFormLevelFeature FEATURE_FORM_BUTTON_TITLES = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FEATURE_FORM_BUTTON_TITLES;
  static constexpr AutofillFieldClassificationFormLevelFeature FEATURE_FORM_ID = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FEATURE_FORM_ID;
  static constexpr AutofillFieldClassificationFormLevelFeature FEATURE_FORM_NAME = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FEATURE_FORM_NAME;
  static constexpr AutofillFieldClassificationFormLevelFeature FEATURE_FRAME_URL_PATH = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_FEATURE_FRAME_URL_PATH;
  static inline bool AutofillFieldClassificationFormLevelFeature_IsValid(int value) {
    return AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_IsValid(value);
  }
  static constexpr AutofillFieldClassificationFormLevelFeature AutofillFieldClassificationFormLevelFeature_MIN = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_AutofillFieldClassificationFormLevelFeature_MIN;
  static constexpr AutofillFieldClassificationFormLevelFeature AutofillFieldClassificationFormLevelFeature_MAX = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_AutofillFieldClassificationFormLevelFeature_MAX;
  static constexpr int AutofillFieldClassificationFormLevelFeature_ARRAYSIZE = AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_AutofillFieldClassificationFormLevelFeature_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& AutofillFieldClassificationFormLevelFeature_Name(T value) {
    return AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_Name(value);
  }
  static inline bool AutofillFieldClassificationFormLevelFeature_Parse(
      ::absl::string_view name, AutofillFieldClassificationFormLevelFeature* PROTOBUF_NONNULL value) {
    return AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kFeaturesFieldNumber = 3,
    kFormFeaturesFieldNumber = 8,
    kReplaceCharsWithWhitespaceFieldNumber = 6,
    kRemoveCharsFieldNumber = 7,
    kMaximumNumberOfFieldsFieldNumber = 1,
    kMaxTokensPerFeatureFieldNumber = 2,
    kSplitOnCamelCaseFieldNumber = 4,
    kLowercaseFieldNumber = 5,
  };
  // repeated .optimization_guide.proto.AutofillFieldClassificationEncodingParameters.AutofillFieldClassificationFeature features = 3;
  int features_size()
      const;
  private:
  int _internal_features_size() const;

  public:
  void clear_features() ;
  public:
  ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature features(int index) const;
  void set_features(int index, ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature value);
  void add_features(::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature value);
  const ::google::protobuf::RepeatedField<int>& features()
      const;
  ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_features();

  private:
  const ::google::protobuf::RepeatedField<int>& _internal_features() const;
  ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_features();

  public:
  // repeated .optimization_guide.proto.AutofillFieldClassificationEncodingParameters.AutofillFieldClassificationFormLevelFeature form_features = 8;
  int form_features_size()
      const;
  private:
  int _internal_form_features_size() const;

  public:
  void clear_form_features() ;
  public:
  ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature form_features(int index) const;
  void set_form_features(int index, ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature value);
  void add_form_features(::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature value);
  const ::google::protobuf::RepeatedField<int>& form_features()
      const;
  ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_form_features();

  private:
  const ::google::protobuf::RepeatedField<int>& _internal_form_features() const;
  ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_form_features();

  public:
  // string replace_chars_with_whitespace = 6 [features = {
  void clear_replace_chars_with_whitespace() ;
  const ::std::string& replace_chars_with_whitespace() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_replace_chars_with_whitespace(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_replace_chars_with_whitespace();
  ::std::string* PROTOBUF_NULLABLE release_replace_chars_with_whitespace();
  void set_allocated_replace_chars_with_whitespace(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_replace_chars_with_whitespace() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_replace_chars_with_whitespace(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_replace_chars_with_whitespace();

  public:
  // string remove_chars = 7 [features = {
  void clear_remove_chars() ;
  const ::std::string& remove_chars() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_remove_chars(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_remove_chars();
  ::std::string* PROTOBUF_NULLABLE release_remove_chars();
  void set_allocated_remove_chars(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_remove_chars() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_remove_chars(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_remove_chars();

  public:
  // int32 maximum_number_of_fields = 1 [features = {
  void clear_maximum_number_of_fields() ;
  ::int32_t maximum_number_of_fields() const;
  void set_maximum_number_of_fields(::int32_t value);

  private:
  ::int32_t _internal_maximum_number_of_fields() const;
  void _internal_set_maximum_number_of_fields(::int32_t value);

  public:
  // int32 max_tokens_per_feature = 2 [features = {
  void clear_max_tokens_per_feature() ;
  ::int32_t max_tokens_per_feature() const;
  void set_max_tokens_per_feature(::int32_t value);

  private:
  ::int32_t _internal_max_tokens_per_feature() const;
  void _internal_set_max_tokens_per_feature(::int32_t value);

  public:
  // bool split_on_camel_case = 4 [features = {
  void clear_split_on_camel_case() ;
  bool split_on_camel_case() const;
  void set_split_on_camel_case(bool value);

  private:
  bool _internal_split_on_camel_case() const;
  void _internal_set_split_on_camel_case(bool value);

  public:
  // bool lowercase = 5 [features = {
  void clear_lowercase() ;
  bool lowercase() const;
  void set_lowercase(bool value);

  private:
  bool _internal_lowercase() const;
  void _internal_set_lowercase(bool value);

  public:
  // @@protoc_insertion_point(class_scope:optimization_guide.proto.AutofillFieldClassificationEncodingParameters)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 8,
                          0, 128,
                          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 AutofillFieldClassificationEncodingParameters& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedField<int> features_;
    ::google::protobuf::internal::CachedSize _features_cached_byte_size_;
    ::google::protobuf::RepeatedField<int> form_features_;
    ::google::protobuf::internal::CachedSize _form_features_cached_byte_size_;
    ::google::protobuf::internal::ArenaStringPtr replace_chars_with_whitespace_;
    ::google::protobuf::internal::ArenaStringPtr remove_chars_;
    ::int32_t maximum_number_of_fields_;
    ::int32_t max_tokens_per_feature_;
    bool split_on_camel_case_;
    bool lowercase_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2fautofill_5ffield_5fclassification_5fmodel_5fmetadata_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit AutofillFieldClassificationModelMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  AutofillFieldClassificationModelMetadata(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const AutofillFieldClassificationModelMetadata& from);
  AutofillFieldClassificationModelMetadata(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, AutofillFieldClassificationModelMetadata&& from) noexcept
      : AutofillFieldClassificationModelMetadata(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 {
    kInputTokenFieldNumber = 1,
    kOutputTypeFieldNumber = 2,
    kEncodingParametersFieldNumber = 5,
    kPostprocessingParametersFieldNumber = 6,
    kInputVersionFieldNumber = 4,
  };
  // repeated string input_token = 1;
  int input_token_size()
      const;
  private:
  int _internal_input_token_size() const;

  public:
  void clear_input_token() ;
  const ::std::string& input_token(int index) const;
  ::std::string* PROTOBUF_NONNULL mutable_input_token(int index);
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_input_token(int index, Arg_&& value, Args_... args);
  ::std::string* PROTOBUF_NONNULL add_input_token();
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void add_input_token(Arg_&& value, Args_... args);
  const
      ::google::protobuf::RepeatedPtrField<::std::string>&
      input_token() const;
  ::google::protobuf::RepeatedPtrField<::std::string>*
      PROTOBUF_NONNULL
      mutable_input_token();

  private:
  const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_input_token() const;
  ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_input_token();

  public:
  // repeated fixed32 output_type = 2;
  int output_type_size()
      const;
  private:
  int _internal_output_type_size() const;

  public:
  void clear_output_type() ;
  ::uint32_t output_type(int index) const;
  void set_output_type(int index, ::uint32_t value);
  void add_output_type(::uint32_t value);
  const ::google::protobuf::RepeatedField<::uint32_t>& output_type()
      const;
  ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL mutable_output_type();

  private:
  const ::google::protobuf::RepeatedField<::uint32_t>& _internal_output_type() const;
  ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL _internal_mutable_output_type();

  public:
  // .optimization_guide.proto.AutofillFieldClassificationEncodingParameters encoding_parameters = 5;
  bool has_encoding_parameters()
      const;
  void clear_encoding_parameters() ;
  const ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters& encoding_parameters() const;
  ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NULLABLE release_encoding_parameters();
  ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NONNULL mutable_encoding_parameters();
  void set_allocated_encoding_parameters(::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_encoding_parameters(::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NULLABLE value);
  ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NULLABLE unsafe_arena_release_encoding_parameters();

  private:
  const ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters& _internal_encoding_parameters() const;
  ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NONNULL _internal_mutable_encoding_parameters();

  public:
  // .optimization_guide.proto.AutofillFieldClassificationPostprocessingParameters postprocessing_parameters = 6;
  bool has_postprocessing_parameters()
      const;
  void clear_postprocessing_parameters() ;
  const ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters& postprocessing_parameters() const;
  ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NULLABLE release_postprocessing_parameters();
  ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NONNULL mutable_postprocessing_parameters();
  void set_allocated_postprocessing_parameters(::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NULLABLE value);
  void unsafe_arena_set_allocated_postprocessing_parameters(::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NULLABLE value);
  ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NULLABLE unsafe_arena_release_postprocessing_parameters();

  private:
  const ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters& _internal_postprocessing_parameters() const;
  ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NONNULL _internal_mutable_postprocessing_parameters();

  public:
  // int64 input_version = 4;
  bool has_input_version()
      const;
  void clear_input_version() ;
  ::int64_t input_version() const;
  void set_input_version(::int64_t value);

  private:
  ::int64_t _internal_input_version() const;
  void _internal_set_input_version(::int64_t value);

  public:
  // @@protoc_insertion_point(class_scope:optimization_guide.proto.AutofillFieldClassificationModelMetadata)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 5,
                          2, 85,
                          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 AutofillFieldClassificationModelMetadata& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField<::std::string> input_token_;
    ::google::protobuf::RepeatedField<::uint32_t> output_type_;
    ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NULLABLE encoding_parameters_;
    ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NULLABLE postprocessing_parameters_;
    ::int64_t input_version_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2foptimization_5fguide_2fproto_2fautofill_5ffield_5fclassification_5fmodel_5fmetadata_2eproto;
};

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




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


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

// AutofillFieldClassificationEncodingParameters

// int32 maximum_number_of_fields = 1 [features = {
inline void AutofillFieldClassificationEncodingParameters::clear_maximum_number_of_fields() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.maximum_number_of_fields_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::int32_t AutofillFieldClassificationEncodingParameters::maximum_number_of_fields() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.maximum_number_of_fields)
  return _internal_maximum_number_of_fields();
}
inline void AutofillFieldClassificationEncodingParameters::set_maximum_number_of_fields(::int32_t value) {
  _internal_set_maximum_number_of_fields(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.maximum_number_of_fields)
}
inline ::int32_t AutofillFieldClassificationEncodingParameters::_internal_maximum_number_of_fields() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.maximum_number_of_fields_;
}
inline void AutofillFieldClassificationEncodingParameters::_internal_set_maximum_number_of_fields(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.maximum_number_of_fields_ = value;
}

// int32 max_tokens_per_feature = 2 [features = {
inline void AutofillFieldClassificationEncodingParameters::clear_max_tokens_per_feature() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.max_tokens_per_feature_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
}
inline ::int32_t AutofillFieldClassificationEncodingParameters::max_tokens_per_feature() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.max_tokens_per_feature)
  return _internal_max_tokens_per_feature();
}
inline void AutofillFieldClassificationEncodingParameters::set_max_tokens_per_feature(::int32_t value) {
  _internal_set_max_tokens_per_feature(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000020U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.max_tokens_per_feature)
}
inline ::int32_t AutofillFieldClassificationEncodingParameters::_internal_max_tokens_per_feature() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.max_tokens_per_feature_;
}
inline void AutofillFieldClassificationEncodingParameters::_internal_set_max_tokens_per_feature(::int32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.max_tokens_per_feature_ = value;
}

// repeated .optimization_guide.proto.AutofillFieldClassificationEncodingParameters.AutofillFieldClassificationFeature features = 3;
inline int AutofillFieldClassificationEncodingParameters::_internal_features_size() const {
  return _internal_features().size();
}
inline int AutofillFieldClassificationEncodingParameters::features_size() const {
  return _internal_features_size();
}
inline void AutofillFieldClassificationEncodingParameters::clear_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.features_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature AutofillFieldClassificationEncodingParameters::features(int index) const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.features)
  return static_cast<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature>(_internal_features().Get(index));
}
inline void AutofillFieldClassificationEncodingParameters::set_features(int index, ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature value) {
  _internal_mutable_features()->Set(index, value);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.features)
}
inline void AutofillFieldClassificationEncodingParameters::add_features(::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _internal_mutable_features()
      ->InternalAddWithArena<const ::google::protobuf::MessageLite*>(
          internal_visibility(), this, value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.features)
}
inline const ::google::protobuf::RepeatedField<int>& AutofillFieldClassificationEncodingParameters::features() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.features)
  return _internal_features();
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL AutofillFieldClassificationEncodingParameters::mutable_features()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.features)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_features();
}
inline const ::google::protobuf::RepeatedField<int>& AutofillFieldClassificationEncodingParameters::_internal_features()
    const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.features_;
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
AutofillFieldClassificationEncodingParameters::_internal_mutable_features() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.features_;
}

// bool split_on_camel_case = 4 [features = {
inline void AutofillFieldClassificationEncodingParameters::clear_split_on_camel_case() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.split_on_camel_case_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
}
inline bool AutofillFieldClassificationEncodingParameters::split_on_camel_case() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.split_on_camel_case)
  return _internal_split_on_camel_case();
}
inline void AutofillFieldClassificationEncodingParameters::set_split_on_camel_case(bool value) {
  _internal_set_split_on_camel_case(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000040U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.split_on_camel_case)
}
inline bool AutofillFieldClassificationEncodingParameters::_internal_split_on_camel_case() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.split_on_camel_case_;
}
inline void AutofillFieldClassificationEncodingParameters::_internal_set_split_on_camel_case(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.split_on_camel_case_ = value;
}

// bool lowercase = 5 [features = {
inline void AutofillFieldClassificationEncodingParameters::clear_lowercase() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.lowercase_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
}
inline bool AutofillFieldClassificationEncodingParameters::lowercase() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.lowercase)
  return _internal_lowercase();
}
inline void AutofillFieldClassificationEncodingParameters::set_lowercase(bool value) {
  _internal_set_lowercase(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000080U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.lowercase)
}
inline bool AutofillFieldClassificationEncodingParameters::_internal_lowercase() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.lowercase_;
}
inline void AutofillFieldClassificationEncodingParameters::_internal_set_lowercase(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.lowercase_ = value;
}

// string replace_chars_with_whitespace = 6 [features = {
inline void AutofillFieldClassificationEncodingParameters::clear_replace_chars_with_whitespace() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.replace_chars_with_whitespace_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::std::string& AutofillFieldClassificationEncodingParameters::replace_chars_with_whitespace() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.replace_chars_with_whitespace)
  return _internal_replace_chars_with_whitespace();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void AutofillFieldClassificationEncodingParameters::set_replace_chars_with_whitespace(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  _impl_.replace_chars_with_whitespace_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.replace_chars_with_whitespace)
}
inline ::std::string* PROTOBUF_NONNULL AutofillFieldClassificationEncodingParameters::mutable_replace_chars_with_whitespace()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::std::string* _s = _internal_mutable_replace_chars_with_whitespace();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.replace_chars_with_whitespace)
  return _s;
}
inline const ::std::string& AutofillFieldClassificationEncodingParameters::_internal_replace_chars_with_whitespace() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.replace_chars_with_whitespace_.Get();
}
inline void AutofillFieldClassificationEncodingParameters::_internal_set_replace_chars_with_whitespace(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.replace_chars_with_whitespace_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL AutofillFieldClassificationEncodingParameters::_internal_mutable_replace_chars_with_whitespace() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.replace_chars_with_whitespace_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE AutofillFieldClassificationEncodingParameters::release_replace_chars_with_whitespace() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.replace_chars_with_whitespace)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  auto* released = _impl_.replace_chars_with_whitespace_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.replace_chars_with_whitespace_.Set("", GetArena());
  }
  return released;
}
inline void AutofillFieldClassificationEncodingParameters::set_allocated_replace_chars_with_whitespace(::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_.replace_chars_with_whitespace_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.replace_chars_with_whitespace_.IsDefault()) {
    _impl_.replace_chars_with_whitespace_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.replace_chars_with_whitespace)
}

// string remove_chars = 7 [features = {
inline void AutofillFieldClassificationEncodingParameters::clear_remove_chars() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.remove_chars_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline const ::std::string& AutofillFieldClassificationEncodingParameters::remove_chars() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.remove_chars)
  return _internal_remove_chars();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void AutofillFieldClassificationEncodingParameters::set_remove_chars(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  _impl_.remove_chars_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.remove_chars)
}
inline ::std::string* PROTOBUF_NONNULL AutofillFieldClassificationEncodingParameters::mutable_remove_chars()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::std::string* _s = _internal_mutable_remove_chars();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.remove_chars)
  return _s;
}
inline const ::std::string& AutofillFieldClassificationEncodingParameters::_internal_remove_chars() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.remove_chars_.Get();
}
inline void AutofillFieldClassificationEncodingParameters::_internal_set_remove_chars(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.remove_chars_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL AutofillFieldClassificationEncodingParameters::_internal_mutable_remove_chars() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.remove_chars_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE AutofillFieldClassificationEncodingParameters::release_remove_chars() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.remove_chars)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  auto* released = _impl_.remove_chars_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.remove_chars_.Set("", GetArena());
  }
  return released;
}
inline void AutofillFieldClassificationEncodingParameters::set_allocated_remove_chars(::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_.remove_chars_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.remove_chars_.IsDefault()) {
    _impl_.remove_chars_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.remove_chars)
}

// repeated .optimization_guide.proto.AutofillFieldClassificationEncodingParameters.AutofillFieldClassificationFormLevelFeature form_features = 8;
inline int AutofillFieldClassificationEncodingParameters::_internal_form_features_size() const {
  return _internal_form_features().size();
}
inline int AutofillFieldClassificationEncodingParameters::form_features_size() const {
  return _internal_form_features_size();
}
inline void AutofillFieldClassificationEncodingParameters::clear_form_features() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.form_features_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature AutofillFieldClassificationEncodingParameters::form_features(int index) const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.form_features)
  return static_cast<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature>(_internal_form_features().Get(index));
}
inline void AutofillFieldClassificationEncodingParameters::set_form_features(int index, ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature value) {
  _internal_mutable_form_features()->Set(index, value);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.form_features)
}
inline void AutofillFieldClassificationEncodingParameters::add_form_features(::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _internal_mutable_form_features()
      ->InternalAddWithArena<const ::google::protobuf::MessageLite*>(
          internal_visibility(), this, value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_add:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.form_features)
}
inline const ::google::protobuf::RepeatedField<int>& AutofillFieldClassificationEncodingParameters::form_features() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.form_features)
  return _internal_form_features();
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL AutofillFieldClassificationEncodingParameters::mutable_form_features()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_mutable_list:optimization_guide.proto.AutofillFieldClassificationEncodingParameters.form_features)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_form_features();
}
inline const ::google::protobuf::RepeatedField<int>& AutofillFieldClassificationEncodingParameters::_internal_form_features()
    const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.form_features_;
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
AutofillFieldClassificationEncodingParameters::_internal_mutable_form_features() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.form_features_;
}

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

// AutofillFieldClassificationPostprocessingParameters

// float confidence_threshold_per_field = 1;
inline bool AutofillFieldClassificationPostprocessingParameters::has_confidence_threshold_per_field() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void AutofillFieldClassificationPostprocessingParameters::clear_confidence_threshold_per_field() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.confidence_threshold_per_field_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline float AutofillFieldClassificationPostprocessingParameters::confidence_threshold_per_field() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationPostprocessingParameters.confidence_threshold_per_field)
  return _internal_confidence_threshold_per_field();
}
inline void AutofillFieldClassificationPostprocessingParameters::set_confidence_threshold_per_field(float value) {
  _internal_set_confidence_threshold_per_field(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationPostprocessingParameters.confidence_threshold_per_field)
}
inline float AutofillFieldClassificationPostprocessingParameters::_internal_confidence_threshold_per_field() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.confidence_threshold_per_field_;
}
inline void AutofillFieldClassificationPostprocessingParameters::_internal_set_confidence_threshold_per_field(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.confidence_threshold_per_field_ = value;
}

// float confidence_threshold_to_disable_all_predictions = 2;
inline bool AutofillFieldClassificationPostprocessingParameters::has_confidence_threshold_to_disable_all_predictions() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void AutofillFieldClassificationPostprocessingParameters::clear_confidence_threshold_to_disable_all_predictions() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.confidence_threshold_to_disable_all_predictions_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline float AutofillFieldClassificationPostprocessingParameters::confidence_threshold_to_disable_all_predictions() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationPostprocessingParameters.confidence_threshold_to_disable_all_predictions)
  return _internal_confidence_threshold_to_disable_all_predictions();
}
inline void AutofillFieldClassificationPostprocessingParameters::set_confidence_threshold_to_disable_all_predictions(float value) {
  _internal_set_confidence_threshold_to_disable_all_predictions(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationPostprocessingParameters.confidence_threshold_to_disable_all_predictions)
}
inline float AutofillFieldClassificationPostprocessingParameters::_internal_confidence_threshold_to_disable_all_predictions() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.confidence_threshold_to_disable_all_predictions_;
}
inline void AutofillFieldClassificationPostprocessingParameters::_internal_set_confidence_threshold_to_disable_all_predictions(float value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.confidence_threshold_to_disable_all_predictions_ = value;
}

// bool disallow_same_type_predictions = 3;
inline bool AutofillFieldClassificationPostprocessingParameters::has_disallow_same_type_predictions() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void AutofillFieldClassificationPostprocessingParameters::clear_disallow_same_type_predictions() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.disallow_same_type_predictions_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline bool AutofillFieldClassificationPostprocessingParameters::disallow_same_type_predictions() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationPostprocessingParameters.disallow_same_type_predictions)
  return _internal_disallow_same_type_predictions();
}
inline void AutofillFieldClassificationPostprocessingParameters::set_disallow_same_type_predictions(bool value) {
  _internal_set_disallow_same_type_predictions(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationPostprocessingParameters.disallow_same_type_predictions)
}
inline bool AutofillFieldClassificationPostprocessingParameters::_internal_disallow_same_type_predictions() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.disallow_same_type_predictions_;
}
inline void AutofillFieldClassificationPostprocessingParameters::_internal_set_disallow_same_type_predictions(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.disallow_same_type_predictions_ = value;
}

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

// AutofillFieldClassificationModelMetadata

// repeated string input_token = 1;
inline int AutofillFieldClassificationModelMetadata::_internal_input_token_size() const {
  return _internal_input_token().size();
}
inline int AutofillFieldClassificationModelMetadata::input_token_size() const {
  return _internal_input_token_size();
}
inline void AutofillFieldClassificationModelMetadata::clear_input_token() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.input_token_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::std::string* PROTOBUF_NONNULL AutofillFieldClassificationModelMetadata::add_input_token()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::std::string* _s =
      _internal_mutable_input_token()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add_mutable:optimization_guide.proto.AutofillFieldClassificationModelMetadata.input_token)
  return _s;
}
inline const ::std::string& AutofillFieldClassificationModelMetadata::input_token(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationModelMetadata.input_token)
  return _internal_input_token().Get(index);
}
inline ::std::string* PROTOBUF_NONNULL AutofillFieldClassificationModelMetadata::mutable_input_token(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.AutofillFieldClassificationModelMetadata.input_token)
  return _internal_mutable_input_token()->Mutable(index);
}
template <typename Arg_, typename... Args_>
inline void AutofillFieldClassificationModelMetadata::set_input_token(int index, Arg_&& value, Args_... args) {
  ::google::protobuf::internal::AssignToString(
      *_internal_mutable_input_token()->Mutable(index),
      ::std::forward<Arg_>(value), args... );
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationModelMetadata.input_token)
}
template <typename Arg_, typename... Args_>
inline void AutofillFieldClassificationModelMetadata::add_input_token(Arg_&& value, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::google::protobuf::internal::AddToRepeatedPtrField(
      ::google::protobuf::MessageLite::internal_visibility(), GetArena(),
      *_internal_mutable_input_token(), ::std::forward<Arg_>(value),
      args... );
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:optimization_guide.proto.AutofillFieldClassificationModelMetadata.input_token)
}
inline const ::google::protobuf::RepeatedPtrField<::std::string>& AutofillFieldClassificationModelMetadata::input_token()
    const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:optimization_guide.proto.AutofillFieldClassificationModelMetadata.input_token)
  return _internal_input_token();
}
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
AutofillFieldClassificationModelMetadata::mutable_input_token() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:optimization_guide.proto.AutofillFieldClassificationModelMetadata.input_token)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_input_token();
}
inline const ::google::protobuf::RepeatedPtrField<::std::string>&
AutofillFieldClassificationModelMetadata::_internal_input_token() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.input_token_;
}
inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
AutofillFieldClassificationModelMetadata::_internal_mutable_input_token() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.input_token_;
}

// repeated fixed32 output_type = 2;
inline int AutofillFieldClassificationModelMetadata::_internal_output_type_size() const {
  return _internal_output_type().size();
}
inline int AutofillFieldClassificationModelMetadata::output_type_size() const {
  return _internal_output_type_size();
}
inline void AutofillFieldClassificationModelMetadata::clear_output_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.output_type_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::uint32_t AutofillFieldClassificationModelMetadata::output_type(int index) const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationModelMetadata.output_type)
  return _internal_output_type().Get(index);
}
inline void AutofillFieldClassificationModelMetadata::set_output_type(int index, ::uint32_t value) {
  _internal_mutable_output_type()->Set(index, value);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationModelMetadata.output_type)
}
inline void AutofillFieldClassificationModelMetadata::add_output_type(::uint32_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _internal_mutable_output_type()
      ->InternalAddWithArena<const ::google::protobuf::MessageLite*>(
          internal_visibility(), this, value);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_add:optimization_guide.proto.AutofillFieldClassificationModelMetadata.output_type)
}
inline const ::google::protobuf::RepeatedField<::uint32_t>& AutofillFieldClassificationModelMetadata::output_type() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:optimization_guide.proto.AutofillFieldClassificationModelMetadata.output_type)
  return _internal_output_type();
}
inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL AutofillFieldClassificationModelMetadata::mutable_output_type()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  // @@protoc_insertion_point(field_mutable_list:optimization_guide.proto.AutofillFieldClassificationModelMetadata.output_type)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_output_type();
}
inline const ::google::protobuf::RepeatedField<::uint32_t>&
AutofillFieldClassificationModelMetadata::_internal_output_type() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.output_type_;
}
inline ::google::protobuf::RepeatedField<::uint32_t>* PROTOBUF_NONNULL
AutofillFieldClassificationModelMetadata::_internal_mutable_output_type() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.output_type_;
}

// int64 input_version = 4;
inline bool AutofillFieldClassificationModelMetadata::has_input_version() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void AutofillFieldClassificationModelMetadata::clear_input_version() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.input_version_ = ::int64_t{0};
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline ::int64_t AutofillFieldClassificationModelMetadata::input_version() const {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationModelMetadata.input_version)
  return _internal_input_version();
}
inline void AutofillFieldClassificationModelMetadata::set_input_version(::int64_t value) {
  _internal_set_input_version(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  // @@protoc_insertion_point(field_set:optimization_guide.proto.AutofillFieldClassificationModelMetadata.input_version)
}
inline ::int64_t AutofillFieldClassificationModelMetadata::_internal_input_version() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.input_version_;
}
inline void AutofillFieldClassificationModelMetadata::_internal_set_input_version(::int64_t value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.input_version_ = value;
}

// .optimization_guide.proto.AutofillFieldClassificationEncodingParameters encoding_parameters = 5;
inline bool AutofillFieldClassificationModelMetadata::has_encoding_parameters() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  PROTOBUF_ASSUME(!value || _impl_.encoding_parameters_ != nullptr);
  return value;
}
inline void AutofillFieldClassificationModelMetadata::clear_encoding_parameters() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.encoding_parameters_ != nullptr) _impl_.encoding_parameters_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters& AutofillFieldClassificationModelMetadata::_internal_encoding_parameters() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* p = _impl_.encoding_parameters_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters>(&::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_globals_);
}
inline const ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters& AutofillFieldClassificationModelMetadata::encoding_parameters() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationModelMetadata.encoding_parameters)
  return _internal_encoding_parameters();
}
inline void AutofillFieldClassificationModelMetadata::unsafe_arena_set_allocated_encoding_parameters(
    ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.encoding_parameters_);
  }
  _impl_.encoding_parameters_ = reinterpret_cast<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters*>(value);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:optimization_guide.proto.AutofillFieldClassificationModelMetadata.encoding_parameters)
}
inline ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NULLABLE AutofillFieldClassificationModelMetadata::release_encoding_parameters() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* released = _impl_.encoding_parameters_;
  _impl_.encoding_parameters_ = 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 ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NULLABLE AutofillFieldClassificationModelMetadata::unsafe_arena_release_encoding_parameters() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.AutofillFieldClassificationModelMetadata.encoding_parameters)

  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* temp = _impl_.encoding_parameters_;
  _impl_.encoding_parameters_ = nullptr;
  return temp;
}
inline ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NONNULL AutofillFieldClassificationModelMetadata::_internal_mutable_encoding_parameters() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.encoding_parameters_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters>(GetArena());
    _impl_.encoding_parameters_ = reinterpret_cast<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters*>(p);
  }
  return _impl_.encoding_parameters_;
}
inline ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* PROTOBUF_NONNULL AutofillFieldClassificationModelMetadata::mutable_encoding_parameters()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* _msg = _internal_mutable_encoding_parameters();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.AutofillFieldClassificationModelMetadata.encoding_parameters)
  return _msg;
}
inline void AutofillFieldClassificationModelMetadata::set_allocated_encoding_parameters(::optimization_guide::proto::AutofillFieldClassificationEncodingParameters* 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_.encoding_parameters_);
  }

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

  _impl_.encoding_parameters_ = reinterpret_cast<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters*>(value);
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.AutofillFieldClassificationModelMetadata.encoding_parameters)
}

// .optimization_guide.proto.AutofillFieldClassificationPostprocessingParameters postprocessing_parameters = 6;
inline bool AutofillFieldClassificationModelMetadata::has_postprocessing_parameters() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  PROTOBUF_ASSUME(!value || _impl_.postprocessing_parameters_ != nullptr);
  return value;
}
inline void AutofillFieldClassificationModelMetadata::clear_postprocessing_parameters() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.postprocessing_parameters_ != nullptr) _impl_.postprocessing_parameters_->Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline const ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters& AutofillFieldClassificationModelMetadata::_internal_postprocessing_parameters() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  const ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* p = _impl_.postprocessing_parameters_;
  return p != nullptr ? *p : *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance<::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters>(&::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters_globals_);
}
inline const ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters& AutofillFieldClassificationModelMetadata::postprocessing_parameters() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:optimization_guide.proto.AutofillFieldClassificationModelMetadata.postprocessing_parameters)
  return _internal_postprocessing_parameters();
}
inline void AutofillFieldClassificationModelMetadata::unsafe_arena_set_allocated_postprocessing_parameters(
    ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.postprocessing_parameters_);
  }
  _impl_.postprocessing_parameters_ = reinterpret_cast<::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters*>(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:optimization_guide.proto.AutofillFieldClassificationModelMetadata.postprocessing_parameters)
}
inline ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NULLABLE AutofillFieldClassificationModelMetadata::release_postprocessing_parameters() {
  ::google::protobuf::internal::TSanWrite(&_impl_);

  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* released = _impl_.postprocessing_parameters_;
  _impl_.postprocessing_parameters_ = 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 ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NULLABLE AutofillFieldClassificationModelMetadata::unsafe_arena_release_postprocessing_parameters() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:optimization_guide.proto.AutofillFieldClassificationModelMetadata.postprocessing_parameters)

  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* temp = _impl_.postprocessing_parameters_;
  _impl_.postprocessing_parameters_ = nullptr;
  return temp;
}
inline ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NONNULL AutofillFieldClassificationModelMetadata::_internal_mutable_postprocessing_parameters() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (_impl_.postprocessing_parameters_ == nullptr) {
    auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters>(GetArena());
    _impl_.postprocessing_parameters_ = reinterpret_cast<::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters*>(p);
  }
  return _impl_.postprocessing_parameters_;
}
inline ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* PROTOBUF_NONNULL AutofillFieldClassificationModelMetadata::mutable_postprocessing_parameters()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* _msg = _internal_mutable_postprocessing_parameters();
  // @@protoc_insertion_point(field_mutable:optimization_guide.proto.AutofillFieldClassificationModelMetadata.postprocessing_parameters)
  return _msg;
}
inline void AutofillFieldClassificationModelMetadata::set_allocated_postprocessing_parameters(::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters* 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_.postprocessing_parameters_);
  }

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

  _impl_.postprocessing_parameters_ = reinterpret_cast<::optimization_guide::proto::AutofillFieldClassificationPostprocessingParameters*>(value);
  // @@protoc_insertion_point(field_set_allocated:optimization_guide.proto.AutofillFieldClassificationModelMetadata.postprocessing_parameters)
}

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

// @@protoc_insertion_point(namespace_scope)
}  // namespace proto
}  // namespace optimization_guide


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_Parse;
  static constexpr auto kNameFunc = ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFeature_Name<int>;
};
template <>
struct is_proto_enum<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_Parse;
  static constexpr auto kNameFunc = ::optimization_guide::proto::AutofillFieldClassificationEncodingParameters_AutofillFieldClassificationFormLevelFeature_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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

#endif  // components_2foptimization_5fguide_2fproto_2fautofill_5ffield_5fclassification_5fmodel_5fmetadata_2eproto_2epb_2eh
