// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: deviceapis/device/v1/deviceapis_device_fr_v1.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5ffr_5fv1_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5ffr_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 "deviceapis/device/v1/deviceapis_device_common_v1.pb.h"
#include "google/api/annotations.pb.h"
#include "google/api/field_behavior.pb.h"
#include "google/protobuf/field_mask.pb.h"
#include "protoc-gen-openapiv2/options/annotations.pb.h"
// @@protoc_insertion_point(includes)

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

#define PROTOBUF_INTERNAL_EXPORT_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5ffr_5fv1_2eproto

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

// Internal implementation detail -- do not use these members.
struct TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5ffr_5fv1_2eproto {
  static const ::uint32_t offsets[];
};
namespace deviceapis {
namespace device {
namespace v1 {
class EditFacerecRequest;
struct EditFacerecRequestDefaultTypeInternal;
extern EditFacerecRequestDefaultTypeInternal _EditFacerecRequest_default_instance_;
class EditFacerecResponse;
struct EditFacerecResponseDefaultTypeInternal;
extern EditFacerecResponseDefaultTypeInternal _EditFacerecResponse_default_instance_;
class EditFacerecResponse_Error;
struct EditFacerecResponse_ErrorDefaultTypeInternal;
extern EditFacerecResponse_ErrorDefaultTypeInternal _EditFacerecResponse_Error_default_instance_;
class Facerec;
struct FacerecDefaultTypeInternal;
extern FacerecDefaultTypeInternal _Facerec_default_instance_;
class GetFacerecRequest;
struct GetFacerecRequestDefaultTypeInternal;
extern GetFacerecRequestDefaultTypeInternal _GetFacerecRequest_default_instance_;
class GetFacerecResponse;
struct GetFacerecResponseDefaultTypeInternal;
extern GetFacerecResponseDefaultTypeInternal _GetFacerecResponse_default_instance_;
}  // namespace v1
}  // namespace device
}  // namespace deviceapis
PROTOBUF_NAMESPACE_OPEN
template <>
::deviceapis::device::v1::EditFacerecRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::EditFacerecRequest>(Arena*);
template <>
::deviceapis::device::v1::EditFacerecResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::EditFacerecResponse>(Arena*);
template <>
::deviceapis::device::v1::EditFacerecResponse_Error* Arena::CreateMaybeMessage<::deviceapis::device::v1::EditFacerecResponse_Error>(Arena*);
template <>
::deviceapis::device::v1::Facerec* Arena::CreateMaybeMessage<::deviceapis::device::v1::Facerec>(Arena*);
template <>
::deviceapis::device::v1::GetFacerecRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetFacerecRequest>(Arena*);
template <>
::deviceapis::device::v1::GetFacerecResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetFacerecResponse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

namespace deviceapis {
namespace device {
namespace v1 {

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


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

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

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

