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

#ifndef gcm_5fencryption_5fdata_2eproto_2epb_2eh
#define gcm_5fencryption_5fdata_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_gcm_5fencryption_5fdata_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_gcm_5fencryption_5fdata_2eproto {
  static const ::uint32_t offsets[];
};
namespace gcm {
enum KeyPair_KeyType : int;
extern const uint32_t KeyPair_KeyType_internal_data_[];
class EncryptionData;
struct EncryptionDataGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern EncryptionDataGlobalsTypeInternal EncryptionData_globals_;
extern const ::google::protobuf::internal::ClassDataLite EncryptionData_class_data_;
#else
extern const EncryptionDataGlobalsTypeInternal EncryptionData_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
class KeyPair;
struct KeyPairGlobalsTypeInternal;
#ifndef PROTOBUF_MESSAGE_GLOBALS
extern KeyPairGlobalsTypeInternal KeyPair_globals_;
extern const ::google::protobuf::internal::ClassDataLite KeyPair_class_data_;
#else
extern const KeyPairGlobalsTypeInternal KeyPair_globals_;
#endif  // PROTOBUF_MESSAGE_GLOBALS
}  // namespace gcm
namespace google {
namespace protobuf {
template <>
internal::EnumTraitsT<::gcm::KeyPair_KeyType_internal_data_>
    internal::EnumTraitsImpl::value<::gcm::KeyPair_KeyType>;
}  // namespace protobuf
}  // namespace google

namespace gcm {
enum KeyPair_KeyType : int {
  KeyPair_KeyType_ECDH_P256 = 0,
};

extern const uint32_t KeyPair_KeyType_internal_data_[];
inline constexpr KeyPair_KeyType KeyPair_KeyType_KeyType_MIN =
    static_cast<KeyPair_KeyType>(0);
inline constexpr KeyPair_KeyType KeyPair_KeyType_KeyType_MAX =
    static_cast<KeyPair_KeyType>(0);
inline bool KeyPair_KeyType_IsValid(int value) {
  return 0 <= value && value <= 0;
}
inline constexpr int KeyPair_KeyType_KeyType_ARRAYSIZE = 0 + 1;
const ::std::string& KeyPair_KeyType_Name(KeyPair_KeyType value);
template <typename T>
const ::std::string& KeyPair_KeyType_Name(T value) {
  static_assert(::std::is_same<T, KeyPair_KeyType>::value ||
                    ::std::is_integral<T>::value,
                "Incorrect type passed to KeyType_Name().");
  return KeyPair_KeyType_Name(static_cast<KeyPair_KeyType>(value));
}
bool KeyPair_KeyType_Parse(
    ::absl::string_view name, KeyPair_KeyType* PROTOBUF_NONNULL value);
using ::google::protobuf::internal::generated_enum::AbslParseFlag;
using ::google::protobuf::internal::generated_enum::AbslUnparseFlag;

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


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

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

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

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

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

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

