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

#ifndef GOOGLE_PROTOBUF_INCLUDED_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fcode_5fv1_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fcode_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 "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_5fcode_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_5fcode_5fv1_2eproto {
  static const ::uint32_t offsets[];
};
namespace deviceapis {
namespace device {
namespace v1 {
class Code;
struct CodeDefaultTypeInternal;
extern CodeDefaultTypeInternal _Code_default_instance_;
class CodePaging;
struct CodePagingDefaultTypeInternal;
extern CodePagingDefaultTypeInternal _CodePaging_default_instance_;
class Code_SavingError;
struct Code_SavingErrorDefaultTypeInternal;
extern Code_SavingErrorDefaultTypeInternal _Code_SavingError_default_instance_;
class Code_SavingError_RelayNotFound;
struct Code_SavingError_RelayNotFoundDefaultTypeInternal;
extern Code_SavingError_RelayNotFoundDefaultTypeInternal _Code_SavingError_RelayNotFound_default_instance_;
class DeleteCodeListRequest;
struct DeleteCodeListRequestDefaultTypeInternal;
extern DeleteCodeListRequestDefaultTypeInternal _DeleteCodeListRequest_default_instance_;
class DeleteCodeListResponse;
struct DeleteCodeListResponseDefaultTypeInternal;
extern DeleteCodeListResponseDefaultTypeInternal _DeleteCodeListResponse_default_instance_;
class DeleteCodeRequest;
struct DeleteCodeRequestDefaultTypeInternal;
extern DeleteCodeRequestDefaultTypeInternal _DeleteCodeRequest_default_instance_;
class DeleteCodeResponse;
struct DeleteCodeResponseDefaultTypeInternal;
extern DeleteCodeResponseDefaultTypeInternal _DeleteCodeResponse_default_instance_;
class DeleteCodeResponse_Error;
struct DeleteCodeResponse_ErrorDefaultTypeInternal;
extern DeleteCodeResponse_ErrorDefaultTypeInternal _DeleteCodeResponse_Error_default_instance_;
class GetCodeCountRequest;
struct GetCodeCountRequestDefaultTypeInternal;
extern GetCodeCountRequestDefaultTypeInternal _GetCodeCountRequest_default_instance_;
class GetCodeCountResponse;
struct GetCodeCountResponseDefaultTypeInternal;
extern GetCodeCountResponseDefaultTypeInternal _GetCodeCountResponse_default_instance_;
class GetCodeListRequest;
struct GetCodeListRequestDefaultTypeInternal;
extern GetCodeListRequestDefaultTypeInternal _GetCodeListRequest_default_instance_;
class GetCodeListResponse;
struct GetCodeListResponseDefaultTypeInternal;
extern GetCodeListResponseDefaultTypeInternal _GetCodeListResponse_default_instance_;
class GetCodeRequest;
struct GetCodeRequestDefaultTypeInternal;
extern GetCodeRequestDefaultTypeInternal _GetCodeRequest_default_instance_;
class GetCodeResponse;
struct GetCodeResponseDefaultTypeInternal;
extern GetCodeResponseDefaultTypeInternal _GetCodeResponse_default_instance_;
class SaveCodeListRequest;
struct SaveCodeListRequestDefaultTypeInternal;
extern SaveCodeListRequestDefaultTypeInternal _SaveCodeListRequest_default_instance_;
class SaveCodeListResponse;
struct SaveCodeListResponseDefaultTypeInternal;
extern SaveCodeListResponseDefaultTypeInternal _SaveCodeListResponse_default_instance_;
class SaveCodeListResponse_Error;
struct SaveCodeListResponse_ErrorDefaultTypeInternal;
extern SaveCodeListResponse_ErrorDefaultTypeInternal _SaveCodeListResponse_Error_default_instance_;
class SaveCodeRequest;
struct SaveCodeRequestDefaultTypeInternal;
extern SaveCodeRequestDefaultTypeInternal _SaveCodeRequest_default_instance_;
class SaveCodeResponse;
struct SaveCodeResponseDefaultTypeInternal;
extern SaveCodeResponseDefaultTypeInternal _SaveCodeResponse_default_instance_;
class SaveCodeResponse_Error;
struct SaveCodeResponse_ErrorDefaultTypeInternal;
extern SaveCodeResponse_ErrorDefaultTypeInternal _SaveCodeResponse_Error_default_instance_;
}  // namespace v1
}  // namespace device
}  // namespace deviceapis
PROTOBUF_NAMESPACE_OPEN
template <>
::deviceapis::device::v1::Code* Arena::CreateMaybeMessage<::deviceapis::device::v1::Code>(Arena*);
template <>
::deviceapis::device::v1::CodePaging* Arena::CreateMaybeMessage<::deviceapis::device::v1::CodePaging>(Arena*);
template <>
::deviceapis::device::v1::Code_SavingError* Arena::CreateMaybeMessage<::deviceapis::device::v1::Code_SavingError>(Arena*);
template <>
::deviceapis::device::v1::Code_SavingError_RelayNotFound* Arena::CreateMaybeMessage<::deviceapis::device::v1::Code_SavingError_RelayNotFound>(Arena*);
template <>
::deviceapis::device::v1::DeleteCodeListRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::DeleteCodeListRequest>(Arena*);
template <>
::deviceapis::device::v1::DeleteCodeListResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::DeleteCodeListResponse>(Arena*);
template <>
::deviceapis::device::v1::DeleteCodeRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::DeleteCodeRequest>(Arena*);
template <>
::deviceapis::device::v1::DeleteCodeResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::DeleteCodeResponse>(Arena*);
template <>
::deviceapis::device::v1::DeleteCodeResponse_Error* Arena::CreateMaybeMessage<::deviceapis::device::v1::DeleteCodeResponse_Error>(Arena*);
template <>
::deviceapis::device::v1::GetCodeCountRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetCodeCountRequest>(Arena*);
template <>
::deviceapis::device::v1::GetCodeCountResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetCodeCountResponse>(Arena*);
template <>
::deviceapis::device::v1::GetCodeListRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetCodeListRequest>(Arena*);
template <>
::deviceapis::device::v1::GetCodeListResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetCodeListResponse>(Arena*);
template <>
::deviceapis::device::v1::GetCodeRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetCodeRequest>(Arena*);
template <>
::deviceapis::device::v1::GetCodeResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetCodeResponse>(Arena*);
template <>
::deviceapis::device::v1::SaveCodeListRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::SaveCodeListRequest>(Arena*);
template <>
::deviceapis::device::v1::SaveCodeListResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::SaveCodeListResponse>(Arena*);
template <>
::deviceapis::device::v1::SaveCodeListResponse_Error* Arena::CreateMaybeMessage<::deviceapis::device::v1::SaveCodeListResponse_Error>(Arena*);
template <>
::deviceapis::device::v1::SaveCodeRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::SaveCodeRequest>(Arena*);
template <>
::deviceapis::device::v1::SaveCodeResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::SaveCodeResponse>(Arena*);
template <>
::deviceapis::device::v1::SaveCodeResponse_Error* Arena::CreateMaybeMessage<::deviceapis::device::v1::SaveCodeResponse_Error>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

namespace deviceapis {
namespace device {
namespace v1 {

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


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

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.Code.SavingError.RelayNotFound)
 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_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

  typedef Code_SavingError_RelayNotFound RelayNotFound;

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

  enum : int {
    kRelayNotFoundFieldNumber = 1,
  };
  // .deviceapis.device.v1.Code.SavingError.RelayNotFound relay_not_found = 1;
  bool has_relay_not_found() const;
  private:
  bool _internal_has_relay_not_found() const;

