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

#ifndef GOOGLE_PROTOBUF_INCLUDED_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fsystem_5fv1_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fsystem_5fv1_2eproto_2epb_2eh

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

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

#if 4023001 < PROTOBUF_MIN_PROTOC_VERSION
#error "This file was generated by an older version of protoc which is"
#error "incompatible with your Protocol Buffer headers. Please"
#error "regenerate this file with a newer version of protoc."
#endif  // PROTOBUF_MIN_PROTOC_VERSION
#include "google/protobuf/port_undef.inc"
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h"  // IWYU pragma: export
#include "google/protobuf/extension_set.h"  // IWYU pragma: export
#include "google/api/annotations.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_5fsystem_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_5fsystem_5fv1_2eproto {
  static const ::uint32_t offsets[];
};
namespace deviceapis {
namespace device {
namespace v1 {
class DeviceInfo;
struct DeviceInfoDefaultTypeInternal;
extern DeviceInfoDefaultTypeInternal _DeviceInfo_default_instance_;
class GetSystemInfoRequest;
struct GetSystemInfoRequestDefaultTypeInternal;
extern GetSystemInfoRequestDefaultTypeInternal _GetSystemInfoRequest_default_instance_;
class GetSystemInfoResponse;
struct GetSystemInfoResponseDefaultTypeInternal;
extern GetSystemInfoResponseDefaultTypeInternal _GetSystemInfoResponse_default_instance_;
class PostSystemRebootRequest;
struct PostSystemRebootRequestDefaultTypeInternal;
extern PostSystemRebootRequestDefaultTypeInternal _PostSystemRebootRequest_default_instance_;
class PostSystemRebootResponse;
struct PostSystemRebootResponseDefaultTypeInternal;
extern PostSystemRebootResponseDefaultTypeInternal _PostSystemRebootResponse_default_instance_;
}  // namespace v1
}  // namespace device
}  // namespace deviceapis
PROTOBUF_NAMESPACE_OPEN
template <>
::deviceapis::device::v1::DeviceInfo* Arena::CreateMaybeMessage<::deviceapis::device::v1::DeviceInfo>(Arena*);
template <>
::deviceapis::device::v1::GetSystemInfoRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetSystemInfoRequest>(Arena*);
template <>
::deviceapis::device::v1::GetSystemInfoResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::GetSystemInfoResponse>(Arena*);
template <>
::deviceapis::device::v1::PostSystemRebootRequest* Arena::CreateMaybeMessage<::deviceapis::device::v1::PostSystemRebootRequest>(Arena*);
template <>
::deviceapis::device::v1::PostSystemRebootResponse* Arena::CreateMaybeMessage<::deviceapis::device::v1::PostSystemRebootResponse>(Arena*);
PROTOBUF_NAMESPACE_CLOSE

namespace deviceapis {
namespace device {
namespace v1 {

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


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

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

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

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

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

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

  enum : int {
    kFirmwareVersionFieldNumber = 1,
    kHardwareVersionFieldNumber = 2,
    kModelFieldNumber = 3,
    kMacAddressFieldNumber = 4,
    kIpFieldNumber = 5,
    kSerialNumberFieldNumber = 6,
    kMcFirmwareVersionFieldNumber = 8,
    kUptimeFieldNumber = 7,
  };
  // string firmware_version = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_firmware_version() ;
  const std::string& firmware_version() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_firmware_version(Arg_&& arg, Args_... args);
  std::string* mutable_firmware_version();
  PROTOBUF_NODISCARD std::string* release_firmware_version();
  void set_allocated_firmware_version(std::string* ptr);

  private:
  const std::string& _internal_firmware_version() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_firmware_version(
      const std::string& value);
  std::string* _internal_mutable_firmware_version();

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




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_hardware_version(Arg_&& arg, Args_... args);
  std::string* mutable_hardware_version();
  PROTOBUF_NODISCARD std::string* release_hardware_version();
  void set_allocated_hardware_version(std::string* ptr);

  private:
  const std::string& _internal_hardware_version() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_hardware_version(
      const std::string& value);
  std::string* _internal_mutable_hardware_version();

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




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_model(Arg_&& arg, Args_... args);
  std::string* mutable_model();
  PROTOBUF_NODISCARD std::string* release_model();
  void set_allocated_model(std::string* ptr);