  inline EditFacerecRequest& operator=(const EditFacerecRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline EditFacerecRequest& operator=(EditFacerecRequest&& 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 EditFacerecRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const EditFacerecRequest* internal_default_instance() {
    return reinterpret_cast<const EditFacerecRequest*>(
               &_EditFacerecRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(EditFacerecRequest& a, EditFacerecRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(EditFacerecRequest* 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(EditFacerecRequest* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  EditFacerecRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<EditFacerecRequest>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const EditFacerecRequest& from);
  void MergeFrom(const EditFacerecRequest& 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(EditFacerecRequest* other);

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kDataFieldNumber = 1,
    kUpdateMaskFieldNumber = 2,
  };
  // .deviceapis.device.v1.Facerec data = 1 [(.google.api.field_behavior) = REQUIRED];
  bool has_data() const;
  void clear_data() ;
  const ::deviceapis::device::v1::Facerec& data() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::Facerec* release_data();
  ::deviceapis::device::v1::Facerec* mutable_data();
  void set_allocated_data(::deviceapis::device::v1::Facerec* data);
  private:
  const ::deviceapis::device::v1::Facerec& _internal_data() const;
  ::deviceapis::device::v1::Facerec* _internal_mutable_data();
  public:
  void unsafe_arena_set_allocated_data(
      ::deviceapis::device::v1::Facerec* data);
  ::deviceapis::device::v1::Facerec* unsafe_arena_release_data();
  // .google.protobuf.FieldMask update_mask = 2;
  bool has_update_mask() const;
  void clear_update_mask() ;
  const ::PROTOBUF_NAMESPACE_ID::FieldMask& update_mask() const;
  PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::FieldMask* release_update_mask();
  ::PROTOBUF_NAMESPACE_ID::FieldMask* mutable_update_mask();
  void set_allocated_update_mask(::PROTOBUF_NAMESPACE_ID::FieldMask* update_mask);
  private:
  const ::PROTOBUF_NAMESPACE_ID::FieldMask& _internal_update_mask() const;
  ::PROTOBUF_NAMESPACE_ID::FieldMask* _internal_mutable_update_mask();
  public:
  void unsafe_arena_set_allocated_update_mask(
      ::PROTOBUF_NAMESPACE_ID::FieldMask* update_mask);
  ::PROTOBUF_NAMESPACE_ID::FieldMask* unsafe_arena_release_update_mask();
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.EditFacerecRequest)
 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_;
    ::deviceapis::device::v1::Facerec* data_;
    ::PROTOBUF_NAMESPACE_ID::FieldMask* update_mask_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5ffr_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

  inline EditFacerecResponse_Error& operator=(const EditFacerecResponse_Error& from) {
    CopyFrom(from);
    return *this;
  }
  inline EditFacerecResponse_Error& operator=(EditFacerecResponse_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 EditFacerecResponse_Error& default_instance() {
    return *internal_default_instance();
  }
  enum ReasonCase {
    kValidation = 1,
    REASON_NOT_SET = 0,
  };

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

  friend void swap(EditFacerecResponse_Error& a, EditFacerecResponse_Error& b) {
    a.Swap(&b);
  }
  inline void Swap(EditFacerecResponse_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(EditFacerecResponse_Error* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  EditFacerecResponse_Error* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<EditFacerecResponse_Error>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const EditFacerecResponse_Error& from);
  void MergeFrom(const EditFacerecResponse_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(EditFacerecResponse_Error* other);

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "deviceapis.device.v1.EditFacerecResponse.Error";
  }
  protected:
  explicit EditFacerecResponse_Error(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  std::string GetTypeName() const final;

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

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

  enum : int {
    kValidationFieldNumber = 1,
  };
  // .deviceapis.device.v1.ValidationError validation = 1;
  bool has_validation() const;
  private:
  bool _internal_has_validation() const;

  public:
  void clear_validation() ;
  const ::deviceapis::device::v1::ValidationError& validation() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::ValidationError* release_validation();
  ::deviceapis::device::v1::ValidationError* mutable_validation();
  void set_allocated_validation(::deviceapis::device::v1::ValidationError* validation);
  private:
  const ::deviceapis::device::v1::ValidationError& _internal_validation() const;
  ::deviceapis::device::v1::ValidationError* _internal_mutable_validation();
  public:
  void unsafe_arena_set_allocated_validation(
      ::deviceapis::device::v1::ValidationError* validation);
  ::deviceapis::device::v1::ValidationError* unsafe_arena_release_validation();
  void clear_reason();
  ReasonCase reason_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.EditFacerecResponse.Error)
 private:
  class _Internal;
  void set_has_validation();

  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_;
      ::deviceapis::device::v1::ValidationError* validation_;
    } reason_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];

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

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

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

  inline EditFacerecResponse& operator=(const EditFacerecResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline EditFacerecResponse& operator=(EditFacerecResponse&& 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 EditFacerecResponse& default_instance() {
    return *internal_default_instance();
  }
  enum TypeCase {
    kError = 1,
    TYPE_NOT_SET = 0,
  };

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

  friend void swap(EditFacerecResponse& a, EditFacerecResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(EditFacerecResponse* 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(EditFacerecResponse* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  EditFacerecResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<EditFacerecResponse>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const EditFacerecResponse& from);
  void MergeFrom(const EditFacerecResponse& 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(EditFacerecResponse* other);

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

  std::string GetTypeName() const final;

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

  typedef EditFacerecResponse_Error Error;

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

  enum : int {
    kErrorFieldNumber = 1,
  };
  // .deviceapis.device.v1.EditFacerecResponse.Error error = 1;
  bool has_error() const;
  private:
  bool _internal_has_error() const;

  public:
  void clear_error() ;
  const ::deviceapis::device::v1::EditFacerecResponse_Error& error() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::EditFacerecResponse_Error* release_error();
  ::deviceapis::device::v1::EditFacerecResponse_Error* mutable_error();
  void set_allocated_error(::deviceapis::device::v1::EditFacerecResponse_Error* error);
  private:
  const ::deviceapis::device::v1::EditFacerecResponse_Error& _internal_error() const;
  ::deviceapis::device::v1::EditFacerecResponse_Error* _internal_mutable_error();
  public:
  void unsafe_arena_set_allocated_error(
      ::deviceapis::device::v1::EditFacerecResponse_Error* error);
  ::deviceapis::device::v1::EditFacerecResponse_Error* unsafe_arena_release_error();
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.EditFacerecResponse)
 private:
  class _Internal;
  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_;
      ::deviceapis::device::v1::EditFacerecResponse_Error* error_;
    } type_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];

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

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

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

  inline Facerec& operator=(const Facerec& from) {
    CopyFrom(from);
    return *this;
  }
  inline Facerec& operator=(Facerec&& 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 Facerec& default_instance() {
    return *internal_default_instance();
  }
  static inline const Facerec* internal_default_instance() {
    return reinterpret_cast<const Facerec*>(
               &_Facerec_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  friend void swap(Facerec& a, Facerec& b) {
    a.Swap(&b);
  }
  inline void Swap(Facerec* 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(Facerec* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  Facerec* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<Facerec>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const Facerec& from);
  void MergeFrom(const Facerec& 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(Facerec* other);

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kGroupsFieldNumber = 6,
    kMainAddressFieldNumber = 2,
    kAltAddressFieldNumber = 3,
    kRequestFieldNumber = 4,
    kAuthorizationFieldNumber = 5,
    kIsEnabledFieldNumber = 1,
    kRelayIndexFieldNumber = 7,
    kSendIntervalFieldNumber = 8,
    kFaceLivenessFieldNumber = 9,
    kMinFaceSizeFieldNumber = 10,
    kMaxFaceSizeFieldNumber = 11,
    kAddSizeFieldNumber = 12,
  };
  // repeated string groups = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  int groups_size() const;
  private:
  int _internal_groups_size() const;

  public:
  void clear_groups() ;
  const std::string& groups(int index) const;
  std::string* mutable_groups(int index);
  void set_groups(int index, const std::string& value);
  void set_groups(int index, std::string&& value);
  void set_groups(int index, const char* value);
  void set_groups(int index, const char* value, std::size_t size);
  void set_groups(int index, absl::string_view value);
  std::string* add_groups();
  void add_groups(const std::string& value);
  void add_groups(std::string&& value);
  void add_groups(const char* value);
  void add_groups(const char* value, std::size_t size);
  void add_groups(absl::string_view value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& groups() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_groups();

  private:
  const std::string& _internal_groups(int index) const;
  std::string* _internal_add_groups();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& _internal_groups() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* _internal_mutable_groups();

  public:
  // string main_address = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_main_address() ;
  const std::string& main_address() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_main_address(Arg_&& arg, Args_... args);
  std::string* mutable_main_address();
  PROTOBUF_NODISCARD std::string* release_main_address();
  void set_allocated_main_address(std::string* ptr);

  private:
  const std::string& _internal_main_address() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_main_address(
      const std::string& value);
  std::string* _internal_mutable_main_address();

  public:
  // string alt_address = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_alt_address() ;
  const std::string& alt_address() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_alt_address(Arg_&& arg, Args_... args);
  std::string* mutable_alt_address();
  PROTOBUF_NODISCARD std::string* release_alt_address();
  void set_allocated_alt_address(std::string* ptr);

  private:
  const std::string& _internal_alt_address() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_alt_address(
      const std::string& value);
  std::string* _internal_mutable_alt_address();

  public:
  // string request = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_request() ;
  const std::string& request() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_request(Arg_&& arg, Args_... args);
  std::string* mutable_request();
  PROTOBUF_NODISCARD std::string* release_request();
  void set_allocated_request(std::string* ptr);

  private:
  const std::string& _internal_request() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_request(
      const std::string& value);
  std::string* _internal_mutable_request();

  public:
  // string authorization = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_authorization() ;
  const std::string& authorization() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_authorization(Arg_&& arg, Args_... args);
  std::string* mutable_authorization();
  PROTOBUF_NODISCARD std::string* release_authorization();
  void set_allocated_authorization(std::string* ptr);

  private:
  const std::string& _internal_authorization() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_authorization(
      const std::string& value);
  std::string* _internal_mutable_authorization();

  public:
  // bool is_enabled = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_is_enabled() ;
  bool is_enabled() const;
  void set_is_enabled(bool value);

  private:
  bool _internal_is_enabled() const;
  void _internal_set_is_enabled(bool value);

  public:
  // int32 relay_index = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_relay_index() ;
  ::int32_t relay_index() const;
  void set_relay_index(::int32_t value);

  private:
  ::int32_t _internal_relay_index() const;
  void _internal_set_relay_index(::int32_t value);

  public:
  // int32 send_interval = 8 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_send_interval() ;
  ::int32_t send_interval() const;
  void set_send_interval(::int32_t value);

  private:
  ::int32_t _internal_send_interval() const;
  void _internal_set_send_interval(::int32_t value);

  public:
  // float face_liveness = 9 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_face_liveness() ;
  float face_liveness() const;
  void set_face_liveness(float value);

  private:
  float _internal_face_liveness() const;
  void _internal_set_face_liveness(float value);

  public:
  // int32 min_face_size = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_min_face_size() ;
  ::int32_t min_face_size() const;
  void set_min_face_size(::int32_t value);

  private:
  ::int32_t _internal_min_face_size() const;
  void _internal_set_min_face_size(::int32_t value);

  public:
  // int32 max_face_size = 11 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_max_face_size() ;
  ::int32_t max_face_size() const;
  void set_max_face_size(::int32_t value);

  private:
  ::int32_t _internal_max_face_size() const;
  void _internal_set_max_face_size(::int32_t value);

  public:
  // int32 add_size = 12 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_add_size() ;
  ::int32_t add_size() const;
  void set_add_size(::int32_t value);

  private:
  ::int32_t _internal_add_size() const;
  void _internal_set_add_size(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.Facerec)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> groups_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr main_address_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr alt_address_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr authorization_;
    bool is_enabled_;
    ::int32_t relay_index_;
    ::int32_t send_interval_;
    float face_liveness_;
    ::int32_t min_face_size_;
    ::int32_t max_face_size_;
    ::int32_t add_size_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5ffr_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

  inline GetFacerecRequest& operator=(const GetFacerecRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline GetFacerecRequest& operator=(GetFacerecRequest&& 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 GetFacerecRequest& default_instance() {
    return *internal_default_instance();
  }
  static inline const GetFacerecRequest* internal_default_instance() {
    return reinterpret_cast<const GetFacerecRequest*>(
               &_GetFacerecRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    4;

  friend void swap(GetFacerecRequest& a, GetFacerecRequest& b) {
    a.Swap(&b);
  }
  inline void Swap(GetFacerecRequest* 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(GetFacerecRequest* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  GetFacerecRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<GetFacerecRequest>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const GetFacerecRequest& from);
  void MergeFrom(const GetFacerecRequest& 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(GetFacerecRequest* other);

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

  std::string GetTypeName() const final;

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

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

  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.GetFacerecRequest)
 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_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5ffr_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

  inline GetFacerecResponse& operator=(const GetFacerecResponse& from) {
    CopyFrom(from);
    return *this;
  }
  inline GetFacerecResponse& operator=(GetFacerecResponse&& 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 GetFacerecResponse& default_instance() {
    return *internal_default_instance();
  }
  enum TypeCase {
    kData = 1,
    TYPE_NOT_SET = 0,
  };

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

  friend void swap(GetFacerecResponse& a, GetFacerecResponse& b) {
    a.Swap(&b);
  }
  inline void Swap(GetFacerecResponse* 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(GetFacerecResponse* other) {
    if (other == this) return;
    ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
    InternalSwap(other);
  }

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

  GetFacerecResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
    return CreateMaybeMessage<GetFacerecResponse>(arena);
  }
  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
  void CopyFrom(const GetFacerecResponse& from);
  void MergeFrom(const GetFacerecResponse& 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(GetFacerecResponse* other);

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kDataFieldNumber = 1,
  };
  // .deviceapis.device.v1.Facerec data = 1;
  bool has_data() const;
  private:
  bool _internal_has_data() const;

  public:
  void clear_data() ;
  const ::deviceapis::device::v1::Facerec& data() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::Facerec* release_data();
  ::deviceapis::device::v1::Facerec* mutable_data();
  void set_allocated_data(::deviceapis::device::v1::Facerec* data);
  private:
  const ::deviceapis::device::v1::Facerec& _internal_data() const;
  ::deviceapis::device::v1::Facerec* _internal_mutable_data();
  public:
  void unsafe_arena_set_allocated_data(
      ::deviceapis::device::v1::Facerec* data);
  ::deviceapis::device::v1::Facerec* unsafe_arena_release_data();
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.GetFacerecResponse)
 private:
  class _Internal;
  void set_has_data();

  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_;
      ::deviceapis::device::v1::Facerec* data_;
    } type_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];

  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5ffr_5fv1_2eproto;
};

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




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


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

// EditFacerecRequest

// .deviceapis.device.v1.Facerec data = 1 [(.google.api.field_behavior) = REQUIRED];
inline bool EditFacerecRequest::has_data() const {
  bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr);
  return value;
}
inline void EditFacerecRequest::clear_data() {
  if (_impl_.data_ != nullptr) _impl_.data_->Clear();
  _impl_._has_bits_[0] &= ~0x00000001u;
}
inline const ::deviceapis::device::v1::Facerec& EditFacerecRequest::_internal_data() const {
  const ::deviceapis::device::v1::Facerec* p = _impl_.data_;
  return p != nullptr ? *p : reinterpret_cast<const ::deviceapis::device::v1::Facerec&>(
      ::deviceapis::device::v1::_Facerec_default_instance_);
}
inline const ::deviceapis::device::v1::Facerec& EditFacerecRequest::data() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.EditFacerecRequest.data)
  return _internal_data();
}
inline void EditFacerecRequest::unsafe_arena_set_allocated_data(
    ::deviceapis::device::v1::Facerec* 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:deviceapis.device.v1.EditFacerecRequest.data)
}
inline ::deviceapis::device::v1::Facerec* EditFacerecRequest::release_data() {
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::deviceapis::device::v1::Facerec* 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 ::deviceapis::device::v1::Facerec* EditFacerecRequest::unsafe_arena_release_data() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.EditFacerecRequest.data)
  _impl_._has_bits_[0] &= ~0x00000001u;
  ::deviceapis::device::v1::Facerec* temp = _impl_.data_;
  _impl_.data_ = nullptr;
  return temp;
}
inline ::deviceapis::device::v1::Facerec* EditFacerecRequest::_internal_mutable_data() {
  _impl_._has_bits_[0] |= 0x00000001u;
  if (_impl_.data_ == nullptr) {
    auto* p = CreateMaybeMessage<::deviceapis::device::v1::Facerec>(GetArenaForAllocation());
    _impl_.data_ = p;
  }
  return _impl_.data_;
}
inline ::deviceapis::device::v1::Facerec* EditFacerecRequest::mutable_data() {
  ::deviceapis::device::v1::Facerec* _msg = _internal_mutable_data();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.EditFacerecRequest.data)
  return _msg;
}
inline void EditFacerecRequest::set_allocated_data(::deviceapis::device::v1::Facerec* 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:deviceapis.device.v1.EditFacerecRequest.data)
}

// .google.protobuf.FieldMask update_mask = 2;
inline bool EditFacerecRequest::has_update_mask() const {
  bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  PROTOBUF_ASSUME(!value || _impl_.update_mask_ != nullptr);
  return value;
}
inline const ::PROTOBUF_NAMESPACE_ID::FieldMask& EditFacerecRequest::_internal_update_mask() const {
  const ::PROTOBUF_NAMESPACE_ID::FieldMask* p = _impl_.update_mask_;
  return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::FieldMask&>(
      ::PROTOBUF_NAMESPACE_ID::_FieldMask_default_instance_);
}
inline const ::PROTOBUF_NAMESPACE_ID::FieldMask& EditFacerecRequest::update_mask() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.EditFacerecRequest.update_mask)
  return _internal_update_mask();
}
inline void EditFacerecRequest::unsafe_arena_set_allocated_update_mask(
    ::PROTOBUF_NAMESPACE_ID::FieldMask* update_mask) {
  if (GetArenaForAllocation() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_mask_);
  }
  _impl_.update_mask_ = update_mask;
  if (update_mask) {
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:deviceapis.device.v1.EditFacerecRequest.update_mask)
}
inline ::PROTOBUF_NAMESPACE_ID::FieldMask* EditFacerecRequest::release_update_mask() {
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::PROTOBUF_NAMESPACE_ID::FieldMask* temp = _impl_.update_mask_;
  _impl_.update_mask_ = 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 ::PROTOBUF_NAMESPACE_ID::FieldMask* EditFacerecRequest::unsafe_arena_release_update_mask() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.EditFacerecRequest.update_mask)
  _impl_._has_bits_[0] &= ~0x00000002u;
  ::PROTOBUF_NAMESPACE_ID::FieldMask* temp = _impl_.update_mask_;
  _impl_.update_mask_ = nullptr;
  return temp;
}
inline ::PROTOBUF_NAMESPACE_ID::FieldMask* EditFacerecRequest::_internal_mutable_update_mask() {
  _impl_._has_bits_[0] |= 0x00000002u;
  if (_impl_.update_mask_ == nullptr) {
    auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FieldMask>(GetArenaForAllocation());
    _impl_.update_mask_ = p;
  }
  return _impl_.update_mask_;
}
inline ::PROTOBUF_NAMESPACE_ID::FieldMask* EditFacerecRequest::mutable_update_mask() {
  ::PROTOBUF_NAMESPACE_ID::FieldMask* _msg = _internal_mutable_update_mask();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.EditFacerecRequest.update_mask)
  return _msg;
}
inline void EditFacerecRequest::set_allocated_update_mask(::PROTOBUF_NAMESPACE_ID::FieldMask* update_mask) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.update_mask_);
  }
  if (update_mask) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
                reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(update_mask));
    if (message_arena != submessage_arena) {
      update_mask = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, update_mask, submessage_arena);
    }
    _impl_._has_bits_[0] |= 0x00000002u;
  } else {
    _impl_._has_bits_[0] &= ~0x00000002u;
  }
  _impl_.update_mask_ = update_mask;
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.EditFacerecRequest.update_mask)
}

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