  public:
  void clear_relay_not_found() ;
  const ::deviceapis::device::v1::Code_SavingError_RelayNotFound& relay_not_found() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::Code_SavingError_RelayNotFound* release_relay_not_found();
  ::deviceapis::device::v1::Code_SavingError_RelayNotFound* mutable_relay_not_found();
  void set_allocated_relay_not_found(::deviceapis::device::v1::Code_SavingError_RelayNotFound* relay_not_found);
  private:
  const ::deviceapis::device::v1::Code_SavingError_RelayNotFound& _internal_relay_not_found() const;
  ::deviceapis::device::v1::Code_SavingError_RelayNotFound* _internal_mutable_relay_not_found();
  public:
  void unsafe_arena_set_allocated_relay_not_found(
      ::deviceapis::device::v1::Code_SavingError_RelayNotFound* relay_not_found);
  ::deviceapis::device::v1::Code_SavingError_RelayNotFound* unsafe_arena_release_relay_not_found();
  void clear_reason();
  ReasonCase reason_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.Code.SavingError)
 private:
  class _Internal;
  void set_has_relay_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_;
      ::deviceapis::device::v1::Code_SavingError_RelayNotFound* relay_not_found_;
    } 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_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

  typedef Code_SavingError SavingError;

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

  enum : int {
    kRelayIndexesFieldNumber = 3,
    kCodeFieldNumber = 1,
    kDescriptionFieldNumber = 2,
  };
  // repeated int32 relay_indexes = 3;
  int relay_indexes_size() const;
  private:
  int _internal_relay_indexes_size() const;

  public:
  void clear_relay_indexes() ;
  ::int32_t relay_indexes(int index) const;
  void set_relay_indexes(int index, ::int32_t value);
  void add_relay_indexes(::int32_t value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& relay_indexes() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* mutable_relay_indexes();

  private:
  ::int32_t _internal_relay_indexes(int index) const;
  void _internal_add_relay_indexes(::int32_t value);
  const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& _internal_relay_indexes() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* _internal_mutable_relay_indexes();

  public:
  // string code = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_code() ;
  const std::string& code() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_code(Arg_&& arg, Args_... args);
  std::string* mutable_code();
  PROTOBUF_NODISCARD std::string* release_code();
  void set_allocated_code(std::string* ptr);

  private:
  const std::string& _internal_code() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_code(
      const std::string& value);
  std::string* _internal_mutable_code();

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




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_description(Arg_&& arg, Args_... args);
  std::string* mutable_description();
  PROTOBUF_NODISCARD std::string* release_description();
  void set_allocated_description(std::string* ptr);

  private:
  const std::string& _internal_description() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(
      const std::string& value);
  std::string* _internal_mutable_description();

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

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t> relay_indexes_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _relay_indexes_cached_byte_size_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kLimitFieldNumber = 1,
    kOffsetFieldNumber = 2,
  };
  // int32 limit = 1;
  void clear_limit() ;
  ::int32_t limit() const;
  void set_limit(::int32_t value);

  private:
  ::int32_t _internal_limit() const;
  void _internal_set_limit(::int32_t value);

  public:
  // int32 offset = 2;
  void clear_offset() ;
  ::int32_t offset() const;
  void set_offset(::int32_t value);

  private:
  ::int32_t _internal_offset() const;
  void _internal_set_offset(::int32_t value);

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

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

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

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

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

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kDataFieldNumber = 1,
  };
  // int32 data = 1;
  bool has_data() const;
  void clear_data() ;
  ::int32_t data() const;
  void set_data(::int32_t value);

  private:
  ::int32_t _internal_data() const;
  void _internal_set_data(::int32_t value);

  public:
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.DeleteCodeListResponse)
 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_;
      ::int32_t 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_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kCodeFieldNumber = 1,
  };
  // string code = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_code() ;
  const std::string& code() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_code(Arg_&& arg, Args_... args);
  std::string* mutable_code();
  PROTOBUF_NODISCARD std::string* release_code();
  void set_allocated_code(std::string* ptr);

  private:
  const std::string& _internal_code() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_code(
      const std::string& value);
  std::string* _internal_mutable_code();

  public:
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.DeleteCodeRequest)
 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 code_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

  static inline const DeleteCodeResponse_Error* internal_default_instance() {
    return reinterpret_cast<const DeleteCodeResponse_Error*>(
               &_DeleteCodeResponse_Error_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    7;

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

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

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

  private:
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::absl::string_view FullMessageName() {
    return "deviceapis.device.v1.DeleteCodeResponse.Error";
  }
  protected:
  explicit DeleteCodeResponse_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.DeleteCodeResponse.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_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

  static inline const DeleteCodeResponse* internal_default_instance() {
    return reinterpret_cast<const DeleteCodeResponse*>(
               &_DeleteCodeResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    8;

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

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

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

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

  std::string GetTypeName() const final;

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

  typedef DeleteCodeResponse_Error Error;

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

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

  public:
  void clear_error() ;
  const ::deviceapis::device::v1::DeleteCodeResponse_Error& error() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::DeleteCodeResponse_Error* release_error();
  ::deviceapis::device::v1::DeleteCodeResponse_Error* mutable_error();
  void set_allocated_error(::deviceapis::device::v1::DeleteCodeResponse_Error* error);
  private:
  const ::deviceapis::device::v1::DeleteCodeResponse_Error& _internal_error() const;
  ::deviceapis::device::v1::DeleteCodeResponse_Error* _internal_mutable_error();
  public:
  void unsafe_arena_set_allocated_error(
      ::deviceapis::device::v1::DeleteCodeResponse_Error* error);
  ::deviceapis::device::v1::DeleteCodeResponse_Error* unsafe_arena_release_error();
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.DeleteCodeResponse)
 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::DeleteCodeResponse_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_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

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

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

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

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

  static inline const GetCodeCountResponse* internal_default_instance() {
    return reinterpret_cast<const GetCodeCountResponse*>(
               &_GetCodeCountResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    10;

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kDataFieldNumber = 1,
  };
  // int32 data = 1;
  bool has_data() const;
  void clear_data() ;
  ::int32_t data() const;
  void set_data(::int32_t value);

  private:
  ::int32_t _internal_data() const;
  void _internal_set_data(::int32_t value);

  public:
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.GetCodeCountResponse)
 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_;
      ::int32_t 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_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

  inline GetCodeListRequest& operator=(const GetCodeListRequest& from) {
    CopyFrom(from);
    return *this;
  }
  inline GetCodeListRequest& operator=(GetCodeListRequest&& 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 GetCodeListRequest& default_instance() {
    return *internal_default_instance();
  }
  enum PaginationCase {
    kPaging = 1,
    PAGINATION_NOT_SET = 0,
  };

  static inline const GetCodeListRequest* internal_default_instance() {
    return reinterpret_cast<const GetCodeListRequest*>(
               &_GetCodeListRequest_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    11;

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kPagingFieldNumber = 1,
  };
  // .deviceapis.device.v1.CodePaging paging = 1;
  bool has_paging() const;
  private:
  bool _internal_has_paging() const;

  public:
  void clear_paging() ;
  const ::deviceapis::device::v1::CodePaging& paging() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::CodePaging* release_paging();
  ::deviceapis::device::v1::CodePaging* mutable_paging();
  void set_allocated_paging(::deviceapis::device::v1::CodePaging* paging);
  private:
  const ::deviceapis::device::v1::CodePaging& _internal_paging() const;
  ::deviceapis::device::v1::CodePaging* _internal_mutable_paging();
  public:
  void unsafe_arena_set_allocated_paging(
      ::deviceapis::device::v1::CodePaging* paging);
  ::deviceapis::device::v1::CodePaging* unsafe_arena_release_paging();
  void clear_pagination();
  PaginationCase pagination_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.GetCodeListRequest)
 private:
  class _Internal;
  void set_has_paging();

  inline bool has_pagination() const;
  inline void clear_has_pagination();

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  struct Impl_ {
    union PaginationUnion {
      constexpr PaginationUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::deviceapis::device::v1::CodePaging* paging_;
    } pagination_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
    ::uint32_t _oneof_case_[1];

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

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kDataFieldNumber = 1,
  };
  // repeated .deviceapis.device.v1.Code data = 1;
  int data_size() const;
  private:
  int _internal_data_size() const;

  public:
  void clear_data() ;
  ::deviceapis::device::v1::Code* mutable_data(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >*
      mutable_data();
  private:
  const ::deviceapis::device::v1::Code& _internal_data(int index) const;
  ::deviceapis::device::v1::Code* _internal_add_data();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>& _internal_data() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>* _internal_mutable_data();
  public:
  const ::deviceapis::device::v1::Code& data(int index) const;
  ::deviceapis::device::v1::Code* add_data();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >&
      data() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.GetCodeListResponse)
 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< ::deviceapis::device::v1::Code > data_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kCodeFieldNumber = 1,
  };
  // string code = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_code() ;
  const std::string& code() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_code(Arg_&& arg, Args_... args);
  std::string* mutable_code();
  PROTOBUF_NODISCARD std::string* release_code();
  void set_allocated_code(std::string* ptr);

  private:
  const std::string& _internal_code() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_code(
      const std::string& value);
  std::string* _internal_mutable_code();

  public:
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.GetCodeRequest)
 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 code_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

  static inline const GetCodeResponse* internal_default_instance() {
    return reinterpret_cast<const GetCodeResponse*>(
               &_GetCodeResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    14;

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

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

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

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

  std::string GetTypeName() const final;

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

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

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

  public:
  void clear_data() ;
  const ::deviceapis::device::v1::Code& data() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::Code* release_data();
  ::deviceapis::device::v1::Code* mutable_data();
  void set_allocated_data(::deviceapis::device::v1::Code* data);
  private:
  const ::deviceapis::device::v1::Code& _internal_data() const;
  ::deviceapis::device::v1::Code* _internal_mutable_data();
  public:
  void unsafe_arena_set_allocated_data(
      ::deviceapis::device::v1::Code* data);
  ::deviceapis::device::v1::Code* unsafe_arena_release_data();
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.GetCodeResponse)
 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::Code* 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_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kDataFieldNumber = 1,
  };
  // repeated .deviceapis.device.v1.Code data = 1;
  int data_size() const;
  private:
  int _internal_data_size() const;

  public:
  void clear_data() ;
  ::deviceapis::device::v1::Code* mutable_data(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >*
      mutable_data();
  private:
  const ::deviceapis::device::v1::Code& _internal_data(int index) const;
  ::deviceapis::device::v1::Code* _internal_add_data();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>& _internal_data() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>* _internal_mutable_data();
  public:
  const ::deviceapis::device::v1::Code& data(int index) const;
  ::deviceapis::device::v1::Code* add_data();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >&
      data() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.SaveCodeListRequest)
 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< ::deviceapis::device::v1::Code > data_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

  inline SaveCodeListResponse_Error& operator=(const SaveCodeListResponse_Error& from) {
    CopyFrom(from);
    return *this;
  }
  inline SaveCodeListResponse_Error& operator=(SaveCodeListResponse_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 SaveCodeListResponse_Error& default_instance() {
    return *internal_default_instance();
  }
  enum ReasonCase {
    kValidation = 2,
    kSaving = 3,
    REASON_NOT_SET = 0,
  };

  static inline const SaveCodeListResponse_Error* internal_default_instance() {
    return reinterpret_cast<const SaveCodeListResponse_Error*>(
               &_SaveCodeListResponse_Error_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    16;

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kCodeFieldNumber = 1,
    kValidationFieldNumber = 2,
    kSavingFieldNumber = 3,
  };
  // string code = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_code() ;
  const std::string& code() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_code(Arg_&& arg, Args_... args);
  std::string* mutable_code();
  PROTOBUF_NODISCARD std::string* release_code();
  void set_allocated_code(std::string* ptr);

  private:
  const std::string& _internal_code() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_code(
      const std::string& value);
  std::string* _internal_mutable_code();

  public:
  // .deviceapis.device.v1.ValidationError validation = 2;
  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();
  // .deviceapis.device.v1.Code.SavingError saving = 3;
  bool has_saving() const;
  private:
  bool _internal_has_saving() const;

  public:
  void clear_saving() ;
  const ::deviceapis::device::v1::Code_SavingError& saving() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::Code_SavingError* release_saving();
  ::deviceapis::device::v1::Code_SavingError* mutable_saving();
  void set_allocated_saving(::deviceapis::device::v1::Code_SavingError* saving);
  private:
  const ::deviceapis::device::v1::Code_SavingError& _internal_saving() const;
  ::deviceapis::device::v1::Code_SavingError* _internal_mutable_saving();
  public:
  void unsafe_arena_set_allocated_saving(
      ::deviceapis::device::v1::Code_SavingError* saving);
  ::deviceapis::device::v1::Code_SavingError* unsafe_arena_release_saving();
  void clear_reason();
  ReasonCase reason_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.SaveCodeListResponse.Error)
 private:
  class _Internal;
  void set_has_validation();
  void set_has_saving();

  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_ {
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr code_;
    union ReasonUnion {
      constexpr ReasonUnion() : _constinit_{} {}
        ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
      ::deviceapis::device::v1::ValidationError* validation_;
      ::deviceapis::device::v1::Code_SavingError* saving_;
    } 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_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

  typedef SaveCodeListResponse_Error Error;

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

  enum : int {
    kDataFieldNumber = 1,
    kErrorsFieldNumber = 2,
  };
  // repeated .deviceapis.device.v1.Code data = 1;
  int data_size() const;
  private:
  int _internal_data_size() const;

  public:
  void clear_data() ;
  ::deviceapis::device::v1::Code* mutable_data(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >*
      mutable_data();
  private:
  const ::deviceapis::device::v1::Code& _internal_data(int index) const;
  ::deviceapis::device::v1::Code* _internal_add_data();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>& _internal_data() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>* _internal_mutable_data();
  public:
  const ::deviceapis::device::v1::Code& data(int index) const;
  ::deviceapis::device::v1::Code* add_data();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >&
      data() const;
  // repeated .deviceapis.device.v1.SaveCodeListResponse.Error errors = 2;
  int errors_size() const;
  private:
  int _internal_errors_size() const;

  public:
  void clear_errors() ;
  ::deviceapis::device::v1::SaveCodeListResponse_Error* mutable_errors(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::SaveCodeListResponse_Error >*
      mutable_errors();
  private:
  const ::deviceapis::device::v1::SaveCodeListResponse_Error& _internal_errors(int index) const;
  ::deviceapis::device::v1::SaveCodeListResponse_Error* _internal_add_errors();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::SaveCodeListResponse_Error>& _internal_errors() const;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::SaveCodeListResponse_Error>* _internal_mutable_errors();
  public:
  const ::deviceapis::device::v1::SaveCodeListResponse_Error& errors(int index) const;
  ::deviceapis::device::v1::SaveCodeListResponse_Error* add_errors();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::SaveCodeListResponse_Error >&
      errors() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.SaveCodeListResponse)
 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< ::deviceapis::device::v1::Code > data_;
    ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::SaveCodeListResponse_Error > errors_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kDataFieldNumber = 1,
  };
  // .deviceapis.device.v1.Code data = 1 [(.google.api.field_behavior) = REQUIRED];
  bool has_data() const;
  void clear_data() ;
  const ::deviceapis::device::v1::Code& data() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::Code* release_data();
  ::deviceapis::device::v1::Code* mutable_data();
  void set_allocated_data(::deviceapis::device::v1::Code* data);
  private:
  const ::deviceapis::device::v1::Code& _internal_data() const;
  ::deviceapis::device::v1::Code* _internal_mutable_data();
  public:
  void unsafe_arena_set_allocated_data(
      ::deviceapis::device::v1::Code* data);
  ::deviceapis::device::v1::Code* unsafe_arena_release_data();
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.SaveCodeRequest)
 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::Code* data_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

  static inline const SaveCodeResponse_Error* internal_default_instance() {
    return reinterpret_cast<const SaveCodeResponse_Error*>(
               &_SaveCodeResponse_Error_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    19;

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kValidationFieldNumber = 1,
    kSavingFieldNumber = 2,
  };
  // .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();
  // .deviceapis.device.v1.Code.SavingError saving = 2;
  bool has_saving() const;
  private:
  bool _internal_has_saving() const;

  public:
  void clear_saving() ;
  const ::deviceapis::device::v1::Code_SavingError& saving() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::Code_SavingError* release_saving();
  ::deviceapis::device::v1::Code_SavingError* mutable_saving();
  void set_allocated_saving(::deviceapis::device::v1::Code_SavingError* saving);
  private:
  const ::deviceapis::device::v1::Code_SavingError& _internal_saving() const;
  ::deviceapis::device::v1::Code_SavingError* _internal_mutable_saving();
  public:
  void unsafe_arena_set_allocated_saving(
      ::deviceapis::device::v1::Code_SavingError* saving);
  ::deviceapis::device::v1::Code_SavingError* unsafe_arena_release_saving();
  void clear_reason();
  ReasonCase reason_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.SaveCodeResponse.Error)
 private:
  class _Internal;
  void set_has_validation();
  void set_has_saving();

  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_;
      ::deviceapis::device::v1::Code_SavingError* saving_;
    } 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_5fcode_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

  static inline const SaveCodeResponse* internal_default_instance() {
    return reinterpret_cast<const SaveCodeResponse*>(
               &_SaveCodeResponse_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    20;

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

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

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

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

  std::string GetTypeName() const final;

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

  typedef SaveCodeResponse_Error Error;

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

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

  public:
  void clear_data() ;
  const ::deviceapis::device::v1::Code& data() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::Code* release_data();
  ::deviceapis::device::v1::Code* mutable_data();
  void set_allocated_data(::deviceapis::device::v1::Code* data);
  private:
  const ::deviceapis::device::v1::Code& _internal_data() const;
  ::deviceapis::device::v1::Code* _internal_mutable_data();
  public:
  void unsafe_arena_set_allocated_data(
      ::deviceapis::device::v1::Code* data);
  ::deviceapis::device::v1::Code* unsafe_arena_release_data();
  // .deviceapis.device.v1.SaveCodeResponse.Error error = 2;
  bool has_error() const;
  private:
  bool _internal_has_error() const;

  public:
  void clear_error() ;
  const ::deviceapis::device::v1::SaveCodeResponse_Error& error() const;
  PROTOBUF_NODISCARD ::deviceapis::device::v1::SaveCodeResponse_Error* release_error();
  ::deviceapis::device::v1::SaveCodeResponse_Error* mutable_error();
  void set_allocated_error(::deviceapis::device::v1::SaveCodeResponse_Error* error);
  private:
  const ::deviceapis::device::v1::SaveCodeResponse_Error& _internal_error() const;
  ::deviceapis::device::v1::SaveCodeResponse_Error* _internal_mutable_error();
  public:
  void unsafe_arena_set_allocated_error(
      ::deviceapis::device::v1::SaveCodeResponse_Error* error);
  ::deviceapis::device::v1::SaveCodeResponse_Error* unsafe_arena_release_error();
  void clear_type();
  TypeCase type_case() const;
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.SaveCodeResponse)
 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_;
      ::deviceapis::device::v1::Code* data_;
      ::deviceapis::device::v1::SaveCodeResponse_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_5fcode_5fv1_2eproto;
};

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




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


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

// Code_SavingError_RelayNotFound

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

// Code_SavingError

// .deviceapis.device.v1.Code.SavingError.RelayNotFound relay_not_found = 1;
inline bool Code_SavingError::has_relay_not_found() const {
  return reason_case() == kRelayNotFound;
}
inline bool Code_SavingError::_internal_has_relay_not_found() const {
  return reason_case() == kRelayNotFound;
}
inline void Code_SavingError::set_has_relay_not_found() {
  _impl_._oneof_case_[0] = kRelayNotFound;
}
inline void Code_SavingError::clear_relay_not_found() {
  if (reason_case() == kRelayNotFound) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.reason_.relay_not_found_;
    }
    clear_has_reason();
  }
}
inline ::deviceapis::device::v1::Code_SavingError_RelayNotFound* Code_SavingError::release_relay_not_found() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.Code.SavingError.relay_not_found)
  if (reason_case() == kRelayNotFound) {
    clear_has_reason();
    ::deviceapis::device::v1::Code_SavingError_RelayNotFound* temp = _impl_.reason_.relay_not_found_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.reason_.relay_not_found_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::deviceapis::device::v1::Code_SavingError_RelayNotFound& Code_SavingError::_internal_relay_not_found() const {
  return reason_case() == kRelayNotFound
      ? *_impl_.reason_.relay_not_found_
      : reinterpret_cast<::deviceapis::device::v1::Code_SavingError_RelayNotFound&>(::deviceapis::device::v1::_Code_SavingError_RelayNotFound_default_instance_);
}
inline const ::deviceapis::device::v1::Code_SavingError_RelayNotFound& Code_SavingError::relay_not_found() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Code.SavingError.relay_not_found)
  return _internal_relay_not_found();
}
inline ::deviceapis::device::v1::Code_SavingError_RelayNotFound* Code_SavingError::unsafe_arena_release_relay_not_found() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.Code.SavingError.relay_not_found)
  if (reason_case() == kRelayNotFound) {
    clear_has_reason();
    ::deviceapis::device::v1::Code_SavingError_RelayNotFound* temp = _impl_.reason_.relay_not_found_;
    _impl_.reason_.relay_not_found_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void Code_SavingError::unsafe_arena_set_allocated_relay_not_found(::deviceapis::device::v1::Code_SavingError_RelayNotFound* relay_not_found) {
  clear_reason();
  if (relay_not_found) {
    set_has_relay_not_found();
    _impl_.reason_.relay_not_found_ = relay_not_found;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:deviceapis.device.v1.Code.SavingError.relay_not_found)
}
inline ::deviceapis::device::v1::Code_SavingError_RelayNotFound* Code_SavingError::_internal_mutable_relay_not_found() {
  if (reason_case() != kRelayNotFound) {
    clear_reason();
    set_has_relay_not_found();
    _impl_.reason_.relay_not_found_ = CreateMaybeMessage< ::deviceapis::device::v1::Code_SavingError_RelayNotFound >(GetArenaForAllocation());
  }
  return _impl_.reason_.relay_not_found_;
}
inline ::deviceapis::device::v1::Code_SavingError_RelayNotFound* Code_SavingError::mutable_relay_not_found() {
  ::deviceapis::device::v1::Code_SavingError_RelayNotFound* _msg = _internal_mutable_relay_not_found();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.Code.SavingError.relay_not_found)
  return _msg;
}

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

