// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: keyapis/kms/v1/keyapis_kms_jwt_v1.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto_2epb_2eh

#include <limits>
#include <string>
#include <type_traits>

#include "google/protobuf/port_def.inc"
#if PROTOBUF_VERSION < 4023000
#error "This file was generated by a newer version of protoc which is"
#error "incompatible with your Protocol Buffer headers. Please update"
#error "your headers."
#endif  // PROTOBUF_VERSION

#if 4023001 < PROTOBUF_MIN_PROTOC_VERSION
#error "This file was generated by an older version of protoc which is"
#error "incompatible with your Protocol Buffer headers. Please"
#error "regenerate this file with a newer version of protoc."
#endif  // PROTOBUF_MIN_PROTOC_VERSION
#include "google/protobuf/port_undef.inc"
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.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/map.h"  // IWYU pragma: export
#include "google/protobuf/map_entry_lite.h"
#include "google/protobuf/map_field_lite.h"
#include "google/api/annotations.pb.h"
#include "google/api/field_behavior.pb.h"
#include "google/protobuf/descriptor.pb.h"
#include "google/protobuf/timestamp.pb.h"
#include "google/protobuf/wrappers.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto

PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct TableStruct_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto {
  static const ::uint32_t offsets[];
};
namespace keyapis {
namespace kms {
namespace v1 {
class PostKmsJwtCreateJweRequest;
struct PostKmsJwtCreateJweRequestDefaultTypeInternal;
extern PostKmsJwtCreateJweRequestDefaultTypeInternal _PostKmsJwtCreateJweRequest_default_instance_;
class PostKmsJwtCreateJweRequest_PayloadData;
struct PostKmsJwtCreateJweRequest_PayloadDataDefaultTypeInternal;
extern PostKmsJwtCreateJweRequest_PayloadDataDefaultTypeInternal _PostKmsJwtCreateJweRequest_PayloadData_default_instance_;
class PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse;
struct PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUseDefaultTypeInternal;
extern PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUseDefaultTypeInternal _PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse_default_instance_;
class PostKmsJwtCreateJweResponse;
struct PostKmsJwtCreateJweResponseDefaultTypeInternal;
extern PostKmsJwtCreateJweResponseDefaultTypeInternal _PostKmsJwtCreateJweResponse_default_instance_;
class PostKmsJwtCreateJweResponse_Error;
struct PostKmsJwtCreateJweResponse_ErrorDefaultTypeInternal;
extern PostKmsJwtCreateJweResponse_ErrorDefaultTypeInternal _PostKmsJwtCreateJweResponse_Error_default_instance_;
class PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound;
struct PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFoundDefaultTypeInternal;
extern PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFoundDefaultTypeInternal _PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound_default_instance_;
class ValidationError;
struct ValidationErrorDefaultTypeInternal;
extern ValidationErrorDefaultTypeInternal _ValidationError_default_instance_;
}  // namespace v1
}  // namespace kms
}  // namespace keyapis
PROTOBUF_NAMESPACE_OPEN
template <>
::keyapis::kms::v1::PostKmsJwtCreateJweRequest* Arena::CreateMaybeMessage<::keyapis::kms::v1::PostKmsJwtCreateJweRequest>(Arena*);
template <>
::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* Arena::CreateMaybeMessage<::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData>(Arena*);
template <>
::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse* Arena::CreateMaybeMessage<::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse>(Arena*);
template <>
::keyapis::kms::v1::PostKmsJwtCreateJweResponse* Arena::CreateMaybeMessage<::keyapis::kms::v1::PostKmsJwtCreateJweResponse>(Arena*);
template <>
::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* Arena::CreateMaybeMessage<::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error>(Arena*);
template <>
::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* Arena::CreateMaybeMessage<::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound>(Arena*);
template <>
::keyapis::kms::v1::ValidationError* Arena::CreateMaybeMessage<::keyapis::kms::v1::ValidationError>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

namespace keyapis {
namespace kms {
namespace v1 {

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


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

class PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse final : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse, 
    std::string, std::string,
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
public:
  typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse, 
    std::string, std::string,
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
  PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse();
  template <typename = void>
  explicit PROTOBUF_CONSTEXPR PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse(
      ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  explicit PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void MergeFrom(const PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse& other);
  static const PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse*>(&_PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse_default_instance_); }
  static bool ValidateKey(std::string* s) {
    return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData.ValuesEntry.key");
 }
  static bool ValidateValue(std::string* s) {
    return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData.ValuesEntry.value");
 }
  friend struct ::TableStruct_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto;
};
// -------------------------------------------------------------------

class PostKmsJwtCreateJweRequest_PayloadData final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData) */ {
 public:
  inline PostKmsJwtCreateJweRequest_PayloadData() : PostKmsJwtCreateJweRequest_PayloadData(nullptr) {}
  ~PostKmsJwtCreateJweRequest_PayloadData() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR PostKmsJwtCreateJweRequest_PayloadData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  PostKmsJwtCreateJweRequest_PayloadData(const PostKmsJwtCreateJweRequest_PayloadData& from);
  PostKmsJwtCreateJweRequest_PayloadData(PostKmsJwtCreateJweRequest_PayloadData&& from) noexcept
    : PostKmsJwtCreateJweRequest_PayloadData() {
    *this = ::std::move(from);
  }