// EditFacerecResponse_Error

// .deviceapis.device.v1.ValidationError validation = 1;
inline bool EditFacerecResponse_Error::has_validation() const {
  return reason_case() == kValidation;
}
inline bool EditFacerecResponse_Error::_internal_has_validation() const {
  return reason_case() == kValidation;
}
inline void EditFacerecResponse_Error::set_has_validation() {
  _impl_._oneof_case_[0] = kValidation;
}
inline ::deviceapis::device::v1::ValidationError* EditFacerecResponse_Error::release_validation() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.EditFacerecResponse.Error.validation)
  if (reason_case() == kValidation) {
    clear_has_reason();
    ::deviceapis::device::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 ::deviceapis::device::v1::ValidationError& EditFacerecResponse_Error::_internal_validation() const {
  return reason_case() == kValidation
      ? *_impl_.reason_.validation_
      : reinterpret_cast<::deviceapis::device::v1::ValidationError&>(::deviceapis::device::v1::_ValidationError_default_instance_);
}
inline const ::deviceapis::device::v1::ValidationError& EditFacerecResponse_Error::validation() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.EditFacerecResponse.Error.validation)
  return _internal_validation();
}
inline ::deviceapis::device::v1::ValidationError* EditFacerecResponse_Error::unsafe_arena_release_validation() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.EditFacerecResponse.Error.validation)
  if (reason_case() == kValidation) {
    clear_has_reason();
    ::deviceapis::device::v1::ValidationError* temp = _impl_.reason_.validation_;
    _impl_.reason_.validation_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void EditFacerecResponse_Error::unsafe_arena_set_allocated_validation(::deviceapis::device::v1::ValidationError* validation) {
  clear_reason();
  if (validation) {
    set_has_validation();
    _impl_.reason_.validation_ = validation;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:deviceapis.device.v1.EditFacerecResponse.Error.validation)
}
inline ::deviceapis::device::v1::ValidationError* EditFacerecResponse_Error::_internal_mutable_validation() {
  if (reason_case() != kValidation) {
    clear_reason();
    set_has_validation();
    _impl_.reason_.validation_ = CreateMaybeMessage< ::deviceapis::device::v1::ValidationError >(GetArenaForAllocation());
  }
  return _impl_.reason_.validation_;
}
inline ::deviceapis::device::v1::ValidationError* EditFacerecResponse_Error::mutable_validation() {
  ::deviceapis::device::v1::ValidationError* _msg = _internal_mutable_validation();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.EditFacerecResponse.Error.validation)
  return _msg;
}

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