  KeyPair* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<KeyPair>(arena);
  }
  void CopyFrom(const KeyPair& from);
  void MergeFrom(const KeyPair& from) { KeyPair::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return IsInitializedImpl(*this);
  }

  private:
  static bool IsInitializedImpl(const MessageLite& msg);

  public:
  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(KeyPair* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "gcm.KeyPair"; }

  explicit KeyPair(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  KeyPair(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const KeyPair& from);
  KeyPair(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, KeyPair&& from) noexcept
      : KeyPair(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 KeyType = KeyPair_KeyType;
  static constexpr KeyType ECDH_P256 = KeyPair_KeyType_ECDH_P256;
  static inline bool KeyType_IsValid(int value) {
    return KeyPair_KeyType_IsValid(value);
  }
  static constexpr KeyType KeyType_MIN = KeyPair_KeyType_KeyType_MIN;
  static constexpr KeyType KeyType_MAX = KeyPair_KeyType_KeyType_MAX;
  static constexpr int KeyType_ARRAYSIZE = KeyPair_KeyType_KeyType_ARRAYSIZE;
  template <typename T>
  static inline const ::std::string& KeyType_Name(T value) {
    return KeyPair_KeyType_Name(value);
  }
  static inline bool KeyType_Parse(
      ::absl::string_view name, KeyType* PROTOBUF_NONNULL value) {
    return KeyPair_KeyType_Parse(name, value);
  }

  // accessors -------------------------------------------------------
  enum : int {
    kPrivateKeyFieldNumber = 2,
    kPublicKeyFieldNumber = 4,
    kTypeFieldNumber = 1,
  };
  // optional bytes private_key = 2;
  bool has_private_key()
      const;
  void clear_private_key() ;
  const ::std::string& private_key() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_private_key(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_private_key();
  ::std::string* PROTOBUF_NULLABLE release_private_key();
  void set_allocated_private_key(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_private_key() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_private_key(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_private_key();

  public:
  // optional bytes public_key = 4;
  bool has_public_key()
      const;
  void clear_public_key() ;
  const ::std::string& public_key() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_public_key(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_public_key();
  ::std::string* PROTOBUF_NULLABLE release_public_key();
  void set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_public_key() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_public_key(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_public_key();

  public:
  // required .gcm.KeyPair.KeyType type = 1;
  bool has_type()
      const;
  void clear_type() ;
  ::gcm::KeyPair_KeyType type() const;
  void set_type(::gcm::KeyPair_KeyType value);

  private:
  ::gcm::KeyPair_KeyType _internal_type() const;
  void _internal_set_type(::gcm::KeyPair_KeyType value);

  public:
  // @@protoc_insertion_point(class_scope:gcm.KeyPair)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<2, 3,
                          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 KeyPair& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::internal::ArenaStringPtr private_key_;
    ::google::protobuf::internal::ArenaStringPtr public_key_;
    int type_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_gcm_5fencryption_5fdata_2eproto;
};
// -------------------------------------------------------------------

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

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

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

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

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

  EncryptionData* PROTOBUF_NONNULL
  New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
    return ::google::protobuf::MessageLite::DefaultConstruct<EncryptionData>(arena);
  }
  void CopyFrom(const EncryptionData& from);
  void MergeFrom(const EncryptionData& from) { EncryptionData::MergeImpl(*this, from); }

  private:
  static void MergeImpl(::google::protobuf::MessageLite& to_msg,
                        const ::google::protobuf::MessageLite& from_msg);

  public:
  bool IsInitialized() const {
    return IsInitializedImpl(*this);
  }

  private:
  static bool IsInitializedImpl(const MessageLite& msg);

  public:
  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(EncryptionData* PROTOBUF_NONNULL other);
 private:
  template <typename T>
  friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
  static ::absl::string_view FullMessageName() { return "gcm.EncryptionData"; }

  explicit EncryptionData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
  EncryptionData(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EncryptionData& from);
  EncryptionData(
      ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, EncryptionData&& from) noexcept
      : EncryptionData(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 {
    kKeysFieldNumber = 2,
    kAppIdFieldNumber = 1,
    kAuthSecretFieldNumber = 3,
    kAuthorizedEntityFieldNumber = 4,
    kPrivateKeyFieldNumber = 5,
  };
  // repeated .gcm.KeyPair keys = 2;
  int keys_size()
      const;
  private:
  int _internal_keys_size() const;

  public:
  void clear_keys() ;
  const ::gcm::KeyPair& keys(int index) const;
  ::gcm::KeyPair* PROTOBUF_NONNULL mutable_keys(int index);
  ::gcm::KeyPair* PROTOBUF_NONNULL add_keys();
  const ::google::protobuf::RepeatedPtrField<::gcm::KeyPair>&
  keys() const;
  ::google::protobuf::RepeatedPtrField<::gcm::KeyPair>* PROTOBUF_NONNULL
  mutable_keys();

  private:
  const ::google::protobuf::RepeatedPtrField<::gcm::KeyPair>& _internal_keys() const;
  ::google::protobuf::RepeatedPtrField<::gcm::KeyPair>* PROTOBUF_NONNULL _internal_mutable_keys();

  public:
  // required string app_id = 1;
  bool has_app_id()
      const;
  void clear_app_id() ;
  const ::std::string& app_id() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_app_id(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_app_id();
  ::std::string* PROTOBUF_NULLABLE release_app_id();
  void set_allocated_app_id(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_app_id() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_app_id(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_app_id();

  public:
  // optional bytes auth_secret = 3;
  bool has_auth_secret()
      const;
  void clear_auth_secret() ;
  const ::std::string& auth_secret() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_auth_secret(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_auth_secret();
  ::std::string* PROTOBUF_NULLABLE release_auth_secret();
  void set_allocated_auth_secret(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_auth_secret() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_auth_secret(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_auth_secret();

  public:
  // optional string authorized_entity = 4;
  bool has_authorized_entity()
      const;
  void clear_authorized_entity() ;
  const ::std::string& authorized_entity() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_authorized_entity(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_authorized_entity();
  ::std::string* PROTOBUF_NULLABLE release_authorized_entity();
  void set_allocated_authorized_entity(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_authorized_entity() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_authorized_entity(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_authorized_entity();

  public:
  // optional string private_key = 5;
  bool has_private_key()
      const;
  void clear_private_key() ;
  const ::std::string& private_key() const;
  template <typename Arg_ = const ::std::string&, typename... Args_>
  void set_private_key(Arg_&& arg, Args_... args);
  ::std::string* PROTOBUF_NONNULL mutable_private_key();
  ::std::string* PROTOBUF_NULLABLE release_private_key();
  void set_allocated_private_key(::std::string* PROTOBUF_NULLABLE value);

  private:
  const ::std::string& _internal_private_key() const;
  PROTOBUF_ALWAYS_INLINE void _internal_set_private_key(const ::std::string& value);
  ::std::string* PROTOBUF_NONNULL _internal_mutable_private_key();

  public:
  // @@protoc_insertion_point(class_scope:gcm.EncryptionData)
 private:
  class _Internal;
  using ParseTableT_ =
      ::google::protobuf::internal::TcParseTable<3, 5,
                          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 EncryptionData& from_msg);
    ::google::protobuf::internal::HasBits<1> _has_bits_;
    ::google::protobuf::internal::CachedSize _cached_size_;
    ::google::protobuf::RepeatedPtrField< ::gcm::KeyPair > keys_;
    ::google::protobuf::internal::ArenaStringPtr app_id_;
    ::google::protobuf::internal::ArenaStringPtr auth_secret_;
    ::google::protobuf::internal::ArenaStringPtr authorized_entity_;
    ::google::protobuf::internal::ArenaStringPtr private_key_;
    PROTOBUF_TSAN_DECLARE_MEMBER
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_gcm_5fencryption_5fdata_2eproto;
};

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




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


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

// KeyPair

// required .gcm.KeyPair.KeyType type = 1;
inline bool KeyPair::has_type() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void KeyPair::clear_type() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.type_ = 0;
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline ::gcm::KeyPair_KeyType KeyPair::type() const {
  // @@protoc_insertion_point(field_get:gcm.KeyPair.type)
  return _internal_type();
}
inline void KeyPair::set_type(::gcm::KeyPair_KeyType value) {
  _internal_set_type(value);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  // @@protoc_insertion_point(field_set:gcm.KeyPair.type)
}
inline ::gcm::KeyPair_KeyType KeyPair::_internal_type() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return static_cast<::gcm::KeyPair_KeyType>(_impl_.type_);
}
inline void KeyPair::_internal_set_type(::gcm::KeyPair_KeyType value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);

                                          assert(::google::protobuf::internal::ValidateEnum(
                                              value, ::gcm::KeyPair_KeyType_internal_data_));
                                          _impl_.type_ = value;
}

// optional bytes private_key = 2;
inline bool KeyPair::has_private_key() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
  return value;
}
inline void KeyPair::clear_private_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.private_key_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::std::string& KeyPair::private_key() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:gcm.KeyPair.private_key)
  return _internal_private_key();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void KeyPair::set_private_key(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  _impl_.private_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:gcm.KeyPair.private_key)
}
inline ::std::string* PROTOBUF_NONNULL KeyPair::mutable_private_key()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  ::std::string* _s = _internal_mutable_private_key();
  // @@protoc_insertion_point(field_mutable:gcm.KeyPair.private_key)
  return _s;
}
inline const ::std::string& KeyPair::_internal_private_key() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.private_key_.Get();
}
inline void KeyPair::_internal_set_private_key(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.private_key_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL KeyPair::_internal_mutable_private_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.private_key_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE KeyPair::release_private_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:gcm.KeyPair.private_key)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  auto* released = _impl_.private_key_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.private_key_.Set("", GetArena());
  }
  return released;
}
inline void KeyPair::set_allocated_private_key(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
  }
  _impl_.private_key_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.private_key_.IsDefault()) {
    _impl_.private_key_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:gcm.KeyPair.private_key)
}

// optional bytes public_key = 4;
inline bool KeyPair::has_public_key() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void KeyPair::clear_public_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.public_key_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& KeyPair::public_key() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:gcm.KeyPair.public_key)
  return _internal_public_key();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void KeyPair::set_public_key(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.public_key_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:gcm.KeyPair.public_key)
}
inline ::std::string* PROTOBUF_NONNULL KeyPair::mutable_public_key()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_public_key();
  // @@protoc_insertion_point(field_mutable:gcm.KeyPair.public_key)
  return _s;
}
inline const ::std::string& KeyPair::_internal_public_key() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.public_key_.Get();
}
inline void KeyPair::_internal_set_public_key(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.public_key_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL KeyPair::_internal_mutable_public_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.public_key_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE KeyPair::release_public_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:gcm.KeyPair.public_key)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.public_key_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.public_key_.Set("", GetArena());
  }
  return released;
}
inline void KeyPair::set_allocated_public_key(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  _impl_.public_key_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.public_key_.IsDefault()) {
    _impl_.public_key_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:gcm.KeyPair.public_key)
}

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