// Code

// string code = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Code::clear_code() {
  _impl_.code_.ClearToEmpty();
}
inline const std::string& Code::code() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Code.code)
  return _internal_code();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Code::set_code(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.code_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Code.code)
}
inline std::string* Code::mutable_code() {
  std::string* _s = _internal_mutable_code();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.Code.code)
  return _s;
}
inline const std::string& Code::_internal_code() const {
  return _impl_.code_.Get();
}
inline void Code::_internal_set_code(const std::string& value) {
  ;


  _impl_.code_.Set(value, GetArenaForAllocation());
}
inline std::string* Code::_internal_mutable_code() {
  ;
  return _impl_.code_.Mutable( GetArenaForAllocation());
}
inline std::string* Code::release_code() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.Code.code)
  return _impl_.code_.Release();
}
inline void Code::set_allocated_code(std::string* value) {
  _impl_.code_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.code_.IsDefault()) {
          _impl_.code_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.Code.code)
}

// string description = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void Code::clear_description() {
  _impl_.description_.ClearToEmpty();
}
inline const std::string& Code::description() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Code.description)
  return _internal_description();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void Code::set_description(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.description_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Code.description)
}
inline std::string* Code::mutable_description() {
  std::string* _s = _internal_mutable_description();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.Code.description)
  return _s;
}
inline const std::string& Code::_internal_description() const {
  return _impl_.description_.Get();
}
inline void Code::_internal_set_description(const std::string& value) {
  ;


  _impl_.description_.Set(value, GetArenaForAllocation());
}
inline std::string* Code::_internal_mutable_description() {
  ;
  return _impl_.description_.Mutable( GetArenaForAllocation());
}
inline std::string* Code::release_description() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.Code.description)
  return _impl_.description_.Release();
}
inline void Code::set_allocated_description(std::string* value) {
  _impl_.description_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.description_.IsDefault()) {
          _impl_.description_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.Code.description)
}