// EditFacerecResponse

// .deviceapis.device.v1.EditFacerecResponse.Error error = 1;
inline bool EditFacerecResponse::has_error() const {
  return type_case() == kError;
}
inline bool EditFacerecResponse::_internal_has_error() const {
  return type_case() == kError;
}
inline void EditFacerecResponse::set_has_error() {
  _impl_._oneof_case_[0] = kError;
}
inline void EditFacerecResponse::clear_error() {
  if (type_case() == kError) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.type_.error_;
    }
    clear_has_type();
  }
}
inline ::deviceapis::device::v1::EditFacerecResponse_Error* EditFacerecResponse::release_error() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.EditFacerecResponse.error)
  if (type_case() == kError) {
    clear_has_type();
    ::deviceapis::device::v1::EditFacerecResponse_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 ::deviceapis::device::v1::EditFacerecResponse_Error& EditFacerecResponse::_internal_error() const {
  return type_case() == kError
      ? *_impl_.type_.error_
      : reinterpret_cast<::deviceapis::device::v1::EditFacerecResponse_Error&>(::deviceapis::device::v1::_EditFacerecResponse_Error_default_instance_);
}
inline const ::deviceapis::device::v1::EditFacerecResponse_Error& EditFacerecResponse::error() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.EditFacerecResponse.error)
  return _internal_error();
}
inline ::deviceapis::device::v1::EditFacerecResponse_Error* EditFacerecResponse::unsafe_arena_release_error() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.EditFacerecResponse.error)
  if (type_case() == kError) {
    clear_has_type();
    ::deviceapis::device::v1::EditFacerecResponse_Error* temp = _impl_.type_.error_;
    _impl_.type_.error_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void EditFacerecResponse::unsafe_arena_set_allocated_error(::deviceapis::device::v1::EditFacerecResponse_Error* error) {
  clear_type();
  if (error) {
    set_has_error();
    _impl_.type_.error_ = error;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:deviceapis.device.v1.EditFacerecResponse.error)
}
inline ::deviceapis::device::v1::EditFacerecResponse_Error* EditFacerecResponse::_internal_mutable_error() {
  if (type_case() != kError) {
    clear_type();
    set_has_error();
    _impl_.type_.error_ = CreateMaybeMessage< ::deviceapis::device::v1::EditFacerecResponse_Error >(GetArenaForAllocation());
  }
  return _impl_.type_.error_;
}
inline ::deviceapis::device::v1::EditFacerecResponse_Error* EditFacerecResponse::mutable_error() {
  ::deviceapis::device::v1::EditFacerecResponse_Error* _msg = _internal_mutable_error();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.EditFacerecResponse.error)
  return _msg;
}

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