  private:
  const std::string& _internal_model() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_model(
      const std::string& value);
  std::string* _internal_mutable_model();

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




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_mac_address(Arg_&& arg, Args_... args);
  std::string* mutable_mac_address();
  PROTOBUF_NODISCARD std::string* release_mac_address();
  void set_allocated_mac_address(std::string* ptr);

  private:
  const std::string& _internal_mac_address() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_mac_address(
      const std::string& value);
  std::string* _internal_mutable_mac_address();

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




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_ip(Arg_&& arg, Args_... args);
  std::string* mutable_ip();
  PROTOBUF_NODISCARD std::string* release_ip();
  void set_allocated_ip(std::string* ptr);

  private:
  const std::string& _internal_ip() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_ip(
      const std::string& value);
  std::string* _internal_mutable_ip();

  public:
  // string serial_number = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_serial_number() ;
  const std::string& serial_number() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_serial_number(Arg_&& arg, Args_... args);
  std::string* mutable_serial_number();
  PROTOBUF_NODISCARD std::string* release_serial_number();
  void set_allocated_serial_number(std::string* ptr);

  private:
  const std::string& _internal_serial_number() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial_number(
      const std::string& value);
  std::string* _internal_mutable_serial_number();

  public:
  // string mc_firmware_version = 8 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_mc_firmware_version() ;
  const std::string& mc_firmware_version() const;




  template <typename Arg_ = const std::string&, typename... Args_>
  void set_mc_firmware_version(Arg_&& arg, Args_... args);
  std::string* mutable_mc_firmware_version();
  PROTOBUF_NODISCARD std::string* release_mc_firmware_version();
  void set_allocated_mc_firmware_version(std::string* ptr);

  private:
  const std::string& _internal_mc_firmware_version() const;
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_mc_firmware_version(
      const std::string& value);
  std::string* _internal_mutable_mc_firmware_version();

  public:
  // int32 uptime = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
  void clear_uptime() ;
  ::int32_t uptime() const;
  void set_uptime(::int32_t value);

  private:
  ::int32_t _internal_uptime() const;
  void _internal_set_uptime(::int32_t value);

  public:
  // @@protoc_insertion_point(class_scope:deviceapis.device.v1.DeviceInfo)
 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 firmware_version_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hardware_version_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mac_address_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_number_;
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mc_firmware_version_;
    ::int32_t uptime_;
    mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  };
  union { Impl_ _impl_; };
  friend struct ::TableStruct_deviceapis_2fdevice_2fv1_2fdeviceapis_5fdevice_5fsystem_5fv1_2eproto;
};// -------------------------------------------------------------------

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

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

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

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

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

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

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

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

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

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

  std::string GetTypeName() const final;

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

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

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

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

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




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


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

// PostSystemRebootRequest

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

// PostSystemRebootResponse

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

// DeviceInfo

// string firmware_version = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void DeviceInfo::clear_firmware_version() {
  _impl_.firmware_version_.ClearToEmpty();
}
inline const std::string& DeviceInfo::firmware_version() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeviceInfo.firmware_version)
  return _internal_firmware_version();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void DeviceInfo::set_firmware_version(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.firmware_version_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeviceInfo.firmware_version)
}
inline std::string* DeviceInfo::mutable_firmware_version() {
  std::string* _s = _internal_mutable_firmware_version();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.DeviceInfo.firmware_version)
  return _s;
}
inline const std::string& DeviceInfo::_internal_firmware_version() const {
  return _impl_.firmware_version_.Get();
}
inline void DeviceInfo::_internal_set_firmware_version(const std::string& value) {
  ;


  _impl_.firmware_version_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceInfo::_internal_mutable_firmware_version() {
  ;
  return _impl_.firmware_version_.Mutable( GetArenaForAllocation());
}
inline std::string* DeviceInfo::release_firmware_version() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.DeviceInfo.firmware_version)
  return _impl_.firmware_version_.Release();
}
inline void DeviceInfo::set_allocated_firmware_version(std::string* value) {
  _impl_.firmware_version_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.firmware_version_.IsDefault()) {
          _impl_.firmware_version_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.DeviceInfo.firmware_version)
}

