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

#ifndef components_2fpersonal_5fcontext_2fproto_2ffeatures_2fambient_5fautofill_2eproto_2epb_2eh
#define components_2fpersonal_5fcontext_2fproto_2ffeatures_2fambient_5fautofill_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 "components/personal_context/proto/features/common_data.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_components_2fpersonal_5fcontext_2fproto_2ffeatures_2fambient_5fautofill_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_2fpersonal_5fcontext_2fproto_2ffeatures_2fambient_5fautofill_2eproto {
  static const ::uint32_t offsets[];
};
namespace personal_context {
namespace proto {
class ContextMemoryAmbientAutofillRequest;
struct ContextMemoryAmbientAutofillRequestGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ContextMemoryAmbientAutofillRequestGlobalsTypeInternal ContextMemoryAmbientAutofillRequest_globals_;
extern const ::google::protobuf::internal::ClassDataLite ContextMemoryAmbientAutofillRequest_class_data_;
#else
extern const ContextMemoryAmbientAutofillRequestGlobalsTypeInternal ContextMemoryAmbientAutofillRequest_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class ContextMemoryAmbientAutofillResponse;
struct ContextMemoryAmbientAutofillResponseGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern ContextMemoryAmbientAutofillResponseGlobalsTypeInternal ContextMemoryAmbientAutofillResponse_globals_;
extern const ::google::protobuf::internal::ClassDataLite ContextMemoryAmbientAutofillResponse_class_data_;
#else
extern const ContextMemoryAmbientAutofillResponseGlobalsTypeInternal ContextMemoryAmbientAutofillResponse_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace proto
}  // namespace personal_context
namespace google {
namespace protobuf {
}  // namespace protobuf
}  // namespace google

namespace personal_context {
namespace proto {

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


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

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

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

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

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

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

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

  explicit ContextMemoryAmbientAutofillRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ContextMemoryAmbientAutofillRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ContextMemoryAmbientAutofillRequest& from);
  ContextMemoryAmbientAutofillRequest(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ContextMemoryAmbientAutofillRequest&& from) noexcept
      : ContextMemoryAmbientAutofillRequest(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 {
    kRequestedTypesFieldNumber = 2,
    kTopLevelDomainFieldNumber = 1,
    kClientIdFieldNumber = 4,
    kReturnSpiiPresenceFieldNumber = 3,
  };
  // repeated .personal_context.proto.EntityType requested_types = 2;
  int requested_types_size()
      const;
  private:
  int _internal_requested_types_size() const;

  public:
  void clear_requested_types() ;
  public:
  ::personal_context::proto::EntityType requested_types(int index) const;
  void set_requested_types(int index, ::personal_context::proto::EntityType value);
  void add_requested_types(::personal_context::proto::EntityType value);
  const ::google::protobuf::RepeatedField<int>& requested_types()
      const;
  ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_requested_types();

  private:
  const ::google::protobuf::RepeatedField<int>& _internal_requested_types() const;
  ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_requested_types();

  public:
  // string top_level_domain = 1 [deprecated = true];
  bool has_top_level_domain()
      const;
  void clear_top_level_domain() ;
  ::absl::string_view top_level_domain() const;
  template <typename Arg_ = ::std::string&&>
  void set_top_level_domain(Arg_&& arg);

  private:
  ::absl::string_view _internal_top_level_domain() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_top_level_domain(::absl::string_view value);

  public:
  // string client_id = 4;
  bool has_client_id()
      const;
  void clear_client_id() ;
  ::absl::string_view client_id() const;
  template <typename Arg_ = ::std::string&&>
  void set_client_id(Arg_&& arg);

  private:
  ::absl::string_view _internal_client_id() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_client_id(::absl::string_view value);

  public:
  // bool return_spii_presence = 3;
  bool has_return_spii_presence()
      const;
  void clear_return_spii_presence() ;
  bool return_spii_presence() const;
  void set_return_spii_presence(bool value);

  private:
  bool _internal_return_spii_presence() const;
  void _internal_set_return_spii_presence(bool value);

  public:
  // @@protoc_insertion_point(class_scope:personal_context.proto.ContextMemoryAmbientAutofillRequest)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 4,
                          1, 92,
                          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 ContextMemoryAmbientAutofillRequest& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedField<int> requested_types_;
    ::google::protobuf::internal::CachedSize _requested_types_cached_byte_size_;
    ::google::protobuf::internal::ArenaStringPtr top_level_domain_;
    ::google::protobuf::internal::ArenaStringPtr client_id_;
    bool return_spii_presence_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fpersonal_5fcontext_2fproto_2ffeatures_2fambient_5fautofill_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

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

  explicit ContextMemoryAmbientAutofillResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  ContextMemoryAmbientAutofillResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ContextMemoryAmbientAutofillResponse& from);
  ContextMemoryAmbientAutofillResponse(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ContextMemoryAmbientAutofillResponse&& from) noexcept
      : ContextMemoryAmbientAutofillResponse(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 {
    kEntitiesFieldNumber = 1,
  };
  // repeated .personal_context.proto.Entity entities = 1;
  int entities_size()
      const;
  private:
  int _internal_entities_size() const;

  public:
  void clear_entities() ;
  const ::personal_context::proto::Entity& entities(int index) const;
  ::personal_context::proto::Entity* PROTOBUF_NONNULL mutable_entities(int index);
  ::personal_context::proto::Entity* PROTOBUF_NONNULL add_entities();
  const ::google::protobuf::RepeatedPtrField<::personal_context::proto::Entity>&
  entities() const;
  ::google::protobuf::RepeatedPtrField<::personal_context::proto::Entity>* PROTOBUF_NONNULL
  mutable_entities();

  private:
  const ::google::protobuf::RepeatedPtrField<::personal_context::proto::Entity>& _internal_entities() const;
  ::google::protobuf::RepeatedPtrField<::personal_context::proto::Entity>* PROTOBUF_NONNULL _internal_mutable_entities();

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

  friend class ::google::protobuf::MessageLite;
  friend class ::google::protobuf::Arena;
  friend ::google::protobuf::internal::PrivateAccess;
  template <typename T>
  friend class ::google::protobuf::Arena::InternalHelper;
  using InternalArenaConstructable_ = void;
  using DestructorSkippable_ = void;
  struct Impl_ {
    inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
                                    ::google::protobuf::internal::ConstantInitialized) noexcept;
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
    inline explicit Impl_(
        ::google::protobuf::internal::InternalVisibility visibility,
        ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
        const ContextMemoryAmbientAutofillResponse& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::personal_context::proto::Entity > entities_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_components_2fpersonal_5fcontext_2fproto_2ffeatures_2fambient_5fautofill_2eproto;
};

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




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


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

// ContextMemoryAmbientAutofillRequest

// string top_level_domain = 1 [deprecated = true];
inline bool ContextMemoryAmbientAutofillRequest::has_top_level_domain() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void ContextMemoryAmbientAutofillRequest::clear_top_level_domain() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.top_level_domain_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline ::absl::string_view ContextMemoryAmbientAutofillRequest::top_level_domain() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:personal_context.proto.ContextMemoryAmbientAutofillRequest.top_level_domain)
  return _internal_top_level_domain();
}
template <typename Arg_>
PROTOBUF_ALWAYS_INLINE void ContextMemoryAmbientAutofillRequest::set_top_level_domain(Arg_&& arg) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.top_level_domain_.Set(static_cast<Arg_&&>(arg), GetArena());
  // @@protoc_insertion_point(field_set:personal_context.proto.ContextMemoryAmbientAutofillRequest.top_level_domain)
}
inline ::absl::string_view ContextMemoryAmbientAutofillRequest::_internal_top_level_domain() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.top_level_domain_.Get();
}
inline void ContextMemoryAmbientAutofillRequest::_internal_set_top_level_domain(::absl::string_view value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.top_level_domain_.Set(value, GetArena());
}

// repeated .personal_context.proto.EntityType requested_types = 2;
inline int ContextMemoryAmbientAutofillRequest::_internal_requested_types_size() const {
  return _internal_requested_types().size();
}
inline int ContextMemoryAmbientAutofillRequest::requested_types_size() const {
  return _internal_requested_types_size();
}
inline void ContextMemoryAmbientAutofillRequest::clear_requested_types() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.requested_types_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline ::personal_context::proto::EntityType ContextMemoryAmbientAutofillRequest::requested_types(int index) const {
  // @@protoc_insertion_point(field_get:personal_context.proto.ContextMemoryAmbientAutofillRequest.requested_types)
  return static_cast<::personal_context::proto::EntityType>(_internal_requested_types().Get(index));
}
inline void ContextMemoryAmbientAutofillRequest::set_requested_types(int index, ::personal_context::proto::EntityType value) {

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::personal_context::proto::EntityType_internal_data_));
                                          _internal_mutable_requested_types()->Set(index, value);
  // @@protoc_insertion_point(field_set:personal_context.proto.ContextMemoryAmbientAutofillRequest.requested_types)
}
inline void ContextMemoryAmbientAutofillRequest::add_requested_types(::personal_context::proto::EntityType value) {

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::personal_context::proto::EntityType_internal_data_));
                                          ::google::protobuf::internal::TSanWrite(&_impl_);
  _internal_mutable_requested_types()
      ->InternalAddWithArena<const ::google::protobuf::MessageLite*>(
          internal_visibility(), this, value);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:personal_context.proto.ContextMemoryAmbientAutofillRequest.requested_types)
}
inline const ::google::protobuf::RepeatedField<int>& ContextMemoryAmbientAutofillRequest::requested_types() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:personal_context.proto.ContextMemoryAmbientAutofillRequest.requested_types)
  return _internal_requested_types();
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL ContextMemoryAmbientAutofillRequest::mutable_requested_types()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:personal_context.proto.ContextMemoryAmbientAutofillRequest.requested_types)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_requested_types();
}
inline const ::google::protobuf::RepeatedField<int>& ContextMemoryAmbientAutofillRequest::_internal_requested_types()
    const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.requested_types_;
}
inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
ContextMemoryAmbientAutofillRequest::_internal_mutable_requested_types() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.requested_types_;
}