// Facerec

// bool is_enabled = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_is_enabled() {
  _impl_.is_enabled_ = false;
}
inline bool Facerec::is_enabled() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.is_enabled)
  return _internal_is_enabled();
}
inline void Facerec::set_is_enabled(bool value) {
  _internal_set_is_enabled(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.is_enabled)
}
inline bool Facerec::_internal_is_enabled() const {
  return _impl_.is_enabled_;
}
inline void Facerec::_internal_set_is_enabled(bool value) {
  ;
  _impl_.is_enabled_ = value;
}

// string main_address = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_main_address() {
  _impl_.main_address_.ClearToEmpty();
}
inline const std::string& Facerec::main_address() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.main_address)
  return _internal_main_address();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Facerec::set_main_address(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.main_address_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.main_address)
}
inline std::string* Facerec::mutable_main_address() {
  std::string* _s = _internal_mutable_main_address();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.Facerec.main_address)
  return _s;
}
inline const std::string& Facerec::_internal_main_address() const {
  return _impl_.main_address_.Get();
}
inline void Facerec::_internal_set_main_address(const std::string& value) {
  ;


  _impl_.main_address_.Set(value, GetArenaForAllocation());
}
inline std::string* Facerec::_internal_mutable_main_address() {
  ;
  return _impl_.main_address_.Mutable( GetArenaForAllocation());
}
inline std::string* Facerec::release_main_address() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.Facerec.main_address)
  return _impl_.main_address_.Release();
}
inline void Facerec::set_allocated_main_address(std::string* value) {
  _impl_.main_address_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.main_address_.IsDefault()) {
          _impl_.main_address_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.Facerec.main_address)
}