// repeated int32 relay_indexes = 3;
inline int Code::_internal_relay_indexes_size() const {
  return _impl_.relay_indexes_.size();
}
inline int Code::relay_indexes_size() const {
  return _internal_relay_indexes_size();
}
inline void Code::clear_relay_indexes() {
  _internal_mutable_relay_indexes()->Clear();
}
inline ::int32_t Code::relay_indexes(int index) const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.Code.relay_indexes)
  return _internal_relay_indexes(index);
}
inline void Code::set_relay_indexes(int index, ::int32_t value) {
  _internal_mutable_relay_indexes()->Set(index, value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.Code.relay_indexes)
}
inline void Code::add_relay_indexes(::int32_t value) {
  _internal_add_relay_indexes(value);
  // @@protoc_insertion_point(field_add:deviceapis.device.v1.Code.relay_indexes)
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& Code::relay_indexes() const {
  // @@protoc_insertion_point(field_list:deviceapis.device.v1.Code.relay_indexes)
  return _internal_relay_indexes();
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* Code::mutable_relay_indexes() {
  // @@protoc_insertion_point(field_mutable_list:deviceapis.device.v1.Code.relay_indexes)
  return _internal_mutable_relay_indexes();
}

inline ::int32_t Code::_internal_relay_indexes(int index) const {
  return _internal_relay_indexes().Get(index);
}
inline void Code::_internal_add_relay_indexes(::int32_t value) {
  _internal_mutable_relay_indexes()->Add(value);
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>& Code::_internal_relay_indexes() const {
  return _impl_.relay_indexes_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<::int32_t>* Code::_internal_mutable_relay_indexes() {
  return &_impl_.relay_indexes_;
}

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

// CodePaging

// int32 limit = 1;
inline void CodePaging::clear_limit() {
  _impl_.limit_ = 0;
}
inline ::int32_t CodePaging::limit() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.CodePaging.limit)
  return _internal_limit();
}
inline void CodePaging::set_limit(::int32_t value) {
  _internal_set_limit(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.CodePaging.limit)
}
inline ::int32_t CodePaging::_internal_limit() const {
  return _impl_.limit_;
}
inline void CodePaging::_internal_set_limit(::int32_t value) {
  ;
  _impl_.limit_ = value;
}

// int32 offset = 2;
inline void CodePaging::clear_offset() {
  _impl_.offset_ = 0;
}
inline ::int32_t CodePaging::offset() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.CodePaging.offset)
  return _internal_offset();
}
inline void CodePaging::set_offset(::int32_t value) {
  _internal_set_offset(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.CodePaging.offset)
}
inline ::int32_t CodePaging::_internal_offset() const {
  return _impl_.offset_;
}
inline void CodePaging::_internal_set_offset(::int32_t value) {
  ;
  _impl_.offset_ = value;
}

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

