// Generated by the protocol buffer compiler. DO NOT EDIT! // source: RTService.proto // Protobuf C++ Version: 5.26.1 #include "RTService.pb.h" #include #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" #include "google/protobuf/generated_message_tctable_impl.h" // @@protoc_insertion_point(includes) // Must be included last. #include "google/protobuf/port_def.inc" PROTOBUF_PRAGMA_INIT_SEG namespace _pb = ::google::protobuf; namespace _pbi = ::google::protobuf::internal; namespace _fl = ::google::protobuf::internal::field_layout; namespace proto_messages { inline constexpr SStateResult::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : result_{}, _cached_size_{0} {} template PROTOBUF_CONSTEXPR SStateResult::SStateResult(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct SStateResultDefaultTypeInternal { PROTOBUF_CONSTEXPR SStateResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~SStateResultDefaultTypeInternal() {} union { SStateResult _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SStateResultDefaultTypeInternal _SStateResult_default_instance_; inline constexpr SSetMonStateIn::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : id_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), status_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), _cached_size_{0} {} template PROTOBUF_CONSTEXPR SSetMonStateIn::SSetMonStateIn(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct SSetMonStateInDefaultTypeInternal { PROTOBUF_CONSTEXPR SSetMonStateInDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~SSetMonStateInDefaultTypeInternal() {} union { SSetMonStateIn _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SSetMonStateInDefaultTypeInternal _SSetMonStateIn_default_instance_; inline constexpr SResult::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : result_{false}, _cached_size_{0} {} template PROTOBUF_CONSTEXPR SResult::SResult(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct SResultDefaultTypeInternal { PROTOBUF_CONSTEXPR SResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~SResultDefaultTypeInternal() {} union { SResult _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SResultDefaultTypeInternal _SResult_default_instance_; inline constexpr SMonStatesIn::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : query_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), _cached_size_{0} {} template PROTOBUF_CONSTEXPR SMonStatesIn::SMonStatesIn(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct SMonStatesInDefaultTypeInternal { PROTOBUF_CONSTEXPR SMonStatesInDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~SMonStatesInDefaultTypeInternal() {} union { SMonStatesIn _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SMonStatesInDefaultTypeInternal _SMonStatesIn_default_instance_; inline constexpr SMonStateIn::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : id_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), _cached_size_{0} {} template PROTOBUF_CONSTEXPR SMonStateIn::SMonStateIn(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct SMonStateInDefaultTypeInternal { PROTOBUF_CONSTEXPR SMonStateInDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~SMonStateInDefaultTypeInternal() {} union { SMonStateIn _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SMonStateInDefaultTypeInternal _SMonStateIn_default_instance_; inline constexpr SDeleteIn::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : id_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), _cached_size_{0} {} template PROTOBUF_CONSTEXPR SDeleteIn::SDeleteIn(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct SDeleteInDefaultTypeInternal { PROTOBUF_CONSTEXPR SDeleteInDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~SDeleteInDefaultTypeInternal() {} union { SDeleteIn _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SDeleteInDefaultTypeInternal _SDeleteIn_default_instance_; inline constexpr SCreateIn::Impl_::Impl_( ::_pbi::ConstantInitialized) noexcept : name_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), id_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), status_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), samplerate_{::int64_t{0}}, sampleperiod_{::int64_t{0}}, downtime_{::int64_t{0}}, _cached_size_{0} {} template PROTOBUF_CONSTEXPR SCreateIn::SCreateIn(::_pbi::ConstantInitialized) : _impl_(::_pbi::ConstantInitialized()) {} struct SCreateInDefaultTypeInternal { PROTOBUF_CONSTEXPR SCreateInDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} ~SCreateInDefaultTypeInternal() {} union { SCreateIn _instance; }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SCreateInDefaultTypeInternal _SCreateIn_default_instance_; } // namespace proto_messages static ::_pb::Metadata file_level_metadata_RTService_2eproto[7]; static constexpr const ::_pb::EnumDescriptor** file_level_enum_descriptors_RTService_2eproto = nullptr; static const ::_pb::ServiceDescriptor* file_level_service_descriptors_RTService_2eproto[1]; const ::uint32_t TableStruct_RTService_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::proto_messages::SCreateIn, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::proto_messages::SCreateIn, _impl_.name_), PROTOBUF_FIELD_OFFSET(::proto_messages::SCreateIn, _impl_.id_), PROTOBUF_FIELD_OFFSET(::proto_messages::SCreateIn, _impl_.samplerate_), PROTOBUF_FIELD_OFFSET(::proto_messages::SCreateIn, _impl_.sampleperiod_), PROTOBUF_FIELD_OFFSET(::proto_messages::SCreateIn, _impl_.downtime_), PROTOBUF_FIELD_OFFSET(::proto_messages::SCreateIn, _impl_.status_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::proto_messages::SDeleteIn, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::proto_messages::SDeleteIn, _impl_.id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::proto_messages::SMonStateIn, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::proto_messages::SMonStateIn, _impl_.id_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::proto_messages::SMonStatesIn, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::proto_messages::SMonStatesIn, _impl_.query_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::proto_messages::SSetMonStateIn, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::proto_messages::SSetMonStateIn, _impl_.id_), PROTOBUF_FIELD_OFFSET(::proto_messages::SSetMonStateIn, _impl_.status_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::proto_messages::SResult, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::proto_messages::SResult, _impl_.result_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::proto_messages::SStateResult, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::proto_messages::SStateResult, _impl_.result_), }; static const ::_pbi::MigrationSchema schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { {0, -1, -1, sizeof(::proto_messages::SCreateIn)}, {14, -1, -1, sizeof(::proto_messages::SDeleteIn)}, {23, -1, -1, sizeof(::proto_messages::SMonStateIn)}, {32, -1, -1, sizeof(::proto_messages::SMonStatesIn)}, {41, -1, -1, sizeof(::proto_messages::SSetMonStateIn)}, {51, -1, -1, sizeof(::proto_messages::SResult)}, {60, -1, -1, sizeof(::proto_messages::SStateResult)}, }; static const ::_pb::Message* const file_default_instances[] = { &::proto_messages::_SCreateIn_default_instance_._instance, &::proto_messages::_SDeleteIn_default_instance_._instance, &::proto_messages::_SMonStateIn_default_instance_._instance, &::proto_messages::_SMonStatesIn_default_instance_._instance, &::proto_messages::_SSetMonStateIn_default_instance_._instance, &::proto_messages::_SResult_default_instance_._instance, &::proto_messages::_SStateResult_default_instance_._instance, }; const char descriptor_table_protodef_RTService_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( protodesc_cold) = { "\n\017RTService.proto\022\016proto_messages\"q\n\tSCr" "eateIn\022\014\n\004name\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\022\n\nsamp" "lerate\030\003 \001(\003\022\024\n\014sampleperiod\030\004 \001(\003\022\020\n\010do" "wntime\030\005 \001(\003\022\016\n\006status\030\006 \001(\t\"\027\n\tSDeleteI" "n\022\n\n\002id\030\001 \001(\t\"\031\n\013SMonStateIn\022\n\n\002id\030\001 \001(\t" "\"\035\n\014SMonStatesIn\022\r\n\005query\030\001 \001(\t\",\n\016SSetM" "onStateIn\022\n\n\002id\030\001 \001(\t\022\016\n\006status\030\002 \001(\t\"\031\n" "\007SResult\022\016\n\006result\030\001 \001(\010\"\036\n\014SStateResult" "\022\016\n\006result\030\001 \003(\t2\211\003\n\tRTService\022F\n\020Create" "Monitoring\022\031.proto_messages.SCreateIn\032\027." "proto_messages.SResult\022F\n\020DeleteMonitori" "ng\022\031.proto_messages.SDeleteIn\032\027.proto_me" "ssages.SResult\022J\n\022GetMonitoringState\022\033.p" "roto_messages.SMonStateIn\032\027.proto_messag" "es.SResult\022Q\n\023GetMonitoringStates\022\034.prot" "o_messages.SMonStatesIn\032\034.proto_messages" ".SStateResult\022M\n\022SetMonitoringState\022\036.pr" "oto_messages.SSetMonStateIn\032\027.proto_mess" "ages.SResultB\003\200\001\001b\006proto3" }; static ::absl::once_flag descriptor_table_RTService_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_RTService_2eproto = { false, false, 745, descriptor_table_protodef_RTService_2eproto, "RTService.proto", &descriptor_table_RTService_2eproto_once, nullptr, 0, 7, schemas, file_default_instances, TableStruct_RTService_2eproto::offsets, file_level_metadata_RTService_2eproto, file_level_enum_descriptors_RTService_2eproto, file_level_service_descriptors_RTService_2eproto, }; // This function exists to be marked as weak. // It can significantly speed up compilation by breaking up LLVM's SCC // in the .pb.cc translation units. Large translation units see a // reduction of more than 35% of walltime for optimized builds. Without // the weak attribute all the messages in the file, including all the // vtables and everything they use become part of the same SCC through // a cycle like: // GetMetadata -> descriptor table -> default instances -> // vtables -> GetMetadata // By adding a weak function here we break the connection from the // individual vtables back into the descriptor table. PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_RTService_2eproto_getter() { return &descriptor_table_RTService_2eproto; } namespace proto_messages { // =================================================================== class SCreateIn::_Internal { public: }; SCreateIn::SCreateIn(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:proto_messages.SCreateIn) } inline PROTOBUF_NDEBUG_INLINE SCreateIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from) : name_(arena, from.name_), id_(arena, from.id_), status_(arena, from.status_), _cached_size_{0} {} SCreateIn::SCreateIn( ::google::protobuf::Arena* arena, const SCreateIn& from) : ::google::protobuf::Message(arena) { SCreateIn* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); ::memcpy(reinterpret_cast(&_impl_) + offsetof(Impl_, samplerate_), reinterpret_cast(&from._impl_) + offsetof(Impl_, samplerate_), offsetof(Impl_, downtime_) - offsetof(Impl_, samplerate_) + sizeof(Impl_::downtime_)); // @@protoc_insertion_point(copy_constructor:proto_messages.SCreateIn) } inline PROTOBUF_NDEBUG_INLINE SCreateIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : name_(arena), id_(arena), status_(arena), _cached_size_{0} {} inline void SCreateIn::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); ::memset(reinterpret_cast(&_impl_) + offsetof(Impl_, samplerate_), 0, offsetof(Impl_, downtime_) - offsetof(Impl_, samplerate_) + sizeof(Impl_::downtime_)); } SCreateIn::~SCreateIn() { // @@protoc_insertion_point(destructor:proto_messages.SCreateIn) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void SCreateIn::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.name_.Destroy(); _impl_.id_.Destroy(); _impl_.status_.Destroy(); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* SCreateIn::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { nullptr, // OnDemandRegisterArenaDtor PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_._cached_size_), false, }, &SCreateIn::MergeImpl, &SCreateIn::kDescriptorMethods, }; return &_data_; } PROTOBUF_NOINLINE void SCreateIn::Clear() { // @@protoc_insertion_point(message_clear_start:proto_messages.SCreateIn) PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.name_.ClearToEmpty(); _impl_.id_.ClearToEmpty(); _impl_.status_.ClearToEmpty(); ::memset(&_impl_.samplerate_, 0, static_cast<::size_t>( reinterpret_cast(&_impl_.downtime_) - reinterpret_cast(&_impl_.samplerate_)) + sizeof(_impl_.downtime_)); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* SCreateIn::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<3, 6, 0, 45, 2> SCreateIn::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 6, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967232, // skipmap offsetof(decltype(_table_), field_entries), 6, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_SCreateIn_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::proto_messages::SCreateIn>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ {::_pbi::TcParser::MiniParse, {}}, // string name = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.name_)}}, // string id = 2; {::_pbi::TcParser::FastUS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.id_)}}, // int64 samplerate = 3; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SCreateIn, _impl_.samplerate_), 63>(), {24, 63, 0, PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.samplerate_)}}, // int64 sampleperiod = 4; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SCreateIn, _impl_.sampleperiod_), 63>(), {32, 63, 0, PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.sampleperiod_)}}, // int64 downtime = 5; {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SCreateIn, _impl_.downtime_), 63>(), {40, 63, 0, PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.downtime_)}}, // string status = 6; {::_pbi::TcParser::FastUS1, {50, 63, 0, PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.status_)}}, {::_pbi::TcParser::MiniParse, {}}, }}, {{ 65535, 65535 }}, {{ // string name = 1; {PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.name_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string id = 2; {PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.id_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // int64 samplerate = 3; {PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.samplerate_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 sampleperiod = 4; {PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.sampleperiod_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // int64 downtime = 5; {PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.downtime_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, // string status = 6; {PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.status_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ "\30\4\2\0\0\0\6\0" "proto_messages.SCreateIn" "name" "id" "status" }}, }; ::uint8_t* SCreateIn::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:proto_messages.SCreateIn) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // string name = 1; if (!this->_internal_name().empty()) { const std::string& _s = this->_internal_name(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "proto_messages.SCreateIn.name"); target = stream->WriteStringMaybeAliased(1, _s, target); } // string id = 2; if (!this->_internal_id().empty()) { const std::string& _s = this->_internal_id(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "proto_messages.SCreateIn.id"); target = stream->WriteStringMaybeAliased(2, _s, target); } // int64 samplerate = 3; if (this->_internal_samplerate() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt64ToArrayWithField<3>( stream, this->_internal_samplerate(), target); } // int64 sampleperiod = 4; if (this->_internal_sampleperiod() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt64ToArrayWithField<4>( stream, this->_internal_sampleperiod(), target); } // int64 downtime = 5; if (this->_internal_downtime() != 0) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt64ToArrayWithField<5>( stream, this->_internal_downtime(), target); } // string status = 6; if (!this->_internal_status().empty()) { const std::string& _s = this->_internal_status(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "proto_messages.SCreateIn.status"); target = stream->WriteStringMaybeAliased(6, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:proto_messages.SCreateIn) return target; } ::size_t SCreateIn::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:proto_messages.SCreateIn) ::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 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_name()); } // string id = 2; if (!this->_internal_id().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_id()); } // string status = 6; if (!this->_internal_status().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_status()); } // int64 samplerate = 3; if (this->_internal_samplerate() != 0) { total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( this->_internal_samplerate()); } // int64 sampleperiod = 4; if (this->_internal_sampleperiod() != 0) { total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( this->_internal_sampleperiod()); } // int64 downtime = 5; if (this->_internal_downtime() != 0) { total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( this->_internal_downtime()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void SCreateIn::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:proto_messages.SCreateIn) ABSL_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()); } if (!from._internal_id().empty()) { _this->_internal_set_id(from._internal_id()); } if (!from._internal_status().empty()) { _this->_internal_set_status(from._internal_status()); } if (from._internal_samplerate() != 0) { _this->_impl_.samplerate_ = from._impl_.samplerate_; } if (from._internal_sampleperiod() != 0) { _this->_impl_.sampleperiod_ = from._impl_.sampleperiod_; } if (from._internal_downtime() != 0) { _this->_impl_.downtime_ = from._impl_.downtime_; } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void SCreateIn::CopyFrom(const SCreateIn& from) { // @@protoc_insertion_point(class_specific_copy_from_start:proto_messages.SCreateIn) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool SCreateIn::IsInitialized() const { return true; } void SCreateIn::InternalSwap(SCreateIn* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.status_, &other->_impl_.status_, arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.downtime_) + sizeof(SCreateIn::_impl_.downtime_) - PROTOBUF_FIELD_OFFSET(SCreateIn, _impl_.samplerate_)>( reinterpret_cast(&_impl_.samplerate_), reinterpret_cast(&other->_impl_.samplerate_)); } ::google::protobuf::Metadata SCreateIn::GetMetadata() const { return ::_pbi::AssignDescriptors(&descriptor_table_RTService_2eproto_getter, &descriptor_table_RTService_2eproto_once, file_level_metadata_RTService_2eproto[0]); } // =================================================================== class SDeleteIn::_Internal { public: }; SDeleteIn::SDeleteIn(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:proto_messages.SDeleteIn) } inline PROTOBUF_NDEBUG_INLINE SDeleteIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from) : id_(arena, from.id_), _cached_size_{0} {} SDeleteIn::SDeleteIn( ::google::protobuf::Arena* arena, const SDeleteIn& from) : ::google::protobuf::Message(arena) { SDeleteIn* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); // @@protoc_insertion_point(copy_constructor:proto_messages.SDeleteIn) } inline PROTOBUF_NDEBUG_INLINE SDeleteIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : id_(arena), _cached_size_{0} {} inline void SDeleteIn::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } SDeleteIn::~SDeleteIn() { // @@protoc_insertion_point(destructor:proto_messages.SDeleteIn) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void SDeleteIn::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.id_.Destroy(); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* SDeleteIn::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { nullptr, // OnDemandRegisterArenaDtor PROTOBUF_FIELD_OFFSET(SDeleteIn, _impl_._cached_size_), false, }, &SDeleteIn::MergeImpl, &SDeleteIn::kDescriptorMethods, }; return &_data_; } PROTOBUF_NOINLINE void SDeleteIn::Clear() { // @@protoc_insertion_point(message_clear_start:proto_messages.SDeleteIn) PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.id_.ClearToEmpty(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* SDeleteIn::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 35, 2> SDeleteIn::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967294, // skipmap offsetof(decltype(_table_), field_entries), 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_SDeleteIn_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::proto_messages::SDeleteIn>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // string id = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(SDeleteIn, _impl_.id_)}}, }}, {{ 65535, 65535 }}, {{ // string id = 1; {PROTOBUF_FIELD_OFFSET(SDeleteIn, _impl_.id_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ "\30\2\0\0\0\0\0\0" "proto_messages.SDeleteIn" "id" }}, }; ::uint8_t* SDeleteIn::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:proto_messages.SDeleteIn) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // string id = 1; if (!this->_internal_id().empty()) { const std::string& _s = this->_internal_id(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "proto_messages.SDeleteIn.id"); target = stream->WriteStringMaybeAliased(1, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:proto_messages.SDeleteIn) return target; } ::size_t SDeleteIn::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:proto_messages.SDeleteIn) ::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 id = 1; if (!this->_internal_id().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void SDeleteIn::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:proto_messages.SDeleteIn) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_id().empty()) { _this->_internal_set_id(from._internal_id()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void SDeleteIn::CopyFrom(const SDeleteIn& from) { // @@protoc_insertion_point(class_specific_copy_from_start:proto_messages.SDeleteIn) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool SDeleteIn::IsInitialized() const { return true; } void SDeleteIn::InternalSwap(SDeleteIn* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); } ::google::protobuf::Metadata SDeleteIn::GetMetadata() const { return ::_pbi::AssignDescriptors(&descriptor_table_RTService_2eproto_getter, &descriptor_table_RTService_2eproto_once, file_level_metadata_RTService_2eproto[1]); } // =================================================================== class SMonStateIn::_Internal { public: }; SMonStateIn::SMonStateIn(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:proto_messages.SMonStateIn) } inline PROTOBUF_NDEBUG_INLINE SMonStateIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from) : id_(arena, from.id_), _cached_size_{0} {} SMonStateIn::SMonStateIn( ::google::protobuf::Arena* arena, const SMonStateIn& from) : ::google::protobuf::Message(arena) { SMonStateIn* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); // @@protoc_insertion_point(copy_constructor:proto_messages.SMonStateIn) } inline PROTOBUF_NDEBUG_INLINE SMonStateIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : id_(arena), _cached_size_{0} {} inline void SMonStateIn::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } SMonStateIn::~SMonStateIn() { // @@protoc_insertion_point(destructor:proto_messages.SMonStateIn) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void SMonStateIn::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.id_.Destroy(); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* SMonStateIn::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { nullptr, // OnDemandRegisterArenaDtor PROTOBUF_FIELD_OFFSET(SMonStateIn, _impl_._cached_size_), false, }, &SMonStateIn::MergeImpl, &SMonStateIn::kDescriptorMethods, }; return &_data_; } PROTOBUF_NOINLINE void SMonStateIn::Clear() { // @@protoc_insertion_point(message_clear_start:proto_messages.SMonStateIn) PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.id_.ClearToEmpty(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* SMonStateIn::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 37, 2> SMonStateIn::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967294, // skipmap offsetof(decltype(_table_), field_entries), 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_SMonStateIn_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::proto_messages::SMonStateIn>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // string id = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(SMonStateIn, _impl_.id_)}}, }}, {{ 65535, 65535 }}, {{ // string id = 1; {PROTOBUF_FIELD_OFFSET(SMonStateIn, _impl_.id_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ "\32\2\0\0\0\0\0\0" "proto_messages.SMonStateIn" "id" }}, }; ::uint8_t* SMonStateIn::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:proto_messages.SMonStateIn) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // string id = 1; if (!this->_internal_id().empty()) { const std::string& _s = this->_internal_id(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "proto_messages.SMonStateIn.id"); target = stream->WriteStringMaybeAliased(1, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:proto_messages.SMonStateIn) return target; } ::size_t SMonStateIn::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:proto_messages.SMonStateIn) ::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 id = 1; if (!this->_internal_id().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_id()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void SMonStateIn::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:proto_messages.SMonStateIn) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_id().empty()) { _this->_internal_set_id(from._internal_id()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void SMonStateIn::CopyFrom(const SMonStateIn& from) { // @@protoc_insertion_point(class_specific_copy_from_start:proto_messages.SMonStateIn) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool SMonStateIn::IsInitialized() const { return true; } void SMonStateIn::InternalSwap(SMonStateIn* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); } ::google::protobuf::Metadata SMonStateIn::GetMetadata() const { return ::_pbi::AssignDescriptors(&descriptor_table_RTService_2eproto_getter, &descriptor_table_RTService_2eproto_once, file_level_metadata_RTService_2eproto[2]); } // =================================================================== class SMonStatesIn::_Internal { public: }; SMonStatesIn::SMonStatesIn(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:proto_messages.SMonStatesIn) } inline PROTOBUF_NDEBUG_INLINE SMonStatesIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from) : query_(arena, from.query_), _cached_size_{0} {} SMonStatesIn::SMonStatesIn( ::google::protobuf::Arena* arena, const SMonStatesIn& from) : ::google::protobuf::Message(arena) { SMonStatesIn* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); // @@protoc_insertion_point(copy_constructor:proto_messages.SMonStatesIn) } inline PROTOBUF_NDEBUG_INLINE SMonStatesIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : query_(arena), _cached_size_{0} {} inline void SMonStatesIn::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } SMonStatesIn::~SMonStatesIn() { // @@protoc_insertion_point(destructor:proto_messages.SMonStatesIn) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void SMonStatesIn::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.query_.Destroy(); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* SMonStatesIn::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { nullptr, // OnDemandRegisterArenaDtor PROTOBUF_FIELD_OFFSET(SMonStatesIn, _impl_._cached_size_), false, }, &SMonStatesIn::MergeImpl, &SMonStatesIn::kDescriptorMethods, }; return &_data_; } PROTOBUF_NOINLINE void SMonStatesIn::Clear() { // @@protoc_insertion_point(message_clear_start:proto_messages.SMonStatesIn) PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.query_.ClearToEmpty(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* SMonStatesIn::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 41, 2> SMonStatesIn::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967294, // skipmap offsetof(decltype(_table_), field_entries), 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_SMonStatesIn_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::proto_messages::SMonStatesIn>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // string query = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(SMonStatesIn, _impl_.query_)}}, }}, {{ 65535, 65535 }}, {{ // string query = 1; {PROTOBUF_FIELD_OFFSET(SMonStatesIn, _impl_.query_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ "\33\5\0\0\0\0\0\0" "proto_messages.SMonStatesIn" "query" }}, }; ::uint8_t* SMonStatesIn::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:proto_messages.SMonStatesIn) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // string query = 1; if (!this->_internal_query().empty()) { const std::string& _s = this->_internal_query(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "proto_messages.SMonStatesIn.query"); target = stream->WriteStringMaybeAliased(1, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:proto_messages.SMonStatesIn) return target; } ::size_t SMonStatesIn::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:proto_messages.SMonStatesIn) ::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 query = 1; if (!this->_internal_query().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_query()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void SMonStatesIn::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:proto_messages.SMonStatesIn) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_query().empty()) { _this->_internal_set_query(from._internal_query()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void SMonStatesIn::CopyFrom(const SMonStatesIn& from) { // @@protoc_insertion_point(class_specific_copy_from_start:proto_messages.SMonStatesIn) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool SMonStatesIn::IsInitialized() const { return true; } void SMonStatesIn::InternalSwap(SMonStatesIn* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.query_, &other->_impl_.query_, arena); } ::google::protobuf::Metadata SMonStatesIn::GetMetadata() const { return ::_pbi::AssignDescriptors(&descriptor_table_RTService_2eproto_getter, &descriptor_table_RTService_2eproto_once, file_level_metadata_RTService_2eproto[3]); } // =================================================================== class SSetMonStateIn::_Internal { public: }; SSetMonStateIn::SSetMonStateIn(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:proto_messages.SSetMonStateIn) } inline PROTOBUF_NDEBUG_INLINE SSetMonStateIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from) : id_(arena, from.id_), status_(arena, from.status_), _cached_size_{0} {} SSetMonStateIn::SSetMonStateIn( ::google::protobuf::Arena* arena, const SSetMonStateIn& from) : ::google::protobuf::Message(arena) { SSetMonStateIn* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); // @@protoc_insertion_point(copy_constructor:proto_messages.SSetMonStateIn) } inline PROTOBUF_NDEBUG_INLINE SSetMonStateIn::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : id_(arena), status_(arena), _cached_size_{0} {} inline void SSetMonStateIn::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } SSetMonStateIn::~SSetMonStateIn() { // @@protoc_insertion_point(destructor:proto_messages.SSetMonStateIn) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void SSetMonStateIn::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.id_.Destroy(); _impl_.status_.Destroy(); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* SSetMonStateIn::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { nullptr, // OnDemandRegisterArenaDtor PROTOBUF_FIELD_OFFSET(SSetMonStateIn, _impl_._cached_size_), false, }, &SSetMonStateIn::MergeImpl, &SSetMonStateIn::kDescriptorMethods, }; return &_data_; } PROTOBUF_NOINLINE void SSetMonStateIn::Clear() { // @@protoc_insertion_point(message_clear_start:proto_messages.SSetMonStateIn) PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.id_.ClearToEmpty(); _impl_.status_.ClearToEmpty(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* SSetMonStateIn::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<1, 2, 0, 46, 2> SSetMonStateIn::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 2, 8, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967292, // skipmap offsetof(decltype(_table_), field_entries), 2, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_SSetMonStateIn_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::proto_messages::SSetMonStateIn>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // string status = 2; {::_pbi::TcParser::FastUS1, {18, 63, 0, PROTOBUF_FIELD_OFFSET(SSetMonStateIn, _impl_.status_)}}, // string id = 1; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(SSetMonStateIn, _impl_.id_)}}, }}, {{ 65535, 65535 }}, {{ // string id = 1; {PROTOBUF_FIELD_OFFSET(SSetMonStateIn, _impl_.id_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, // string status = 2; {PROTOBUF_FIELD_OFFSET(SSetMonStateIn, _impl_.status_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, // no aux_entries {{ "\35\2\6\0\0\0\0\0" "proto_messages.SSetMonStateIn" "id" "status" }}, }; ::uint8_t* SSetMonStateIn::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:proto_messages.SSetMonStateIn) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // string id = 1; if (!this->_internal_id().empty()) { const std::string& _s = this->_internal_id(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "proto_messages.SSetMonStateIn.id"); target = stream->WriteStringMaybeAliased(1, _s, target); } // string status = 2; if (!this->_internal_status().empty()) { const std::string& _s = this->_internal_status(); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "proto_messages.SSetMonStateIn.status"); target = stream->WriteStringMaybeAliased(2, _s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:proto_messages.SSetMonStateIn) return target; } ::size_t SSetMonStateIn::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:proto_messages.SSetMonStateIn) ::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 id = 1; if (!this->_internal_id().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_id()); } // string status = 2; if (!this->_internal_status().empty()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->_internal_status()); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void SSetMonStateIn::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:proto_messages.SSetMonStateIn) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (!from._internal_id().empty()) { _this->_internal_set_id(from._internal_id()); } if (!from._internal_status().empty()) { _this->_internal_set_status(from._internal_status()); } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void SSetMonStateIn::CopyFrom(const SSetMonStateIn& from) { // @@protoc_insertion_point(class_specific_copy_from_start:proto_messages.SSetMonStateIn) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool SSetMonStateIn::IsInitialized() const { return true; } void SSetMonStateIn::InternalSwap(SSetMonStateIn* PROTOBUF_RESTRICT other) { using std::swap; auto* arena = GetArena(); ABSL_DCHECK_EQ(arena, other->GetArena()); _internal_metadata_.InternalSwap(&other->_internal_metadata_); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.id_, &other->_impl_.id_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.status_, &other->_impl_.status_, arena); } ::google::protobuf::Metadata SSetMonStateIn::GetMetadata() const { return ::_pbi::AssignDescriptors(&descriptor_table_RTService_2eproto_getter, &descriptor_table_RTService_2eproto_once, file_level_metadata_RTService_2eproto[4]); } // =================================================================== class SResult::_Internal { public: }; SResult::SResult(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:proto_messages.SResult) } SResult::SResult( ::google::protobuf::Arena* arena, const SResult& from) : SResult(arena) { MergeFrom(from); } inline PROTOBUF_NDEBUG_INLINE SResult::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : _cached_size_{0} {} inline void SResult::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); _impl_.result_ = {}; } SResult::~SResult() { // @@protoc_insertion_point(destructor:proto_messages.SResult) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void SResult::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* SResult::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { nullptr, // OnDemandRegisterArenaDtor PROTOBUF_FIELD_OFFSET(SResult, _impl_._cached_size_), false, }, &SResult::MergeImpl, &SResult::kDescriptorMethods, }; return &_data_; } PROTOBUF_NOINLINE void SResult::Clear() { // @@protoc_insertion_point(message_clear_start:proto_messages.SResult) PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.result_ = false; _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* SResult::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 0, 2> SResult::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967294, // skipmap offsetof(decltype(_table_), field_entries), 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_SResult_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::proto_messages::SResult>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // bool result = 1; {::_pbi::TcParser::SingularVarintNoZag1(), {8, 63, 0, PROTOBUF_FIELD_OFFSET(SResult, _impl_.result_)}}, }}, {{ 65535, 65535 }}, {{ // bool result = 1; {PROTOBUF_FIELD_OFFSET(SResult, _impl_.result_), 0, 0, (0 | ::_fl::kFcSingular | ::_fl::kBool)}, }}, // no aux_entries {{ }}, }; ::uint8_t* SResult::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:proto_messages.SResult) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // bool result = 1; if (this->_internal_result() != 0) { target = stream->EnsureSpace(target); target = ::_pbi::WireFormatLite::WriteBoolToArray( 1, this->_internal_result(), target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:proto_messages.SResult) return target; } ::size_t SResult::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:proto_messages.SResult) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // bool result = 1; if (this->_internal_result() != 0) { total_size += 2; } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void SResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:proto_messages.SResult) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; if (from._internal_result() != 0) { _this->_impl_.result_ = from._impl_.result_; } _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void SResult::CopyFrom(const SResult& from) { // @@protoc_insertion_point(class_specific_copy_from_start:proto_messages.SResult) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool SResult::IsInitialized() const { return true; } void SResult::InternalSwap(SResult* PROTOBUF_RESTRICT other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); swap(_impl_.result_, other->_impl_.result_); } ::google::protobuf::Metadata SResult::GetMetadata() const { return ::_pbi::AssignDescriptors(&descriptor_table_RTService_2eproto_getter, &descriptor_table_RTService_2eproto_once, file_level_metadata_RTService_2eproto[5]); } // =================================================================== class SStateResult::_Internal { public: }; SStateResult::SStateResult(::google::protobuf::Arena* arena) : ::google::protobuf::Message(arena) { SharedCtor(arena); // @@protoc_insertion_point(arena_constructor:proto_messages.SStateResult) } inline PROTOBUF_NDEBUG_INLINE SStateResult::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, const Impl_& from) : result_{visibility, arena, from.result_}, _cached_size_{0} {} SStateResult::SStateResult( ::google::protobuf::Arena* arena, const SStateResult& from) : ::google::protobuf::Message(arena) { SStateResult* const _this = this; (void)_this; _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( from._internal_metadata_); new (&_impl_) Impl_(internal_visibility(), arena, from._impl_); // @@protoc_insertion_point(copy_constructor:proto_messages.SStateResult) } inline PROTOBUF_NDEBUG_INLINE SStateResult::Impl_::Impl_( ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena) : result_{visibility, arena}, _cached_size_{0} {} inline void SStateResult::SharedCtor(::_pb::Arena* arena) { new (&_impl_) Impl_(internal_visibility(), arena); } SStateResult::~SStateResult() { // @@protoc_insertion_point(destructor:proto_messages.SStateResult) _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); SharedDtor(); } inline void SStateResult::SharedDtor() { ABSL_DCHECK(GetArena() == nullptr); _impl_.~Impl_(); } const ::google::protobuf::MessageLite::ClassData* SStateResult::GetClassData() const { PROTOBUF_CONSTINIT static const ::google::protobuf::MessageLite:: ClassDataFull _data_ = { { nullptr, // OnDemandRegisterArenaDtor PROTOBUF_FIELD_OFFSET(SStateResult, _impl_._cached_size_), false, }, &SStateResult::MergeImpl, &SStateResult::kDescriptorMethods, }; return &_data_; } PROTOBUF_NOINLINE void SStateResult::Clear() { // @@protoc_insertion_point(message_clear_start:proto_messages.SStateResult) PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.result_.Clear(); _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); } const char* SStateResult::_InternalParse( const char* ptr, ::_pbi::ParseContext* ctx) { ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header); return ptr; } PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::_pbi::TcParseTable<0, 1, 0, 42, 2> SStateResult::_table_ = { { 0, // no _has_bits_ 0, // no _extensions_ 1, 0, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), 4294967294, // skipmap offsetof(decltype(_table_), field_entries), 1, // num_field_entries 0, // num_aux_entries offsetof(decltype(_table_), field_names), // no aux_entries &_SStateResult_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback #ifdef PROTOBUF_PREFETCH_PARSE_TABLE ::_pbi::TcParser::GetTable<::proto_messages::SStateResult>(), // to_prefetch #endif // PROTOBUF_PREFETCH_PARSE_TABLE }, {{ // repeated string result = 1; {::_pbi::TcParser::FastUR1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(SStateResult, _impl_.result_)}}, }}, {{ 65535, 65535 }}, {{ // repeated string result = 1; {PROTOBUF_FIELD_OFFSET(SStateResult, _impl_.result_), 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, }}, // no aux_entries {{ "\33\6\0\0\0\0\0\0" "proto_messages.SStateResult" "result" }}, }; ::uint8_t* SStateResult::_InternalSerialize( ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const { // @@protoc_insertion_point(serialize_to_array_start:proto_messages.SStateResult) ::uint32_t cached_has_bits = 0; (void)cached_has_bits; // repeated string result = 1; for (int i = 0, n = this->_internal_result_size(); i < n; ++i) { const auto& s = this->_internal_result().Get(i); ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "proto_messages.SStateResult.result"); target = stream->WriteString(1, s, target); } if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); } // @@protoc_insertion_point(serialize_to_array_end:proto_messages.SStateResult) return target; } ::size_t SStateResult::ByteSizeLong() const { // @@protoc_insertion_point(message_byte_size_start:proto_messages.SStateResult) ::size_t total_size = 0; ::uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; // repeated string result = 1; total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_result().size()); for (int i = 0, n = _internal_result().size(); i < n; ++i) { total_size += ::google::protobuf::internal::WireFormatLite::StringSize( _internal_result().Get(i)); } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } void SStateResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { auto* const _this = static_cast(&to_msg); auto& from = static_cast(from_msg); // @@protoc_insertion_point(class_specific_merge_from_start:proto_messages.SStateResult) ABSL_DCHECK_NE(&from, _this); ::uint32_t cached_has_bits = 0; (void) cached_has_bits; _this->_internal_mutable_result()->MergeFrom(from._internal_result()); _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); } void SStateResult::CopyFrom(const SStateResult& from) { // @@protoc_insertion_point(class_specific_copy_from_start:proto_messages.SStateResult) if (&from == this) return; Clear(); MergeFrom(from); } PROTOBUF_NOINLINE bool SStateResult::IsInitialized() const { return true; } void SStateResult::InternalSwap(SStateResult* PROTOBUF_RESTRICT other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); _impl_.result_.InternalSwap(&other->_impl_.result_); } ::google::protobuf::Metadata SStateResult::GetMetadata() const { return ::_pbi::AssignDescriptors(&descriptor_table_RTService_2eproto_getter, &descriptor_table_RTService_2eproto_once, file_level_metadata_RTService_2eproto[6]); } // =================================================================== const ::google::protobuf::ServiceDescriptor* RTService::descriptor() { ::google::protobuf::internal::AssignDescriptors(&descriptor_table_RTService_2eproto); return file_level_service_descriptors_RTService_2eproto[0]; } const ::google::protobuf::ServiceDescriptor* RTService::GetDescriptor() { return descriptor(); } void RTService::CreateMonitoring(::google::protobuf::RpcController* controller, const ::proto_messages::SCreateIn*, ::proto_messages::SResult*, ::google::protobuf::Closure* done) { controller->SetFailed("Method CreateMonitoring() not implemented."); done->Run(); } void RTService::DeleteMonitoring(::google::protobuf::RpcController* controller, const ::proto_messages::SDeleteIn*, ::proto_messages::SResult*, ::google::protobuf::Closure* done) { controller->SetFailed("Method DeleteMonitoring() not implemented."); done->Run(); } void RTService::GetMonitoringState(::google::protobuf::RpcController* controller, const ::proto_messages::SMonStateIn*, ::proto_messages::SResult*, ::google::protobuf::Closure* done) { controller->SetFailed("Method GetMonitoringState() not implemented."); done->Run(); } void RTService::GetMonitoringStates(::google::protobuf::RpcController* controller, const ::proto_messages::SMonStatesIn*, ::proto_messages::SStateResult*, ::google::protobuf::Closure* done) { controller->SetFailed("Method GetMonitoringStates() not implemented."); done->Run(); } void RTService::SetMonitoringState(::google::protobuf::RpcController* controller, const ::proto_messages::SSetMonStateIn*, ::proto_messages::SResult*, ::google::protobuf::Closure* done) { controller->SetFailed("Method SetMonitoringState() not implemented."); done->Run(); } void RTService::CallMethod( const ::google::protobuf::MethodDescriptor* method, ::google::protobuf::RpcController* controller, const ::google::protobuf::Message* request, ::google::protobuf::Message* response, ::google::protobuf::Closure* done) { ABSL_DCHECK_EQ(method->service(), file_level_service_descriptors_RTService_2eproto[0]); switch (method->index()) { case 0: CreateMonitoring(controller, ::google::protobuf::internal::DownCast(request), ::google::protobuf::internal::DownCast<::proto_messages::SResult*>(response), done); break; case 1: DeleteMonitoring(controller, ::google::protobuf::internal::DownCast(request), ::google::protobuf::internal::DownCast<::proto_messages::SResult*>(response), done); break; case 2: GetMonitoringState(controller, ::google::protobuf::internal::DownCast(request), ::google::protobuf::internal::DownCast<::proto_messages::SResult*>(response), done); break; case 3: GetMonitoringStates(controller, ::google::protobuf::internal::DownCast(request), ::google::protobuf::internal::DownCast<::proto_messages::SStateResult*>(response), done); break; case 4: SetMonitoringState(controller, ::google::protobuf::internal::DownCast(request), ::google::protobuf::internal::DownCast<::proto_messages::SResult*>(response), done); break; default: ABSL_LOG(FATAL) << "Bad method index; this should never happen."; break; } } const ::google::protobuf::Message& RTService::GetRequestPrototype( const ::google::protobuf::MethodDescriptor* method) const { ABSL_DCHECK_EQ(method->service(), descriptor()); switch (method->index()) { case 0: return ::proto_messages::SCreateIn::default_instance(); case 1: return ::proto_messages::SDeleteIn::default_instance(); case 2: return ::proto_messages::SMonStateIn::default_instance(); case 3: return ::proto_messages::SMonStatesIn::default_instance(); case 4: return ::proto_messages::SSetMonStateIn::default_instance(); default: ABSL_LOG(FATAL) << "Bad method index; this should never happen."; return *::google::protobuf::MessageFactory::generated_factory() ->GetPrototype(method->input_type()); } } const ::google::protobuf::Message& RTService::GetResponsePrototype( const ::google::protobuf::MethodDescriptor* method) const { ABSL_DCHECK_EQ(method->service(), descriptor()); switch (method->index()) { case 0: return ::proto_messages::SResult::default_instance(); case 1: return ::proto_messages::SResult::default_instance(); case 2: return ::proto_messages::SResult::default_instance(); case 3: return ::proto_messages::SStateResult::default_instance(); case 4: return ::proto_messages::SResult::default_instance(); default: ABSL_LOG(FATAL) << "Bad method index; this should never happen."; return *::google::protobuf::MessageFactory::generated_factory() ->GetPrototype(method->output_type()); } } RTService_Stub::RTService_Stub(::google::protobuf::RpcChannel* channel) : channel_(channel), owns_channel_(false) {} RTService_Stub::RTService_Stub( ::google::protobuf::RpcChannel* channel, ::google::protobuf::Service::ChannelOwnership ownership) : channel_(channel), owns_channel_(ownership == ::google::protobuf::Service::STUB_OWNS_CHANNEL) {} RTService_Stub::~RTService_Stub() { if (owns_channel_) delete channel_; } void RTService_Stub::CreateMonitoring(::google::protobuf::RpcController* controller, const ::proto_messages::SCreateIn* request, ::proto_messages::SResult* response, ::google::protobuf::Closure* done) { channel_->CallMethod(descriptor()->method(0), controller, request, response, done); } void RTService_Stub::DeleteMonitoring(::google::protobuf::RpcController* controller, const ::proto_messages::SDeleteIn* request, ::proto_messages::SResult* response, ::google::protobuf::Closure* done) { channel_->CallMethod(descriptor()->method(1), controller, request, response, done); } void RTService_Stub::GetMonitoringState(::google::protobuf::RpcController* controller, const ::proto_messages::SMonStateIn* request, ::proto_messages::SResult* response, ::google::protobuf::Closure* done) { channel_->CallMethod(descriptor()->method(2), controller, request, response, done); } void RTService_Stub::GetMonitoringStates(::google::protobuf::RpcController* controller, const ::proto_messages::SMonStatesIn* request, ::proto_messages::SStateResult* response, ::google::protobuf::Closure* done) { channel_->CallMethod(descriptor()->method(3), controller, request, response, done); } void RTService_Stub::SetMonitoringState(::google::protobuf::RpcController* controller, const ::proto_messages::SSetMonStateIn* request, ::proto_messages::SResult* response, ::google::protobuf::Closure* done) { channel_->CallMethod(descriptor()->method(4), controller, request, response, done); } // @@protoc_insertion_point(namespace_scope) } // namespace proto_messages namespace google { namespace protobuf { } // namespace protobuf } // namespace google // @@protoc_insertion_point(global_scope) PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type _static_init_ PROTOBUF_UNUSED = (::_pbi::AddDescriptors(&descriptor_table_RTService_2eproto), ::std::false_type{}); #include "google/protobuf/port_undef.inc"