// EncryptionData

// required string app_id = 1;
inline bool EncryptionData::has_app_id() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
  return value;
}
inline void EncryptionData::clear_app_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.app_id_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
}
inline const ::std::string& EncryptionData::app_id() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:gcm.EncryptionData.app_id)
  return _internal_app_id();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void EncryptionData::set_app_id(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  _impl_.app_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:gcm.EncryptionData.app_id)
}
inline ::std::string* PROTOBUF_NONNULL EncryptionData::mutable_app_id()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  ::std::string* _s = _internal_mutable_app_id();
  // @@protoc_insertion_point(field_mutable:gcm.EncryptionData.app_id)
  return _s;
}
inline const ::std::string& EncryptionData::_internal_app_id() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.app_id_.Get();
}
inline void EncryptionData::_internal_set_app_id(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.app_id_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL EncryptionData::_internal_mutable_app_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.app_id_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE EncryptionData::release_app_id() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:gcm.EncryptionData.app_id)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  auto* released = _impl_.app_id_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.app_id_.Set("", GetArena());
  }
  return released;
}
inline void EncryptionData::set_allocated_app_id(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000002U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
  }
  _impl_.app_id_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.app_id_.IsDefault()) {
    _impl_.app_id_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:gcm.EncryptionData.app_id)
}

