Files
autofeed/audofeed-device-backend/rpc/Local.Status.pb.h
2025-12-22 00:51:03 +08:00

2234 lines
77 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Local.Status.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_Local_2eStatus_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_Local_2eStatus_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3019000
#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
#if 3019004 < 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
#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_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_Local_2eStatus_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
} // namespace internal
PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_Local_2eStatus_2eproto {
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[8]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_Local_2eStatus_2eproto;
namespace Local {
namespace Status {
class LocalDeviceReq;
struct LocalDeviceReqDefaultTypeInternal;
extern LocalDeviceReqDefaultTypeInternal _LocalDeviceReq_default_instance_;
class LocalDeviceRes;
struct LocalDeviceResDefaultTypeInternal;
extern LocalDeviceResDefaultTypeInternal _LocalDeviceRes_default_instance_;
class LocalFeedReq;
struct LocalFeedReqDefaultTypeInternal;
extern LocalFeedReqDefaultTypeInternal _LocalFeedReq_default_instance_;
class LocalFeedRes;
struct LocalFeedResDefaultTypeInternal;
extern LocalFeedResDefaultTypeInternal _LocalFeedRes_default_instance_;
class LocalHardReq;
struct LocalHardReqDefaultTypeInternal;
extern LocalHardReqDefaultTypeInternal _LocalHardReq_default_instance_;
class LocalHardRes;
struct LocalHardResDefaultTypeInternal;
extern LocalHardResDefaultTypeInternal _LocalHardRes_default_instance_;
class LocalMqttReq;
struct LocalMqttReqDefaultTypeInternal;
extern LocalMqttReqDefaultTypeInternal _LocalMqttReq_default_instance_;
class LocalMqttRes;
struct LocalMqttResDefaultTypeInternal;
extern LocalMqttResDefaultTypeInternal _LocalMqttRes_default_instance_;
} // namespace Status
} // namespace Local
PROTOBUF_NAMESPACE_OPEN
template<> ::Local::Status::LocalDeviceReq* Arena::CreateMaybeMessage<::Local::Status::LocalDeviceReq>(Arena*);
template<> ::Local::Status::LocalDeviceRes* Arena::CreateMaybeMessage<::Local::Status::LocalDeviceRes>(Arena*);
template<> ::Local::Status::LocalFeedReq* Arena::CreateMaybeMessage<::Local::Status::LocalFeedReq>(Arena*);
template<> ::Local::Status::LocalFeedRes* Arena::CreateMaybeMessage<::Local::Status::LocalFeedRes>(Arena*);
template<> ::Local::Status::LocalHardReq* Arena::CreateMaybeMessage<::Local::Status::LocalHardReq>(Arena*);
template<> ::Local::Status::LocalHardRes* Arena::CreateMaybeMessage<::Local::Status::LocalHardRes>(Arena*);
template<> ::Local::Status::LocalMqttReq* Arena::CreateMaybeMessage<::Local::Status::LocalMqttReq>(Arena*);
template<> ::Local::Status::LocalMqttRes* Arena::CreateMaybeMessage<::Local::Status::LocalMqttRes>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace Local {
namespace Status {
// ===================================================================
class LocalDeviceReq final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Local.Status.LocalDeviceReq) */ {
public:
inline LocalDeviceReq() : LocalDeviceReq(nullptr) {}
~LocalDeviceReq() override;
explicit constexpr LocalDeviceReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocalDeviceReq(const LocalDeviceReq& from);
LocalDeviceReq(LocalDeviceReq&& from) noexcept
: LocalDeviceReq() {
*this = ::std::move(from);
}
inline LocalDeviceReq& operator=(const LocalDeviceReq& from) {
CopyFrom(from);
return *this;
}
inline LocalDeviceReq& operator=(LocalDeviceReq&& 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;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const LocalDeviceReq& default_instance() {
return *internal_default_instance();
}
static inline const LocalDeviceReq* internal_default_instance() {
return reinterpret_cast<const LocalDeviceReq*>(
&_LocalDeviceReq_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(LocalDeviceReq& a, LocalDeviceReq& b) {
a.Swap(&b);
}
inline void Swap(LocalDeviceReq* 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(LocalDeviceReq* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
LocalDeviceReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LocalDeviceReq>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocalDeviceReq& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LocalDeviceReq& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
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 _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocalDeviceReq* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "Local.Status.LocalDeviceReq";
}
protected:
explicit LocalDeviceReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kDeviceIdFieldNumber = 2,
kSoftVersionFieldNumber = 3,
kHeartTimeFieldNumber = 4,
kStatusFieldNumber = 1,
};
// string device_id = 2;
void clear_device_id();
const std::string& device_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_device_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_device_id();
PROTOBUF_NODISCARD std::string* release_device_id();
void set_allocated_device_id(std::string* device_id);
private:
const std::string& _internal_device_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_device_id(const std::string& value);
std::string* _internal_mutable_device_id();
public:
// string soft_version = 3;
void clear_soft_version();
const std::string& soft_version() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_soft_version(ArgT0&& arg0, ArgT... args);
std::string* mutable_soft_version();
PROTOBUF_NODISCARD std::string* release_soft_version();
void set_allocated_soft_version(std::string* soft_version);
private:
const std::string& _internal_soft_version() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_soft_version(const std::string& value);
std::string* _internal_mutable_soft_version();
public:
// uint64 heart_time = 4;
void clear_heart_time();
uint64_t heart_time() const;
void set_heart_time(uint64_t value);
private:
uint64_t _internal_heart_time() const;
void _internal_set_heart_time(uint64_t value);
public:
// bool status = 1;
void clear_status();
bool status() const;
void set_status(bool value);
private:
bool _internal_status() const;
void _internal_set_status(bool value);
public:
// @@protoc_insertion_point(class_scope:Local.Status.LocalDeviceReq)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr soft_version_;
uint64_t heart_time_;
bool status_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_Local_2eStatus_2eproto;
};
// -------------------------------------------------------------------
class LocalDeviceRes final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Local.Status.LocalDeviceRes) */ {
public:
inline LocalDeviceRes() : LocalDeviceRes(nullptr) {}
~LocalDeviceRes() override;
explicit constexpr LocalDeviceRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocalDeviceRes(const LocalDeviceRes& from);
LocalDeviceRes(LocalDeviceRes&& from) noexcept
: LocalDeviceRes() {
*this = ::std::move(from);
}
inline LocalDeviceRes& operator=(const LocalDeviceRes& from) {
CopyFrom(from);
return *this;
}
inline LocalDeviceRes& operator=(LocalDeviceRes&& 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;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const LocalDeviceRes& default_instance() {
return *internal_default_instance();
}
static inline const LocalDeviceRes* internal_default_instance() {
return reinterpret_cast<const LocalDeviceRes*>(
&_LocalDeviceRes_default_instance_);
}
static constexpr int kIndexInFileMessages =
1;
friend void swap(LocalDeviceRes& a, LocalDeviceRes& b) {
a.Swap(&b);
}
inline void Swap(LocalDeviceRes* 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(LocalDeviceRes* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
LocalDeviceRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LocalDeviceRes>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocalDeviceRes& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LocalDeviceRes& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
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 _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocalDeviceRes* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "Local.Status.LocalDeviceRes";
}
protected:
explicit LocalDeviceRes(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kDeviceIdFieldNumber = 1,
kSoftVersionFieldNumber = 2,
kResultCodeFieldNumber = 3,
};
// string device_id = 1;
void clear_device_id();
const std::string& device_id() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_device_id(ArgT0&& arg0, ArgT... args);
std::string* mutable_device_id();
PROTOBUF_NODISCARD std::string* release_device_id();
void set_allocated_device_id(std::string* device_id);
private:
const std::string& _internal_device_id() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_device_id(const std::string& value);
std::string* _internal_mutable_device_id();
public:
// string soft_version = 2;
void clear_soft_version();
const std::string& soft_version() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_soft_version(ArgT0&& arg0, ArgT... args);
std::string* mutable_soft_version();
PROTOBUF_NODISCARD std::string* release_soft_version();
void set_allocated_soft_version(std::string* soft_version);
private:
const std::string& _internal_soft_version() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_soft_version(const std::string& value);
std::string* _internal_mutable_soft_version();
public:
// uint32 result_code = 3;
void clear_result_code();
uint32_t result_code() const;
void set_result_code(uint32_t value);
private:
uint32_t _internal_result_code() const;
void _internal_set_result_code(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:Local.Status.LocalDeviceRes)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_id_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr soft_version_;
uint32_t result_code_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_Local_2eStatus_2eproto;
};
// -------------------------------------------------------------------
class LocalMqttReq final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Local.Status.LocalMqttReq) */ {
public:
inline LocalMqttReq() : LocalMqttReq(nullptr) {}
~LocalMqttReq() override;
explicit constexpr LocalMqttReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocalMqttReq(const LocalMqttReq& from);
LocalMqttReq(LocalMqttReq&& from) noexcept
: LocalMqttReq() {
*this = ::std::move(from);
}
inline LocalMqttReq& operator=(const LocalMqttReq& from) {
CopyFrom(from);
return *this;
}
inline LocalMqttReq& operator=(LocalMqttReq&& 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;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const LocalMqttReq& default_instance() {
return *internal_default_instance();
}
static inline const LocalMqttReq* internal_default_instance() {
return reinterpret_cast<const LocalMqttReq*>(
&_LocalMqttReq_default_instance_);
}
static constexpr int kIndexInFileMessages =
2;
friend void swap(LocalMqttReq& a, LocalMqttReq& b) {
a.Swap(&b);
}
inline void Swap(LocalMqttReq* 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(LocalMqttReq* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
LocalMqttReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LocalMqttReq>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocalMqttReq& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LocalMqttReq& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
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 _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocalMqttReq* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "Local.Status.LocalMqttReq";
}
protected:
explicit LocalMqttReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kStatusFieldNumber = 1,
kDelayFieldNumber = 2,
kLastUpFieldNumber = 3,
kLastDownFieldNumber = 4,
};
// uint32 status = 1;
void clear_status();
uint32_t status() const;
void set_status(uint32_t value);
private:
uint32_t _internal_status() const;
void _internal_set_status(uint32_t value);
public:
// uint32 delay = 2;
void clear_delay();
uint32_t delay() const;
void set_delay(uint32_t value);
private:
uint32_t _internal_delay() const;
void _internal_set_delay(uint32_t value);
public:
// uint64 last_up = 3;
void clear_last_up();
uint64_t last_up() const;
void set_last_up(uint64_t value);
private:
uint64_t _internal_last_up() const;
void _internal_set_last_up(uint64_t value);
public:
// uint64 last_down = 4;
void clear_last_down();
uint64_t last_down() const;
void set_last_down(uint64_t value);
private:
uint64_t _internal_last_down() const;
void _internal_set_last_down(uint64_t value);
public:
// @@protoc_insertion_point(class_scope:Local.Status.LocalMqttReq)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
uint32_t status_;
uint32_t delay_;
uint64_t last_up_;
uint64_t last_down_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_Local_2eStatus_2eproto;
};
// -------------------------------------------------------------------
class LocalMqttRes final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Local.Status.LocalMqttRes) */ {
public:
inline LocalMqttRes() : LocalMqttRes(nullptr) {}
~LocalMqttRes() override;
explicit constexpr LocalMqttRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocalMqttRes(const LocalMqttRes& from);
LocalMqttRes(LocalMqttRes&& from) noexcept
: LocalMqttRes() {
*this = ::std::move(from);
}
inline LocalMqttRes& operator=(const LocalMqttRes& from) {
CopyFrom(from);
return *this;
}
inline LocalMqttRes& operator=(LocalMqttRes&& 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;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const LocalMqttRes& default_instance() {
return *internal_default_instance();
}
static inline const LocalMqttRes* internal_default_instance() {
return reinterpret_cast<const LocalMqttRes*>(
&_LocalMqttRes_default_instance_);
}
static constexpr int kIndexInFileMessages =
3;
friend void swap(LocalMqttRes& a, LocalMqttRes& b) {
a.Swap(&b);
}
inline void Swap(LocalMqttRes* 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(LocalMqttRes* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
LocalMqttRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LocalMqttRes>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocalMqttRes& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LocalMqttRes& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
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 _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocalMqttRes* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "Local.Status.LocalMqttRes";
}
protected:
explicit LocalMqttRes(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kResultCodeFieldNumber = 1,
};
// uint32 result_code = 1;
void clear_result_code();
uint32_t result_code() const;
void set_result_code(uint32_t value);
private:
uint32_t _internal_result_code() const;
void _internal_set_result_code(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:Local.Status.LocalMqttRes)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
uint32_t result_code_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_Local_2eStatus_2eproto;
};
// -------------------------------------------------------------------
class LocalFeedReq final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Local.Status.LocalFeedReq) */ {
public:
inline LocalFeedReq() : LocalFeedReq(nullptr) {}
~LocalFeedReq() override;
explicit constexpr LocalFeedReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocalFeedReq(const LocalFeedReq& from);
LocalFeedReq(LocalFeedReq&& from) noexcept
: LocalFeedReq() {
*this = ::std::move(from);
}
inline LocalFeedReq& operator=(const LocalFeedReq& from) {
CopyFrom(from);
return *this;
}
inline LocalFeedReq& operator=(LocalFeedReq&& 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;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const LocalFeedReq& default_instance() {
return *internal_default_instance();
}
static inline const LocalFeedReq* internal_default_instance() {
return reinterpret_cast<const LocalFeedReq*>(
&_LocalFeedReq_default_instance_);
}
static constexpr int kIndexInFileMessages =
4;
friend void swap(LocalFeedReq& a, LocalFeedReq& b) {
a.Swap(&b);
}
inline void Swap(LocalFeedReq* 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(LocalFeedReq* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
LocalFeedReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LocalFeedReq>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocalFeedReq& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LocalFeedReq& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
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 _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocalFeedReq* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "Local.Status.LocalFeedReq";
}
protected:
explicit LocalFeedReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kLastFeedTimeFieldNumber = 3,
kLastFeedWeightFieldNumber = 4,
kFeedCountFieldNumber = 1,
kFeedWeightFieldNumber = 2,
};
// string last_feed_time = 3;
void clear_last_feed_time();
const std::string& last_feed_time() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_last_feed_time(ArgT0&& arg0, ArgT... args);
std::string* mutable_last_feed_time();
PROTOBUF_NODISCARD std::string* release_last_feed_time();
void set_allocated_last_feed_time(std::string* last_feed_time);
private:
const std::string& _internal_last_feed_time() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_last_feed_time(const std::string& value);
std::string* _internal_mutable_last_feed_time();
public:
// string last_feed_weight = 4;
void clear_last_feed_weight();
const std::string& last_feed_weight() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_last_feed_weight(ArgT0&& arg0, ArgT... args);
std::string* mutable_last_feed_weight();
PROTOBUF_NODISCARD std::string* release_last_feed_weight();
void set_allocated_last_feed_weight(std::string* last_feed_weight);
private:
const std::string& _internal_last_feed_weight() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_last_feed_weight(const std::string& value);
std::string* _internal_mutable_last_feed_weight();
public:
// uint32 feed_count = 1;
void clear_feed_count();
uint32_t feed_count() const;
void set_feed_count(uint32_t value);
private:
uint32_t _internal_feed_count() const;
void _internal_set_feed_count(uint32_t value);
public:
// uint32 feed_weight = 2;
void clear_feed_weight();
uint32_t feed_weight() const;
void set_feed_weight(uint32_t value);
private:
uint32_t _internal_feed_weight() const;
void _internal_set_feed_weight(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:Local.Status.LocalFeedReq)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr last_feed_time_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr last_feed_weight_;
uint32_t feed_count_;
uint32_t feed_weight_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_Local_2eStatus_2eproto;
};
// -------------------------------------------------------------------
class LocalFeedRes final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Local.Status.LocalFeedRes) */ {
public:
inline LocalFeedRes() : LocalFeedRes(nullptr) {}
~LocalFeedRes() override;
explicit constexpr LocalFeedRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocalFeedRes(const LocalFeedRes& from);
LocalFeedRes(LocalFeedRes&& from) noexcept
: LocalFeedRes() {
*this = ::std::move(from);
}
inline LocalFeedRes& operator=(const LocalFeedRes& from) {
CopyFrom(from);
return *this;
}
inline LocalFeedRes& operator=(LocalFeedRes&& 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;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const LocalFeedRes& default_instance() {
return *internal_default_instance();
}
static inline const LocalFeedRes* internal_default_instance() {
return reinterpret_cast<const LocalFeedRes*>(
&_LocalFeedRes_default_instance_);
}
static constexpr int kIndexInFileMessages =
5;
friend void swap(LocalFeedRes& a, LocalFeedRes& b) {
a.Swap(&b);
}
inline void Swap(LocalFeedRes* 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(LocalFeedRes* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
LocalFeedRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LocalFeedRes>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocalFeedRes& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LocalFeedRes& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
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 _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocalFeedRes* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "Local.Status.LocalFeedRes";
}
protected:
explicit LocalFeedRes(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kResultCodeFieldNumber = 1,
};
// uint32 result_code = 1;
void clear_result_code();
uint32_t result_code() const;
void set_result_code(uint32_t value);
private:
uint32_t _internal_result_code() const;
void _internal_set_result_code(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:Local.Status.LocalFeedRes)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
uint32_t result_code_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_Local_2eStatus_2eproto;
};
// -------------------------------------------------------------------
class LocalHardReq final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Local.Status.LocalHardReq) */ {
public:
inline LocalHardReq() : LocalHardReq(nullptr) {}
~LocalHardReq() override;
explicit constexpr LocalHardReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocalHardReq(const LocalHardReq& from);
LocalHardReq(LocalHardReq&& from) noexcept
: LocalHardReq() {
*this = ::std::move(from);
}
inline LocalHardReq& operator=(const LocalHardReq& from) {
CopyFrom(from);
return *this;
}
inline LocalHardReq& operator=(LocalHardReq&& 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;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const LocalHardReq& default_instance() {
return *internal_default_instance();
}
static inline const LocalHardReq* internal_default_instance() {
return reinterpret_cast<const LocalHardReq*>(
&_LocalHardReq_default_instance_);
}
static constexpr int kIndexInFileMessages =
6;
friend void swap(LocalHardReq& a, LocalHardReq& b) {
a.Swap(&b);
}
inline void Swap(LocalHardReq* 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(LocalHardReq* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
LocalHardReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LocalHardReq>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocalHardReq& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LocalHardReq& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
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 _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocalHardReq* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "Local.Status.LocalHardReq";
}
protected:
explicit LocalHardReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kFoodRemainFieldNumber = 1,
kTemperatureFieldNumber = 2,
kMotorFieldNumber = 3,
kWeightFieldNumber = 4,
kDoorFieldNumber = 5,
kStuckFieldNumber = 6,
};
// uint32 food_remain = 1;
void clear_food_remain();
uint32_t food_remain() const;
void set_food_remain(uint32_t value);
private:
uint32_t _internal_food_remain() const;
void _internal_set_food_remain(uint32_t value);
public:
// uint32 temperature = 2;
void clear_temperature();
uint32_t temperature() const;
void set_temperature(uint32_t value);
private:
uint32_t _internal_temperature() const;
void _internal_set_temperature(uint32_t value);
public:
// bool motor = 3;
void clear_motor();
bool motor() const;
void set_motor(bool value);
private:
bool _internal_motor() const;
void _internal_set_motor(bool value);
public:
// bool weight = 4;
void clear_weight();
bool weight() const;
void set_weight(bool value);
private:
bool _internal_weight() const;
void _internal_set_weight(bool value);
public:
// bool door = 5;
void clear_door();
bool door() const;
void set_door(bool value);
private:
bool _internal_door() const;
void _internal_set_door(bool value);
public:
// bool stuck = 6;
void clear_stuck();
bool stuck() const;
void set_stuck(bool value);
private:
bool _internal_stuck() const;
void _internal_set_stuck(bool value);
public:
// @@protoc_insertion_point(class_scope:Local.Status.LocalHardReq)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
uint32_t food_remain_;
uint32_t temperature_;
bool motor_;
bool weight_;
bool door_;
bool stuck_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_Local_2eStatus_2eproto;
};
// -------------------------------------------------------------------
class LocalHardRes final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Local.Status.LocalHardRes) */ {
public:
inline LocalHardRes() : LocalHardRes(nullptr) {}
~LocalHardRes() override;
explicit constexpr LocalHardRes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
LocalHardRes(const LocalHardRes& from);
LocalHardRes(LocalHardRes&& from) noexcept
: LocalHardRes() {
*this = ::std::move(from);
}
inline LocalHardRes& operator=(const LocalHardRes& from) {
CopyFrom(from);
return *this;
}
inline LocalHardRes& operator=(LocalHardRes&& 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;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const LocalHardRes& default_instance() {
return *internal_default_instance();
}
static inline const LocalHardRes* internal_default_instance() {
return reinterpret_cast<const LocalHardRes*>(
&_LocalHardRes_default_instance_);
}
static constexpr int kIndexInFileMessages =
7;
friend void swap(LocalHardRes& a, LocalHardRes& b) {
a.Swap(&b);
}
inline void Swap(LocalHardRes* 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(LocalHardRes* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
LocalHardRes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<LocalHardRes>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const LocalHardRes& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const LocalHardRes& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
public:
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 _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(LocalHardRes* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "Local.Status.LocalHardRes";
}
protected:
explicit LocalHardRes(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kActionFieldNumber = 1,
kResultCodeFieldNumber = 2,
};
// uint32 action = 1;
void clear_action();
uint32_t action() const;
void set_action(uint32_t value);
private:
uint32_t _internal_action() const;
void _internal_set_action(uint32_t value);
public:
// uint32 result_code = 2;
void clear_result_code();
uint32_t result_code() const;
void set_result_code(uint32_t value);
private:
uint32_t _internal_result_code() const;
void _internal_set_result_code(uint32_t value);
public:
// @@protoc_insertion_point(class_scope:Local.Status.LocalHardRes)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
uint32_t action_;
uint32_t result_code_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_Local_2eStatus_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// LocalDeviceReq
// bool status = 1;
inline void LocalDeviceReq::clear_status() {
status_ = false;
}
inline bool LocalDeviceReq::_internal_status() const {
return status_;
}
inline bool LocalDeviceReq::status() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalDeviceReq.status)
return _internal_status();
}
inline void LocalDeviceReq::_internal_set_status(bool value) {
status_ = value;
}
inline void LocalDeviceReq::set_status(bool value) {
_internal_set_status(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalDeviceReq.status)
}
// string device_id = 2;
inline void LocalDeviceReq::clear_device_id() {
device_id_.ClearToEmpty();
}
inline const std::string& LocalDeviceReq::device_id() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalDeviceReq.device_id)
return _internal_device_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void LocalDeviceReq::set_device_id(ArgT0&& arg0, ArgT... args) {
device_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:Local.Status.LocalDeviceReq.device_id)
}
inline std::string* LocalDeviceReq::mutable_device_id() {
std::string* _s = _internal_mutable_device_id();
// @@protoc_insertion_point(field_mutable:Local.Status.LocalDeviceReq.device_id)
return _s;
}
inline const std::string& LocalDeviceReq::_internal_device_id() const {
return device_id_.Get();
}
inline void LocalDeviceReq::_internal_set_device_id(const std::string& value) {
device_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocalDeviceReq::_internal_mutable_device_id() {
return device_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocalDeviceReq::release_device_id() {
// @@protoc_insertion_point(field_release:Local.Status.LocalDeviceReq.device_id)
return device_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocalDeviceReq::set_allocated_device_id(std::string* device_id) {
if (device_id != nullptr) {
} else {
}
device_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_id,
GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (device_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
device_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:Local.Status.LocalDeviceReq.device_id)
}
// string soft_version = 3;
inline void LocalDeviceReq::clear_soft_version() {
soft_version_.ClearToEmpty();
}
inline const std::string& LocalDeviceReq::soft_version() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalDeviceReq.soft_version)
return _internal_soft_version();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void LocalDeviceReq::set_soft_version(ArgT0&& arg0, ArgT... args) {
soft_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:Local.Status.LocalDeviceReq.soft_version)
}
inline std::string* LocalDeviceReq::mutable_soft_version() {
std::string* _s = _internal_mutable_soft_version();
// @@protoc_insertion_point(field_mutable:Local.Status.LocalDeviceReq.soft_version)
return _s;
}
inline const std::string& LocalDeviceReq::_internal_soft_version() const {
return soft_version_.Get();
}
inline void LocalDeviceReq::_internal_set_soft_version(const std::string& value) {
soft_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocalDeviceReq::_internal_mutable_soft_version() {
return soft_version_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocalDeviceReq::release_soft_version() {
// @@protoc_insertion_point(field_release:Local.Status.LocalDeviceReq.soft_version)
return soft_version_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocalDeviceReq::set_allocated_soft_version(std::string* soft_version) {
if (soft_version != nullptr) {
} else {
}
soft_version_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), soft_version,
GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (soft_version_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
soft_version_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:Local.Status.LocalDeviceReq.soft_version)
}
// uint64 heart_time = 4;
inline void LocalDeviceReq::clear_heart_time() {
heart_time_ = uint64_t{0u};
}
inline uint64_t LocalDeviceReq::_internal_heart_time() const {
return heart_time_;
}
inline uint64_t LocalDeviceReq::heart_time() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalDeviceReq.heart_time)
return _internal_heart_time();
}
inline void LocalDeviceReq::_internal_set_heart_time(uint64_t value) {
heart_time_ = value;
}
inline void LocalDeviceReq::set_heart_time(uint64_t value) {
_internal_set_heart_time(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalDeviceReq.heart_time)
}
// -------------------------------------------------------------------
// LocalDeviceRes
// string device_id = 1;
inline void LocalDeviceRes::clear_device_id() {
device_id_.ClearToEmpty();
}
inline const std::string& LocalDeviceRes::device_id() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalDeviceRes.device_id)
return _internal_device_id();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void LocalDeviceRes::set_device_id(ArgT0&& arg0, ArgT... args) {
device_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:Local.Status.LocalDeviceRes.device_id)
}
inline std::string* LocalDeviceRes::mutable_device_id() {
std::string* _s = _internal_mutable_device_id();
// @@protoc_insertion_point(field_mutable:Local.Status.LocalDeviceRes.device_id)
return _s;
}
inline const std::string& LocalDeviceRes::_internal_device_id() const {
return device_id_.Get();
}
inline void LocalDeviceRes::_internal_set_device_id(const std::string& value) {
device_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocalDeviceRes::_internal_mutable_device_id() {
return device_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocalDeviceRes::release_device_id() {
// @@protoc_insertion_point(field_release:Local.Status.LocalDeviceRes.device_id)
return device_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocalDeviceRes::set_allocated_device_id(std::string* device_id) {
if (device_id != nullptr) {
} else {
}
device_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device_id,
GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (device_id_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
device_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:Local.Status.LocalDeviceRes.device_id)
}
// string soft_version = 2;
inline void LocalDeviceRes::clear_soft_version() {
soft_version_.ClearToEmpty();
}
inline const std::string& LocalDeviceRes::soft_version() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalDeviceRes.soft_version)
return _internal_soft_version();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void LocalDeviceRes::set_soft_version(ArgT0&& arg0, ArgT... args) {
soft_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:Local.Status.LocalDeviceRes.soft_version)
}
inline std::string* LocalDeviceRes::mutable_soft_version() {
std::string* _s = _internal_mutable_soft_version();
// @@protoc_insertion_point(field_mutable:Local.Status.LocalDeviceRes.soft_version)
return _s;
}
inline const std::string& LocalDeviceRes::_internal_soft_version() const {
return soft_version_.Get();
}
inline void LocalDeviceRes::_internal_set_soft_version(const std::string& value) {
soft_version_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocalDeviceRes::_internal_mutable_soft_version() {
return soft_version_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocalDeviceRes::release_soft_version() {
// @@protoc_insertion_point(field_release:Local.Status.LocalDeviceRes.soft_version)
return soft_version_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocalDeviceRes::set_allocated_soft_version(std::string* soft_version) {
if (soft_version != nullptr) {
} else {
}
soft_version_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), soft_version,
GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (soft_version_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
soft_version_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:Local.Status.LocalDeviceRes.soft_version)
}
// uint32 result_code = 3;
inline void LocalDeviceRes::clear_result_code() {
result_code_ = 0u;
}
inline uint32_t LocalDeviceRes::_internal_result_code() const {
return result_code_;
}
inline uint32_t LocalDeviceRes::result_code() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalDeviceRes.result_code)
return _internal_result_code();
}
inline void LocalDeviceRes::_internal_set_result_code(uint32_t value) {
result_code_ = value;
}
inline void LocalDeviceRes::set_result_code(uint32_t value) {
_internal_set_result_code(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalDeviceRes.result_code)
}
// -------------------------------------------------------------------
// LocalMqttReq
// uint32 status = 1;
inline void LocalMqttReq::clear_status() {
status_ = 0u;
}
inline uint32_t LocalMqttReq::_internal_status() const {
return status_;
}
inline uint32_t LocalMqttReq::status() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalMqttReq.status)
return _internal_status();
}
inline void LocalMqttReq::_internal_set_status(uint32_t value) {
status_ = value;
}
inline void LocalMqttReq::set_status(uint32_t value) {
_internal_set_status(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalMqttReq.status)
}
// uint32 delay = 2;
inline void LocalMqttReq::clear_delay() {
delay_ = 0u;
}
inline uint32_t LocalMqttReq::_internal_delay() const {
return delay_;
}
inline uint32_t LocalMqttReq::delay() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalMqttReq.delay)
return _internal_delay();
}
inline void LocalMqttReq::_internal_set_delay(uint32_t value) {
delay_ = value;
}
inline void LocalMqttReq::set_delay(uint32_t value) {
_internal_set_delay(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalMqttReq.delay)
}
// uint64 last_up = 3;
inline void LocalMqttReq::clear_last_up() {
last_up_ = uint64_t{0u};
}
inline uint64_t LocalMqttReq::_internal_last_up() const {
return last_up_;
}
inline uint64_t LocalMqttReq::last_up() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalMqttReq.last_up)
return _internal_last_up();
}
inline void LocalMqttReq::_internal_set_last_up(uint64_t value) {
last_up_ = value;
}
inline void LocalMqttReq::set_last_up(uint64_t value) {
_internal_set_last_up(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalMqttReq.last_up)
}
// uint64 last_down = 4;
inline void LocalMqttReq::clear_last_down() {
last_down_ = uint64_t{0u};
}
inline uint64_t LocalMqttReq::_internal_last_down() const {
return last_down_;
}
inline uint64_t LocalMqttReq::last_down() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalMqttReq.last_down)
return _internal_last_down();
}
inline void LocalMqttReq::_internal_set_last_down(uint64_t value) {
last_down_ = value;
}
inline void LocalMqttReq::set_last_down(uint64_t value) {
_internal_set_last_down(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalMqttReq.last_down)
}
// -------------------------------------------------------------------
// LocalMqttRes
// uint32 result_code = 1;
inline void LocalMqttRes::clear_result_code() {
result_code_ = 0u;
}
inline uint32_t LocalMqttRes::_internal_result_code() const {
return result_code_;
}
inline uint32_t LocalMqttRes::result_code() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalMqttRes.result_code)
return _internal_result_code();
}
inline void LocalMqttRes::_internal_set_result_code(uint32_t value) {
result_code_ = value;
}
inline void LocalMqttRes::set_result_code(uint32_t value) {
_internal_set_result_code(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalMqttRes.result_code)
}
// -------------------------------------------------------------------
// LocalFeedReq
// uint32 feed_count = 1;
inline void LocalFeedReq::clear_feed_count() {
feed_count_ = 0u;
}
inline uint32_t LocalFeedReq::_internal_feed_count() const {
return feed_count_;
}
inline uint32_t LocalFeedReq::feed_count() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalFeedReq.feed_count)
return _internal_feed_count();
}
inline void LocalFeedReq::_internal_set_feed_count(uint32_t value) {
feed_count_ = value;
}
inline void LocalFeedReq::set_feed_count(uint32_t value) {
_internal_set_feed_count(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalFeedReq.feed_count)
}
// uint32 feed_weight = 2;
inline void LocalFeedReq::clear_feed_weight() {
feed_weight_ = 0u;
}
inline uint32_t LocalFeedReq::_internal_feed_weight() const {
return feed_weight_;
}
inline uint32_t LocalFeedReq::feed_weight() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalFeedReq.feed_weight)
return _internal_feed_weight();
}
inline void LocalFeedReq::_internal_set_feed_weight(uint32_t value) {
feed_weight_ = value;
}
inline void LocalFeedReq::set_feed_weight(uint32_t value) {
_internal_set_feed_weight(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalFeedReq.feed_weight)
}
// string last_feed_time = 3;
inline void LocalFeedReq::clear_last_feed_time() {
last_feed_time_.ClearToEmpty();
}
inline const std::string& LocalFeedReq::last_feed_time() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalFeedReq.last_feed_time)
return _internal_last_feed_time();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void LocalFeedReq::set_last_feed_time(ArgT0&& arg0, ArgT... args) {
last_feed_time_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:Local.Status.LocalFeedReq.last_feed_time)
}
inline std::string* LocalFeedReq::mutable_last_feed_time() {
std::string* _s = _internal_mutable_last_feed_time();
// @@protoc_insertion_point(field_mutable:Local.Status.LocalFeedReq.last_feed_time)
return _s;
}
inline const std::string& LocalFeedReq::_internal_last_feed_time() const {
return last_feed_time_.Get();
}
inline void LocalFeedReq::_internal_set_last_feed_time(const std::string& value) {
last_feed_time_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocalFeedReq::_internal_mutable_last_feed_time() {
return last_feed_time_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocalFeedReq::release_last_feed_time() {
// @@protoc_insertion_point(field_release:Local.Status.LocalFeedReq.last_feed_time)
return last_feed_time_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocalFeedReq::set_allocated_last_feed_time(std::string* last_feed_time) {
if (last_feed_time != nullptr) {
} else {
}
last_feed_time_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), last_feed_time,
GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (last_feed_time_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
last_feed_time_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:Local.Status.LocalFeedReq.last_feed_time)
}
// string last_feed_weight = 4;
inline void LocalFeedReq::clear_last_feed_weight() {
last_feed_weight_.ClearToEmpty();
}
inline const std::string& LocalFeedReq::last_feed_weight() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalFeedReq.last_feed_weight)
return _internal_last_feed_weight();
}
template <typename ArgT0, typename... ArgT>
inline PROTOBUF_ALWAYS_INLINE
void LocalFeedReq::set_last_feed_weight(ArgT0&& arg0, ArgT... args) {
last_feed_weight_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:Local.Status.LocalFeedReq.last_feed_weight)
}
inline std::string* LocalFeedReq::mutable_last_feed_weight() {
std::string* _s = _internal_mutable_last_feed_weight();
// @@protoc_insertion_point(field_mutable:Local.Status.LocalFeedReq.last_feed_weight)
return _s;
}
inline const std::string& LocalFeedReq::_internal_last_feed_weight() const {
return last_feed_weight_.Get();
}
inline void LocalFeedReq::_internal_set_last_feed_weight(const std::string& value) {
last_feed_weight_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
}
inline std::string* LocalFeedReq::_internal_mutable_last_feed_weight() {
return last_feed_weight_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
}
inline std::string* LocalFeedReq::release_last_feed_weight() {
// @@protoc_insertion_point(field_release:Local.Status.LocalFeedReq.last_feed_weight)
return last_feed_weight_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
}
inline void LocalFeedReq::set_allocated_last_feed_weight(std::string* last_feed_weight) {
if (last_feed_weight != nullptr) {
} else {
}
last_feed_weight_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), last_feed_weight,
GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (last_feed_weight_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
last_feed_weight_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:Local.Status.LocalFeedReq.last_feed_weight)
}
// -------------------------------------------------------------------
// LocalFeedRes
// uint32 result_code = 1;
inline void LocalFeedRes::clear_result_code() {
result_code_ = 0u;
}
inline uint32_t LocalFeedRes::_internal_result_code() const {
return result_code_;
}
inline uint32_t LocalFeedRes::result_code() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalFeedRes.result_code)
return _internal_result_code();
}
inline void LocalFeedRes::_internal_set_result_code(uint32_t value) {
result_code_ = value;
}
inline void LocalFeedRes::set_result_code(uint32_t value) {
_internal_set_result_code(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalFeedRes.result_code)
}
// -------------------------------------------------------------------
// LocalHardReq
// uint32 food_remain = 1;
inline void LocalHardReq::clear_food_remain() {
food_remain_ = 0u;
}
inline uint32_t LocalHardReq::_internal_food_remain() const {
return food_remain_;
}
inline uint32_t LocalHardReq::food_remain() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalHardReq.food_remain)
return _internal_food_remain();
}
inline void LocalHardReq::_internal_set_food_remain(uint32_t value) {
food_remain_ = value;
}
inline void LocalHardReq::set_food_remain(uint32_t value) {
_internal_set_food_remain(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalHardReq.food_remain)
}
// uint32 temperature = 2;
inline void LocalHardReq::clear_temperature() {
temperature_ = 0u;
}
inline uint32_t LocalHardReq::_internal_temperature() const {
return temperature_;
}
inline uint32_t LocalHardReq::temperature() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalHardReq.temperature)
return _internal_temperature();
}
inline void LocalHardReq::_internal_set_temperature(uint32_t value) {
temperature_ = value;
}
inline void LocalHardReq::set_temperature(uint32_t value) {
_internal_set_temperature(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalHardReq.temperature)
}
// bool motor = 3;
inline void LocalHardReq::clear_motor() {
motor_ = false;
}
inline bool LocalHardReq::_internal_motor() const {
return motor_;
}
inline bool LocalHardReq::motor() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalHardReq.motor)
return _internal_motor();
}
inline void LocalHardReq::_internal_set_motor(bool value) {
motor_ = value;
}
inline void LocalHardReq::set_motor(bool value) {
_internal_set_motor(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalHardReq.motor)
}
// bool weight = 4;
inline void LocalHardReq::clear_weight() {
weight_ = false;
}
inline bool LocalHardReq::_internal_weight() const {
return weight_;
}
inline bool LocalHardReq::weight() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalHardReq.weight)
return _internal_weight();
}
inline void LocalHardReq::_internal_set_weight(bool value) {
weight_ = value;
}
inline void LocalHardReq::set_weight(bool value) {
_internal_set_weight(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalHardReq.weight)
}
// bool door = 5;
inline void LocalHardReq::clear_door() {
door_ = false;
}
inline bool LocalHardReq::_internal_door() const {
return door_;
}
inline bool LocalHardReq::door() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalHardReq.door)
return _internal_door();
}
inline void LocalHardReq::_internal_set_door(bool value) {
door_ = value;
}
inline void LocalHardReq::set_door(bool value) {
_internal_set_door(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalHardReq.door)
}
// bool stuck = 6;
inline void LocalHardReq::clear_stuck() {
stuck_ = false;
}
inline bool LocalHardReq::_internal_stuck() const {
return stuck_;
}
inline bool LocalHardReq::stuck() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalHardReq.stuck)
return _internal_stuck();
}
inline void LocalHardReq::_internal_set_stuck(bool value) {
stuck_ = value;
}
inline void LocalHardReq::set_stuck(bool value) {
_internal_set_stuck(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalHardReq.stuck)
}
// -------------------------------------------------------------------
// LocalHardRes
// uint32 action = 1;
inline void LocalHardRes::clear_action() {
action_ = 0u;
}
inline uint32_t LocalHardRes::_internal_action() const {
return action_;
}
inline uint32_t LocalHardRes::action() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalHardRes.action)
return _internal_action();
}
inline void LocalHardRes::_internal_set_action(uint32_t value) {
action_ = value;
}
inline void LocalHardRes::set_action(uint32_t value) {
_internal_set_action(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalHardRes.action)
}
// uint32 result_code = 2;
inline void LocalHardRes::clear_result_code() {
result_code_ = 0u;
}
inline uint32_t LocalHardRes::_internal_result_code() const {
return result_code_;
}
inline uint32_t LocalHardRes::result_code() const {
// @@protoc_insertion_point(field_get:Local.Status.LocalHardRes.result_code)
return _internal_result_code();
}
inline void LocalHardRes::_internal_set_result_code(uint32_t value) {
result_code_ = value;
}
inline void LocalHardRes::set_result_code(uint32_t value) {
_internal_set_result_code(value);
// @@protoc_insertion_point(field_set:Local.Status.LocalHardRes.result_code)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace Status
} // namespace Local
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_Local_2eStatus_2eproto