// string alt_address = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_alt_address() {
  _impl_.alt_address_.ClearToEmpty();
}
inline const std::string& Facerec::alt_address() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.alt_address)
  return _internal_alt_address();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Facerec::set_alt_address(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.alt_address_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.alt_address)
}
inline std::string* Facerec::mutable_alt_address() {
  std::string* _s = _internal_mutable_alt_address();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.Facerec.alt_address)
  return _s;
}
inline const std::string& Facerec::_internal_alt_address() const {
  return _impl_.alt_address_.Get();
}
inline void Facerec::_internal_set_alt_address(const std::string& value) {
  ;


  _impl_.alt_address_.Set(value, GetArenaForAllocation());
}
inline std::string* Facerec::_internal_mutable_alt_address() {
  ;
  return _impl_.alt_address_.Mutable( GetArenaForAllocation());
}
inline std::string* Facerec::release_alt_address() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.Facerec.alt_address)
  return _impl_.alt_address_.Release();
}
inline void Facerec::set_allocated_alt_address(std::string* value) {
  _impl_.alt_address_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.alt_address_.IsDefault()) {
          _impl_.alt_address_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.Facerec.alt_address)
}

// string request = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_request() {
  _impl_.request_.ClearToEmpty();
}
inline const std::string& Facerec::request() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.request)
  return _internal_request();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Facerec::set_request(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.request_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.request)
}
inline std::string* Facerec::mutable_request() {
  std::string* _s = _internal_mutable_request();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.Facerec.request)
  return _s;
}
inline const std::string& Facerec::_internal_request() const {
  return _impl_.request_.Get();
}
inline void Facerec::_internal_set_request(const std::string& value) {
  ;


  _impl_.request_.Set(value, GetArenaForAllocation());
}
inline std::string* Facerec::_internal_mutable_request() {
  ;
  return _impl_.request_.Mutable( GetArenaForAllocation());
}
inline std::string* Facerec::release_request() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.Facerec.request)
  return _impl_.request_.Release();
}
inline void Facerec::set_allocated_request(std::string* value) {
  _impl_.request_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.request_.IsDefault()) {
          _impl_.request_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.Facerec.request)
}