// optional string authorized_entity = 4;
inline bool EncryptionData::has_authorized_entity() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
  return value;
}
inline void EncryptionData::clear_authorized_entity() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.authorized_entity_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
}
inline const ::std::string& EncryptionData::authorized_entity() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:gcm.EncryptionData.authorized_entity)
  return _internal_authorized_entity();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void EncryptionData::set_authorized_entity(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  _impl_.authorized_entity_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:gcm.EncryptionData.authorized_entity)
}
inline ::std::string* PROTOBUF_NONNULL EncryptionData::mutable_authorized_entity()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000008U);
  ::std::string* _s = _internal_mutable_authorized_entity();
  // @@protoc_insertion_point(field_mutable:gcm.EncryptionData.authorized_entity)
  return _s;
}
inline const ::std::string& EncryptionData::_internal_authorized_entity() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.authorized_entity_.Get();
}
inline void EncryptionData::_internal_set_authorized_entity(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.authorized_entity_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL EncryptionData::_internal_mutable_authorized_entity() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.authorized_entity_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE EncryptionData::release_authorized_entity() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:gcm.EncryptionData.authorized_entity)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000008U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
  auto* released = _impl_.authorized_entity_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.authorized_entity_.Set("", GetArena());
  }
  return released;
}
inline void EncryptionData::set_allocated_authorized_entity(::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_.authorized_entity_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.authorized_entity_.IsDefault()) {
    _impl_.authorized_entity_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:gcm.EncryptionData.authorized_entity)
}

// repeated .gcm.KeyPair keys = 2;
inline int EncryptionData::_internal_keys_size() const {
  return _internal_keys().size();
}
inline int EncryptionData::keys_size() const {
  return _internal_keys_size();
}
inline void EncryptionData::clear_keys() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.keys_.Clear();
  ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
inline const ::gcm::KeyPair& EncryptionData::keys(int index) const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:gcm.EncryptionData.keys)
  return _internal_keys().Get(index);
}
inline ::gcm::KeyPair* PROTOBUF_NONNULL EncryptionData::mutable_keys(int index)
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_mutable:gcm.EncryptionData.keys)
  return _internal_mutable_keys()->Mutable(index);
}
inline ::gcm::KeyPair* PROTOBUF_NONNULL EncryptionData::add_keys()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  ::gcm::KeyPair* _add =
      _internal_mutable_keys()->InternalAddWithArena(
          ::google::protobuf::MessageLite::internal_visibility(), GetArena());
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_add:gcm.EncryptionData.keys)
  return _add;
}
inline const ::google::protobuf::RepeatedPtrField<::gcm::KeyPair>& EncryptionData::keys() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_list:gcm.EncryptionData.keys)
  return _internal_keys();
}
inline ::google::protobuf::RepeatedPtrField<::gcm::KeyPair>* PROTOBUF_NONNULL
EncryptionData::mutable_keys() ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000001U);
  // @@protoc_insertion_point(field_mutable_list:gcm.EncryptionData.keys)
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _internal_mutable_keys();
}
inline const ::google::protobuf::RepeatedPtrField<::gcm::KeyPair>&
EncryptionData::_internal_keys() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.keys_;
}
inline ::google::protobuf::RepeatedPtrField<::gcm::KeyPair>* PROTOBUF_NONNULL
EncryptionData::_internal_mutable_keys() {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return &_impl_.keys_;
}