// string hardware_version = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void DeviceInfo::clear_hardware_version() {
  _impl_.hardware_version_.ClearToEmpty();
}
inline const std::string& DeviceInfo::hardware_version() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeviceInfo.hardware_version)
  return _internal_hardware_version();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void DeviceInfo::set_hardware_version(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.hardware_version_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeviceInfo.hardware_version)
}
inline std::string* DeviceInfo::mutable_hardware_version() {
  std::string* _s = _internal_mutable_hardware_version();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.DeviceInfo.hardware_version)
  return _s;
}
inline const std::string& DeviceInfo::_internal_hardware_version() const {
  return _impl_.hardware_version_.Get();
}
inline void DeviceInfo::_internal_set_hardware_version(const std::string& value) {
  ;


  _impl_.hardware_version_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceInfo::_internal_mutable_hardware_version() {
  ;
  return _impl_.hardware_version_.Mutable( GetArenaForAllocation());
}
inline std::string* DeviceInfo::release_hardware_version() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.DeviceInfo.hardware_version)
  return _impl_.hardware_version_.Release();
}
inline void DeviceInfo::set_allocated_hardware_version(std::string* value) {
  _impl_.hardware_version_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.hardware_version_.IsDefault()) {
          _impl_.hardware_version_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.DeviceInfo.hardware_version)
}

// string model = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void DeviceInfo::clear_model() {
  _impl_.model_.ClearToEmpty();
}
inline const std::string& DeviceInfo::model() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeviceInfo.model)
  return _internal_model();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void DeviceInfo::set_model(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.model_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeviceInfo.model)
}
inline std::string* DeviceInfo::mutable_model() {
  std::string* _s = _internal_mutable_model();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.DeviceInfo.model)
  return _s;
}
inline const std::string& DeviceInfo::_internal_model() const {
  return _impl_.model_.Get();
}
inline void DeviceInfo::_internal_set_model(const std::string& value) {
  ;


  _impl_.model_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceInfo::_internal_mutable_model() {
  ;
  return _impl_.model_.Mutable( GetArenaForAllocation());
}
inline std::string* DeviceInfo::release_model() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.DeviceInfo.model)
  return _impl_.model_.Release();
}
inline void DeviceInfo::set_allocated_model(std::string* value) {
  _impl_.model_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.model_.IsDefault()) {
          _impl_.model_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.DeviceInfo.model)
}

// string mac_address = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void DeviceInfo::clear_mac_address() {
  _impl_.mac_address_.ClearToEmpty();
}
inline const std::string& DeviceInfo::mac_address() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeviceInfo.mac_address)
  return _internal_mac_address();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void DeviceInfo::set_mac_address(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.mac_address_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeviceInfo.mac_address)
}
inline std::string* DeviceInfo::mutable_mac_address() {
  std::string* _s = _internal_mutable_mac_address();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.DeviceInfo.mac_address)
  return _s;
}
inline const std::string& DeviceInfo::_internal_mac_address() const {
  return _impl_.mac_address_.Get();
}
inline void DeviceInfo::_internal_set_mac_address(const std::string& value) {
  ;


  _impl_.mac_address_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceInfo::_internal_mutable_mac_address() {
  ;
  return _impl_.mac_address_.Mutable( GetArenaForAllocation());
}
inline std::string* DeviceInfo::release_mac_address() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.DeviceInfo.mac_address)
  return _impl_.mac_address_.Release();
}
inline void DeviceInfo::set_allocated_mac_address(std::string* value) {
  _impl_.mac_address_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.mac_address_.IsDefault()) {
          _impl_.mac_address_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.DeviceInfo.mac_address)
}

// string ip = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void DeviceInfo::clear_ip() {
  _impl_.ip_.ClearToEmpty();
}
inline const std::string& DeviceInfo::ip() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeviceInfo.ip)
  return _internal_ip();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void DeviceInfo::set_ip(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.ip_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeviceInfo.ip)
}
inline std::string* DeviceInfo::mutable_ip() {
  std::string* _s = _internal_mutable_ip();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.DeviceInfo.ip)
  return _s;
}
inline const std::string& DeviceInfo::_internal_ip() const {
  return _impl_.ip_.Get();
}
inline void DeviceInfo::_internal_set_ip(const std::string& value) {
  ;


  _impl_.ip_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceInfo::_internal_mutable_ip() {
  ;
  return _impl_.ip_.Mutable( GetArenaForAllocation());
}
inline std::string* DeviceInfo::release_ip() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.DeviceInfo.ip)
  return _impl_.ip_.Release();
}
inline void DeviceInfo::set_allocated_ip(std::string* value) {
  _impl_.ip_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.ip_.IsDefault()) {
          _impl_.ip_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.DeviceInfo.ip)
}