// bool return_spii_presence = 3;
inline bool ContextMemoryAmbientAutofillRequest::has_return_spii_presence() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void ContextMemoryAmbientAutofillRequest::clear_return_spii_presence() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.return_spii_presence_ = false;
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline bool ContextMemoryAmbientAutofillRequest::return_spii_presence() const {
  // @@protoc_insertion_point(field_get:personal_context.proto.ContextMemoryAmbientAutofillRequest.return_spii_presence)
  return _internal_return_spii_presence();
}
inline void ContextMemoryAmbientAutofillRequest::set_return_spii_presence(bool value) {
  _internal_set_return_spii_presence(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  // @@protoc_insertion_point(field_set:personal_context.proto.ContextMemoryAmbientAutofillRequest.return_spii_presence)
}
inline bool ContextMemoryAmbientAutofillRequest::_internal_return_spii_presence() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.return_spii_presence_;
}
inline void ContextMemoryAmbientAutofillRequest::_internal_set_return_spii_presence(bool value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.return_spii_presence_ = value;
}

// string client_id = 4;
inline bool ContextMemoryAmbientAutofillRequest::has_client_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void ContextMemoryAmbientAutofillRequest::clear_client_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.client_id_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::absl::string_view ContextMemoryAmbientAutofillRequest::client_id() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:personal_context.proto.ContextMemoryAmbientAutofillRequest.client_id)
  return _internal_client_id();
}
template <typename Arg_>
PROTOBUF_ALWAYS_INLINE void ContextMemoryAmbientAutofillRequest::set_client_id(Arg_&& arg) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  _impl_.client_id_.Set(static_cast<Arg_&&>(arg), GetArena());
  // @@protoc_insertion_point(field_set:personal_context.proto.ContextMemoryAmbientAutofillRequest.client_id)
}
inline ::absl::string_view ContextMemoryAmbientAutofillRequest::_internal_client_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.client_id_.Get();
}
inline void ContextMemoryAmbientAutofillRequest::_internal_set_client_id(::absl::string_view value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  _impl_.client_id_.Set(value, GetArena());
}

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

// ContextMemoryAmbientAutofillResponse

// repeated .personal_context.proto.Entity entities = 1;
inline int ContextMemoryAmbientAutofillResponse::_internal_entities_size() const {
  return _internal_entities().size();
}
inline int ContextMemoryAmbientAutofillResponse::entities_size() const {
  return _internal_entities_size();
}
inline const ::personal_context::proto::Entity& ContextMemoryAmbientAutofillResponse::entities(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:personal_context.proto.ContextMemoryAmbientAutofillResponse.entities)
  return _internal_entities().Get(index);
}
inline ::personal_context::proto::Entity* PROTOBUF_NONNULL ContextMemoryAmbientAutofillResponse::mutable_entities(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:personal_context.proto.ContextMemoryAmbientAutofillResponse.entities)
  return _internal_mutable_entities()->Mutable(index);
}
inline ::personal_context::proto::Entity* PROTOBUF_NONNULL ContextMemoryAmbientAutofillResponse::add_entities()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::personal_context::proto::Entity* _add =
      _internal_mutable_entities()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:personal_context.proto.ContextMemoryAmbientAutofillResponse.entities)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::personal_context::proto::Entity>& ContextMemoryAmbientAutofillResponse::entities() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:personal_context.proto.ContextMemoryAmbientAutofillResponse.entities)
  return _internal_entities();
}
inline ::google::protobuf::RepeatedPtrField<::personal_context::proto::Entity>* PROTOBUF_NONNULL
ContextMemoryAmbientAutofillResponse::mutable_entities() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:personal_context.proto.ContextMemoryAmbientAutofillResponse.entities)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_entities();
}
inline const ::google::protobuf::RepeatedPtrField<::personal_context::proto::Entity>&
ContextMemoryAmbientAutofillResponse::_internal_entities() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.entities_;
}
inline ::google::protobuf::RepeatedPtrField<::personal_context::proto::Entity>* PROTOBUF_NONNULL
ContextMemoryAmbientAutofillResponse::_internal_mutable_entities() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.entities_;
}

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

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


// @@protoc_insertion_point(global_scope)

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

#endif  // components_2fpersonal_5fcontext_2fproto_2ffeatures_2fambient_5fautofill_2eproto_2epb_2eh