// string authorization = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_authorization() {
  _impl_.authorization_.ClearToEmpty();
}
inline const std::string& Facerec::authorization() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.authorization)
  return _internal_authorization();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Facerec::set_authorization(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.authorization_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.authorization)
}
inline std::string* Facerec::mutable_authorization() {
  std::string* _s = _internal_mutable_authorization();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.Facerec.authorization)
  return _s;
}
inline const std::string& Facerec::_internal_authorization() const {
  return _impl_.authorization_.Get();
}
inline void Facerec::_internal_set_authorization(const std::string& value) {
  ;


  _impl_.authorization_.Set(value, GetArenaForAllocation());
}
inline std::string* Facerec::_internal_mutable_authorization() {
  ;
  return _impl_.authorization_.Mutable( GetArenaForAllocation());
}
inline std::string* Facerec::release_authorization() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.Facerec.authorization)
  return _impl_.authorization_.Release();
}
inline void Facerec::set_allocated_authorization(std::string* value) {
  _impl_.authorization_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.authorization_.IsDefault()) {
          _impl_.authorization_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.Facerec.authorization)
}

// repeated string groups = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline int Facerec::_internal_groups_size() const {
  return _impl_.groups_.size();
}
inline int Facerec::groups_size() const {
  return _internal_groups_size();
}
inline void Facerec::clear_groups() {
  _internal_mutable_groups()->Clear();
}
inline std::string* Facerec::add_groups() {
  std::string* _s = _internal_add_groups();
  // @@protoc_insertion_point(field_add_mutable:deviceapis.device.v1.Facerec.groups)
  return _s;
}
inline const std::string& Facerec::groups(int index) const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.groups)
  return _internal_groups(index);
}
inline std::string* Facerec::mutable_groups(int index) {
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.Facerec.groups)
  return _internal_mutable_groups()->Mutable(index);
}
inline void Facerec::set_groups(int index, const std::string& value) {
  _internal_mutable_groups()->Mutable(index)->assign(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.groups)
}
inline void Facerec::set_groups(int index, std::string&& value) {
  _internal_mutable_groups()->Mutable(index)->assign(std::move(value));
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.groups)
}
inline void Facerec::set_groups(int index, const char* value) {
  ABSL_DCHECK(value != nullptr);
  _internal_mutable_groups()->Mutable(index)->assign(value);
  // @@protoc_insertion_point(field_set_char:deviceapis.device.v1.Facerec.groups)
}
inline void Facerec::set_groups(int index, const char* value,
                              std::size_t size) {
  _internal_mutable_groups()->Mutable(index)->assign(
      reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_set_pointer:deviceapis.device.v1.Facerec.groups)
}
inline void Facerec::set_groups(int index, absl::string_view value) {
  _internal_mutable_groups()->Mutable(index)->assign(value.data(),
                                                     value.size());
  // @@protoc_insertion_point(field_set_string_piece:deviceapis.device.v1.Facerec.groups)
}
inline void Facerec::add_groups(const std::string& value) {
  _internal_mutable_groups()->Add()->assign(value);
  // @@protoc_insertion_point(field_add:deviceapis.device.v1.Facerec.groups)
}
inline void Facerec::add_groups(std::string&& value) {
  _internal_mutable_groups()->Add(std::move(value));
  // @@protoc_insertion_point(field_add:deviceapis.device.v1.Facerec.groups)
}
inline void Facerec::add_groups(const char* value) {
  ABSL_DCHECK(value != nullptr);
  _internal_mutable_groups()->Add()->assign(value);
  // @@protoc_insertion_point(field_add_char:deviceapis.device.v1.Facerec.groups)
}
inline void Facerec::add_groups(const char* value, std::size_t size) {
  _internal_mutable_groups()->Add()->assign(
      reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_add_pointer:deviceapis.device.v1.Facerec.groups)
}
inline void Facerec::add_groups(absl::string_view value) {
  _internal_mutable_groups()->Add()->assign(value.data(), value.size());
  // @@protoc_insertion_point(field_add_string_piece:deviceapis.device.v1.Facerec.groups)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
Facerec::groups() const {
  // @@protoc_insertion_point(field_list:deviceapis.device.v1.Facerec.groups)
  return _internal_groups();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* Facerec::mutable_groups() {
  // @@protoc_insertion_point(field_mutable_list:deviceapis.device.v1.Facerec.groups)
  return _internal_mutable_groups();
}
inline const std::string& Facerec::_internal_groups(int index) const {
  return _internal_groups().Get(index);
}
inline std::string* Facerec::_internal_add_groups() {
  return _internal_mutable_groups()->Add();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
Facerec::_internal_groups() const {
  return _impl_.groups_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
Facerec::_internal_mutable_groups() {
  return &_impl_.groups_;
}

// int32 relay_index = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_relay_index() {
  _impl_.relay_index_ = 0;
}
inline ::int32_t Facerec::relay_index() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.relay_index)
  return _internal_relay_index();
}
inline void Facerec::set_relay_index(::int32_t value) {
  _internal_set_relay_index(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.relay_index)
}
inline ::int32_t Facerec::_internal_relay_index() const {
  return _impl_.relay_index_;
}
inline void Facerec::_internal_set_relay_index(::int32_t value) {
  ;
  _impl_.relay_index_ = value;
}

// int32 send_interval = 8 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_send_interval() {
  _impl_.send_interval_ = 0;
}
inline ::int32_t Facerec::send_interval() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.send_interval)
  return _internal_send_interval();
}
inline void Facerec::set_send_interval(::int32_t value) {
  _internal_set_send_interval(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.send_interval)
}
inline ::int32_t Facerec::_internal_send_interval() const {
  return _impl_.send_interval_;
}
inline void Facerec::_internal_set_send_interval(::int32_t value) {
  ;
  _impl_.send_interval_ = value;
}