// DeleteCodeListRequest

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

// DeleteCodeListResponse

// int32 data = 1;
inline bool DeleteCodeListResponse::has_data() const {
  return type_case() == kData;
}
inline void DeleteCodeListResponse::set_has_data() {
  _impl_._oneof_case_[0] = kData;
}
inline void DeleteCodeListResponse::clear_data() {
  if (type_case() == kData) {
    _impl_.type_.data_ = 0;
    clear_has_type();
  }
}
inline ::int32_t DeleteCodeListResponse::data() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeleteCodeListResponse.data)
  return _internal_data();
}
inline void DeleteCodeListResponse::set_data(::int32_t value) {
  _internal_set_data(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeleteCodeListResponse.data)
}
inline ::int32_t DeleteCodeListResponse::_internal_data() const {
  if (type_case() == kData) {
    return _impl_.type_.data_;
  }
  return 0;
}
inline void DeleteCodeListResponse::_internal_set_data(::int32_t value) {
  if (type_case() != kData) {
    clear_type();
    set_has_data();
  }
  _impl_.type_.data_ = value;
}

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

// DeleteCodeRequest

// string code = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void DeleteCodeRequest::clear_code() {
  _impl_.code_.ClearToEmpty();
}
inline const std::string& DeleteCodeRequest::code() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeleteCodeRequest.code)
  return _internal_code();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void DeleteCodeRequest::set_code(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.code_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeleteCodeRequest.code)
}
inline std::string* DeleteCodeRequest::mutable_code() {
  std::string* _s = _internal_mutable_code();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.DeleteCodeRequest.code)
  return _s;
}
inline const std::string& DeleteCodeRequest::_internal_code() const {
  return _impl_.code_.Get();
}
inline void DeleteCodeRequest::_internal_set_code(const std::string& value) {
  ;


  _impl_.code_.Set(value, GetArenaForAllocation());
}
inline std::string* DeleteCodeRequest::_internal_mutable_code() {
  ;
  return _impl_.code_.Mutable( GetArenaForAllocation());
}
inline std::string* DeleteCodeRequest::release_code() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.DeleteCodeRequest.code)
  return _impl_.code_.Release();
}
inline void DeleteCodeRequest::set_allocated_code(std::string* value) {
  _impl_.code_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.code_.IsDefault()) {
          _impl_.code_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.DeleteCodeRequest.code)
}

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

// DeleteCodeResponse_Error

// .deviceapis.device.v1.ValidationError validation = 1;
inline bool DeleteCodeResponse_Error::has_validation() const {
  return reason_case() == kValidation;
}
inline bool DeleteCodeResponse_Error::_internal_has_validation() const {
  return reason_case() == kValidation;
}
inline void DeleteCodeResponse_Error::set_has_validation() {
  _impl_._oneof_case_[0] = kValidation;
}
inline ::deviceapis::device::v1::ValidationError* DeleteCodeResponse_Error::release_validation() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.DeleteCodeResponse.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& DeleteCodeResponse_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& DeleteCodeResponse_Error::validation() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeleteCodeResponse.Error.validation)
  return _internal_validation();
}
inline ::deviceapis::device::v1::ValidationError* DeleteCodeResponse_Error::unsafe_arena_release_validation() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.DeleteCodeResponse.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 DeleteCodeResponse_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.DeleteCodeResponse.Error.validation)
}
inline ::deviceapis::device::v1::ValidationError* DeleteCodeResponse_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* DeleteCodeResponse_Error::mutable_validation() {
  ::deviceapis::device::v1::ValidationError* _msg = _internal_mutable_validation();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.DeleteCodeResponse.Error.validation)
  return _msg;
}

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

// DeleteCodeResponse

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

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

// GetCodeCountRequest

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

// GetCodeCountResponse