  inline PostKmsJwtCreateJweRequest_PayloadData& operator=(const PostKmsJwtCreateJweRequest_PayloadData& from) {
    CopyFrom(from);
    return *this;
  }
  inline PostKmsJwtCreateJweRequest_PayloadData& operator=(PostKmsJwtCreateJweRequest_PayloadData&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const PostKmsJwtCreateJweRequest_PayloadData& default_instance() {
    return *internal_default_instance();
  }
  static inline const PostKmsJwtCreateJweRequest_PayloadData* internal_default_instance() {
    return reinterpret_cast<const PostKmsJwtCreateJweRequest_PayloadData*>(
               &_PostKmsJwtCreateJweRequest_PayloadData_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  friend void swap(PostKmsJwtCreateJweRequest_PayloadData& a, PostKmsJwtCreateJweRequest_PayloadData& b) {
    a.Swap(&b);
  }
  inline void Swap(PostKmsJwtCreateJweRequest_PayloadData* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PostKmsJwtCreateJweRequest_PayloadData* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  PostKmsJwtCreateJweRequest_PayloadData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PostKmsJwtCreateJweRequest_PayloadData>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const PostKmsJwtCreateJweRequest_PayloadData& from);
  void MergeFrom(const PostKmsJwtCreateJweRequest_PayloadData& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PostKmsJwtCreateJweRequest_PayloadData* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData";
  }
  protected:
  explicit PostKmsJwtCreateJweRequest_PayloadData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------


  // accessors -------------------------------------------------------

  enum : int {
    kValuesFieldNumber = 1,
  };
  // map<string, string> values = 1;
  int values_size() const;
  private:
  int _internal_values_size() const;

  public:
  void clear_values() ;
  private:
  const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
      _internal_values() const;
  ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
      _internal_mutable_values();
  public:
  const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
      values() const;
  ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
      mutable_values();
  // @@protoc_insertion_point(class_scope:keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
        PostKmsJwtCreateJweRequest_PayloadData_ValuesEntry_DoNotUse,
        std::string, std::string,
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> values_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto;
};// -------------------------------------------------------------------

class PostKmsJwtCreateJweRequest final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.kms.v1.PostKmsJwtCreateJweRequest) */ {
 public:
  inline PostKmsJwtCreateJweRequest() : PostKmsJwtCreateJweRequest(nullptr) {}
  ~PostKmsJwtCreateJweRequest() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR PostKmsJwtCreateJweRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  PostKmsJwtCreateJweRequest(const PostKmsJwtCreateJweRequest& from);
  PostKmsJwtCreateJweRequest(PostKmsJwtCreateJweRequest&& from) noexcept
    : PostKmsJwtCreateJweRequest() {
    *this = ::std::move(from);
  }

  inline PostKmsJwtCreateJweRequest& operator=(const PostKmsJwtCreateJweRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline PostKmsJwtCreateJweRequest& operator=(PostKmsJwtCreateJweRequest&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const PostKmsJwtCreateJweRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const PostKmsJwtCreateJweRequest* internal_default_instance() {
    return reinterpret_cast<const PostKmsJwtCreateJweRequest*>(
               &_PostKmsJwtCreateJweRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  friend void swap(PostKmsJwtCreateJweRequest& a, PostKmsJwtCreateJweRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(PostKmsJwtCreateJweRequest* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PostKmsJwtCreateJweRequest* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  PostKmsJwtCreateJweRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PostKmsJwtCreateJweRequest>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const PostKmsJwtCreateJweRequest& from);
  void MergeFrom(const PostKmsJwtCreateJweRequest& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PostKmsJwtCreateJweRequest* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.kms.v1.PostKmsJwtCreateJweRequest";
  }
  protected:
  explicit PostKmsJwtCreateJweRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  typedef PostKmsJwtCreateJweRequest_PayloadData PayloadData;

  // accessors -------------------------------------------------------

  enum : int {
    kPublicKeyFieldNumber = 2,
    kDataFieldNumber = 1,
  };
  // string public_key = 2 [(.google.api.field_behavior) = REQUIRED];
  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* mutable_public_key();
  PROTOBUF_NODISCARD std::string* release_public_key();
  void set_allocated_public_key(std::string* ptr);

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

  public:
  // .keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData data = 1 [(.google.api.field_behavior) = REQUIRED];
  bool has_data() const;
  void clear_data() ;
  const ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData& data() const;
  PROTOBUF_NODISCARD ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* release_data();
  ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* mutable_data();
  void set_allocated_data(::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* data);
  private:
  const ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData& _internal_data() const;
  ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* _internal_mutable_data();
  public:
  void unsafe_arena_set_allocated_data(
      ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* data);
  ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* unsafe_arena_release_data();
  // @@protoc_insertion_point(class_scope:keyapis.kms.v1.PostKmsJwtCreateJweRequest)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr public_key_;
    ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* data_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto;
};// -------------------------------------------------------------------

class PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.PrivateKeyNotFound) */ {
 public:
  inline PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound() : PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound(nullptr) {}
  ~PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound(const PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& from);
  PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound(PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound&& from) noexcept
    : PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound() {
    *this = ::std::move(from);
  }

  inline PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& operator=(const PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& from) {
    CopyFrom(from);
    return *this;
  }
  inline PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& operator=(PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& default_instance() {
    return *internal_default_instance();
  }
  static inline const PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* internal_default_instance() {
    return reinterpret_cast<const PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound*>(
               &_PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& a, PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& b) {
    a.Swap(&b);
  }
  inline void Swap(PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& from);
  void MergeFrom(const PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.PrivateKeyNotFound";
  }
  protected:
  explicit PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // @@protoc_insertion_point(class_scope:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.PrivateKeyNotFound)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto;
};// -------------------------------------------------------------------

class PostKmsJwtCreateJweResponse_Error final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error) */ {
 public:
  inline PostKmsJwtCreateJweResponse_Error() : PostKmsJwtCreateJweResponse_Error(nullptr) {}
  ~PostKmsJwtCreateJweResponse_Error() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR PostKmsJwtCreateJweResponse_Error(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  PostKmsJwtCreateJweResponse_Error(const PostKmsJwtCreateJweResponse_Error& from);
  PostKmsJwtCreateJweResponse_Error(PostKmsJwtCreateJweResponse_Error&& from) noexcept
    : PostKmsJwtCreateJweResponse_Error() {
    *this = ::std::move(from);
  }

  inline PostKmsJwtCreateJweResponse_Error& operator=(const PostKmsJwtCreateJweResponse_Error& from) {
    CopyFrom(from);
    return *this;
  }
  inline PostKmsJwtCreateJweResponse_Error& operator=(PostKmsJwtCreateJweResponse_Error&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const PostKmsJwtCreateJweResponse_Error& default_instance() {
    return *internal_default_instance();
  }
  enum ReasonCase {
    kValidation = 1,
    kPrivateKeyNotFound = 2,
    REASON_NOT_SET = 0,
  };

  static inline const PostKmsJwtCreateJweResponse_Error* internal_default_instance() {
    return reinterpret_cast<const PostKmsJwtCreateJweResponse_Error*>(
               &_PostKmsJwtCreateJweResponse_Error_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

  friend void swap(PostKmsJwtCreateJweResponse_Error& a, PostKmsJwtCreateJweResponse_Error& b) {
    a.Swap(&b);
  }
  inline void Swap(PostKmsJwtCreateJweResponse_Error* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PostKmsJwtCreateJweResponse_Error* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  PostKmsJwtCreateJweResponse_Error* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PostKmsJwtCreateJweResponse_Error>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const PostKmsJwtCreateJweResponse_Error& from);
  void MergeFrom(const PostKmsJwtCreateJweResponse_Error& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PostKmsJwtCreateJweResponse_Error* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error";
  }
  protected:
  explicit PostKmsJwtCreateJweResponse_Error(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  typedef PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound PrivateKeyNotFound;

  // accessors -------------------------------------------------------

  enum : int {
    kValidationFieldNumber = 1,
    kPrivateKeyNotFoundFieldNumber = 2,
  };
  // .keyapis.kms.v1.ValidationError validation = 1;
  bool has_validation() const;
  private:
  bool _internal_has_validation() const;

  public:
  void clear_validation() ;
  const ::keyapis::kms::v1::ValidationError& validation() const;
  PROTOBUF_NODISCARD ::keyapis::kms::v1::ValidationError* release_validation();
  ::keyapis::kms::v1::ValidationError* mutable_validation();
  void set_allocated_validation(::keyapis::kms::v1::ValidationError* validation);
  private:
  const ::keyapis::kms::v1::ValidationError& _internal_validation() const;
  ::keyapis::kms::v1::ValidationError* _internal_mutable_validation();
  public:
  void unsafe_arena_set_allocated_validation(
      ::keyapis::kms::v1::ValidationError* validation);
  ::keyapis::kms::v1::ValidationError* unsafe_arena_release_validation();
  // .keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.PrivateKeyNotFound private_key_not_found = 2;
  bool has_private_key_not_found() const;
  private:
  bool _internal_has_private_key_not_found() const;

  public:
  void clear_private_key_not_found() ;
  const ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& private_key_not_found() const;
  PROTOBUF_NODISCARD ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* release_private_key_not_found();
  ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* mutable_private_key_not_found();
  void set_allocated_private_key_not_found(::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* private_key_not_found);
  private:
  const ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& _internal_private_key_not_found() const;
  ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* _internal_mutable_private_key_not_found();
  public:
  void unsafe_arena_set_allocated_private_key_not_found(
      ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* private_key_not_found);
  ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* unsafe_arena_release_private_key_not_found();
  void clear_reason();
  ReasonCase reason_case() const;
  // @@protoc_insertion_point(class_scope:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error)
 private:
  class _Internal;
  void set_has_validation();
  void set_has_private_key_not_found();

  inline bool has_reason() const;
  inline void clear_has_reason();

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    union ReasonUnion {
      constexpr ReasonUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::keyapis::kms::v1::ValidationError* validation_;
      ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* private_key_not_found_;
    } reason_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto;
};// -------------------------------------------------------------------

class PostKmsJwtCreateJweResponse final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.kms.v1.PostKmsJwtCreateJweResponse) */ {
 public:
  inline PostKmsJwtCreateJweResponse() : PostKmsJwtCreateJweResponse(nullptr) {}
  ~PostKmsJwtCreateJweResponse() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR PostKmsJwtCreateJweResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  PostKmsJwtCreateJweResponse(const PostKmsJwtCreateJweResponse& from);
  PostKmsJwtCreateJweResponse(PostKmsJwtCreateJweResponse&& from) noexcept
    : PostKmsJwtCreateJweResponse() {
    *this = ::std::move(from);
  }

  inline PostKmsJwtCreateJweResponse& operator=(const PostKmsJwtCreateJweResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline PostKmsJwtCreateJweResponse& operator=(PostKmsJwtCreateJweResponse&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const PostKmsJwtCreateJweResponse& default_instance() {
    return *internal_default_instance();
  }
  enum TypeCase {
    kData = 1,
    kError = 2,
    TYPE_NOT_SET = 0,
  };

  static inline const PostKmsJwtCreateJweResponse* internal_default_instance() {
    return reinterpret_cast<const PostKmsJwtCreateJweResponse*>(
               &_PostKmsJwtCreateJweResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    5;

  friend void swap(PostKmsJwtCreateJweResponse& a, PostKmsJwtCreateJweResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(PostKmsJwtCreateJweResponse* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(PostKmsJwtCreateJweResponse* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  PostKmsJwtCreateJweResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<PostKmsJwtCreateJweResponse>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const PostKmsJwtCreateJweResponse& from);
  void MergeFrom(const PostKmsJwtCreateJweResponse& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PostKmsJwtCreateJweResponse* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.kms.v1.PostKmsJwtCreateJweResponse";
  }
  protected:
  explicit PostKmsJwtCreateJweResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  typedef PostKmsJwtCreateJweResponse_Error Error;

  // accessors -------------------------------------------------------

  enum : int {
    kDataFieldNumber = 1,
    kErrorFieldNumber = 2,
  };
  // string data = 1;
  bool has_data() const;
  void clear_data() ;
  const std::string& data() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_data(Arg_&& arg, Args_... args);
  std::string* mutable_data();
  PROTOBUF_NODISCARD std::string* release_data();
  void set_allocated_data(std::string* ptr);

  private:
  const std::string& _internal_data() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(
      const std::string& value);
  std::string* _internal_mutable_data();

  public:
  // .keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error error = 2;
  bool has_error() const;
  private:
  bool _internal_has_error() const;

  public:
  void clear_error() ;
  const ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error& error() const;
  PROTOBUF_NODISCARD ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* release_error();
  ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* mutable_error();
  void set_allocated_error(::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* error);
  private:
  const ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error& _internal_error() const;
  ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* _internal_mutable_error();
  public:
  void unsafe_arena_set_allocated_error(
      ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* error);
  ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* unsafe_arena_release_error();
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:keyapis.kms.v1.PostKmsJwtCreateJweResponse)
 private:
  class _Internal;
  void set_has_data();
  void set_has_error();

  inline bool has_type() const;
  inline void clear_has_type();

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    union TypeUnion {
      constexpr TypeUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
      ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* error_;
    } type_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto;
};// -------------------------------------------------------------------

class ValidationError final :
    public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:keyapis.kms.v1.ValidationError) */ {
 public:
  inline ValidationError() : ValidationError(nullptr) {}
  ~ValidationError() override;
  template<typename = void>
  explicit PROTOBUF_CONSTEXPR ValidationError(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);

  ValidationError(const ValidationError& from);
  ValidationError(ValidationError&& from) noexcept
    : ValidationError() {
    *this = ::std::move(from);
  }

  inline ValidationError& operator=(const ValidationError& from) {
    CopyFrom(from);
    return *this;
  }
  inline ValidationError& operator=(ValidationError&& from) noexcept {
    if (this == &from) return *this;
    if (GetOwningArena() == from.GetOwningArena()
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
        && GetOwningArena() != nullptr
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
    ) {
      InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  inline const std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
  }
  inline std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields<std::string>();
  }

  static const ValidationError& default_instance() {
    return *internal_default_instance();
  }
  static inline const ValidationError* internal_default_instance() {
    return reinterpret_cast<const ValidationError*>(
               &_ValidationError_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    6;

  friend void swap(ValidationError& a, ValidationError& b) {
    a.Swap(&b);
  }
  inline void Swap(ValidationError* other) {
    if (other == this) return;
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() != nullptr &&
        GetOwningArena() == other->GetOwningArena()) {
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
    if (GetOwningArena() == other->GetOwningArena()) {
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(ValidationError* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  ValidationError* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<ValidationError>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const ValidationError& from);
  void MergeFrom(const ValidationError& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  ::size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::uint8_t* _InternalSerialize(
      ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _impl_._cached_size_.Get(); }

  private:
  void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(ValidationError* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "keyapis.kms.v1.ValidationError";
  }
  protected:
  explicit ValidationError(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  enum : int {
    kPathFieldNumber = 1,
    kMessageFieldNumber = 2,
  };
  // string path = 1 [(.google.api.field_behavior) = REQUIRED];
  void clear_path() ;
  const std::string& path() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_path(Arg_&& arg, Args_... args);
  std::string* mutable_path();
  PROTOBUF_NODISCARD std::string* release_path();
  void set_allocated_path(std::string* ptr);

  private:
  const std::string& _internal_path() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_path(
      const std::string& value);
  std::string* _internal_mutable_path();

  public:
  // string message = 2 [(.google.api.field_behavior) = REQUIRED];
  void clear_message() ;
  const std::string& message() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_message(Arg_&& arg, Args_... args);
  std::string* mutable_message();
  PROTOBUF_NODISCARD std::string* release_message();
  void set_allocated_message(std::string* ptr);

  private:
  const std::string& _internal_message() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(
      const std::string& value);
  std::string* _internal_mutable_message();

  public:
  // @@protoc_insertion_point(class_scope:keyapis.kms.v1.ValidationError)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr message_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto;
};

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




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


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

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

// PostKmsJwtCreateJweRequest_PayloadData

// map<string, string> values = 1;
inline int PostKmsJwtCreateJweRequest_PayloadData::_internal_values_size() const {
  return _impl_.values_.size();
}
inline int PostKmsJwtCreateJweRequest_PayloadData::values_size() const {
  return _internal_values_size();
}
inline void PostKmsJwtCreateJweRequest_PayloadData::clear_values() {
  _impl_.values_.Clear();
}
inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
PostKmsJwtCreateJweRequest_PayloadData::_internal_values() const {
  return _impl_.values_.GetMap();
}
inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
PostKmsJwtCreateJweRequest_PayloadData::values() const {
  // @@protoc_insertion_point(field_map:keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData.values)
  return _internal_values();
}
inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
PostKmsJwtCreateJweRequest_PayloadData::_internal_mutable_values() {
  return _impl_.values_.MutableMap();
}
inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
PostKmsJwtCreateJweRequest_PayloadData::mutable_values() {
  // @@protoc_insertion_point(field_mutable_map:keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData.values)
  return _internal_mutable_values();
}

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

// PostKmsJwtCreateJweRequest

// .keyapis.kms.v1.PostKmsJwtCreateJweRequest.PayloadData data = 1 [(.google.api.field_behavior) = REQUIRED];
inline bool PostKmsJwtCreateJweRequest::has_data() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr);
  return value;
}
inline void PostKmsJwtCreateJweRequest::clear_data() {
  if (_impl_.data_ != nullptr) _impl_.data_->Clear();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData& PostKmsJwtCreateJweRequest::_internal_data() const {
  const ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* p = _impl_.data_;
  return p != nullptr ? *p : reinterpret_cast<const ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData&>(
      ::keyapis::kms::v1::_PostKmsJwtCreateJweRequest_PayloadData_default_instance_);
}
inline const ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData& PostKmsJwtCreateJweRequest::data() const {
  // @@protoc_insertion_point(field_get:keyapis.kms.v1.PostKmsJwtCreateJweRequest.data)
  return _internal_data();
}
inline void PostKmsJwtCreateJweRequest::unsafe_arena_set_allocated_data(
    ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* data) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.data_);
  }
  _impl_.data_ = data;
  if (data) {
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:keyapis.kms.v1.PostKmsJwtCreateJweRequest.data)
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* PostKmsJwtCreateJweRequest::release_data() {
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* temp = _impl_.data_;
  _impl_.data_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  if (GetArenaForAllocation() == nullptr) { delete old; }
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
  if (GetArenaForAllocation() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
  return temp;
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* PostKmsJwtCreateJweRequest::unsafe_arena_release_data() {
  // @@protoc_insertion_point(field_release:keyapis.kms.v1.PostKmsJwtCreateJweRequest.data)
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* temp = _impl_.data_;
  _impl_.data_ = nullptr;
  return temp;
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* PostKmsJwtCreateJweRequest::_internal_mutable_data() {
  _impl_._has_bits_[0] |= 0x00000001u;
  if (_impl_.data_ == nullptr) {
    auto* p = CreateMaybeMessage<::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData>(GetArenaForAllocation());
    _impl_.data_ = p;
  }
  return _impl_.data_;
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* PostKmsJwtCreateJweRequest::mutable_data() {
  ::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* _msg = _internal_mutable_data();
  // @@protoc_insertion_point(field_mutable:keyapis.kms.v1.PostKmsJwtCreateJweRequest.data)
  return _msg;
}
inline void PostKmsJwtCreateJweRequest::set_allocated_data(::keyapis::kms::v1::PostKmsJwtCreateJweRequest_PayloadData* data) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete _impl_.data_;
  }
  if (data) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(data);
    if (message_arena != submessage_arena) {
      data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, data, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000001u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000001u;
  }
  _impl_.data_ = data;
  // @@protoc_insertion_point(field_set_allocated:keyapis.kms.v1.PostKmsJwtCreateJweRequest.data)
}

// string public_key = 2 [(.google.api.field_behavior) = REQUIRED];
inline void PostKmsJwtCreateJweRequest::clear_public_key() {
  _impl_.public_key_.ClearToEmpty();
}
inline const std::string& PostKmsJwtCreateJweRequest::public_key() const {
  // @@protoc_insertion_point(field_get:keyapis.kms.v1.PostKmsJwtCreateJweRequest.public_key)
  return _internal_public_key();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void PostKmsJwtCreateJweRequest::set_public_key(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.public_key_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:keyapis.kms.v1.PostKmsJwtCreateJweRequest.public_key)
}
inline std::string* PostKmsJwtCreateJweRequest::mutable_public_key() {
  std::string* _s = _internal_mutable_public_key();
  // @@protoc_insertion_point(field_mutable:keyapis.kms.v1.PostKmsJwtCreateJweRequest.public_key)
  return _s;
}
inline const std::string& PostKmsJwtCreateJweRequest::_internal_public_key() const {
  return _impl_.public_key_.Get();
}
inline void PostKmsJwtCreateJweRequest::_internal_set_public_key(const std::string& value) {
  ;


  _impl_.public_key_.Set(value, GetArenaForAllocation());
}
inline std::string* PostKmsJwtCreateJweRequest::_internal_mutable_public_key() {
  ;
  return _impl_.public_key_.Mutable( GetArenaForAllocation());
}
inline std::string* PostKmsJwtCreateJweRequest::release_public_key() {
  // @@protoc_insertion_point(field_release:keyapis.kms.v1.PostKmsJwtCreateJweRequest.public_key)
  return _impl_.public_key_.Release();
}
inline void PostKmsJwtCreateJweRequest::set_allocated_public_key(std::string* value) {
  _impl_.public_key_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.public_key_.IsDefault()) {
          _impl_.public_key_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:keyapis.kms.v1.PostKmsJwtCreateJweRequest.public_key)
}

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

// PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound

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

// PostKmsJwtCreateJweResponse_Error

// .keyapis.kms.v1.ValidationError validation = 1;
inline bool PostKmsJwtCreateJweResponse_Error::has_validation() const {
  return reason_case() == kValidation;
}
inline bool PostKmsJwtCreateJweResponse_Error::_internal_has_validation() const {
  return reason_case() == kValidation;
}
inline void PostKmsJwtCreateJweResponse_Error::set_has_validation() {
  _impl_._oneof_case_[0] = kValidation;
}
inline void PostKmsJwtCreateJweResponse_Error::clear_validation() {
  if (reason_case() == kValidation) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.reason_.validation_;
    }
    clear_has_reason();
  }
}
inline ::keyapis::kms::v1::ValidationError* PostKmsJwtCreateJweResponse_Error::release_validation() {
  // @@protoc_insertion_point(field_release:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.validation)
  if (reason_case() == kValidation) {
    clear_has_reason();
    ::keyapis::kms::v1::ValidationError* temp = _impl_.reason_.validation_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.reason_.validation_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::keyapis::kms::v1::ValidationError& PostKmsJwtCreateJweResponse_Error::_internal_validation() const {
  return reason_case() == kValidation
      ? *_impl_.reason_.validation_
      : reinterpret_cast<::keyapis::kms::v1::ValidationError&>(::keyapis::kms::v1::_ValidationError_default_instance_);
}
inline const ::keyapis::kms::v1::ValidationError& PostKmsJwtCreateJweResponse_Error::validation() const {
  // @@protoc_insertion_point(field_get:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.validation)
  return _internal_validation();
}
inline ::keyapis::kms::v1::ValidationError* PostKmsJwtCreateJweResponse_Error::unsafe_arena_release_validation() {
  // @@protoc_insertion_point(field_unsafe_arena_release:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.validation)
  if (reason_case() == kValidation) {
    clear_has_reason();
    ::keyapis::kms::v1::ValidationError* temp = _impl_.reason_.validation_;
    _impl_.reason_.validation_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PostKmsJwtCreateJweResponse_Error::unsafe_arena_set_allocated_validation(::keyapis::kms::v1::ValidationError* validation) {
  clear_reason();
  if (validation) {
    set_has_validation();
    _impl_.reason_.validation_ = validation;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.validation)
}
inline ::keyapis::kms::v1::ValidationError* PostKmsJwtCreateJweResponse_Error::_internal_mutable_validation() {
  if (reason_case() != kValidation) {
    clear_reason();
    set_has_validation();
    _impl_.reason_.validation_ = CreateMaybeMessage< ::keyapis::kms::v1::ValidationError >(GetArenaForAllocation());
  }
  return _impl_.reason_.validation_;
}
inline ::keyapis::kms::v1::ValidationError* PostKmsJwtCreateJweResponse_Error::mutable_validation() {
  ::keyapis::kms::v1::ValidationError* _msg = _internal_mutable_validation();
  // @@protoc_insertion_point(field_mutable:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.validation)
  return _msg;
}

// .keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.PrivateKeyNotFound private_key_not_found = 2;
inline bool PostKmsJwtCreateJweResponse_Error::has_private_key_not_found() const {
  return reason_case() == kPrivateKeyNotFound;
}
inline bool PostKmsJwtCreateJweResponse_Error::_internal_has_private_key_not_found() const {
  return reason_case() == kPrivateKeyNotFound;
}
inline void PostKmsJwtCreateJweResponse_Error::set_has_private_key_not_found() {
  _impl_._oneof_case_[0] = kPrivateKeyNotFound;
}
inline void PostKmsJwtCreateJweResponse_Error::clear_private_key_not_found() {
  if (reason_case() == kPrivateKeyNotFound) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.reason_.private_key_not_found_;
    }
    clear_has_reason();
  }
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* PostKmsJwtCreateJweResponse_Error::release_private_key_not_found() {
  // @@protoc_insertion_point(field_release:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.private_key_not_found)
  if (reason_case() == kPrivateKeyNotFound) {
    clear_has_reason();
    ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* temp = _impl_.reason_.private_key_not_found_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.reason_.private_key_not_found_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& PostKmsJwtCreateJweResponse_Error::_internal_private_key_not_found() const {
  return reason_case() == kPrivateKeyNotFound
      ? *_impl_.reason_.private_key_not_found_
      : reinterpret_cast<::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound&>(::keyapis::kms::v1::_PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound_default_instance_);
}
inline const ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound& PostKmsJwtCreateJweResponse_Error::private_key_not_found() const {
  // @@protoc_insertion_point(field_get:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.private_key_not_found)
  return _internal_private_key_not_found();
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* PostKmsJwtCreateJweResponse_Error::unsafe_arena_release_private_key_not_found() {
  // @@protoc_insertion_point(field_unsafe_arena_release:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.private_key_not_found)
  if (reason_case() == kPrivateKeyNotFound) {
    clear_has_reason();
    ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* temp = _impl_.reason_.private_key_not_found_;
    _impl_.reason_.private_key_not_found_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PostKmsJwtCreateJweResponse_Error::unsafe_arena_set_allocated_private_key_not_found(::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* private_key_not_found) {
  clear_reason();
  if (private_key_not_found) {
    set_has_private_key_not_found();
    _impl_.reason_.private_key_not_found_ = private_key_not_found;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.private_key_not_found)
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* PostKmsJwtCreateJweResponse_Error::_internal_mutable_private_key_not_found() {
  if (reason_case() != kPrivateKeyNotFound) {
    clear_reason();
    set_has_private_key_not_found();
    _impl_.reason_.private_key_not_found_ = CreateMaybeMessage< ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound >(GetArenaForAllocation());
  }
  return _impl_.reason_.private_key_not_found_;
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* PostKmsJwtCreateJweResponse_Error::mutable_private_key_not_found() {
  ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error_PrivateKeyNotFound* _msg = _internal_mutable_private_key_not_found();
  // @@protoc_insertion_point(field_mutable:keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error.private_key_not_found)
  return _msg;
}

inline bool PostKmsJwtCreateJweResponse_Error::has_reason() const {
  return reason_case() != REASON_NOT_SET;
}
inline void PostKmsJwtCreateJweResponse_Error::clear_has_reason() {
  _impl_._oneof_case_[0] = REASON_NOT_SET;
}
inline PostKmsJwtCreateJweResponse_Error::ReasonCase PostKmsJwtCreateJweResponse_Error::reason_case() const {
  return PostKmsJwtCreateJweResponse_Error::ReasonCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// PostKmsJwtCreateJweResponse

// string data = 1;
inline bool PostKmsJwtCreateJweResponse::has_data() const {
  return type_case() == kData;
}
inline void PostKmsJwtCreateJweResponse::set_has_data() {
  _impl_._oneof_case_[0] = kData;
}
inline void PostKmsJwtCreateJweResponse::clear_data() {
  if (type_case() == kData) {
    _impl_.type_.data_.Destroy();
    clear_has_type();
  }
}
inline const std::string& PostKmsJwtCreateJweResponse::data() const {
  // @@protoc_insertion_point(field_get:keyapis.kms.v1.PostKmsJwtCreateJweResponse.data)
  return _internal_data();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void PostKmsJwtCreateJweResponse::set_data(Arg_&& arg,
                                                     Args_... args) {
  if (type_case() != kData) {
    clear_type();

    set_has_data();
    _impl_.type_.data_.InitDefault();
  }
  _impl_.type_.data_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:keyapis.kms.v1.PostKmsJwtCreateJweResponse.data)
}
inline std::string* PostKmsJwtCreateJweResponse::mutable_data() {
  std::string* _s = _internal_mutable_data();
  // @@protoc_insertion_point(field_mutable:keyapis.kms.v1.PostKmsJwtCreateJweResponse.data)
  return _s;
}
inline const std::string& PostKmsJwtCreateJweResponse::_internal_data() const {
  if (type_case() != kData) {
    return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
  }
  return _impl_.type_.data_.Get();
}
inline void PostKmsJwtCreateJweResponse::_internal_set_data(const std::string& value) {
  if (type_case() != kData) {
    clear_type();

    set_has_data();
    _impl_.type_.data_.InitDefault();
  }


  _impl_.type_.data_.Set(value, GetArenaForAllocation());
}
inline std::string* PostKmsJwtCreateJweResponse::_internal_mutable_data() {
  if (type_case() != kData) {
    clear_type();

    set_has_data();
    _impl_.type_.data_.InitDefault();
  }
  return _impl_.type_.data_.Mutable( GetArenaForAllocation());
}
inline std::string* PostKmsJwtCreateJweResponse::release_data() {
  // @@protoc_insertion_point(field_release:keyapis.kms.v1.PostKmsJwtCreateJweResponse.data)
  if (type_case() != kData) {
    return nullptr;
  }
  clear_has_type();
  return _impl_.type_.data_.Release();
}
inline void PostKmsJwtCreateJweResponse::set_allocated_data(std::string* value) {
  if (has_type()) {
    clear_type();
  }
  if (value != nullptr) {
    set_has_data();
    _impl_.type_.data_.InitAllocated(value, GetArenaForAllocation());
  }
  // @@protoc_insertion_point(field_set_allocated:keyapis.kms.v1.PostKmsJwtCreateJweResponse.data)
}

// .keyapis.kms.v1.PostKmsJwtCreateJweResponse.Error error = 2;
inline bool PostKmsJwtCreateJweResponse::has_error() const {
  return type_case() == kError;
}
inline bool PostKmsJwtCreateJweResponse::_internal_has_error() const {
  return type_case() == kError;
}
inline void PostKmsJwtCreateJweResponse::set_has_error() {
  _impl_._oneof_case_[0] = kError;
}
inline void PostKmsJwtCreateJweResponse::clear_error() {
  if (type_case() == kError) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.type_.error_;
    }
    clear_has_type();
  }
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* PostKmsJwtCreateJweResponse::release_error() {
  // @@protoc_insertion_point(field_release:keyapis.kms.v1.PostKmsJwtCreateJweResponse.error)
  if (type_case() == kError) {
    clear_has_type();
    ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* temp = _impl_.type_.error_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.type_.error_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error& PostKmsJwtCreateJweResponse::_internal_error() const {
  return type_case() == kError
      ? *_impl_.type_.error_
      : reinterpret_cast<::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error&>(::keyapis::kms::v1::_PostKmsJwtCreateJweResponse_Error_default_instance_);
}
inline const ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error& PostKmsJwtCreateJweResponse::error() const {
  // @@protoc_insertion_point(field_get:keyapis.kms.v1.PostKmsJwtCreateJweResponse.error)
  return _internal_error();
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* PostKmsJwtCreateJweResponse::unsafe_arena_release_error() {
  // @@protoc_insertion_point(field_unsafe_arena_release:keyapis.kms.v1.PostKmsJwtCreateJweResponse.error)
  if (type_case() == kError) {
    clear_has_type();
    ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* temp = _impl_.type_.error_;
    _impl_.type_.error_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void PostKmsJwtCreateJweResponse::unsafe_arena_set_allocated_error(::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* error) {
  clear_type();
  if (error) {
    set_has_error();
    _impl_.type_.error_ = error;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:keyapis.kms.v1.PostKmsJwtCreateJweResponse.error)
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* PostKmsJwtCreateJweResponse::_internal_mutable_error() {
  if (type_case() != kError) {
    clear_type();
    set_has_error();
    _impl_.type_.error_ = CreateMaybeMessage< ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error >(GetArenaForAllocation());
  }
  return _impl_.type_.error_;
}
inline ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* PostKmsJwtCreateJweResponse::mutable_error() {
  ::keyapis::kms::v1::PostKmsJwtCreateJweResponse_Error* _msg = _internal_mutable_error();
  // @@protoc_insertion_point(field_mutable:keyapis.kms.v1.PostKmsJwtCreateJweResponse.error)
  return _msg;
}

inline bool PostKmsJwtCreateJweResponse::has_type() const {
  return type_case() != TYPE_NOT_SET;
}
inline void PostKmsJwtCreateJweResponse::clear_has_type() {
  _impl_._oneof_case_[0] = TYPE_NOT_SET;
}
inline PostKmsJwtCreateJweResponse::TypeCase PostKmsJwtCreateJweResponse::type_case() const {
  return PostKmsJwtCreateJweResponse::TypeCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// ValidationError

// string path = 1 [(.google.api.field_behavior) = REQUIRED];
inline void ValidationError::clear_path() {
  _impl_.path_.ClearToEmpty();
}
inline const std::string& ValidationError::path() const {
  // @@protoc_insertion_point(field_get:keyapis.kms.v1.ValidationError.path)
  return _internal_path();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ValidationError::set_path(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.path_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:keyapis.kms.v1.ValidationError.path)
}
inline std::string* ValidationError::mutable_path() {
  std::string* _s = _internal_mutable_path();
  // @@protoc_insertion_point(field_mutable:keyapis.kms.v1.ValidationError.path)
  return _s;
}
inline const std::string& ValidationError::_internal_path() const {
  return _impl_.path_.Get();
}
inline void ValidationError::_internal_set_path(const std::string& value) {
  ;


  _impl_.path_.Set(value, GetArenaForAllocation());
}
inline std::string* ValidationError::_internal_mutable_path() {
  ;
  return _impl_.path_.Mutable( GetArenaForAllocation());
}
inline std::string* ValidationError::release_path() {
  // @@protoc_insertion_point(field_release:keyapis.kms.v1.ValidationError.path)
  return _impl_.path_.Release();
}
inline void ValidationError::set_allocated_path(std::string* value) {
  _impl_.path_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.path_.IsDefault()) {
          _impl_.path_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:keyapis.kms.v1.ValidationError.path)
}

// string message = 2 [(.google.api.field_behavior) = REQUIRED];
inline void ValidationError::clear_message() {
  _impl_.message_.ClearToEmpty();
}
inline const std::string& ValidationError::message() const {
  // @@protoc_insertion_point(field_get:keyapis.kms.v1.ValidationError.message)
  return _internal_message();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ValidationError::set_message(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.message_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:keyapis.kms.v1.ValidationError.message)
}
inline std::string* ValidationError::mutable_message() {
  std::string* _s = _internal_mutable_message();
  // @@protoc_insertion_point(field_mutable:keyapis.kms.v1.ValidationError.message)
  return _s;
}
inline const std::string& ValidationError::_internal_message() const {
  return _impl_.message_.Get();
}
inline void ValidationError::_internal_set_message(const std::string& value) {
  ;


  _impl_.message_.Set(value, GetArenaForAllocation());
}
inline std::string* ValidationError::_internal_mutable_message() {
  ;
  return _impl_.message_.Mutable( GetArenaForAllocation());
}
inline std::string* ValidationError::release_message() {
  // @@protoc_insertion_point(field_release:keyapis.kms.v1.ValidationError.message)
  return _impl_.message_.Release();
}
inline void ValidationError::set_allocated_message(std::string* value) {
  _impl_.message_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.message_.IsDefault()) {
          _impl_.message_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:keyapis.kms.v1.ValidationError.message)
}

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

// @@protoc_insertion_point(namespace_scope)
}  // namespace v1
}  // namespace kms
}  // namespace keyapis


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"

#endif  // GOOGLE_PROTOBUF_INCLUDED_keyapis_2fkms_2fv1_2fkeyapis_5fkms_5fjwt_5fv1_2eproto_2epb_2eh