// optional string private_key = 5;
inline bool EncryptionData::has_private_key() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
  return value;
}
inline void EncryptionData::clear_private_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.private_key_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
}
inline const ::std::string& EncryptionData::private_key() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:gcm.EncryptionData.private_key)
  return _internal_private_key();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void EncryptionData::set_private_key(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  _impl_.private_key_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:gcm.EncryptionData.private_key)
}
inline ::std::string* PROTOBUF_NONNULL EncryptionData::mutable_private_key()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  ::std::string* _s = _internal_mutable_private_key();
  // @@protoc_insertion_point(field_mutable:gcm.EncryptionData.private_key)
  return _s;
}
inline const ::std::string& EncryptionData::_internal_private_key() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.private_key_.Get();
}
inline void EncryptionData::_internal_set_private_key(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.private_key_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL EncryptionData::_internal_mutable_private_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.private_key_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE EncryptionData::release_private_key() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:gcm.EncryptionData.private_key)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
  auto* released = _impl_.private_key_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.private_key_.Set("", GetArena());
  }
  return released;
}
inline void EncryptionData::set_allocated_private_key(::std::string* PROTOBUF_NULLABLE value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  if (value != nullptr) {
    SetHasBit(_impl_._has_bits_[0], 0x00000010U);
  } else {
    ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
  }
  _impl_.private_key_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.private_key_.IsDefault()) {
    _impl_.private_key_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:gcm.EncryptionData.private_key)
}

// optional bytes auth_secret = 3;
inline bool EncryptionData::has_auth_secret() const {
  bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
  return value;
}
inline void EncryptionData::clear_auth_secret() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.auth_secret_.ClearToEmpty();
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
}
inline const ::std::string& EncryptionData::auth_secret() const
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  // @@protoc_insertion_point(field_get:gcm.EncryptionData.auth_secret)
  return _internal_auth_secret();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void EncryptionData::set_auth_secret(Arg_&& arg, Args_... args) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  _impl_.auth_secret_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
  // @@protoc_insertion_point(field_set:gcm.EncryptionData.auth_secret)
}
inline ::std::string* PROTOBUF_NONNULL EncryptionData::mutable_auth_secret()
    ABSL_ATTRIBUTE_LIFETIME_BOUND {
  SetHasBit(_impl_._has_bits_[0], 0x00000004U);
  ::std::string* _s = _internal_mutable_auth_secret();
  // @@protoc_insertion_point(field_mutable:gcm.EncryptionData.auth_secret)
  return _s;
}
inline const ::std::string& EncryptionData::_internal_auth_secret() const {
  ::google::protobuf::internal::TSanRead(&_impl_);
  return _impl_.auth_secret_.Get();
}
inline void EncryptionData::_internal_set_auth_secret(const ::std::string& value) {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  _impl_.auth_secret_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL EncryptionData::_internal_mutable_auth_secret() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  return _impl_.auth_secret_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE EncryptionData::release_auth_secret() {
  ::google::protobuf::internal::TSanWrite(&_impl_);
  // @@protoc_insertion_point(field_release:gcm.EncryptionData.auth_secret)
  if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
    return nullptr;
  }
  ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
  auto* released = _impl_.auth_secret_.Release();
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
    _impl_.auth_secret_.Set("", GetArena());
  }
  return released;
}
inline void EncryptionData::set_allocated_auth_secret(::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_.auth_secret_.SetAllocated(value, GetArena());
  if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.auth_secret_.IsDefault()) {
    _impl_.auth_secret_.Set("", GetArena());
  }
  // @@protoc_insertion_point(field_set_allocated:gcm.EncryptionData.auth_secret)
}

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

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


namespace google {
namespace protobuf {

template <>
struct is_proto_enum<::gcm::KeyPair_KeyType> : std::true_type {};
template <>
struct internal::LiteEnumFuncs<::gcm::KeyPair_KeyType> {
  static constexpr bool kIsDefined = true;
  static constexpr auto kParseFunc = ::gcm::KeyPair_KeyType_Parse;
  static constexpr auto kNameFunc = ::gcm::KeyPair_KeyType_Name<int>;
};

}  // namespace protobuf
}  // namespace google

// @@protoc_insertion_point(global_scope)

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

#endif  // gcm_5fencryption_5fdata_2eproto_2epb_2eh
