Program Listing for File system_resource.pb.cc
↰ Return to documentation for file (src/core/services/generated/system_resource.pb.cc
)
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: system_resource.proto
#include "system_resource.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::PROTOBUF_NAMESPACE_ID;
namespace _pbi = _pb::internal;
namespace holoscan {
namespace service {
PROTOBUF_CONSTEXPR SystemResourceInfo::SystemResourceInfo(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_._has_bits_)*/{}
, /*decltype(_impl_._cached_size_)*/{}
, /*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.cpu_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.gpu_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.mem_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.gpu_mem_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}} {}
struct SystemResourceInfoDefaultTypeInternal {
PROTOBUF_CONSTEXPR SystemResourceInfoDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {}
~SystemResourceInfoDefaultTypeInternal() {}
union {
SystemResourceInfo _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SystemResourceInfoDefaultTypeInternal _SystemResourceInfo_default_instance_;
} // namespace service
} // namespace holoscan
static ::_pb::Metadata file_level_metadata_system_5fresource_2eproto[1];
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_system_5fresource_2eproto = nullptr;
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_system_5fresource_2eproto = nullptr;
const uint32_t TableStruct_system_5fresource_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
PROTOBUF_FIELD_OFFSET(::holoscan::service::SystemResourceInfo, _impl_._has_bits_),
PROTOBUF_FIELD_OFFSET(::holoscan::service::SystemResourceInfo, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::holoscan::service::SystemResourceInfo, _impl_.name_),
PROTOBUF_FIELD_OFFSET(::holoscan::service::SystemResourceInfo, _impl_.cpu_),
PROTOBUF_FIELD_OFFSET(::holoscan::service::SystemResourceInfo, _impl_.gpu_),
PROTOBUF_FIELD_OFFSET(::holoscan::service::SystemResourceInfo, _impl_.mem_),
PROTOBUF_FIELD_OFFSET(::holoscan::service::SystemResourceInfo, _impl_.gpu_mem_),
~0u,
0,
1,
2,
3,
};
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, 11, -1, sizeof(::holoscan::service::SystemResourceInfo)},
};
static const ::_pb::Message* const file_default_instances[] = {
&::holoscan::service::_SystemResourceInfo_default_instance_._instance,
};
const char descriptor_table_protodef_system_5fresource_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
"\n\025system_resource.proto\022\020holoscan.servic"
"e\"\222\001\n\022SystemResourceInfo\022\014\n\004name\030\001\001(\t\022\020"
"\n\003cpu\030\002\001(\tH\000\210\001\001\022\020\n\003gpu\030\003\001(\tH\001\210\001\001\022\020\n\003me"
"m\030\004\001(\tH\002\210\001\001\022\024\n\007gpu_mem\030\005\001(\tH\003\210\001\001B\006\n\004_c"
"puB\006\n\004_gpuB\006\n\004_memB\n\n\010_gpu_memb\006proto3"
;
static ::_pbi::once_flag descriptor_table_system_5fresource_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_system_5fresource_2eproto = {
false, false, 198, descriptor_table_protodef_system_5fresource_2eproto,
"system_resource.proto",
&descriptor_table_system_5fresource_2eproto_once, nullptr, 0, 1,
schemas, file_default_instances, TableStruct_system_5fresource_2eproto::offsets,
file_level_metadata_system_5fresource_2eproto, file_level_enum_descriptors_system_5fresource_2eproto,
file_level_service_descriptors_system_5fresource_2eproto,
};
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_system_5fresource_2eproto_getter() {
return &descriptor_table_system_5fresource_2eproto;
}
// Force running AddDescriptors() at dynamic initialization time.
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_system_5fresource_2eproto(&descriptor_table_system_5fresource_2eproto);
namespace holoscan {
namespace service {
// ===================================================================
class SystemResourceInfo::_Internal {
public:
using HasBits = decltype(std::declval<SystemResourceInfo>()._impl_._has_bits_);
static void set_has_cpu(HasBits* has_bits) {
(*has_bits)[0] |= 1u;
}
static void set_has_gpu(HasBits* has_bits) {
(*has_bits)[0] |= 2u;
}
static void set_has_mem(HasBits* has_bits) {
(*has_bits)[0] |= 4u;
}
static void set_has_gpu_mem(HasBits* has_bits) {
(*has_bits)[0] |= 8u;
}
};
SystemResourceInfo::SystemResourceInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:holoscan.service.SystemResourceInfo)
}
SystemResourceInfo::SystemResourceInfo(const SystemResourceInfo& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
SystemResourceInfo* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_._has_bits_){from._impl_._has_bits_}
, /*decltype(_impl_._cached_size_)*/{}
, decltype(_impl_.name_){}
, decltype(_impl_.cpu_){}
, decltype(_impl_.gpu_){}
, decltype(_impl_.mem_){}
, decltype(_impl_.gpu_mem_){}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (!from._internal_name().empty()) {
_this->_impl_.name_.Set(from._internal_name(),
_this->GetArenaForAllocation());
}
_impl_.cpu_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.cpu_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_cpu()) {
_this->_impl_.cpu_.Set(from._internal_cpu(),
_this->GetArenaForAllocation());
}
_impl_.gpu_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.gpu_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_gpu()) {
_this->_impl_.gpu_.Set(from._internal_gpu(),
_this->GetArenaForAllocation());
}
_impl_.mem_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.mem_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_mem()) {
_this->_impl_.mem_.Set(from._internal_mem(),
_this->GetArenaForAllocation());
}
_impl_.gpu_mem_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.gpu_mem_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (from._internal_has_gpu_mem()) {
_this->_impl_.gpu_mem_.Set(from._internal_gpu_mem(),
_this->GetArenaForAllocation());
}
// @@protoc_insertion_point(copy_constructor:holoscan.service.SystemResourceInfo)
}
inline void SystemResourceInfo::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) {
(void)arena;
(void)is_message_owned;
new (&_impl_) Impl_{
decltype(_impl_._has_bits_){}
, /*decltype(_impl_._cached_size_)*/{}
, decltype(_impl_.name_){}
, decltype(_impl_.cpu_){}
, decltype(_impl_.gpu_){}
, decltype(_impl_.mem_){}
, decltype(_impl_.gpu_mem_){}
};
_impl_.name_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.name_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.cpu_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.cpu_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.gpu_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.gpu_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.mem_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.mem_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.gpu_mem_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.gpu_mem_.Set("", GetArenaForAllocation());
#endif// PROTOBUF_FORCE_COPY_DEFAULT_STRING
}
SystemResourceInfo::~SystemResourceInfo() {
// @@protoc_insertion_point(destructor:holoscan.service.SystemResourceInfo)
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
(void)arena;
return;
}
SharedDtor();
}
inline void SystemResourceInfo::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.name_.Destroy();
_impl_.cpu_.Destroy();
_impl_.gpu_.Destroy();
_impl_.mem_.Destroy();
_impl_.gpu_mem_.Destroy();
}
void SystemResourceInfo::SetCachedSize(int size) const {
_impl_._cached_size_.Set(size);
}
void SystemResourceInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:holoscan.service.SystemResourceInfo)
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_impl_.name_.ClearToEmpty();
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
_impl_.cpu_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000002u) {
_impl_.gpu_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000004u) {
_impl_.mem_.ClearNonDefaultToEmpty();
}
if (cached_has_bits & 0x00000008u) {
_impl_.gpu_mem_.ClearNonDefaultToEmpty();
}
}
_impl_._has_bits_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
const char* SystemResourceInfo::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
auto str = _internal_mutable_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "holoscan.service.SystemResourceInfo.name"));
} else
goto handle_unusual;
continue;
// optional string cpu = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
auto str = _internal_mutable_cpu();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "holoscan.service.SystemResourceInfo.cpu"));
} else
goto handle_unusual;
continue;
// optional string gpu = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
auto str = _internal_mutable_gpu();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "holoscan.service.SystemResourceInfo.gpu"));
} else
goto handle_unusual;
continue;
// optional string mem = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
auto str = _internal_mutable_mem();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "holoscan.service.SystemResourceInfo.mem"));
} else
goto handle_unusual;
continue;
// optional string gpu_mem = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
auto str = _internal_mutable_gpu_mem();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "holoscan.service.SystemResourceInfo.gpu_mem"));
} else
goto handle_unusual;
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
_impl_._has_bits_.Or(has_bits);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
uint8_t* SystemResourceInfo::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:holoscan.service.SystemResourceInfo)
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
// string name = 1;
if (!this->_internal_name().empty()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"holoscan.service.SystemResourceInfo.name");
target = stream->WriteStringMaybeAliased(
1, this->_internal_name(), target);
}
// optional string cpu = 2;
if (_internal_has_cpu()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_cpu().data(), static_cast<int>(this->_internal_cpu().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"holoscan.service.SystemResourceInfo.cpu");
target = stream->WriteStringMaybeAliased(
2, this->_internal_cpu(), target);
}
// optional string gpu = 3;
if (_internal_has_gpu()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_gpu().data(), static_cast<int>(this->_internal_gpu().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"holoscan.service.SystemResourceInfo.gpu");
target = stream->WriteStringMaybeAliased(
3, this->_internal_gpu(), target);
}
// optional string mem = 4;
if (_internal_has_mem()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_mem().data(), static_cast<int>(this->_internal_mem().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"holoscan.service.SystemResourceInfo.mem");
target = stream->WriteStringMaybeAliased(
4, this->_internal_mem(), target);
}
// optional string gpu_mem = 5;
if (_internal_has_gpu_mem()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
this->_internal_gpu_mem().data(), static_cast<int>(this->_internal_gpu_mem().length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"holoscan.service.SystemResourceInfo.gpu_mem");
target = stream->WriteStringMaybeAliased(
5, this->_internal_gpu_mem(), target);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:holoscan.service.SystemResourceInfo)
return target;
}
size_t SystemResourceInfo::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:holoscan.service.SystemResourceInfo)
size_t total_size = 0;
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_name());
}
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// optional string cpu = 2;
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_cpu());
}
// optional string gpu = 3;
if (cached_has_bits & 0x00000002u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_gpu());
}
// optional string mem = 4;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_mem());
}
// optional string gpu_mem = 5;
if (cached_has_bits & 0x00000008u) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
this->_internal_gpu_mem());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SystemResourceInfo::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
SystemResourceInfo::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SystemResourceInfo::GetClassData() const { return &_class_data_; }
void SystemResourceInfo::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
auto* const _this = static_cast<SystemResourceInfo*>(&to_msg);
auto& from = static_cast<const SystemResourceInfo&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:holoscan.service.SystemResourceInfo)
GOOGLE_DCHECK_NE(&from, _this);
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (!from._internal_name().empty()) {
_this->_internal_set_name(from._internal_name());
}
cached_has_bits = from._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
if (cached_has_bits & 0x00000001u) {
_this->_internal_set_cpu(from._internal_cpu());
}
if (cached_has_bits & 0x00000002u) {
_this->_internal_set_gpu(from._internal_gpu());
}
if (cached_has_bits & 0x00000004u) {
_this->_internal_set_mem(from._internal_mem());
}
if (cached_has_bits & 0x00000008u) {
_this->_internal_set_gpu_mem(from._internal_gpu_mem());
}
}
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void SystemResourceInfo::CopyFrom(const SystemResourceInfo& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:holoscan.service.SystemResourceInfo)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool SystemResourceInfo::IsInitialized() const {
return true;
}
void SystemResourceInfo::InternalSwap(SystemResourceInfo* other) {
using std::swap;
auto* lhs_arena = GetArenaForAllocation();
auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.name_, lhs_arena,
&other->_impl_.name_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.cpu_, lhs_arena,
&other->_impl_.cpu_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.gpu_, lhs_arena,
&other->_impl_.gpu_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.mem_, lhs_arena,
&other->_impl_.mem_, rhs_arena
);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.gpu_mem_, lhs_arena,
&other->_impl_.gpu_mem_, rhs_arena
);
}
::PROTOBUF_NAMESPACE_ID::Metadata SystemResourceInfo::GetMetadata() const {
return ::_pbi::AssignDescriptors(
&descriptor_table_system_5fresource_2eproto_getter, &descriptor_table_system_5fresource_2eproto_once,
file_level_metadata_system_5fresource_2eproto[0]);
}
// @@protoc_insertion_point(namespace_scope)
} // namespace service
} // namespace holoscan
PROTOBUF_NAMESPACE_OPEN
template<> PROTOBUF_NOINLINE ::holoscan::service::SystemResourceInfo*
Arena::CreateMaybeMessage< ::holoscan::service::SystemResourceInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::holoscan::service::SystemResourceInfo >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)
#include <google/protobuf/port_undef.inc>