// int32 data = 1;
inline bool GetCodeCountResponse::has_data() const {
  return type_case() == kData;
}
inline void GetCodeCountResponse::set_has_data() {
  _impl_._oneof_case_[0] = kData;
}
inline void GetCodeCountResponse::clear_data() {
  if (type_case() == kData) {
    _impl_.type_.data_ = 0;
    clear_has_type();
  }
}
inline ::int32_t GetCodeCountResponse::data() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.GetCodeCountResponse.data)
  return _internal_data();
}
inline void GetCodeCountResponse::set_data(::int32_t value) {
  _internal_set_data(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.GetCodeCountResponse.data)
}
inline ::int32_t GetCodeCountResponse::_internal_data() const {
  if (type_case() == kData) {
    return _impl_.type_.data_;
  }
  return 0;
}
inline void GetCodeCountResponse::_internal_set_data(::int32_t value) {
  if (type_case() != kData) {
    clear_type();
    set_has_data();
  }
  _impl_.type_.data_ = value;
}

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

// GetCodeListRequest

// .deviceapis.device.v1.CodePaging paging = 1;
inline bool GetCodeListRequest::has_paging() const {
  return pagination_case() == kPaging;
}
inline bool GetCodeListRequest::_internal_has_paging() const {
  return pagination_case() == kPaging;
}
inline void GetCodeListRequest::set_has_paging() {
  _impl_._oneof_case_[0] = kPaging;
}
inline void GetCodeListRequest::clear_paging() {
  if (pagination_case() == kPaging) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.pagination_.paging_;
    }
    clear_has_pagination();
  }
}
inline ::deviceapis::device::v1::CodePaging* GetCodeListRequest::release_paging() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.GetCodeListRequest.paging)
  if (pagination_case() == kPaging) {
    clear_has_pagination();
    ::deviceapis::device::v1::CodePaging* temp = _impl_.pagination_.paging_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.pagination_.paging_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::deviceapis::device::v1::CodePaging& GetCodeListRequest::_internal_paging() const {
  return pagination_case() == kPaging
      ? *_impl_.pagination_.paging_
      : reinterpret_cast<::deviceapis::device::v1::CodePaging&>(::deviceapis::device::v1::_CodePaging_default_instance_);
}
inline const ::deviceapis::device::v1::CodePaging& GetCodeListRequest::paging() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.GetCodeListRequest.paging)
  return _internal_paging();
}
inline ::deviceapis::device::v1::CodePaging* GetCodeListRequest::unsafe_arena_release_paging() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.GetCodeListRequest.paging)
  if (pagination_case() == kPaging) {
    clear_has_pagination();
    ::deviceapis::device::v1::CodePaging* temp = _impl_.pagination_.paging_;
    _impl_.pagination_.paging_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void GetCodeListRequest::unsafe_arena_set_allocated_paging(::deviceapis::device::v1::CodePaging* paging) {
  clear_pagination();
  if (paging) {
    set_has_paging();
    _impl_.pagination_.paging_ = paging;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:deviceapis.device.v1.GetCodeListRequest.paging)
}
inline ::deviceapis::device::v1::CodePaging* GetCodeListRequest::_internal_mutable_paging() {
  if (pagination_case() != kPaging) {
    clear_pagination();
    set_has_paging();
    _impl_.pagination_.paging_ = CreateMaybeMessage< ::deviceapis::device::v1::CodePaging >(GetArenaForAllocation());
  }
  return _impl_.pagination_.paging_;
}
inline ::deviceapis::device::v1::CodePaging* GetCodeListRequest::mutable_paging() {
  ::deviceapis::device::v1::CodePaging* _msg = _internal_mutable_paging();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.GetCodeListRequest.paging)
  return _msg;
}

inline bool GetCodeListRequest::has_pagination() const {
  return pagination_case() != PAGINATION_NOT_SET;
}
inline void GetCodeListRequest::clear_has_pagination() {
  _impl_._oneof_case_[0] = PAGINATION_NOT_SET;
}
inline GetCodeListRequest::PaginationCase GetCodeListRequest::pagination_case() const {
  return GetCodeListRequest::PaginationCase(_impl_._oneof_case_[0]);
}
// -------------------------------------------------------------------

// GetCodeListResponse

// repeated .deviceapis.device.v1.Code data = 1;
inline int GetCodeListResponse::_internal_data_size() const {
  return _impl_.data_.size();
}
inline int GetCodeListResponse::data_size() const {
  return _internal_data_size();
}
inline void GetCodeListResponse::clear_data() {
  _internal_mutable_data()->Clear();
}
inline ::deviceapis::device::v1::Code* GetCodeListResponse::mutable_data(int index) {
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.GetCodeListResponse.data)
  return _internal_mutable_data()->Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >*
GetCodeListResponse::mutable_data() {
  // @@protoc_insertion_point(field_mutable_list:deviceapis.device.v1.GetCodeListResponse.data)
  return _internal_mutable_data();
}
inline const ::deviceapis::device::v1::Code& GetCodeListResponse::_internal_data(int index) const {
  return _internal_data().Get(index);
}
inline const ::deviceapis::device::v1::Code& GetCodeListResponse::data(int index) const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.GetCodeListResponse.data)
  return _internal_data(index);
}
inline ::deviceapis::device::v1::Code* GetCodeListResponse::_internal_add_data() {
  return _internal_mutable_data()->Add();
}
inline ::deviceapis::device::v1::Code* GetCodeListResponse::add_data() {
  ::deviceapis::device::v1::Code* _add = _internal_add_data();
  // @@protoc_insertion_point(field_add:deviceapis.device.v1.GetCodeListResponse.data)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >&
GetCodeListResponse::data() const {
  // @@protoc_insertion_point(field_list:deviceapis.device.v1.GetCodeListResponse.data)
  return _internal_data();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>&
GetCodeListResponse::_internal_data() const {
  return _impl_.data_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>*
GetCodeListResponse::_internal_mutable_data() {
  return &_impl_.data_;
}

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

// GetCodeRequest

// string code = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void GetCodeRequest::clear_code() {
  _impl_.code_.ClearToEmpty();
}
inline const std::string& GetCodeRequest::code() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.GetCodeRequest.code)
  return _internal_code();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void GetCodeRequest::set_code(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.code_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.GetCodeRequest.code)
}
inline std::string* GetCodeRequest::mutable_code() {
  std::string* _s = _internal_mutable_code();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.GetCodeRequest.code)
  return _s;
}
inline const std::string& GetCodeRequest::_internal_code() const {
  return _impl_.code_.Get();
}
inline void GetCodeRequest::_internal_set_code(const std::string& value) {
  ;


  _impl_.code_.Set(value, GetArenaForAllocation());
}
inline std::string* GetCodeRequest::_internal_mutable_code() {
  ;
  return _impl_.code_.Mutable( GetArenaForAllocation());
}
inline std::string* GetCodeRequest::release_code() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.GetCodeRequest.code)
  return _impl_.code_.Release();
}
inline void GetCodeRequest::set_allocated_code(std::string* value) {
  _impl_.code_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.code_.IsDefault()) {
          _impl_.code_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.GetCodeRequest.code)
}

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

// GetCodeResponse

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

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

// SaveCodeListRequest

// repeated .deviceapis.device.v1.Code data = 1;
inline int SaveCodeListRequest::_internal_data_size() const {
  return _impl_.data_.size();
}
inline int SaveCodeListRequest::data_size() const {
  return _internal_data_size();
}
inline void SaveCodeListRequest::clear_data() {
  _internal_mutable_data()->Clear();
}
inline ::deviceapis::device::v1::Code* SaveCodeListRequest::mutable_data(int index) {
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.SaveCodeListRequest.data)
  return _internal_mutable_data()->Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >*