// string serial_number = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void DeviceInfo::clear_serial_number() {
  _impl_.serial_number_.ClearToEmpty();
}
inline const std::string& DeviceInfo::serial_number() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeviceInfo.serial_number)
  return _internal_serial_number();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void DeviceInfo::set_serial_number(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.serial_number_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeviceInfo.serial_number)
}
inline std::string* DeviceInfo::mutable_serial_number() {
  std::string* _s = _internal_mutable_serial_number();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.DeviceInfo.serial_number)
  return _s;
}
inline const std::string& DeviceInfo::_internal_serial_number() const {
  return _impl_.serial_number_.Get();
}
inline void DeviceInfo::_internal_set_serial_number(const std::string& value) {
  ;


  _impl_.serial_number_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceInfo::_internal_mutable_serial_number() {
  ;
  return _impl_.serial_number_.Mutable( GetArenaForAllocation());
}
inline std::string* DeviceInfo::release_serial_number() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.DeviceInfo.serial_number)
  return _impl_.serial_number_.Release();
}
inline void DeviceInfo::set_allocated_serial_number(std::string* value) {
  _impl_.serial_number_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.serial_number_.IsDefault()) {
          _impl_.serial_number_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.DeviceInfo.serial_number)
}

// int32 uptime = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void DeviceInfo::clear_uptime() {
  _impl_.uptime_ = 0;
}
inline ::int32_t DeviceInfo::uptime() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeviceInfo.uptime)
  return _internal_uptime();
}
inline void DeviceInfo::set_uptime(::int32_t value) {
  _internal_set_uptime(value);
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeviceInfo.uptime)
}
inline ::int32_t DeviceInfo::_internal_uptime() const {
  return _impl_.uptime_;
}
inline void DeviceInfo::_internal_set_uptime(::int32_t value) {
  ;
  _impl_.uptime_ = value;
}

// string mc_firmware_version = 8 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
inline void DeviceInfo::clear_mc_firmware_version() {
  _impl_.mc_firmware_version_.ClearToEmpty();
}
inline const std::string& DeviceInfo::mc_firmware_version() const {
  // @@protoc_insertion_point(field_get:deviceapis.device.v1.DeviceInfo.mc_firmware_version)
  return _internal_mc_firmware_version();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void DeviceInfo::set_mc_firmware_version(Arg_&& arg,
                                                     Args_... args) {
  ;
  _impl_.mc_firmware_version_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  // @@protoc_insertion_point(field_set:deviceapis.device.v1.DeviceInfo.mc_firmware_version)
}
inline std::string* DeviceInfo::mutable_mc_firmware_version() {
  std::string* _s = _internal_mutable_mc_firmware_version();
  // @@protoc_insertion_point(field_mutable:deviceapis.device.v1.DeviceInfo.mc_firmware_version)
  return _s;
}
inline const std::string& DeviceInfo::_internal_mc_firmware_version() const {
  return _impl_.mc_firmware_version_.Get();
}
inline void DeviceInfo::_internal_set_mc_firmware_version(const std::string& value) {
  ;


  _impl_.mc_firmware_version_.Set(value, GetArenaForAllocation());
}
inline std::string* DeviceInfo::_internal_mutable_mc_firmware_version() {
  ;
  return _impl_.mc_firmware_version_.Mutable( GetArenaForAllocation());
}
inline std::string* DeviceInfo::release_mc_firmware_version() {
  // @@protoc_insertion_point(field_release:deviceapis.device.v1.DeviceInfo.mc_firmware_version)
  return _impl_.mc_firmware_version_.Release();
}
inline void DeviceInfo::set_allocated_mc_firmware_version(std::string* value) {
  _impl_.mc_firmware_version_.SetAllocated(value, GetArenaForAllocation());
  #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
        if (_impl_.mc_firmware_version_.IsDefault()) {
          _impl_.mc_firmware_version_.Set("", GetArenaForAllocation());
        }
  #endif  // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  // @@protoc_insertion_point(field_set_allocated:deviceapis.device.v1.DeviceInfo.mc_firmware_version)
}

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

// GetSystemInfoRequest

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

// GetSystemInfoResponse

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

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