// float face_liveness = 9 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_face_liveness() {
  _impl_.face_liveness_ = 0;
}
inline float Facerec::face_liveness() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.face_liveness)
  return _internal_face_liveness();
}
inline void Facerec::set_face_liveness(float value) {
  _internal_set_face_liveness(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.face_liveness)
}
inline float Facerec::_internal_face_liveness() const {
  return _impl_.face_liveness_;
}
inline void Facerec::_internal_set_face_liveness(float value) {
  ;
  _impl_.face_liveness_ = value;
}

// int32 min_face_size = 10 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_min_face_size() {
  _impl_.min_face_size_ = 0;
}
inline ::int32_t Facerec::min_face_size() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.min_face_size)
  return _internal_min_face_size();
}
inline void Facerec::set_min_face_size(::int32_t value) {
  _internal_set_min_face_size(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.min_face_size)
}
inline ::int32_t Facerec::_internal_min_face_size() const {
  return _impl_.min_face_size_;
}
inline void Facerec::_internal_set_min_face_size(::int32_t value) {
  ;
  _impl_.min_face_size_ = value;
}

// int32 max_face_size = 11 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_max_face_size() {
  _impl_.max_face_size_ = 0;
}
inline ::int32_t Facerec::max_face_size() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.max_face_size)
  return _internal_max_face_size();
}
inline void Facerec::set_max_face_size(::int32_t value) {
  _internal_set_max_face_size(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.max_face_size)
}
inline ::int32_t Facerec::_internal_max_face_size() const {
  return _impl_.max_face_size_;
}
inline void Facerec::_internal_set_max_face_size(::int32_t value) {
  ;
  _impl_.max_face_size_ = value;
}

// int32 add_size = 12 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Facerec::clear_add_size() {
  _impl_.add_size_ = 0;
}
inline ::int32_t Facerec::add_size() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Facerec.add_size)
  return _internal_add_size();
}
inline void Facerec::set_add_size(::int32_t value) {
  _internal_set_add_size(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Facerec.add_size)
}
inline ::int32_t Facerec::_internal_add_size() const {
  return _impl_.add_size_;
}
inline void Facerec::_internal_set_add_size(::int32_t value) {
  ;
  _impl_.add_size_ = value;
}

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

// GetFacerecRequest

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

// GetFacerecResponse

// .deviceapis.device.v1.Facerec data = 1;
inline bool GetFacerecResponse::has_data() const {
  return type_case() == kData;
}
inline bool GetFacerecResponse::_internal_has_data() const {
  return type_case() == kData;
}
inline void GetFacerecResponse::set_has_data() {
  _impl_._oneof_case_[0] = kData;
}
inline void GetFacerecResponse::clear_data() {
  if (type_case() == kData) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.type_.data_;
    }
    clear_has_type();
  }
}
inline ::deviceapis::device::v1::Facerec* GetFacerecResponse::release_data() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.GetFacerecResponse.data)
  if (type_case() == kData) {
    clear_has_type();
    ::deviceapis::device::v1::Facerec* temp = _impl_.type_.data_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.type_.data_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::deviceapis::device::v1::Facerec& GetFacerecResponse::_internal_data() const {
  return type_case() == kData
      ? *_impl_.type_.data_
      : reinterpret_cast<::deviceapis::device::v1::Facerec&>(::deviceapis::device::v1::_Facerec_default_instance_);
}
inline const ::deviceapis::device::v1::Facerec& GetFacerecResponse::data() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.GetFacerecResponse.data)
  return _internal_data();
}
inline ::deviceapis::device::v1::Facerec* GetFacerecResponse::unsafe_arena_release_data() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.GetFacerecResponse.data)
  if (type_case() == kData) {
    clear_has_type();
    ::deviceapis::device::v1::Facerec* temp = _impl_.type_.data_;
    _impl_.type_.data_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void GetFacerecResponse::unsafe_arena_set_allocated_data(::deviceapis::device::v1::Facerec* data) {
  clear_type();
  if (data) {
    set_has_data();
    _impl_.type_.data_ = data;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:deviceapis.device.v1.GetFacerecResponse.data)
}
inline ::deviceapis::device::v1::Facerec* GetFacerecResponse::_internal_mutable_data() {
  if (type_case() != kData) {
    clear_type();
    set_has_data();
    _impl_.type_.data_ = CreateMaybeMessage< ::deviceapis::device::v1::Facerec >(GetArenaForAllocation());
  }
  return _impl_.type_.data_;
}
inline ::deviceapis::device::v1::Facerec* GetFacerecResponse::mutable_data() {
  ::deviceapis::device::v1::Facerec* _msg = _internal_mutable_data();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.GetFacerecResponse.data)
  return _msg;
}

inline bool GetFacerecResponse::has_type() const {
  return type_case() != TYPE_NOT_SET;
}
inline void GetFacerecResponse::clear_has_type() {
  _impl_._oneof_case_[0] = TYPE_NOT_SET;
}
inline GetFacerecResponse::TypeCase GetFacerecResponse::type_case() const {
  return GetFacerecResponse::TypeCase(_impl_._oneof_case_[0]);
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif  // __GNUC__

// @@protoc_insertion_point(namespace_scope)
}  // namespace v1
}  // namespace device
}  // namespace deviceapis


// @@protoc_insertion_point(global_scope)

#include "google/protobuf/port_undef.inc"

#endif  // GOOGLE_PROTOBUF_INCLUDED_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5ffr_5fv1_2eproto_2epb_2eh