SaveCodeListRequest::mutable_data() {
  // @@protoc_insertion_point(field_mutable_list:deviceapis.device.v1.SaveCodeListRequest.data)
  return _internal_mutable_data();
}
inline const ::deviceapis::device::v1::Code& SaveCodeListRequest::_internal_data(int index) const {
  return _internal_data().Get(index);
}
inline const ::deviceapis::device::v1::Code& SaveCodeListRequest::data(int index) const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.SaveCodeListRequest.data)
  return _internal_data(index);
}
inline ::deviceapis::device::v1::Code* SaveCodeListRequest::_internal_add_data() {
  return _internal_mutable_data()->Add();
}
inline ::deviceapis::device::v1::Code* SaveCodeListRequest::add_data() {
  ::deviceapis::device::v1::Code* _add = _internal_add_data();
  // @@protoc_insertion_point(field_add:deviceapis.device.v1.SaveCodeListRequest.data)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >&
SaveCodeListRequest::data() const {
  // @@protoc_insertion_point(field_list:deviceapis.device.v1.SaveCodeListRequest.data)
  return _internal_data();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>&
SaveCodeListRequest::_internal_data() const {
  return _impl_.data_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>*
SaveCodeListRequest::_internal_mutable_data() {
  return &_impl_.data_;
}

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

// SaveCodeListResponse_Error

// string code = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void SaveCodeListResponse_Error::clear_code() {
  _impl_.code_.ClearToEmpty();
}
inline const std::string& SaveCodeListResponse_Error::code() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.SaveCodeListResponse.Error.code)
  return _internal_code();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void SaveCodeListResponse_Error::set_code(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.code_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.SaveCodeListResponse.Error.code)
}
inline std::string* SaveCodeListResponse_Error::mutable_code() {
  std::string* _s = _internal_mutable_code();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.SaveCodeListResponse.Error.code)
  return _s;
}
inline const std::string& SaveCodeListResponse_Error::_internal_code() const {
  return _impl_.code_.Get();
}
inline void SaveCodeListResponse_Error::_internal_set_code(const std::string& value) {
  ;


  _impl_.code_.Set(value, GetArenaForAllocation());
}
inline std::string* SaveCodeListResponse_Error::_internal_mutable_code() {
  ;
  return _impl_.code_.Mutable( GetArenaForAllocation());
}
inline std::string* SaveCodeListResponse_Error::release_code() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.SaveCodeListResponse.Error.code)
  return _impl_.code_.Release();
}
inline void SaveCodeListResponse_Error::set_allocated_code(std::string* value) {
  _impl_.code_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.code_.IsDefault()) {
          _impl_.code_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.SaveCodeListResponse.Error.code)
}

// .deviceapis.device.v1.ValidationError validation = 2;
inline bool SaveCodeListResponse_Error::has_validation() const {
  return reason_case() == kValidation;
}
inline bool SaveCodeListResponse_Error::_internal_has_validation() const {
  return reason_case() == kValidation;
}
inline void SaveCodeListResponse_Error::set_has_validation() {
  _impl_._oneof_case_[0] = kValidation;
}
inline ::deviceapis::device::v1::ValidationError* SaveCodeListResponse_Error::release_validation() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.SaveCodeListResponse.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& SaveCodeListResponse_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& SaveCodeListResponse_Error::validation() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.SaveCodeListResponse.Error.validation)
  return _internal_validation();
}
inline ::deviceapis::device::v1::ValidationError* SaveCodeListResponse_Error::unsafe_arena_release_validation() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.SaveCodeListResponse.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 SaveCodeListResponse_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.SaveCodeListResponse.Error.validation)
}
inline ::deviceapis::device::v1::ValidationError* SaveCodeListResponse_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* SaveCodeListResponse_Error::mutable_validation() {
  ::deviceapis::device::v1::ValidationError* _msg = _internal_mutable_validation();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.SaveCodeListResponse.Error.validation)
  return _msg;
}

// .deviceapis.device.v1.Code.SavingError saving = 3;
inline bool SaveCodeListResponse_Error::has_saving() const {
  return reason_case() == kSaving;
}
inline bool SaveCodeListResponse_Error::_internal_has_saving() const {
  return reason_case() == kSaving;
}
inline void SaveCodeListResponse_Error::set_has_saving() {
  _impl_._oneof_case_[0] = kSaving;
}
inline void SaveCodeListResponse_Error::clear_saving() {
  if (reason_case() == kSaving) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.reason_.saving_;
    }
    clear_has_reason();
  }
}
inline ::deviceapis::device::v1::Code_SavingError* SaveCodeListResponse_Error::release_saving() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.SaveCodeListResponse.Error.saving)
  if (reason_case() == kSaving) {
    clear_has_reason();
    ::deviceapis::device::v1::Code_SavingError* temp = _impl_.reason_.saving_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.reason_.saving_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::deviceapis::device::v1::Code_SavingError& SaveCodeListResponse_Error::_internal_saving() const {
  return reason_case() == kSaving
      ? *_impl_.reason_.saving_
      : reinterpret_cast<::deviceapis::device::v1::Code_SavingError&>(::deviceapis::device::v1::_Code_SavingError_default_instance_);
}
inline const ::deviceapis::device::v1::Code_SavingError& SaveCodeListResponse_Error::saving() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.SaveCodeListResponse.Error.saving)
  return _internal_saving();
}
inline ::deviceapis::device::v1::Code_SavingError* SaveCodeListResponse_Error::unsafe_arena_release_saving() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.SaveCodeListResponse.Error.saving)
  if (reason_case() == kSaving) {
    clear_has_reason();
    ::deviceapis::device::v1::Code_SavingError* temp = _impl_.reason_.saving_;
    _impl_.reason_.saving_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void SaveCodeListResponse_Error::unsafe_arena_set_allocated_saving(::deviceapis::device::v1::Code_SavingError* saving) {
  clear_reason();
  if (saving) {
    set_has_saving();
    _impl_.reason_.saving_ = saving;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:deviceapis.device.v1.SaveCodeListResponse.Error.saving)
}
inline ::deviceapis::device::v1::Code_SavingError* SaveCodeListResponse_Error::_internal_mutable_saving() {
  if (reason_case() != kSaving) {
    clear_reason();
    set_has_saving();
    _impl_.reason_.saving_ = CreateMaybeMessage< ::deviceapis::device::v1::Code_SavingError >(GetArenaForAllocation());
  }
  return _impl_.reason_.saving_;
}
inline ::deviceapis::device::v1::Code_SavingError* SaveCodeListResponse_Error::mutable_saving() {
  ::deviceapis::device::v1::Code_SavingError* _msg = _internal_mutable_saving();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.SaveCodeListResponse.Error.saving)
  return _msg;
}

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

// SaveCodeListResponse

// repeated .deviceapis.device.v1.Code data = 1;
inline int SaveCodeListResponse::_internal_data_size() const {
  return _impl_.data_.size();
}
inline int SaveCodeListResponse::data_size() const {
  return _internal_data_size();
}
inline void SaveCodeListResponse::clear_data() {
  _internal_mutable_data()->Clear();
}
inline ::deviceapis::device::v1::Code* SaveCodeListResponse::mutable_data(int index) {
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.SaveCodeListResponse.data)
  return _internal_mutable_data()->Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >*
SaveCodeListResponse::mutable_data() {
  // @@protoc_insertion_point(field_mutable_list:deviceapis.device.v1.SaveCodeListResponse.data)
  return _internal_mutable_data();
}
inline const ::deviceapis::device::v1::Code& SaveCodeListResponse::_internal_data(int index) const {
  return _internal_data().Get(index);
}
inline const ::deviceapis::device::v1::Code& SaveCodeListResponse::data(int index) const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.SaveCodeListResponse.data)
  return _internal_data(index);
}
inline ::deviceapis::device::v1::Code* SaveCodeListResponse::_internal_add_data() {
  return _internal_mutable_data()->Add();
}
inline ::deviceapis::device::v1::Code* SaveCodeListResponse::add_data() {
  ::deviceapis::device::v1::Code* _add = _internal_add_data();
  // @@protoc_insertion_point(field_add:deviceapis.device.v1.SaveCodeListResponse.data)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::Code >&
SaveCodeListResponse::data() const {
  // @@protoc_insertion_point(field_list:deviceapis.device.v1.SaveCodeListResponse.data)
  return _internal_data();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>&
SaveCodeListResponse::_internal_data() const {
  return _impl_.data_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::Code>*
SaveCodeListResponse::_internal_mutable_data() {
  return &_impl_.data_;
}

// repeated .deviceapis.device.v1.SaveCodeListResponse.Error errors = 2;
inline int SaveCodeListResponse::_internal_errors_size() const {
  return _impl_.errors_.size();
}
inline int SaveCodeListResponse::errors_size() const {
  return _internal_errors_size();
}
inline void SaveCodeListResponse::clear_errors() {
  _internal_mutable_errors()->Clear();
}
inline ::deviceapis::device::v1::SaveCodeListResponse_Error* SaveCodeListResponse::mutable_errors(int index) {
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.SaveCodeListResponse.errors)
  return _internal_mutable_errors()->Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::SaveCodeListResponse_Error >*
SaveCodeListResponse::mutable_errors() {
  // @@protoc_insertion_point(field_mutable_list:deviceapis.device.v1.SaveCodeListResponse.errors)
  return _internal_mutable_errors();
}
inline const ::deviceapis::device::v1::SaveCodeListResponse_Error& SaveCodeListResponse::_internal_errors(int index) const {
  return _internal_errors().Get(index);
}
inline const ::deviceapis::device::v1::SaveCodeListResponse_Error& SaveCodeListResponse::errors(int index) const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.SaveCodeListResponse.errors)
  return _internal_errors(index);
}
inline ::deviceapis::device::v1::SaveCodeListResponse_Error* SaveCodeListResponse::_internal_add_errors() {
  return _internal_mutable_errors()->Add();
}
inline ::deviceapis::device::v1::SaveCodeListResponse_Error* SaveCodeListResponse::add_errors() {
  ::deviceapis::device::v1::SaveCodeListResponse_Error* _add = _internal_add_errors();
  // @@protoc_insertion_point(field_add:deviceapis.device.v1.SaveCodeListResponse.errors)
  return _add;
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::deviceapis::device::v1::SaveCodeListResponse_Error >&
SaveCodeListResponse::errors() const {
  // @@protoc_insertion_point(field_list:deviceapis.device.v1.SaveCodeListResponse.errors)
  return _internal_errors();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::SaveCodeListResponse_Error>&
SaveCodeListResponse::_internal_errors() const {
  return _impl_.errors_;
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<::deviceapis::device::v1::SaveCodeListResponse_Error>*
SaveCodeListResponse::_internal_mutable_errors() {
  return &_impl_.errors_;
}

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

// SaveCodeRequest

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

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

// SaveCodeResponse_Error

// .deviceapis.device.v1.ValidationError validation = 1;
inline bool SaveCodeResponse_Error::has_validation() const {
  return reason_case() == kValidation;
}
inline bool SaveCodeResponse_Error::_internal_has_validation() const {
  return reason_case() == kValidation;
}
inline void SaveCodeResponse_Error::set_has_validation() {
  _impl_._oneof_case_[0] = kValidation;
}
inline ::deviceapis::device::v1::ValidationError* SaveCodeResponse_Error::release_validation() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.SaveCodeResponse.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& SaveCodeResponse_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& SaveCodeResponse_Error::validation() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.SaveCodeResponse.Error.validation)
  return _internal_validation();
}
inline ::deviceapis::device::v1::ValidationError* SaveCodeResponse_Error::unsafe_arena_release_validation() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.SaveCodeResponse.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 SaveCodeResponse_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.SaveCodeResponse.Error.validation)
}
inline ::deviceapis::device::v1::ValidationError* SaveCodeResponse_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* SaveCodeResponse_Error::mutable_validation() {
  ::deviceapis::device::v1::ValidationError* _msg = _internal_mutable_validation();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.SaveCodeResponse.Error.validation)
  return _msg;
}

// .deviceapis.device.v1.Code.SavingError saving = 2;
inline bool SaveCodeResponse_Error::has_saving() const {
  return reason_case() == kSaving;
}
inline bool SaveCodeResponse_Error::_internal_has_saving() const {
  return reason_case() == kSaving;
}
inline void SaveCodeResponse_Error::set_has_saving() {
  _impl_._oneof_case_[0] = kSaving;
}
inline void SaveCodeResponse_Error::clear_saving() {
  if (reason_case() == kSaving) {
    if (GetArenaForAllocation() == nullptr) {
      delete _impl_.reason_.saving_;
    }
    clear_has_reason();
  }
}
inline ::deviceapis::device::v1::Code_SavingError* SaveCodeResponse_Error::release_saving() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.SaveCodeResponse.Error.saving)
  if (reason_case() == kSaving) {
    clear_has_reason();
    ::deviceapis::device::v1::Code_SavingError* temp = _impl_.reason_.saving_;
    if (GetArenaForAllocation() != nullptr) {
      temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
    }
    _impl_.reason_.saving_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline const ::deviceapis::device::v1::Code_SavingError& SaveCodeResponse_Error::_internal_saving() const {
  return reason_case() == kSaving
      ? *_impl_.reason_.saving_
      : reinterpret_cast<::deviceapis::device::v1::Code_SavingError&>(::deviceapis::device::v1::_Code_SavingError_default_instance_);
}
inline const ::deviceapis::device::v1::Code_SavingError& SaveCodeResponse_Error::saving() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.SaveCodeResponse.Error.saving)
  return _internal_saving();
}
inline ::deviceapis::device::v1::Code_SavingError* SaveCodeResponse_Error::unsafe_arena_release_saving() {
  // @@protoc_insertion_point(field_unsafe_arena_release:deviceapis.device.v1.SaveCodeResponse.Error.saving)
  if (reason_case() == kSaving) {
    clear_has_reason();
    ::deviceapis::device::v1::Code_SavingError* temp = _impl_.reason_.saving_;
    _impl_.reason_.saving_ = nullptr;
    return temp;
  } else {
    return nullptr;
  }
}
inline void SaveCodeResponse_Error::unsafe_arena_set_allocated_saving(::deviceapis::device::v1::Code_SavingError* saving) {
  clear_reason();
  if (saving) {
    set_has_saving();
    _impl_.reason_.saving_ = saving;
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:deviceapis.device.v1.SaveCodeResponse.Error.saving)
}
inline ::deviceapis::device::v1::Code_SavingError* SaveCodeResponse_Error::_internal_mutable_saving() {
  if (reason_case() != kSaving) {
    clear_reason();
    set_has_saving();
    _impl_.reason_.saving_ = CreateMaybeMessage< ::deviceapis::device::v1::Code_SavingError >(GetArenaForAllocation());
  }
  return _impl_.reason_.saving_;
}
inline ::deviceapis::device::v1::Code_SavingError* SaveCodeResponse_Error::mutable_saving() {
  ::deviceapis::device::v1::Code_SavingError* _msg = _internal_mutable_saving();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.SaveCodeResponse.Error.saving)
  return _msg;
}

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

// SaveCodeResponse

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

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

inline bool SaveCodeResponse::has_type() const {
  return type_case() != TYPE_NOT_SET;
}
inline void SaveCodeResponse::clear_has_type() {
  _impl_._oneof_case_[0] = TYPE_NOT_SET;
}
inline SaveCodeResponse::TypeCase SaveCodeResponse::type_case() const {
  return SaveCodeResponse::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_5fcode_5fv1_2eproto_2epb_2eh
