diff --git a/cpp/agent.pb.cc b/cpp/agent.pb.cc new file mode 100644 index 0000000..5a682ea --- /dev/null +++ b/cpp/agent.pb.cc @@ -0,0 +1,7037 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: agent.proto +// Protobuf C++ Version: 5.29.2 + +#include "agent.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.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) + +// 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 agent { + +inline constexpr UpdateManifestResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : agent_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR UpdateManifestResponse::UpdateManifestResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct UpdateManifestResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateManifestResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateManifestResponseDefaultTypeInternal() {} + union { + UpdateManifestResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateManifestResponseDefaultTypeInternal _UpdateManifestResponse_default_instance_; + +inline constexpr Target_UnderlyingFSOpts::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : device_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + format_flags_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + mount_flags_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + type_{static_cast< ::agent::Target_UnderlyingFSOpts_FsType >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Target_UnderlyingFSOpts::Target_UnderlyingFSOpts(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Target_UnderlyingFSOptsDefaultTypeInternal { + PROTOBUF_CONSTEXPR Target_UnderlyingFSOptsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Target_UnderlyingFSOptsDefaultTypeInternal() {} + union { + Target_UnderlyingFSOpts _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Target_UnderlyingFSOptsDefaultTypeInternal _Target_UnderlyingFSOpts_default_instance_; + +inline constexpr TLS::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : key_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + cert_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR TLS::TLS(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TLSDefaultTypeInternal { + PROTOBUF_CONSTEXPR TLSDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TLSDefaultTypeInternal() {} + union { + TLS _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TLSDefaultTypeInternal _TLS_default_instance_; + +inline constexpr SourceRef::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : ref_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + service_type_{static_cast< ::beegfs::NodeType >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR SourceRef::SourceRef(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct SourceRefDefaultTypeInternal { + PROTOBUF_CONSTEXPR SourceRefDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~SourceRefDefaultTypeInternal() {} + union { + SourceRef _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SourceRefDefaultTypeInternal _SourceRef_default_instance_; + template +PROTOBUF_CONSTEXPR ServiceConfig_StringMapEntry_DoNotUse::ServiceConfig_StringMapEntry_DoNotUse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ServiceConfig_StringMapEntry_DoNotUse::MapEntry(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ServiceConfig_StringMapEntry_DoNotUse::MapEntry() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ServiceConfig_StringMapEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR ServiceConfig_StringMapEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ServiceConfig_StringMapEntry_DoNotUseDefaultTypeInternal() {} + union { + ServiceConfig_StringMapEntry_DoNotUse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServiceConfig_StringMapEntry_DoNotUseDefaultTypeInternal _ServiceConfig_StringMapEntry_DoNotUse_default_instance_; + template +PROTOBUF_CONSTEXPR Service_ConfigEntry_DoNotUse::Service_ConfigEntry_DoNotUse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : Service_ConfigEntry_DoNotUse::MapEntry(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : Service_ConfigEntry_DoNotUse::MapEntry() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct Service_ConfigEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR Service_ConfigEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Service_ConfigEntry_DoNotUseDefaultTypeInternal() {} + union { + Service_ConfigEntry_DoNotUse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Service_ConfigEntry_DoNotUseDefaultTypeInternal _Service_ConfigEntry_DoNotUse_default_instance_; + +inline constexpr ReconciliationStatusRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : agent_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ReconciliationStatusRequest::ReconciliationStatusRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ReconciliationStatusRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR ReconciliationStatusRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ReconciliationStatusRequestDefaultTypeInternal() {} + union { + ReconciliationStatusRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReconciliationStatusRequestDefaultTypeInternal _ReconciliationStatusRequest_default_instance_; + +inline constexpr Nic::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : name_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + addr_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Nic::Nic(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct NicDefaultTypeInternal { + PROTOBUF_CONSTEXPR NicDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~NicDefaultTypeInternal() {} + union { + Nic _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NicDefaultTypeInternal _Nic_default_instance_; + +inline constexpr CancelReconciliationRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : agent_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + reason_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR CancelReconciliationRequest::CancelReconciliationRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CancelReconciliationRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR CancelReconciliationRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CancelReconciliationRequestDefaultTypeInternal() {} + union { + CancelReconciliationRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CancelReconciliationRequestDefaultTypeInternal _CancelReconciliationRequest_default_instance_; + +inline constexpr Auth::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : secret_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Auth::Auth(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AuthDefaultTypeInternal { + PROTOBUF_CONSTEXPR AuthDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AuthDefaultTypeInternal() {} + union { + Auth _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AuthDefaultTypeInternal _Auth_default_instance_; + +inline constexpr Target::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + path_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + ulfs_{nullptr}, + num_id_{0u} {} + +template +PROTOBUF_CONSTEXPR Target::Target(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct TargetDefaultTypeInternal { + PROTOBUF_CONSTEXPR TargetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~TargetDefaultTypeInternal() {} + union { + Target _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TargetDefaultTypeInternal _Target_default_instance_; + +inline constexpr Status::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + messages_{}, + updated_{nullptr}, + state_{static_cast< ::agent::Status_State >(0)} {} + +template +PROTOBUF_CONSTEXPR Status::Status(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct StatusDefaultTypeInternal { + PROTOBUF_CONSTEXPR StatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~StatusDefaultTypeInternal() {} + union { + Status _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StatusDefaultTypeInternal _Status_default_instance_; + +inline constexpr ServiceConfig::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : string_map_{}, + service_type_{static_cast< ::beegfs::NodeType >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ServiceConfig::ServiceConfig(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ServiceConfigDefaultTypeInternal { + PROTOBUF_CONSTEXPR ServiceConfigDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ServiceConfigDefaultTypeInternal() {} + union { + ServiceConfig _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServiceConfigDefaultTypeInternal _ServiceConfig_default_instance_; + +inline constexpr InstallSource::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : refs_{}, + repo_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + type_{static_cast< ::agent::InstallType >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR InstallSource::InstallSource(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct InstallSourceDefaultTypeInternal { + PROTOBUF_CONSTEXPR InstallSourceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~InstallSourceDefaultTypeInternal() {} + union { + InstallSource _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InstallSourceDefaultTypeInternal _InstallSource_default_instance_; + +inline constexpr Service::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : config_{}, + interfaces_{}, + targets_{}, + executable_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + num_id_{0u}, + service_type_{static_cast< ::beegfs::NodeType >(0)}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Service::Service(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ServiceDefaultTypeInternal { + PROTOBUF_CONSTEXPR ServiceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ServiceDefaultTypeInternal() {} + union { + Service _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ServiceDefaultTypeInternal _Service_default_instance_; + +inline constexpr ReconciliationStatusResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + agent_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + status_{nullptr} {} + +template +PROTOBUF_CONSTEXPR ReconciliationStatusResponse::ReconciliationStatusResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ReconciliationStatusResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR ReconciliationStatusResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ReconciliationStatusResponseDefaultTypeInternal() {} + union { + ReconciliationStatusResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReconciliationStatusResponseDefaultTypeInternal _ReconciliationStatusResponse_default_instance_; + +inline constexpr Filesystem_Common::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + global_config_{}, + auth_{nullptr}, + tls_{nullptr}, + install_source_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Filesystem_Common::Filesystem_Common(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Filesystem_CommonDefaultTypeInternal { + PROTOBUF_CONSTEXPR Filesystem_CommonDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Filesystem_CommonDefaultTypeInternal() {} + union { + Filesystem_Common _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Filesystem_CommonDefaultTypeInternal _Filesystem_Common_default_instance_; + +inline constexpr CancelReconciliationResponse::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + agent_id_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + status_{nullptr} {} + +template +PROTOBUF_CONSTEXPR CancelReconciliationResponse::CancelReconciliationResponse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CancelReconciliationResponseDefaultTypeInternal { + PROTOBUF_CONSTEXPR CancelReconciliationResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CancelReconciliationResponseDefaultTypeInternal() {} + union { + CancelReconciliationResponse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CancelReconciliationResponseDefaultTypeInternal _CancelReconciliationResponse_default_instance_; + +inline constexpr Agent::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : services_{}, + interfaces_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Agent::Agent(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AgentDefaultTypeInternal { + PROTOBUF_CONSTEXPR AgentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AgentDefaultTypeInternal() {} + union { + Agent _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AgentDefaultTypeInternal _Agent_default_instance_; + template +PROTOBUF_CONSTEXPR Filesystem_AgentEntry_DoNotUse::Filesystem_AgentEntry_DoNotUse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : Filesystem_AgentEntry_DoNotUse::MapEntry(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : Filesystem_AgentEntry_DoNotUse::MapEntry() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct Filesystem_AgentEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR Filesystem_AgentEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Filesystem_AgentEntry_DoNotUseDefaultTypeInternal() {} + union { + Filesystem_AgentEntry_DoNotUse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Filesystem_AgentEntry_DoNotUseDefaultTypeInternal _Filesystem_AgentEntry_DoNotUse_default_instance_; + +inline constexpr Filesystem::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + agent_{}, + common_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Filesystem::Filesystem(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct FilesystemDefaultTypeInternal { + PROTOBUF_CONSTEXPR FilesystemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FilesystemDefaultTypeInternal() {} + union { + Filesystem _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FilesystemDefaultTypeInternal _Filesystem_default_instance_; + template +PROTOBUF_CONSTEXPR UpdateManifestRequest_ConfigEntry_DoNotUse::UpdateManifestRequest_ConfigEntry_DoNotUse(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : UpdateManifestRequest_ConfigEntry_DoNotUse::MapEntry(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : UpdateManifestRequest_ConfigEntry_DoNotUse::MapEntry() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct UpdateManifestRequest_ConfigEntry_DoNotUseDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateManifestRequest_ConfigEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateManifestRequest_ConfigEntry_DoNotUseDefaultTypeInternal() {} + union { + UpdateManifestRequest_ConfigEntry_DoNotUse _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateManifestRequest_ConfigEntry_DoNotUseDefaultTypeInternal _UpdateManifestRequest_ConfigEntry_DoNotUse_default_instance_; + +inline constexpr UpdateManifestRequest::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : config_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR UpdateManifestRequest::UpdateManifestRequest(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct UpdateManifestRequestDefaultTypeInternal { + PROTOBUF_CONSTEXPR UpdateManifestRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~UpdateManifestRequestDefaultTypeInternal() {} + union { + UpdateManifestRequest _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateManifestRequestDefaultTypeInternal _UpdateManifestRequest_default_instance_; +} // namespace agent +static const ::_pb::EnumDescriptor* file_level_enum_descriptors_agent_2eproto[3]; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_agent_2eproto = nullptr; +const ::uint32_t + TableStruct_agent_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::agent::UpdateManifestRequest_ConfigEntry_DoNotUse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::UpdateManifestRequest_ConfigEntry_DoNotUse, _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(::agent::UpdateManifestRequest_ConfigEntry_DoNotUse, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::agent::UpdateManifestRequest_ConfigEntry_DoNotUse, _impl_.value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::UpdateManifestRequest, _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(::agent::UpdateManifestRequest, _impl_.config_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::UpdateManifestResponse, _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(::agent::UpdateManifestResponse, _impl_.agent_id_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::ReconciliationStatusRequest, _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(::agent::ReconciliationStatusRequest, _impl_.agent_id_), + PROTOBUF_FIELD_OFFSET(::agent::ReconciliationStatusResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::ReconciliationStatusResponse, _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(::agent::ReconciliationStatusResponse, _impl_.agent_id_), + PROTOBUF_FIELD_OFFSET(::agent::ReconciliationStatusResponse, _impl_.status_), + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::CancelReconciliationRequest, _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(::agent::CancelReconciliationRequest, _impl_.agent_id_), + PROTOBUF_FIELD_OFFSET(::agent::CancelReconciliationRequest, _impl_.reason_), + PROTOBUF_FIELD_OFFSET(::agent::CancelReconciliationResponse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::CancelReconciliationResponse, _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(::agent::CancelReconciliationResponse, _impl_.agent_id_), + PROTOBUF_FIELD_OFFSET(::agent::CancelReconciliationResponse, _impl_.status_), + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::agent::Status, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::Status, _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(::agent::Status, _impl_.state_), + PROTOBUF_FIELD_OFFSET(::agent::Status, _impl_.messages_), + PROTOBUF_FIELD_OFFSET(::agent::Status, _impl_.updated_), + ~0u, + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::agent::Filesystem_AgentEntry_DoNotUse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::Filesystem_AgentEntry_DoNotUse, _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(::agent::Filesystem_AgentEntry_DoNotUse, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::agent::Filesystem_AgentEntry_DoNotUse, _impl_.value_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::agent::Filesystem_Common, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::Filesystem_Common, _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(::agent::Filesystem_Common, _impl_.auth_), + PROTOBUF_FIELD_OFFSET(::agent::Filesystem_Common, _impl_.tls_), + PROTOBUF_FIELD_OFFSET(::agent::Filesystem_Common, _impl_.install_source_), + PROTOBUF_FIELD_OFFSET(::agent::Filesystem_Common, _impl_.global_config_), + 0, + 1, + 2, + ~0u, + PROTOBUF_FIELD_OFFSET(::agent::Filesystem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::Filesystem, _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(::agent::Filesystem, _impl_.agent_), + PROTOBUF_FIELD_OFFSET(::agent::Filesystem, _impl_.common_), + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::Auth, _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(::agent::Auth, _impl_.secret_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::TLS, _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(::agent::TLS, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::agent::TLS, _impl_.cert_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::InstallSource, _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(::agent::InstallSource, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::agent::InstallSource, _impl_.repo_), + PROTOBUF_FIELD_OFFSET(::agent::InstallSource, _impl_.refs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::SourceRef, _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(::agent::SourceRef, _impl_.service_type_), + PROTOBUF_FIELD_OFFSET(::agent::SourceRef, _impl_.ref_), + PROTOBUF_FIELD_OFFSET(::agent::ServiceConfig_StringMapEntry_DoNotUse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::ServiceConfig_StringMapEntry_DoNotUse, _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(::agent::ServiceConfig_StringMapEntry_DoNotUse, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::agent::ServiceConfig_StringMapEntry_DoNotUse, _impl_.value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::ServiceConfig, _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(::agent::ServiceConfig, _impl_.service_type_), + PROTOBUF_FIELD_OFFSET(::agent::ServiceConfig, _impl_.string_map_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::Agent, _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(::agent::Agent, _impl_.services_), + PROTOBUF_FIELD_OFFSET(::agent::Agent, _impl_.interfaces_), + PROTOBUF_FIELD_OFFSET(::agent::Service_ConfigEntry_DoNotUse, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::Service_ConfigEntry_DoNotUse, _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(::agent::Service_ConfigEntry_DoNotUse, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::agent::Service_ConfigEntry_DoNotUse, _impl_.value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::Service, _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(::agent::Service, _impl_.num_id_), + PROTOBUF_FIELD_OFFSET(::agent::Service, _impl_.service_type_), + PROTOBUF_FIELD_OFFSET(::agent::Service, _impl_.config_), + PROTOBUF_FIELD_OFFSET(::agent::Service, _impl_.interfaces_), + PROTOBUF_FIELD_OFFSET(::agent::Service, _impl_.targets_), + PROTOBUF_FIELD_OFFSET(::agent::Service, _impl_.executable_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::Nic, _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(::agent::Nic, _impl_.name_), + PROTOBUF_FIELD_OFFSET(::agent::Nic, _impl_.addr_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::agent::Target_UnderlyingFSOpts, _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(::agent::Target_UnderlyingFSOpts, _impl_.device_), + PROTOBUF_FIELD_OFFSET(::agent::Target_UnderlyingFSOpts, _impl_.type_), + PROTOBUF_FIELD_OFFSET(::agent::Target_UnderlyingFSOpts, _impl_.format_flags_), + PROTOBUF_FIELD_OFFSET(::agent::Target_UnderlyingFSOpts, _impl_.mount_flags_), + PROTOBUF_FIELD_OFFSET(::agent::Target, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::agent::Target, _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(::agent::Target, _impl_.num_id_), + PROTOBUF_FIELD_OFFSET(::agent::Target, _impl_.path_), + PROTOBUF_FIELD_OFFSET(::agent::Target, _impl_.ulfs_), + ~0u, + ~0u, + 0, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 10, -1, sizeof(::agent::UpdateManifestRequest_ConfigEntry_DoNotUse)}, + {12, -1, -1, sizeof(::agent::UpdateManifestRequest)}, + {21, -1, -1, sizeof(::agent::UpdateManifestResponse)}, + {30, -1, -1, sizeof(::agent::ReconciliationStatusRequest)}, + {39, 49, -1, sizeof(::agent::ReconciliationStatusResponse)}, + {51, -1, -1, sizeof(::agent::CancelReconciliationRequest)}, + {61, 71, -1, sizeof(::agent::CancelReconciliationResponse)}, + {73, 84, -1, sizeof(::agent::Status)}, + {87, 97, -1, sizeof(::agent::Filesystem_AgentEntry_DoNotUse)}, + {99, 111, -1, sizeof(::agent::Filesystem_Common)}, + {115, 125, -1, sizeof(::agent::Filesystem)}, + {127, -1, -1, sizeof(::agent::Auth)}, + {136, -1, -1, sizeof(::agent::TLS)}, + {146, -1, -1, sizeof(::agent::InstallSource)}, + {157, -1, -1, sizeof(::agent::SourceRef)}, + {167, 177, -1, sizeof(::agent::ServiceConfig_StringMapEntry_DoNotUse)}, + {179, -1, -1, sizeof(::agent::ServiceConfig)}, + {189, -1, -1, sizeof(::agent::Agent)}, + {199, 209, -1, sizeof(::agent::Service_ConfigEntry_DoNotUse)}, + {211, -1, -1, sizeof(::agent::Service)}, + {225, -1, -1, sizeof(::agent::Nic)}, + {235, -1, -1, sizeof(::agent::Target_UnderlyingFSOpts)}, + {247, 258, -1, sizeof(::agent::Target)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::agent::_UpdateManifestRequest_ConfigEntry_DoNotUse_default_instance_._instance, + &::agent::_UpdateManifestRequest_default_instance_._instance, + &::agent::_UpdateManifestResponse_default_instance_._instance, + &::agent::_ReconciliationStatusRequest_default_instance_._instance, + &::agent::_ReconciliationStatusResponse_default_instance_._instance, + &::agent::_CancelReconciliationRequest_default_instance_._instance, + &::agent::_CancelReconciliationResponse_default_instance_._instance, + &::agent::_Status_default_instance_._instance, + &::agent::_Filesystem_AgentEntry_DoNotUse_default_instance_._instance, + &::agent::_Filesystem_Common_default_instance_._instance, + &::agent::_Filesystem_default_instance_._instance, + &::agent::_Auth_default_instance_._instance, + &::agent::_TLS_default_instance_._instance, + &::agent::_InstallSource_default_instance_._instance, + &::agent::_SourceRef_default_instance_._instance, + &::agent::_ServiceConfig_StringMapEntry_DoNotUse_default_instance_._instance, + &::agent::_ServiceConfig_default_instance_._instance, + &::agent::_Agent_default_instance_._instance, + &::agent::_Service_ConfigEntry_DoNotUse_default_instance_._instance, + &::agent::_Service_default_instance_._instance, + &::agent::_Nic_default_instance_._instance, + &::agent::_Target_UnderlyingFSOpts_default_instance_._instance, + &::agent::_Target_default_instance_._instance, +}; +const char descriptor_table_protodef_agent_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n\013agent.proto\022\005agent\032\014beegfs.proto\032\037goog" + "le/protobuf/timestamp.proto\"\223\001\n\025UpdateMa" + "nifestRequest\0228\n\006config\030\001 \003(\0132(.agent.Up" + "dateManifestRequest.ConfigEntry\032@\n\013Confi" + "gEntry\022\013\n\003key\030\001 \001(\t\022 \n\005value\030\002 \001(\0132\021.age" + "nt.Filesystem:\0028\001\"*\n\026UpdateManifestRespo" + "nse\022\020\n\010agent_id\030\001 \001(\t\"/\n\033ReconciliationS" + "tatusRequest\022\020\n\010agent_id\030\001 \001(\t\"O\n\034Reconc" + "iliationStatusResponse\022\020\n\010agent_id\030\001 \001(\t" + "\022\035\n\006status\030\002 \001(\0132\r.agent.Status\"\?\n\033Cance" + "lReconciliationRequest\022\020\n\010agent_id\030\001 \001(\t" + "\022\016\n\006reason\030\002 \001(\t\"O\n\034CancelReconciliation" + "Response\022\020\n\010agent_id\030\001 \001(\t\022\035\n\006status\030\002 \001" + "(\0132\r.agent.Status\"\305\001\n\006Status\022\"\n\005state\030\001 " + "\001(\0162\023.agent.Status.State\022\020\n\010messages\030\002 \003" + "(\t\022+\n\007updated\030\003 \001(\0132\032.google.protobuf.Ti" + "mestamp\"X\n\005State\022\017\n\013UNSPECIFIED\020\000\022\010\n\004IDL" + "E\020\001\022\014\n\010APPLYING\020\002\022\013\n\007SUCCESS\020\003\022\n\n\006FAILED" + "\020\004\022\r\n\tCANCELLED\020\005\"\324\002\n\nFilesystem\022+\n\005agen" + "t\030\001 \003(\0132\034.agent.Filesystem.AgentEntry\022(\n" + "\006common\030\002 \001(\0132\030.agent.Filesystem.Common\032" + ":\n\nAgentEntry\022\013\n\003key\030\001 \001(\t\022\033\n\005value\030\002 \001(" + "\0132\014.agent.Agent:\0028\001\032\262\001\n\006Common\022\036\n\004auth\030\001" + " \001(\0132\013.agent.AuthH\000\210\001\001\022\034\n\003tls\030\002 \001(\0132\n.ag" + "ent.TLSH\001\210\001\001\022,\n\016install_source\030\003 \001(\0132\024.a" + "gent.InstallSource\022+\n\rglobal_config\030\004 \003(" + "\0132\024.agent.ServiceConfigB\007\n\005_authB\006\n\004_tls" + "\"\026\n\004Auth\022\016\n\006secret\030\001 \001(\t\" \n\003TLS\022\013\n\003key\030\001" + " \001(\t\022\014\n\004cert\030\002 \001(\t\"_\n\rInstallSource\022 \n\004t" + "ype\030\001 \001(\0162\022.agent.InstallType\022\014\n\004repo\030\002 " + "\001(\t\022\036\n\004refs\030\003 \003(\0132\020.agent.SourceRef\"@\n\tS" + "ourceRef\022&\n\014service_type\030\001 \001(\0162\020.beegfs." + "NodeType\022\013\n\003ref\030\002 \001(\t\"\242\001\n\rServiceConfig\022" + "&\n\014service_type\030\001 \001(\0162\020.beegfs.NodeType\022" + "7\n\nstring_map\030\002 \003(\0132#.agent.ServiceConfi" + "g.StringMapEntry\0320\n\016StringMapEntry\022\013\n\003ke" + "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"I\n\005Agent\022 \n\010s" + "ervices\030\001 \003(\0132\016.agent.Service\022\036\n\ninterfa" + "ces\030\002 \003(\0132\n.agent.Nic\"\360\001\n\007Service\022\016\n\006num" + "_id\030\001 \001(\r\022&\n\014service_type\030\002 \001(\0162\020.beegfs" + ".NodeType\022*\n\006config\030\003 \003(\0132\032.agent.Servic" + "e.ConfigEntry\022\036\n\ninterfaces\030\004 \003(\0132\n.agen" + "t.Nic\022\036\n\007targets\030\005 \003(\0132\r.agent.Target\022\022\n" + "\nexecutable\030\006 \001(\t\032-\n\013ConfigEntry\022\013\n\003key\030" + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"!\n\003Nic\022\014\n\004name\030" + "\001 \001(\t\022\014\n\004addr\030\002 \001(\t\"\214\002\n\006Target\022\016\n\006num_id" + "\030\001 \001(\r\022\014\n\004path\030\002 \001(\t\0221\n\004ulfs\030\003 \001(\0132\036.age" + "nt.Target.UnderlyingFSOptsH\000\210\001\001\032\247\001\n\020Unde" + "rlyingFSOpts\022\016\n\006device\030\001 \001(\t\0223\n\004type\030\002 \001" + "(\0162%.agent.Target.UnderlyingFSOpts.FsTyp" + "e\022\024\n\014format_flags\030\003 \001(\t\022\023\n\013mount_flags\030\004" + " \001(\t\"#\n\006FsType\022\017\n\013UNSPECIFIED\020\000\022\010\n\004EXT4\020" + "\001B\007\n\005_ulfs*2\n\013InstallType\022\013\n\007UNKNOWN\020\000\022\t" + "\n\005LOCAL\020\001\022\013\n\007PACKAGE\020\0022\233\002\n\010BeeAgent\022M\n\016U" + "pdateManifest\022\034.agent.UpdateManifestRequ" + "est\032\035.agent.UpdateManifestResponse\022_\n\024Re" + "conciliationStatus\022\".agent.Reconciliatio" + "nStatusRequest\032#.agent.ReconciliationSta" + "tusResponse\022_\n\024CancelReconciliation\022\".ag" + "ent.CancelReconciliationRequest\032#.agent." + "CancelReconciliationResponseB(Z&github.c" + "om/thinkparq/protobuf/go/agentb\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_agent_2eproto_deps[2] = + { + &::descriptor_table_beegfs_2eproto, + &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, +}; +static ::absl::once_flag descriptor_table_agent_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_agent_2eproto = { + false, + false, + 2478, + descriptor_table_protodef_agent_2eproto, + "agent.proto", + &descriptor_table_agent_2eproto_once, + descriptor_table_agent_2eproto_deps, + 2, + 23, + schemas, + file_default_instances, + TableStruct_agent_2eproto::offsets, + file_level_enum_descriptors_agent_2eproto, + file_level_service_descriptors_agent_2eproto, +}; +namespace agent { +const ::google::protobuf::EnumDescriptor* Status_State_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_agent_2eproto); + return file_level_enum_descriptors_agent_2eproto[0]; +} +PROTOBUF_CONSTINIT const uint32_t Status_State_internal_data_[] = { + 393216u, 0u, }; +bool Status_State_IsValid(int value) { + return 0 <= value && value <= 5; +} +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) + +constexpr Status_State Status::UNSPECIFIED; +constexpr Status_State Status::IDLE; +constexpr Status_State Status::APPLYING; +constexpr Status_State Status::SUCCESS; +constexpr Status_State Status::FAILED; +constexpr Status_State Status::CANCELLED; +constexpr Status_State Status::State_MIN; +constexpr Status_State Status::State_MAX; +constexpr int Status::State_ARRAYSIZE; + +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* Target_UnderlyingFSOpts_FsType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_agent_2eproto); + return file_level_enum_descriptors_agent_2eproto[1]; +} +PROTOBUF_CONSTINIT const uint32_t Target_UnderlyingFSOpts_FsType_internal_data_[] = { + 131072u, 0u, }; +bool Target_UnderlyingFSOpts_FsType_IsValid(int value) { + return 0 <= value && value <= 1; +} +#if (__cplusplus < 201703) && \ + (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) + +constexpr Target_UnderlyingFSOpts_FsType Target_UnderlyingFSOpts::UNSPECIFIED; +constexpr Target_UnderlyingFSOpts_FsType Target_UnderlyingFSOpts::EXT4; +constexpr Target_UnderlyingFSOpts_FsType Target_UnderlyingFSOpts::FsType_MIN; +constexpr Target_UnderlyingFSOpts_FsType Target_UnderlyingFSOpts::FsType_MAX; +constexpr int Target_UnderlyingFSOpts::FsType_ARRAYSIZE; + +#endif // (__cplusplus < 201703) && + // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) +const ::google::protobuf::EnumDescriptor* InstallType_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&descriptor_table_agent_2eproto); + return file_level_enum_descriptors_agent_2eproto[2]; +} +PROTOBUF_CONSTINIT const uint32_t InstallType_internal_data_[] = { + 196608u, 0u, }; +bool InstallType_IsValid(int value) { + return 0 <= value && value <= 2; +} +// =================================================================== + +#if defined(PROTOBUF_CUSTOM_VTABLE) + UpdateManifestRequest_ConfigEntry_DoNotUse::UpdateManifestRequest_ConfigEntry_DoNotUse() : SuperType(_class_data_.base()) {} + UpdateManifestRequest_ConfigEntry_DoNotUse::UpdateManifestRequest_ConfigEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena, _class_data_.base()) {} +#else // PROTOBUF_CUSTOM_VTABLE + UpdateManifestRequest_ConfigEntry_DoNotUse::UpdateManifestRequest_ConfigEntry_DoNotUse() : SuperType() {} + UpdateManifestRequest_ConfigEntry_DoNotUse::UpdateManifestRequest_ConfigEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE + inline void* UpdateManifestRequest_ConfigEntry_DoNotUse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) UpdateManifestRequest_ConfigEntry_DoNotUse(arena); + } + constexpr auto UpdateManifestRequest_ConfigEntry_DoNotUse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UpdateManifestRequest_ConfigEntry_DoNotUse), + alignof(UpdateManifestRequest_ConfigEntry_DoNotUse)); + } + PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 + const ::google::protobuf::internal::ClassDataFull UpdateManifestRequest_ConfigEntry_DoNotUse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_UpdateManifestRequest_ConfigEntry_DoNotUse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &UpdateManifestRequest_ConfigEntry_DoNotUse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), + #if defined(PROTOBUF_CUSTOM_VTABLE) + &UpdateManifestRequest_ConfigEntry_DoNotUse::SharedDtor, + static_cast( + &UpdateManifestRequest_ConfigEntry_DoNotUse::ClearImpl), + ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl + , + #endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(UpdateManifestRequest_ConfigEntry_DoNotUse, _impl_._cached_size_), + false, + }, + &UpdateManifestRequest_ConfigEntry_DoNotUse::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker + }; + const ::google::protobuf::internal::ClassData* UpdateManifestRequest_ConfigEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); + } +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 51, 2> UpdateManifestRequest_ConfigEntry_DoNotUse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(UpdateManifestRequest_ConfigEntry_DoNotUse, _impl_._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 + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::DiscardEverythingFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::UpdateManifestRequest_ConfigEntry_DoNotUse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .agent.Filesystem value = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(UpdateManifestRequest_ConfigEntry_DoNotUse, _impl_.value_)}}, + // string key = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateManifestRequest_ConfigEntry_DoNotUse, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1; + {PROTOBUF_FIELD_OFFSET(UpdateManifestRequest_ConfigEntry_DoNotUse, _impl_.key_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .agent.Filesystem value = 2; + {PROTOBUF_FIELD_OFFSET(UpdateManifestRequest_ConfigEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::Filesystem>()}, + }}, {{ + "\47\3\0\0\0\0\0\0" + "agent.UpdateManifestRequest.ConfigEntry" + "key" + }}, +}; + +// =================================================================== + +class UpdateManifestRequest::_Internal { + public: +}; + +UpdateManifestRequest::UpdateManifestRequest(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.UpdateManifestRequest) +} +inline PROTOBUF_NDEBUG_INLINE UpdateManifestRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::UpdateManifestRequest& from_msg) + : config_{visibility, arena, from.config_}, + _cached_size_{0} {} + +UpdateManifestRequest::UpdateManifestRequest( + ::google::protobuf::Arena* arena, + const UpdateManifestRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + UpdateManifestRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:agent.UpdateManifestRequest) +} +inline PROTOBUF_NDEBUG_INLINE UpdateManifestRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : config_{visibility, arena}, + _cached_size_{0} {} + +inline void UpdateManifestRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +UpdateManifestRequest::~UpdateManifestRequest() { + // @@protoc_insertion_point(destructor:agent.UpdateManifestRequest) + SharedDtor(*this); +} +inline void UpdateManifestRequest::SharedDtor(MessageLite& self) { + UpdateManifestRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* UpdateManifestRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) UpdateManifestRequest(arena); +} +constexpr auto UpdateManifestRequest::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(UpdateManifestRequest, _impl_.config_) + + decltype(UpdateManifestRequest::_impl_.config_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(UpdateManifestRequest, _impl_.config_) + + decltype(UpdateManifestRequest::_impl_.config_):: + InternalGetArenaOffsetAlt( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(UpdateManifestRequest), alignof(UpdateManifestRequest), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&UpdateManifestRequest::PlacementNew_, + sizeof(UpdateManifestRequest), + alignof(UpdateManifestRequest)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull UpdateManifestRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_UpdateManifestRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &UpdateManifestRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &UpdateManifestRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &UpdateManifestRequest::ByteSizeLong, + &UpdateManifestRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(UpdateManifestRequest, _impl_._cached_size_), + false, + }, + &UpdateManifestRequest::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* UpdateManifestRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 2, 42, 2> UpdateManifestRequest::_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 + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::UpdateManifestRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // map config = 1; + {PROTOBUF_FIELD_OFFSET(UpdateManifestRequest, _impl_.config_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, + }}, {{ + {::_pbi::TcParser::GetMapAuxInfo< + decltype(UpdateManifestRequest()._impl_.config_)>( + 1, 0, 0, 9, + 11)}, + {::_pbi::TcParser::GetTable<::agent::Filesystem>()}, + }}, {{ + "\33\6\0\0\0\0\0\0" + "agent.UpdateManifestRequest" + "config" + }}, +}; + +PROTOBUF_NOINLINE void UpdateManifestRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.UpdateManifestRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.config_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* UpdateManifestRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const UpdateManifestRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* UpdateManifestRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const UpdateManifestRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.UpdateManifestRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // map config = 1; + if (!this_._internal_config().empty()) { + using MapType = ::google::protobuf::Map; + using WireHelper = _pbi::MapEntryFuncs; + const auto& field = this_._internal_config(); + + if (stream->IsSerializationDeterministic() && field.size() > 1) { + for (const auto& entry : ::google::protobuf::internal::MapSorterPtr(field)) { + target = WireHelper::InternalSerialize( + 1, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.UpdateManifestRequest.config"); + } + } else { + for (const auto& entry : field) { + target = WireHelper::InternalSerialize( + 1, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.UpdateManifestRequest.config"); + } + } + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.UpdateManifestRequest) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t UpdateManifestRequest::ByteSizeLong(const MessageLite& base) { + const UpdateManifestRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t UpdateManifestRequest::ByteSizeLong() const { + const UpdateManifestRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.UpdateManifestRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // map config = 1; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_config_size()); + for (const auto& entry : this_._internal_config()) { + total_size += _pbi::MapEntryFuncs::ByteSizeLong(entry.first, entry.second); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void UpdateManifestRequest::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:agent.UpdateManifestRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.config_.MergeFrom(from._impl_.config_); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void UpdateManifestRequest::CopyFrom(const UpdateManifestRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.UpdateManifestRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void UpdateManifestRequest::InternalSwap(UpdateManifestRequest* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.config_.InternalSwap(&other->_impl_.config_); +} + +::google::protobuf::Metadata UpdateManifestRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class UpdateManifestResponse::_Internal { + public: +}; + +UpdateManifestResponse::UpdateManifestResponse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.UpdateManifestResponse) +} +inline PROTOBUF_NDEBUG_INLINE UpdateManifestResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::UpdateManifestResponse& from_msg) + : agent_id_(arena, from.agent_id_), + _cached_size_{0} {} + +UpdateManifestResponse::UpdateManifestResponse( + ::google::protobuf::Arena* arena, + const UpdateManifestResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + UpdateManifestResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:agent.UpdateManifestResponse) +} +inline PROTOBUF_NDEBUG_INLINE UpdateManifestResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : agent_id_(arena), + _cached_size_{0} {} + +inline void UpdateManifestResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +UpdateManifestResponse::~UpdateManifestResponse() { + // @@protoc_insertion_point(destructor:agent.UpdateManifestResponse) + SharedDtor(*this); +} +inline void UpdateManifestResponse::SharedDtor(MessageLite& self) { + UpdateManifestResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.agent_id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* UpdateManifestResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) UpdateManifestResponse(arena); +} +constexpr auto UpdateManifestResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UpdateManifestResponse), + alignof(UpdateManifestResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull UpdateManifestResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_UpdateManifestResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &UpdateManifestResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &UpdateManifestResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &UpdateManifestResponse::ByteSizeLong, + &UpdateManifestResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(UpdateManifestResponse, _impl_._cached_size_), + false, + }, + &UpdateManifestResponse::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* UpdateManifestResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 45, 2> UpdateManifestResponse::_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 + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::UpdateManifestResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string agent_id = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateManifestResponse, _impl_.agent_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string agent_id = 1; + {PROTOBUF_FIELD_OFFSET(UpdateManifestResponse, _impl_.agent_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\34\10\0\0\0\0\0\0" + "agent.UpdateManifestResponse" + "agent_id" + }}, +}; + +PROTOBUF_NOINLINE void UpdateManifestResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.UpdateManifestResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.agent_id_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* UpdateManifestResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const UpdateManifestResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* UpdateManifestResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const UpdateManifestResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.UpdateManifestResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string agent_id = 1; + if (!this_._internal_agent_id().empty()) { + const std::string& _s = this_._internal_agent_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.UpdateManifestResponse.agent_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.UpdateManifestResponse) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t UpdateManifestResponse::ByteSizeLong(const MessageLite& base) { + const UpdateManifestResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t UpdateManifestResponse::ByteSizeLong() const { + const UpdateManifestResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.UpdateManifestResponse) + ::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 agent_id = 1; + if (!this_._internal_agent_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_agent_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void UpdateManifestResponse::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:agent.UpdateManifestResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_agent_id().empty()) { + _this->_internal_set_agent_id(from._internal_agent_id()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void UpdateManifestResponse::CopyFrom(const UpdateManifestResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.UpdateManifestResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void UpdateManifestResponse::InternalSwap(UpdateManifestResponse* 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_.agent_id_, &other->_impl_.agent_id_, arena); +} + +::google::protobuf::Metadata UpdateManifestResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ReconciliationStatusRequest::_Internal { + public: +}; + +ReconciliationStatusRequest::ReconciliationStatusRequest(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.ReconciliationStatusRequest) +} +inline PROTOBUF_NDEBUG_INLINE ReconciliationStatusRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::ReconciliationStatusRequest& from_msg) + : agent_id_(arena, from.agent_id_), + _cached_size_{0} {} + +ReconciliationStatusRequest::ReconciliationStatusRequest( + ::google::protobuf::Arena* arena, + const ReconciliationStatusRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ReconciliationStatusRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:agent.ReconciliationStatusRequest) +} +inline PROTOBUF_NDEBUG_INLINE ReconciliationStatusRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : agent_id_(arena), + _cached_size_{0} {} + +inline void ReconciliationStatusRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +ReconciliationStatusRequest::~ReconciliationStatusRequest() { + // @@protoc_insertion_point(destructor:agent.ReconciliationStatusRequest) + SharedDtor(*this); +} +inline void ReconciliationStatusRequest::SharedDtor(MessageLite& self) { + ReconciliationStatusRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.agent_id_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* ReconciliationStatusRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ReconciliationStatusRequest(arena); +} +constexpr auto ReconciliationStatusRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ReconciliationStatusRequest), + alignof(ReconciliationStatusRequest)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ReconciliationStatusRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ReconciliationStatusRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ReconciliationStatusRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ReconciliationStatusRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ReconciliationStatusRequest::ByteSizeLong, + &ReconciliationStatusRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ReconciliationStatusRequest, _impl_._cached_size_), + false, + }, + &ReconciliationStatusRequest::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ReconciliationStatusRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 50, 2> ReconciliationStatusRequest::_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 + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::ReconciliationStatusRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string agent_id = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ReconciliationStatusRequest, _impl_.agent_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string agent_id = 1; + {PROTOBUF_FIELD_OFFSET(ReconciliationStatusRequest, _impl_.agent_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\41\10\0\0\0\0\0\0" + "agent.ReconciliationStatusRequest" + "agent_id" + }}, +}; + +PROTOBUF_NOINLINE void ReconciliationStatusRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.ReconciliationStatusRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.agent_id_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ReconciliationStatusRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ReconciliationStatusRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ReconciliationStatusRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ReconciliationStatusRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.ReconciliationStatusRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string agent_id = 1; + if (!this_._internal_agent_id().empty()) { + const std::string& _s = this_._internal_agent_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.ReconciliationStatusRequest.agent_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.ReconciliationStatusRequest) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ReconciliationStatusRequest::ByteSizeLong(const MessageLite& base) { + const ReconciliationStatusRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ReconciliationStatusRequest::ByteSizeLong() const { + const ReconciliationStatusRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.ReconciliationStatusRequest) + ::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 agent_id = 1; + if (!this_._internal_agent_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_agent_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ReconciliationStatusRequest::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:agent.ReconciliationStatusRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_agent_id().empty()) { + _this->_internal_set_agent_id(from._internal_agent_id()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ReconciliationStatusRequest::CopyFrom(const ReconciliationStatusRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.ReconciliationStatusRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ReconciliationStatusRequest::InternalSwap(ReconciliationStatusRequest* 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_.agent_id_, &other->_impl_.agent_id_, arena); +} + +::google::protobuf::Metadata ReconciliationStatusRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ReconciliationStatusResponse::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(ReconciliationStatusResponse, _impl_._has_bits_); +}; + +ReconciliationStatusResponse::ReconciliationStatusResponse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.ReconciliationStatusResponse) +} +inline PROTOBUF_NDEBUG_INLINE ReconciliationStatusResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::ReconciliationStatusResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + agent_id_(arena, from.agent_id_) {} + +ReconciliationStatusResponse::ReconciliationStatusResponse( + ::google::protobuf::Arena* arena, + const ReconciliationStatusResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ReconciliationStatusResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.status_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::agent::Status>( + arena, *from._impl_.status_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:agent.ReconciliationStatusResponse) +} +inline PROTOBUF_NDEBUG_INLINE ReconciliationStatusResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + agent_id_(arena) {} + +inline void ReconciliationStatusResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.status_ = {}; +} +ReconciliationStatusResponse::~ReconciliationStatusResponse() { + // @@protoc_insertion_point(destructor:agent.ReconciliationStatusResponse) + SharedDtor(*this); +} +inline void ReconciliationStatusResponse::SharedDtor(MessageLite& self) { + ReconciliationStatusResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.agent_id_.Destroy(); + delete this_._impl_.status_; + this_._impl_.~Impl_(); +} + +inline void* ReconciliationStatusResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ReconciliationStatusResponse(arena); +} +constexpr auto ReconciliationStatusResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ReconciliationStatusResponse), + alignof(ReconciliationStatusResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ReconciliationStatusResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ReconciliationStatusResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ReconciliationStatusResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ReconciliationStatusResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ReconciliationStatusResponse::ByteSizeLong, + &ReconciliationStatusResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ReconciliationStatusResponse, _impl_._cached_size_), + false, + }, + &ReconciliationStatusResponse::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ReconciliationStatusResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 51, 2> ReconciliationStatusResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ReconciliationStatusResponse, _impl_._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 + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::ReconciliationStatusResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .agent.Status status = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(ReconciliationStatusResponse, _impl_.status_)}}, + // string agent_id = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ReconciliationStatusResponse, _impl_.agent_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string agent_id = 1; + {PROTOBUF_FIELD_OFFSET(ReconciliationStatusResponse, _impl_.agent_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .agent.Status status = 2; + {PROTOBUF_FIELD_OFFSET(ReconciliationStatusResponse, _impl_.status_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::Status>()}, + }}, {{ + "\42\10\0\0\0\0\0\0" + "agent.ReconciliationStatusResponse" + "agent_id" + }}, +}; + +PROTOBUF_NOINLINE void ReconciliationStatusResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.ReconciliationStatusResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.agent_id_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.status_ != nullptr); + _impl_.status_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ReconciliationStatusResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ReconciliationStatusResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ReconciliationStatusResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ReconciliationStatusResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.ReconciliationStatusResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string agent_id = 1; + if (!this_._internal_agent_id().empty()) { + const std::string& _s = this_._internal_agent_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.ReconciliationStatusResponse.agent_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .agent.Status status = 2; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.status_, this_._impl_.status_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.ReconciliationStatusResponse) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ReconciliationStatusResponse::ByteSizeLong(const MessageLite& base) { + const ReconciliationStatusResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ReconciliationStatusResponse::ByteSizeLong() const { + const ReconciliationStatusResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.ReconciliationStatusResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string agent_id = 1; + if (!this_._internal_agent_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_agent_id()); + } + } + { + // .agent.Status status = 2; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ReconciliationStatusResponse::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); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:agent.ReconciliationStatusResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_agent_id().empty()) { + _this->_internal_set_agent_id(from._internal_agent_id()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.status_ != nullptr); + if (_this->_impl_.status_ == nullptr) { + _this->_impl_.status_ = + ::google::protobuf::Message::CopyConstruct<::agent::Status>(arena, *from._impl_.status_); + } else { + _this->_impl_.status_->MergeFrom(*from._impl_.status_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ReconciliationStatusResponse::CopyFrom(const ReconciliationStatusResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.ReconciliationStatusResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ReconciliationStatusResponse::InternalSwap(ReconciliationStatusResponse* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.agent_id_, &other->_impl_.agent_id_, arena); + swap(_impl_.status_, other->_impl_.status_); +} + +::google::protobuf::Metadata ReconciliationStatusResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class CancelReconciliationRequest::_Internal { + public: +}; + +CancelReconciliationRequest::CancelReconciliationRequest(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.CancelReconciliationRequest) +} +inline PROTOBUF_NDEBUG_INLINE CancelReconciliationRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::CancelReconciliationRequest& from_msg) + : agent_id_(arena, from.agent_id_), + reason_(arena, from.reason_), + _cached_size_{0} {} + +CancelReconciliationRequest::CancelReconciliationRequest( + ::google::protobuf::Arena* arena, + const CancelReconciliationRequest& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CancelReconciliationRequest* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:agent.CancelReconciliationRequest) +} +inline PROTOBUF_NDEBUG_INLINE CancelReconciliationRequest::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : agent_id_(arena), + reason_(arena), + _cached_size_{0} {} + +inline void CancelReconciliationRequest::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +CancelReconciliationRequest::~CancelReconciliationRequest() { + // @@protoc_insertion_point(destructor:agent.CancelReconciliationRequest) + SharedDtor(*this); +} +inline void CancelReconciliationRequest::SharedDtor(MessageLite& self) { + CancelReconciliationRequest& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.agent_id_.Destroy(); + this_._impl_.reason_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* CancelReconciliationRequest::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CancelReconciliationRequest(arena); +} +constexpr auto CancelReconciliationRequest::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CancelReconciliationRequest), + alignof(CancelReconciliationRequest)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull CancelReconciliationRequest::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_CancelReconciliationRequest_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CancelReconciliationRequest::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &CancelReconciliationRequest::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CancelReconciliationRequest::ByteSizeLong, + &CancelReconciliationRequest::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CancelReconciliationRequest, _impl_._cached_size_), + false, + }, + &CancelReconciliationRequest::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CancelReconciliationRequest::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 56, 2> CancelReconciliationRequest::_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 + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::CancelReconciliationRequest>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string reason = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(CancelReconciliationRequest, _impl_.reason_)}}, + // string agent_id = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(CancelReconciliationRequest, _impl_.agent_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string agent_id = 1; + {PROTOBUF_FIELD_OFFSET(CancelReconciliationRequest, _impl_.agent_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string reason = 2; + {PROTOBUF_FIELD_OFFSET(CancelReconciliationRequest, _impl_.reason_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\41\10\6\0\0\0\0\0" + "agent.CancelReconciliationRequest" + "agent_id" + "reason" + }}, +}; + +PROTOBUF_NOINLINE void CancelReconciliationRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.CancelReconciliationRequest) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.agent_id_.ClearToEmpty(); + _impl_.reason_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CancelReconciliationRequest::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CancelReconciliationRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CancelReconciliationRequest::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CancelReconciliationRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.CancelReconciliationRequest) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string agent_id = 1; + if (!this_._internal_agent_id().empty()) { + const std::string& _s = this_._internal_agent_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.CancelReconciliationRequest.agent_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string reason = 2; + if (!this_._internal_reason().empty()) { + const std::string& _s = this_._internal_reason(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.CancelReconciliationRequest.reason"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.CancelReconciliationRequest) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t CancelReconciliationRequest::ByteSizeLong(const MessageLite& base) { + const CancelReconciliationRequest& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CancelReconciliationRequest::ByteSizeLong() const { + const CancelReconciliationRequest& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.CancelReconciliationRequest) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string agent_id = 1; + if (!this_._internal_agent_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_agent_id()); + } + // string reason = 2; + if (!this_._internal_reason().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_reason()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void CancelReconciliationRequest::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:agent.CancelReconciliationRequest) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_agent_id().empty()) { + _this->_internal_set_agent_id(from._internal_agent_id()); + } + if (!from._internal_reason().empty()) { + _this->_internal_set_reason(from._internal_reason()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CancelReconciliationRequest::CopyFrom(const CancelReconciliationRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.CancelReconciliationRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CancelReconciliationRequest::InternalSwap(CancelReconciliationRequest* 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_.agent_id_, &other->_impl_.agent_id_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.reason_, &other->_impl_.reason_, arena); +} + +::google::protobuf::Metadata CancelReconciliationRequest::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class CancelReconciliationResponse::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(CancelReconciliationResponse, _impl_._has_bits_); +}; + +CancelReconciliationResponse::CancelReconciliationResponse(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.CancelReconciliationResponse) +} +inline PROTOBUF_NDEBUG_INLINE CancelReconciliationResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::CancelReconciliationResponse& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + agent_id_(arena, from.agent_id_) {} + +CancelReconciliationResponse::CancelReconciliationResponse( + ::google::protobuf::Arena* arena, + const CancelReconciliationResponse& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + CancelReconciliationResponse* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.status_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::agent::Status>( + arena, *from._impl_.status_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:agent.CancelReconciliationResponse) +} +inline PROTOBUF_NDEBUG_INLINE CancelReconciliationResponse::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + agent_id_(arena) {} + +inline void CancelReconciliationResponse::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.status_ = {}; +} +CancelReconciliationResponse::~CancelReconciliationResponse() { + // @@protoc_insertion_point(destructor:agent.CancelReconciliationResponse) + SharedDtor(*this); +} +inline void CancelReconciliationResponse::SharedDtor(MessageLite& self) { + CancelReconciliationResponse& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.agent_id_.Destroy(); + delete this_._impl_.status_; + this_._impl_.~Impl_(); +} + +inline void* CancelReconciliationResponse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) CancelReconciliationResponse(arena); +} +constexpr auto CancelReconciliationResponse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CancelReconciliationResponse), + alignof(CancelReconciliationResponse)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull CancelReconciliationResponse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_CancelReconciliationResponse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &CancelReconciliationResponse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &CancelReconciliationResponse::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &CancelReconciliationResponse::ByteSizeLong, + &CancelReconciliationResponse::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(CancelReconciliationResponse, _impl_._cached_size_), + false, + }, + &CancelReconciliationResponse::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* CancelReconciliationResponse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 51, 2> CancelReconciliationResponse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(CancelReconciliationResponse, _impl_._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 + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::CancelReconciliationResponse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .agent.Status status = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(CancelReconciliationResponse, _impl_.status_)}}, + // string agent_id = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(CancelReconciliationResponse, _impl_.agent_id_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string agent_id = 1; + {PROTOBUF_FIELD_OFFSET(CancelReconciliationResponse, _impl_.agent_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .agent.Status status = 2; + {PROTOBUF_FIELD_OFFSET(CancelReconciliationResponse, _impl_.status_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::Status>()}, + }}, {{ + "\42\10\0\0\0\0\0\0" + "agent.CancelReconciliationResponse" + "agent_id" + }}, +}; + +PROTOBUF_NOINLINE void CancelReconciliationResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.CancelReconciliationResponse) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.agent_id_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.status_ != nullptr); + _impl_.status_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* CancelReconciliationResponse::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const CancelReconciliationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* CancelReconciliationResponse::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const CancelReconciliationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.CancelReconciliationResponse) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string agent_id = 1; + if (!this_._internal_agent_id().empty()) { + const std::string& _s = this_._internal_agent_id(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.CancelReconciliationResponse.agent_id"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .agent.Status status = 2; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.status_, this_._impl_.status_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.CancelReconciliationResponse) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t CancelReconciliationResponse::ByteSizeLong(const MessageLite& base) { + const CancelReconciliationResponse& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t CancelReconciliationResponse::ByteSizeLong() const { + const CancelReconciliationResponse& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.CancelReconciliationResponse) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string agent_id = 1; + if (!this_._internal_agent_id().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_agent_id()); + } + } + { + // .agent.Status status = 2; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void CancelReconciliationResponse::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); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:agent.CancelReconciliationResponse) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_agent_id().empty()) { + _this->_internal_set_agent_id(from._internal_agent_id()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.status_ != nullptr); + if (_this->_impl_.status_ == nullptr) { + _this->_impl_.status_ = + ::google::protobuf::Message::CopyConstruct<::agent::Status>(arena, *from._impl_.status_); + } else { + _this->_impl_.status_->MergeFrom(*from._impl_.status_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void CancelReconciliationResponse::CopyFrom(const CancelReconciliationResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.CancelReconciliationResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void CancelReconciliationResponse::InternalSwap(CancelReconciliationResponse* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.agent_id_, &other->_impl_.agent_id_, arena); + swap(_impl_.status_, other->_impl_.status_); +} + +::google::protobuf::Metadata CancelReconciliationResponse::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Status::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Status, _impl_._has_bits_); +}; + +void Status::clear_updated() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.updated_ != nullptr) _impl_.updated_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Status::Status(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.Status) +} +inline PROTOBUF_NDEBUG_INLINE Status::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::Status& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + messages_{visibility, arena, from.messages_} {} + +Status::Status( + ::google::protobuf::Arena* arena, + const Status& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Status* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.updated_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( + arena, *from._impl_.updated_) + : nullptr; + _impl_.state_ = from._impl_.state_; + + // @@protoc_insertion_point(copy_constructor:agent.Status) +} +inline PROTOBUF_NDEBUG_INLINE Status::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + messages_{visibility, arena} {} + +inline void Status::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, updated_), + 0, + offsetof(Impl_, state_) - + offsetof(Impl_, updated_) + + sizeof(Impl_::state_)); +} +Status::~Status() { + // @@protoc_insertion_point(destructor:agent.Status) + SharedDtor(*this); +} +inline void Status::SharedDtor(MessageLite& self) { + Status& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.updated_; + this_._impl_.~Impl_(); +} + +inline void* Status::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Status(arena); +} +constexpr auto Status::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Status, _impl_.messages_) + + decltype(Status::_impl_.messages_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Status), alignof(Status), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Status::PlacementNew_, + sizeof(Status), + alignof(Status)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Status::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Status_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Status::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Status::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Status::ByteSizeLong, + &Status::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Status, _impl_._cached_size_), + false, + }, + &Status::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Status::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 29, 2> Status::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Status, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Status>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .agent.Status.State state = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Status, _impl_.state_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.state_)}}, + // repeated string messages = 2; + {::_pbi::TcParser::FastUR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.messages_)}}, + // .google.protobuf.Timestamp updated = 3; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(Status, _impl_.updated_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .agent.Status.State state = 1; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.state_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // repeated string messages = 2; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.messages_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, + // .google.protobuf.Timestamp updated = 3; + {PROTOBUF_FIELD_OFFSET(Status, _impl_.updated_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, + }}, {{ + "\14\0\10\0\0\0\0\0" + "agent.Status" + "messages" + }}, +}; + +PROTOBUF_NOINLINE void Status::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.Status) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.messages_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.updated_ != nullptr); + _impl_.updated_->Clear(); + } + _impl_.state_ = 0; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Status::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Status& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Status::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Status& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.Status) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .agent.Status.State state = 1; + if (this_._internal_state() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_state(), target); + } + + // repeated string messages = 2; + for (int i = 0, n = this_._internal_messages_size(); i < n; ++i) { + const auto& s = this_._internal_messages().Get(i); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Status.messages"); + target = stream->WriteString(2, s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .google.protobuf.Timestamp updated = 3; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.updated_, this_._impl_.updated_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.Status) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Status::ByteSizeLong(const MessageLite& base) { + const Status& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Status::ByteSizeLong() const { + const Status& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.Status) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated string messages = 2; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_messages().size()); + for (int i = 0, n = this_._internal_messages().size(); i < n; ++i) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_messages().Get(i)); + } + } + } + { + // .google.protobuf.Timestamp updated = 3; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.updated_); + } + } + { + // .agent.Status.State state = 1; + if (this_._internal_state() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_state()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Status::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); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:agent.Status) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_messages()->MergeFrom(from._internal_messages()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.updated_ != nullptr); + if (_this->_impl_.updated_ == nullptr) { + _this->_impl_.updated_ = + ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.updated_); + } else { + _this->_impl_.updated_->MergeFrom(*from._impl_.updated_); + } + } + if (from._internal_state() != 0) { + _this->_impl_.state_ = from._impl_.state_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Status::CopyFrom(const Status& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.Status) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Status::InternalSwap(Status* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.messages_.InternalSwap(&other->_impl_.messages_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Status, _impl_.state_) + + sizeof(Status::_impl_.state_) + - PROTOBUF_FIELD_OFFSET(Status, _impl_.updated_)>( + reinterpret_cast(&_impl_.updated_), + reinterpret_cast(&other->_impl_.updated_)); +} + +::google::protobuf::Metadata Status::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +#if defined(PROTOBUF_CUSTOM_VTABLE) + Filesystem_AgentEntry_DoNotUse::Filesystem_AgentEntry_DoNotUse() : SuperType(_class_data_.base()) {} + Filesystem_AgentEntry_DoNotUse::Filesystem_AgentEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena, _class_data_.base()) {} +#else // PROTOBUF_CUSTOM_VTABLE + Filesystem_AgentEntry_DoNotUse::Filesystem_AgentEntry_DoNotUse() : SuperType() {} + Filesystem_AgentEntry_DoNotUse::Filesystem_AgentEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE + inline void* Filesystem_AgentEntry_DoNotUse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Filesystem_AgentEntry_DoNotUse(arena); + } + constexpr auto Filesystem_AgentEntry_DoNotUse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Filesystem_AgentEntry_DoNotUse), + alignof(Filesystem_AgentEntry_DoNotUse)); + } + PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 + const ::google::protobuf::internal::ClassDataFull Filesystem_AgentEntry_DoNotUse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Filesystem_AgentEntry_DoNotUse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Filesystem_AgentEntry_DoNotUse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), + #if defined(PROTOBUF_CUSTOM_VTABLE) + &Filesystem_AgentEntry_DoNotUse::SharedDtor, + static_cast( + &Filesystem_AgentEntry_DoNotUse::ClearImpl), + ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl + , + #endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Filesystem_AgentEntry_DoNotUse, _impl_._cached_size_), + false, + }, + &Filesystem_AgentEntry_DoNotUse::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker + }; + const ::google::protobuf::internal::ClassData* Filesystem_AgentEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); + } +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 39, 2> Filesystem_AgentEntry_DoNotUse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Filesystem_AgentEntry_DoNotUse, _impl_._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 + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::DiscardEverythingFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Filesystem_AgentEntry_DoNotUse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .agent.Agent value = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(Filesystem_AgentEntry_DoNotUse, _impl_.value_)}}, + // string key = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Filesystem_AgentEntry_DoNotUse, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1; + {PROTOBUF_FIELD_OFFSET(Filesystem_AgentEntry_DoNotUse, _impl_.key_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .agent.Agent value = 2; + {PROTOBUF_FIELD_OFFSET(Filesystem_AgentEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::Agent>()}, + }}, {{ + "\33\3\0\0\0\0\0\0" + "agent.Filesystem.AgentEntry" + "key" + }}, +}; + +// =================================================================== + +class Filesystem_Common::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_._has_bits_); +}; + +Filesystem_Common::Filesystem_Common(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.Filesystem.Common) +} +inline PROTOBUF_NDEBUG_INLINE Filesystem_Common::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::Filesystem_Common& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + global_config_{visibility, arena, from.global_config_} {} + +Filesystem_Common::Filesystem_Common( + ::google::protobuf::Arena* arena, + const Filesystem_Common& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Filesystem_Common* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.auth_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::agent::Auth>( + arena, *from._impl_.auth_) + : nullptr; + _impl_.tls_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::agent::TLS>( + arena, *from._impl_.tls_) + : nullptr; + _impl_.install_source_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::agent::InstallSource>( + arena, *from._impl_.install_source_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:agent.Filesystem.Common) +} +inline PROTOBUF_NDEBUG_INLINE Filesystem_Common::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + global_config_{visibility, arena} {} + +inline void Filesystem_Common::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, auth_), + 0, + offsetof(Impl_, install_source_) - + offsetof(Impl_, auth_) + + sizeof(Impl_::install_source_)); +} +Filesystem_Common::~Filesystem_Common() { + // @@protoc_insertion_point(destructor:agent.Filesystem.Common) + SharedDtor(*this); +} +inline void Filesystem_Common::SharedDtor(MessageLite& self) { + Filesystem_Common& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.auth_; + delete this_._impl_.tls_; + delete this_._impl_.install_source_; + this_._impl_.~Impl_(); +} + +inline void* Filesystem_Common::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Filesystem_Common(arena); +} +constexpr auto Filesystem_Common::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.global_config_) + + decltype(Filesystem_Common::_impl_.global_config_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Filesystem_Common), alignof(Filesystem_Common), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Filesystem_Common::PlacementNew_, + sizeof(Filesystem_Common), + alignof(Filesystem_Common)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Filesystem_Common::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Filesystem_Common_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Filesystem_Common::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Filesystem_Common::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Filesystem_Common::ByteSizeLong, + &Filesystem_Common::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_._cached_size_), + false, + }, + &Filesystem_Common::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Filesystem_Common::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 4, 0, 2> Filesystem_Common::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Filesystem_Common>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .agent.ServiceConfig global_config = 4; + {::_pbi::TcParser::FastMtR1, + {34, 63, 3, PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.global_config_)}}, + // optional .agent.Auth auth = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.auth_)}}, + // optional .agent.TLS tls = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.tls_)}}, + // .agent.InstallSource install_source = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.install_source_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // optional .agent.Auth auth = 1; + {PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.auth_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // optional .agent.TLS tls = 2; + {PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.tls_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .agent.InstallSource install_source = 3; + {PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.install_source_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .agent.ServiceConfig global_config = 4; + {PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.global_config_), -1, 3, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::Auth>()}, + {::_pbi::TcParser::GetTable<::agent::TLS>()}, + {::_pbi::TcParser::GetTable<::agent::InstallSource>()}, + {::_pbi::TcParser::GetTable<::agent::ServiceConfig>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Filesystem_Common::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.Filesystem.Common) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.global_config_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.auth_ != nullptr); + _impl_.auth_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.tls_ != nullptr); + _impl_.tls_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.install_source_ != nullptr); + _impl_.install_source_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Filesystem_Common::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Filesystem_Common& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Filesystem_Common::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Filesystem_Common& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.Filesystem.Common) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // optional .agent.Auth auth = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.auth_, this_._impl_.auth_->GetCachedSize(), target, + stream); + } + + // optional .agent.TLS tls = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.tls_, this_._impl_.tls_->GetCachedSize(), target, + stream); + } + + // .agent.InstallSource install_source = 3; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.install_source_, this_._impl_.install_source_->GetCachedSize(), target, + stream); + } + + // repeated .agent.ServiceConfig global_config = 4; + for (unsigned i = 0, n = static_cast( + this_._internal_global_config_size()); + i < n; i++) { + const auto& repfield = this_._internal_global_config().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.Filesystem.Common) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Filesystem_Common::ByteSizeLong(const MessageLite& base) { + const Filesystem_Common& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Filesystem_Common::ByteSizeLong() const { + const Filesystem_Common& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.Filesystem.Common) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .agent.ServiceConfig global_config = 4; + { + total_size += 1UL * this_._internal_global_config_size(); + for (const auto& msg : this_._internal_global_config()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // optional .agent.Auth auth = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.auth_); + } + // optional .agent.TLS tls = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.tls_); + } + // .agent.InstallSource install_source = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.install_source_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Filesystem_Common::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); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:agent.Filesystem.Common) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_global_config()->MergeFrom( + from._internal_global_config()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.auth_ != nullptr); + if (_this->_impl_.auth_ == nullptr) { + _this->_impl_.auth_ = + ::google::protobuf::Message::CopyConstruct<::agent::Auth>(arena, *from._impl_.auth_); + } else { + _this->_impl_.auth_->MergeFrom(*from._impl_.auth_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.tls_ != nullptr); + if (_this->_impl_.tls_ == nullptr) { + _this->_impl_.tls_ = + ::google::protobuf::Message::CopyConstruct<::agent::TLS>(arena, *from._impl_.tls_); + } else { + _this->_impl_.tls_->MergeFrom(*from._impl_.tls_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.install_source_ != nullptr); + if (_this->_impl_.install_source_ == nullptr) { + _this->_impl_.install_source_ = + ::google::protobuf::Message::CopyConstruct<::agent::InstallSource>(arena, *from._impl_.install_source_); + } else { + _this->_impl_.install_source_->MergeFrom(*from._impl_.install_source_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Filesystem_Common::CopyFrom(const Filesystem_Common& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.Filesystem.Common) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Filesystem_Common::InternalSwap(Filesystem_Common* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.global_config_.InternalSwap(&other->_impl_.global_config_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.install_source_) + + sizeof(Filesystem_Common::_impl_.install_source_) + - PROTOBUF_FIELD_OFFSET(Filesystem_Common, _impl_.auth_)>( + reinterpret_cast(&_impl_.auth_), + reinterpret_cast(&other->_impl_.auth_)); +} + +::google::protobuf::Metadata Filesystem_Common::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Filesystem::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Filesystem, _impl_._has_bits_); +}; + +Filesystem::Filesystem(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.Filesystem) +} +inline PROTOBUF_NDEBUG_INLINE Filesystem::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::Filesystem& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + agent_{visibility, arena, from.agent_} {} + +Filesystem::Filesystem( + ::google::protobuf::Arena* arena, + const Filesystem& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Filesystem* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.common_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::agent::Filesystem_Common>( + arena, *from._impl_.common_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:agent.Filesystem) +} +inline PROTOBUF_NDEBUG_INLINE Filesystem::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + agent_{visibility, arena} {} + +inline void Filesystem::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.common_ = {}; +} +Filesystem::~Filesystem() { + // @@protoc_insertion_point(destructor:agent.Filesystem) + SharedDtor(*this); +} +inline void Filesystem::SharedDtor(MessageLite& self) { + Filesystem& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.common_; + this_._impl_.~Impl_(); +} + +inline void* Filesystem::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Filesystem(arena); +} +constexpr auto Filesystem::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Filesystem, _impl_.agent_) + + decltype(Filesystem::_impl_.agent_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Filesystem, _impl_.agent_) + + decltype(Filesystem::_impl_.agent_):: + InternalGetArenaOffsetAlt( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(Filesystem), alignof(Filesystem), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Filesystem::PlacementNew_, + sizeof(Filesystem), + alignof(Filesystem)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Filesystem::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Filesystem_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Filesystem::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Filesystem::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Filesystem::ByteSizeLong, + &Filesystem::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Filesystem, _impl_._cached_size_), + false, + }, + &Filesystem::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Filesystem::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 3, 30, 2> Filesystem::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Filesystem, _impl_._has_bits_), + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Filesystem>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .agent.Filesystem.Common common = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(Filesystem, _impl_.common_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // map agent = 1; + {PROTOBUF_FIELD_OFFSET(Filesystem, _impl_.agent_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, + // .agent.Filesystem.Common common = 2; + {PROTOBUF_FIELD_OFFSET(Filesystem, _impl_.common_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::Filesystem_Common>()}, + {::_pbi::TcParser::GetMapAuxInfo< + decltype(Filesystem()._impl_.agent_)>( + 1, 0, 0, 9, + 11)}, + {::_pbi::TcParser::GetTable<::agent::Agent>()}, + }}, {{ + "\20\5\0\0\0\0\0\0" + "agent.Filesystem" + "agent" + }}, +}; + +PROTOBUF_NOINLINE void Filesystem::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.Filesystem) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.agent_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.common_ != nullptr); + _impl_.common_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Filesystem::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Filesystem& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Filesystem::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Filesystem& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.Filesystem) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // map agent = 1; + if (!this_._internal_agent().empty()) { + using MapType = ::google::protobuf::Map; + using WireHelper = _pbi::MapEntryFuncs; + const auto& field = this_._internal_agent(); + + if (stream->IsSerializationDeterministic() && field.size() > 1) { + for (const auto& entry : ::google::protobuf::internal::MapSorterPtr(field)) { + target = WireHelper::InternalSerialize( + 1, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Filesystem.agent"); + } + } else { + for (const auto& entry : field) { + target = WireHelper::InternalSerialize( + 1, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Filesystem.agent"); + } + } + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .agent.Filesystem.Common common = 2; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.common_, this_._impl_.common_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.Filesystem) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Filesystem::ByteSizeLong(const MessageLite& base) { + const Filesystem& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Filesystem::ByteSizeLong() const { + const Filesystem& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.Filesystem) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // map agent = 1; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_agent_size()); + for (const auto& entry : this_._internal_agent()) { + total_size += _pbi::MapEntryFuncs::ByteSizeLong(entry.first, entry.second); + } + } + } + { + // .agent.Filesystem.Common common = 2; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.common_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Filesystem::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); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:agent.Filesystem) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.agent_.MergeFrom(from._impl_.agent_); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.common_ != nullptr); + if (_this->_impl_.common_ == nullptr) { + _this->_impl_.common_ = + ::google::protobuf::Message::CopyConstruct<::agent::Filesystem_Common>(arena, *from._impl_.common_); + } else { + _this->_impl_.common_->MergeFrom(*from._impl_.common_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Filesystem::CopyFrom(const Filesystem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.Filesystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Filesystem::InternalSwap(Filesystem* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.agent_.InternalSwap(&other->_impl_.agent_); + swap(_impl_.common_, other->_impl_.common_); +} + +::google::protobuf::Metadata Filesystem::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Auth::_Internal { + public: +}; + +Auth::Auth(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.Auth) +} +inline PROTOBUF_NDEBUG_INLINE Auth::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::Auth& from_msg) + : secret_(arena, from.secret_), + _cached_size_{0} {} + +Auth::Auth( + ::google::protobuf::Arena* arena, + const Auth& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Auth* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:agent.Auth) +} +inline PROTOBUF_NDEBUG_INLINE Auth::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : secret_(arena), + _cached_size_{0} {} + +inline void Auth::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Auth::~Auth() { + // @@protoc_insertion_point(destructor:agent.Auth) + SharedDtor(*this); +} +inline void Auth::SharedDtor(MessageLite& self) { + Auth& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.secret_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Auth::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Auth(arena); +} +constexpr auto Auth::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Auth), + alignof(Auth)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Auth::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Auth_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Auth::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Auth::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Auth::ByteSizeLong, + &Auth::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Auth, _impl_._cached_size_), + false, + }, + &Auth::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Auth::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 25, 2> Auth::_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 + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Auth>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string secret = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Auth, _impl_.secret_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string secret = 1; + {PROTOBUF_FIELD_OFFSET(Auth, _impl_.secret_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\12\6\0\0\0\0\0\0" + "agent.Auth" + "secret" + }}, +}; + +PROTOBUF_NOINLINE void Auth::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.Auth) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.secret_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Auth::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Auth& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Auth::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Auth& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.Auth) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string secret = 1; + if (!this_._internal_secret().empty()) { + const std::string& _s = this_._internal_secret(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Auth.secret"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.Auth) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Auth::ByteSizeLong(const MessageLite& base) { + const Auth& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Auth::ByteSizeLong() const { + const Auth& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.Auth) + ::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 secret = 1; + if (!this_._internal_secret().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_secret()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Auth::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:agent.Auth) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_secret().empty()) { + _this->_internal_set_secret(from._internal_secret()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Auth::CopyFrom(const Auth& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.Auth) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Auth::InternalSwap(Auth* 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_.secret_, &other->_impl_.secret_, arena); +} + +::google::protobuf::Metadata Auth::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class TLS::_Internal { + public: +}; + +TLS::TLS(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.TLS) +} +inline PROTOBUF_NDEBUG_INLINE TLS::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::TLS& from_msg) + : key_(arena, from.key_), + cert_(arena, from.cert_), + _cached_size_{0} {} + +TLS::TLS( + ::google::protobuf::Arena* arena, + const TLS& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + TLS* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:agent.TLS) +} +inline PROTOBUF_NDEBUG_INLINE TLS::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : key_(arena), + cert_(arena), + _cached_size_{0} {} + +inline void TLS::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +TLS::~TLS() { + // @@protoc_insertion_point(destructor:agent.TLS) + SharedDtor(*this); +} +inline void TLS::SharedDtor(MessageLite& self) { + TLS& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.key_.Destroy(); + this_._impl_.cert_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* TLS::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) TLS(arena); +} +constexpr auto TLS::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(TLS), + alignof(TLS)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull TLS::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_TLS_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &TLS::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &TLS::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &TLS::ByteSizeLong, + &TLS::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(TLS, _impl_._cached_size_), + false, + }, + &TLS::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* TLS::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 25, 2> TLS::_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 + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::TLS>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string cert = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(TLS, _impl_.cert_)}}, + // string key = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(TLS, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1; + {PROTOBUF_FIELD_OFFSET(TLS, _impl_.key_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string cert = 2; + {PROTOBUF_FIELD_OFFSET(TLS, _impl_.cert_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\11\3\4\0\0\0\0\0" + "agent.TLS" + "key" + "cert" + }}, +}; + +PROTOBUF_NOINLINE void TLS::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.TLS) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.key_.ClearToEmpty(); + _impl_.cert_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* TLS::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const TLS& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* TLS::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const TLS& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.TLS) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string key = 1; + if (!this_._internal_key().empty()) { + const std::string& _s = this_._internal_key(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.TLS.key"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string cert = 2; + if (!this_._internal_cert().empty()) { + const std::string& _s = this_._internal_cert(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.TLS.cert"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.TLS) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t TLS::ByteSizeLong(const MessageLite& base) { + const TLS& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t TLS::ByteSizeLong() const { + const TLS& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.TLS) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string key = 1; + if (!this_._internal_key().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_key()); + } + // string cert = 2; + if (!this_._internal_cert().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_cert()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void TLS::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:agent.TLS) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_key().empty()) { + _this->_internal_set_key(from._internal_key()); + } + if (!from._internal_cert().empty()) { + _this->_internal_set_cert(from._internal_cert()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void TLS::CopyFrom(const TLS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.TLS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void TLS::InternalSwap(TLS* 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_.key_, &other->_impl_.key_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.cert_, &other->_impl_.cert_, arena); +} + +::google::protobuf::Metadata TLS::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class InstallSource::_Internal { + public: +}; + +InstallSource::InstallSource(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.InstallSource) +} +inline PROTOBUF_NDEBUG_INLINE InstallSource::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::InstallSource& from_msg) + : refs_{visibility, arena, from.refs_}, + repo_(arena, from.repo_), + _cached_size_{0} {} + +InstallSource::InstallSource( + ::google::protobuf::Arena* arena, + const InstallSource& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + InstallSource* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.type_ = from._impl_.type_; + + // @@protoc_insertion_point(copy_constructor:agent.InstallSource) +} +inline PROTOBUF_NDEBUG_INLINE InstallSource::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : refs_{visibility, arena}, + repo_(arena), + _cached_size_{0} {} + +inline void InstallSource::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.type_ = {}; +} +InstallSource::~InstallSource() { + // @@protoc_insertion_point(destructor:agent.InstallSource) + SharedDtor(*this); +} +inline void InstallSource::SharedDtor(MessageLite& self) { + InstallSource& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.repo_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* InstallSource::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) InstallSource(arena); +} +constexpr auto InstallSource::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(InstallSource, _impl_.refs_) + + decltype(InstallSource::_impl_.refs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(InstallSource), alignof(InstallSource), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&InstallSource::PlacementNew_, + sizeof(InstallSource), + alignof(InstallSource)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull InstallSource::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_InstallSource_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &InstallSource::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &InstallSource::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &InstallSource::ByteSizeLong, + &InstallSource::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(InstallSource, _impl_._cached_size_), + false, + }, + &InstallSource::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* InstallSource::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 32, 2> InstallSource::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::InstallSource>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .agent.InstallType type = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(InstallSource, _impl_.type_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(InstallSource, _impl_.type_)}}, + // string repo = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(InstallSource, _impl_.repo_)}}, + // repeated .agent.SourceRef refs = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(InstallSource, _impl_.refs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .agent.InstallType type = 1; + {PROTOBUF_FIELD_OFFSET(InstallSource, _impl_.type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // string repo = 2; + {PROTOBUF_FIELD_OFFSET(InstallSource, _impl_.repo_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // repeated .agent.SourceRef refs = 3; + {PROTOBUF_FIELD_OFFSET(InstallSource, _impl_.refs_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::SourceRef>()}, + }}, {{ + "\23\0\4\0\0\0\0\0" + "agent.InstallSource" + "repo" + }}, +}; + +PROTOBUF_NOINLINE void InstallSource::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.InstallSource) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.refs_.Clear(); + _impl_.repo_.ClearToEmpty(); + _impl_.type_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* InstallSource::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const InstallSource& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* InstallSource::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const InstallSource& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.InstallSource) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .agent.InstallType type = 1; + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_type(), target); + } + + // string repo = 2; + if (!this_._internal_repo().empty()) { + const std::string& _s = this_._internal_repo(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.InstallSource.repo"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + // repeated .agent.SourceRef refs = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_refs_size()); + i < n; i++) { + const auto& repfield = this_._internal_refs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.InstallSource) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t InstallSource::ByteSizeLong(const MessageLite& base) { + const InstallSource& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t InstallSource::ByteSizeLong() const { + const InstallSource& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.InstallSource) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .agent.SourceRef refs = 3; + { + total_size += 1UL * this_._internal_refs_size(); + for (const auto& msg : this_._internal_refs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // string repo = 2; + if (!this_._internal_repo().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_repo()); + } + // .agent.InstallType type = 1; + if (this_._internal_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void InstallSource::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:agent.InstallSource) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_refs()->MergeFrom( + from._internal_refs()); + if (!from._internal_repo().empty()) { + _this->_internal_set_repo(from._internal_repo()); + } + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void InstallSource::CopyFrom(const InstallSource& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.InstallSource) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void InstallSource::InternalSwap(InstallSource* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.refs_.InternalSwap(&other->_impl_.refs_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.repo_, &other->_impl_.repo_, arena); + swap(_impl_.type_, other->_impl_.type_); +} + +::google::protobuf::Metadata InstallSource::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class SourceRef::_Internal { + public: +}; + +SourceRef::SourceRef(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.SourceRef) +} +inline PROTOBUF_NDEBUG_INLINE SourceRef::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::SourceRef& from_msg) + : ref_(arena, from.ref_), + _cached_size_{0} {} + +SourceRef::SourceRef( + ::google::protobuf::Arena* arena, + const SourceRef& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SourceRef* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.service_type_ = from._impl_.service_type_; + + // @@protoc_insertion_point(copy_constructor:agent.SourceRef) +} +inline PROTOBUF_NDEBUG_INLINE SourceRef::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : ref_(arena), + _cached_size_{0} {} + +inline void SourceRef::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.service_type_ = {}; +} +SourceRef::~SourceRef() { + // @@protoc_insertion_point(destructor:agent.SourceRef) + SharedDtor(*this); +} +inline void SourceRef::SharedDtor(MessageLite& self) { + SourceRef& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.ref_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* SourceRef::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) SourceRef(arena); +} +constexpr auto SourceRef::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SourceRef), + alignof(SourceRef)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull SourceRef::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_SourceRef_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &SourceRef::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &SourceRef::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &SourceRef::ByteSizeLong, + &SourceRef::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(SourceRef, _impl_._cached_size_), + false, + }, + &SourceRef::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* SourceRef::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 27, 2> SourceRef::_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 + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::SourceRef>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string ref = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(SourceRef, _impl_.ref_)}}, + // .beegfs.NodeType service_type = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SourceRef, _impl_.service_type_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(SourceRef, _impl_.service_type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .beegfs.NodeType service_type = 1; + {PROTOBUF_FIELD_OFFSET(SourceRef, _impl_.service_type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // string ref = 2; + {PROTOBUF_FIELD_OFFSET(SourceRef, _impl_.ref_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\17\0\3\0\0\0\0\0" + "agent.SourceRef" + "ref" + }}, +}; + +PROTOBUF_NOINLINE void SourceRef::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.SourceRef) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.ref_.ClearToEmpty(); + _impl_.service_type_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* SourceRef::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const SourceRef& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* SourceRef::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const SourceRef& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.SourceRef) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .beegfs.NodeType service_type = 1; + if (this_._internal_service_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_service_type(), target); + } + + // string ref = 2; + if (!this_._internal_ref().empty()) { + const std::string& _s = this_._internal_ref(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.SourceRef.ref"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.SourceRef) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t SourceRef::ByteSizeLong(const MessageLite& base) { + const SourceRef& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t SourceRef::ByteSizeLong() const { + const SourceRef& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.SourceRef) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string ref = 2; + if (!this_._internal_ref().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_ref()); + } + // .beegfs.NodeType service_type = 1; + if (this_._internal_service_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_service_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void SourceRef::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:agent.SourceRef) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_ref().empty()) { + _this->_internal_set_ref(from._internal_ref()); + } + if (from._internal_service_type() != 0) { + _this->_impl_.service_type_ = from._impl_.service_type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void SourceRef::CopyFrom(const SourceRef& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.SourceRef) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void SourceRef::InternalSwap(SourceRef* 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_.ref_, &other->_impl_.ref_, arena); + swap(_impl_.service_type_, other->_impl_.service_type_); +} + +::google::protobuf::Metadata SourceRef::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ServiceConfig_StringMapEntry_DoNotUse::ServiceConfig_StringMapEntry_DoNotUse() : SuperType(_class_data_.base()) {} + ServiceConfig_StringMapEntry_DoNotUse::ServiceConfig_StringMapEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena, _class_data_.base()) {} +#else // PROTOBUF_CUSTOM_VTABLE + ServiceConfig_StringMapEntry_DoNotUse::ServiceConfig_StringMapEntry_DoNotUse() : SuperType() {} + ServiceConfig_StringMapEntry_DoNotUse::ServiceConfig_StringMapEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE + inline void* ServiceConfig_StringMapEntry_DoNotUse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ServiceConfig_StringMapEntry_DoNotUse(arena); + } + constexpr auto ServiceConfig_StringMapEntry_DoNotUse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(ServiceConfig_StringMapEntry_DoNotUse), + alignof(ServiceConfig_StringMapEntry_DoNotUse)); + } + PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 + const ::google::protobuf::internal::ClassDataFull ServiceConfig_StringMapEntry_DoNotUse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ServiceConfig_StringMapEntry_DoNotUse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ServiceConfig_StringMapEntry_DoNotUse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), + #if defined(PROTOBUF_CUSTOM_VTABLE) + &ServiceConfig_StringMapEntry_DoNotUse::SharedDtor, + static_cast( + &ServiceConfig_StringMapEntry_DoNotUse::ClearImpl), + ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl + , + #endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ServiceConfig_StringMapEntry_DoNotUse, _impl_._cached_size_), + false, + }, + &ServiceConfig_StringMapEntry_DoNotUse::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker + }; + const ::google::protobuf::internal::ClassData* ServiceConfig_StringMapEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); + } +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 51, 2> ServiceConfig_StringMapEntry_DoNotUse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(ServiceConfig_StringMapEntry_DoNotUse, _impl_._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 + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::DiscardEverythingFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::ServiceConfig_StringMapEntry_DoNotUse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string value = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(ServiceConfig_StringMapEntry_DoNotUse, _impl_.value_)}}, + // string key = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(ServiceConfig_StringMapEntry_DoNotUse, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1; + {PROTOBUF_FIELD_OFFSET(ServiceConfig_StringMapEntry_DoNotUse, _impl_.key_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string value = 2; + {PROTOBUF_FIELD_OFFSET(ServiceConfig_StringMapEntry_DoNotUse, _impl_.value_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\42\3\5\0\0\0\0\0" + "agent.ServiceConfig.StringMapEntry" + "key" + "value" + }}, +}; + +// =================================================================== + +class ServiceConfig::_Internal { + public: +}; + +ServiceConfig::ServiceConfig(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.ServiceConfig) +} +inline PROTOBUF_NDEBUG_INLINE ServiceConfig::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::ServiceConfig& from_msg) + : string_map_{visibility, arena, from.string_map_}, + _cached_size_{0} {} + +ServiceConfig::ServiceConfig( + ::google::protobuf::Arena* arena, + const ServiceConfig& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ServiceConfig* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.service_type_ = from._impl_.service_type_; + + // @@protoc_insertion_point(copy_constructor:agent.ServiceConfig) +} +inline PROTOBUF_NDEBUG_INLINE ServiceConfig::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : string_map_{visibility, arena}, + _cached_size_{0} {} + +inline void ServiceConfig::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.service_type_ = {}; +} +ServiceConfig::~ServiceConfig() { + // @@protoc_insertion_point(destructor:agent.ServiceConfig) + SharedDtor(*this); +} +inline void ServiceConfig::SharedDtor(MessageLite& self) { + ServiceConfig& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* ServiceConfig::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ServiceConfig(arena); +} +constexpr auto ServiceConfig::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(ServiceConfig, _impl_.string_map_) + + decltype(ServiceConfig::_impl_.string_map_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(ServiceConfig, _impl_.string_map_) + + decltype(ServiceConfig::_impl_.string_map_):: + InternalGetArenaOffsetAlt( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(ServiceConfig), alignof(ServiceConfig), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&ServiceConfig::PlacementNew_, + sizeof(ServiceConfig), + alignof(ServiceConfig)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ServiceConfig::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ServiceConfig_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ServiceConfig::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ServiceConfig::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ServiceConfig::ByteSizeLong, + &ServiceConfig::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ServiceConfig, _impl_._cached_size_), + false, + }, + &ServiceConfig::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ServiceConfig::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 1, 38, 2> ServiceConfig::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::ServiceConfig>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .beegfs.NodeType service_type = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ServiceConfig, _impl_.service_type_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ServiceConfig, _impl_.service_type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .beegfs.NodeType service_type = 1; + {PROTOBUF_FIELD_OFFSET(ServiceConfig, _impl_.service_type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // map string_map = 2; + {PROTOBUF_FIELD_OFFSET(ServiceConfig, _impl_.string_map_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, + }}, {{ + {::_pbi::TcParser::GetMapAuxInfo< + decltype(ServiceConfig()._impl_.string_map_)>( + 1, 0, 0, 9, + 9)}, + }}, {{ + "\23\0\12\0\0\0\0\0" + "agent.ServiceConfig" + "string_map" + }}, +}; + +PROTOBUF_NOINLINE void ServiceConfig::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.ServiceConfig) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.string_map_.Clear(); + _impl_.service_type_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ServiceConfig::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ServiceConfig& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ServiceConfig::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ServiceConfig& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.ServiceConfig) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // .beegfs.NodeType service_type = 1; + if (this_._internal_service_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 1, this_._internal_service_type(), target); + } + + // map string_map = 2; + if (!this_._internal_string_map().empty()) { + using MapType = ::google::protobuf::Map; + using WireHelper = _pbi::MapEntryFuncs; + const auto& field = this_._internal_string_map(); + + if (stream->IsSerializationDeterministic() && field.size() > 1) { + for (const auto& entry : ::google::protobuf::internal::MapSorterPtr(field)) { + target = WireHelper::InternalSerialize( + 2, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.ServiceConfig.string_map"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.second.data(), static_cast(entry.second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.ServiceConfig.string_map"); + } + } else { + for (const auto& entry : field) { + target = WireHelper::InternalSerialize( + 2, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.ServiceConfig.string_map"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.second.data(), static_cast(entry.second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.ServiceConfig.string_map"); + } + } + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.ServiceConfig) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ServiceConfig::ByteSizeLong(const MessageLite& base) { + const ServiceConfig& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ServiceConfig::ByteSizeLong() const { + const ServiceConfig& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.ServiceConfig) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // map string_map = 2; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_string_map_size()); + for (const auto& entry : this_._internal_string_map()) { + total_size += _pbi::MapEntryFuncs::ByteSizeLong(entry.first, entry.second); + } + } + } + { + // .beegfs.NodeType service_type = 1; + if (this_._internal_service_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_service_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ServiceConfig::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:agent.ServiceConfig) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.string_map_.MergeFrom(from._impl_.string_map_); + if (from._internal_service_type() != 0) { + _this->_impl_.service_type_ = from._impl_.service_type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ServiceConfig::CopyFrom(const ServiceConfig& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.ServiceConfig) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ServiceConfig::InternalSwap(ServiceConfig* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.string_map_.InternalSwap(&other->_impl_.string_map_); + swap(_impl_.service_type_, other->_impl_.service_type_); +} + +::google::protobuf::Metadata ServiceConfig::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Agent::_Internal { + public: +}; + +Agent::Agent(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.Agent) +} +inline PROTOBUF_NDEBUG_INLINE Agent::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::Agent& from_msg) + : services_{visibility, arena, from.services_}, + interfaces_{visibility, arena, from.interfaces_}, + _cached_size_{0} {} + +Agent::Agent( + ::google::protobuf::Arena* arena, + const Agent& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Agent* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:agent.Agent) +} +inline PROTOBUF_NDEBUG_INLINE Agent::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : services_{visibility, arena}, + interfaces_{visibility, arena}, + _cached_size_{0} {} + +inline void Agent::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Agent::~Agent() { + // @@protoc_insertion_point(destructor:agent.Agent) + SharedDtor(*this); +} +inline void Agent::SharedDtor(MessageLite& self) { + Agent& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Agent::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Agent(arena); +} +constexpr auto Agent::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Agent, _impl_.services_) + + decltype(Agent::_impl_.services_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Agent, _impl_.interfaces_) + + decltype(Agent::_impl_.interfaces_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Agent), alignof(Agent), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Agent::PlacementNew_, + sizeof(Agent), + alignof(Agent)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Agent::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Agent_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Agent::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Agent::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Agent::ByteSizeLong, + &Agent::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Agent, _impl_._cached_size_), + false, + }, + &Agent::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Agent::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> Agent::_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 + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Agent>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .agent.Nic interfaces = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(Agent, _impl_.interfaces_)}}, + // repeated .agent.Service services = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Agent, _impl_.services_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .agent.Service services = 1; + {PROTOBUF_FIELD_OFFSET(Agent, _impl_.services_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .agent.Nic interfaces = 2; + {PROTOBUF_FIELD_OFFSET(Agent, _impl_.interfaces_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::Service>()}, + {::_pbi::TcParser::GetTable<::agent::Nic>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Agent::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.Agent) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.services_.Clear(); + _impl_.interfaces_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Agent::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Agent& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Agent::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Agent& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.Agent) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .agent.Service services = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_services_size()); + i < n; i++) { + const auto& repfield = this_._internal_services().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .agent.Nic interfaces = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_interfaces_size()); + i < n; i++) { + const auto& repfield = this_._internal_interfaces().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.Agent) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Agent::ByteSizeLong(const MessageLite& base) { + const Agent& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Agent::ByteSizeLong() const { + const Agent& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.Agent) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .agent.Service services = 1; + { + total_size += 1UL * this_._internal_services_size(); + for (const auto& msg : this_._internal_services()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .agent.Nic interfaces = 2; + { + total_size += 1UL * this_._internal_interfaces_size(); + for (const auto& msg : this_._internal_interfaces()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Agent::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:agent.Agent) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_services()->MergeFrom( + from._internal_services()); + _this->_internal_mutable_interfaces()->MergeFrom( + from._internal_interfaces()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Agent::CopyFrom(const Agent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.Agent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Agent::InternalSwap(Agent* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.services_.InternalSwap(&other->_impl_.services_); + _impl_.interfaces_.InternalSwap(&other->_impl_.interfaces_); +} + +::google::protobuf::Metadata Agent::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +#if defined(PROTOBUF_CUSTOM_VTABLE) + Service_ConfigEntry_DoNotUse::Service_ConfigEntry_DoNotUse() : SuperType(_class_data_.base()) {} + Service_ConfigEntry_DoNotUse::Service_ConfigEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena, _class_data_.base()) {} +#else // PROTOBUF_CUSTOM_VTABLE + Service_ConfigEntry_DoNotUse::Service_ConfigEntry_DoNotUse() : SuperType() {} + Service_ConfigEntry_DoNotUse::Service_ConfigEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} +#endif // PROTOBUF_CUSTOM_VTABLE + inline void* Service_ConfigEntry_DoNotUse::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Service_ConfigEntry_DoNotUse(arena); + } + constexpr auto Service_ConfigEntry_DoNotUse::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Service_ConfigEntry_DoNotUse), + alignof(Service_ConfigEntry_DoNotUse)); + } + PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 + const ::google::protobuf::internal::ClassDataFull Service_ConfigEntry_DoNotUse::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Service_ConfigEntry_DoNotUse_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Service_ConfigEntry_DoNotUse::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), + #if defined(PROTOBUF_CUSTOM_VTABLE) + &Service_ConfigEntry_DoNotUse::SharedDtor, + static_cast( + &Service_ConfigEntry_DoNotUse::ClearImpl), + ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl + , + #endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Service_ConfigEntry_DoNotUse, _impl_._cached_size_), + false, + }, + &Service_ConfigEntry_DoNotUse::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker + }; + const ::google::protobuf::internal::ClassData* Service_ConfigEntry_DoNotUse::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); + } +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 42, 2> Service_ConfigEntry_DoNotUse::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Service_ConfigEntry_DoNotUse, _impl_._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 + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::DiscardEverythingFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Service_ConfigEntry_DoNotUse>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string value = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Service_ConfigEntry_DoNotUse, _impl_.value_)}}, + // string key = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Service_ConfigEntry_DoNotUse, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string key = 1; + {PROTOBUF_FIELD_OFFSET(Service_ConfigEntry_DoNotUse, _impl_.key_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string value = 2; + {PROTOBUF_FIELD_OFFSET(Service_ConfigEntry_DoNotUse, _impl_.value_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\31\3\5\0\0\0\0\0" + "agent.Service.ConfigEntry" + "key" + "value" + }}, +}; + +// =================================================================== + +class Service::_Internal { + public: +}; + +Service::Service(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.Service) +} +inline PROTOBUF_NDEBUG_INLINE Service::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::Service& from_msg) + : config_{visibility, arena, from.config_}, + interfaces_{visibility, arena, from.interfaces_}, + targets_{visibility, arena, from.targets_}, + executable_(arena, from.executable_), + _cached_size_{0} {} + +Service::Service( + ::google::protobuf::Arena* arena, + const Service& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Service* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::memcpy(reinterpret_cast(&_impl_) + + offsetof(Impl_, num_id_), + reinterpret_cast(&from._impl_) + + offsetof(Impl_, num_id_), + offsetof(Impl_, service_type_) - + offsetof(Impl_, num_id_) + + sizeof(Impl_::service_type_)); + + // @@protoc_insertion_point(copy_constructor:agent.Service) +} +inline PROTOBUF_NDEBUG_INLINE Service::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : config_{visibility, arena}, + interfaces_{visibility, arena}, + targets_{visibility, arena}, + executable_(arena), + _cached_size_{0} {} + +inline void Service::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, num_id_), + 0, + offsetof(Impl_, service_type_) - + offsetof(Impl_, num_id_) + + sizeof(Impl_::service_type_)); +} +Service::~Service() { + // @@protoc_insertion_point(destructor:agent.Service) + SharedDtor(*this); +} +inline void Service::SharedDtor(MessageLite& self) { + Service& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.executable_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Service::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Service(arena); +} +constexpr auto Service::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Service, _impl_.config_) + + decltype(Service::_impl_.config_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Service, _impl_.config_) + + decltype(Service::_impl_.config_):: + InternalGetArenaOffsetAlt( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Service, _impl_.interfaces_) + + decltype(Service::_impl_.interfaces_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Service, _impl_.targets_) + + decltype(Service::_impl_.targets_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(Service), alignof(Service), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Service::PlacementNew_, + sizeof(Service), + alignof(Service)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Service::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Service_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Service::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Service::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Service::ByteSizeLong, + &Service::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Service, _impl_._cached_size_), + false, + }, + &Service::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Service::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 6, 3, 38, 2> Service::_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 + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Service>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 num_id = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Service, _impl_.num_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Service, _impl_.num_id_)}}, + // .beegfs.NodeType service_type = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Service, _impl_.service_type_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(Service, _impl_.service_type_)}}, + {::_pbi::TcParser::MiniParse, {}}, + // repeated .agent.Nic interfaces = 4; + {::_pbi::TcParser::FastMtR1, + {34, 63, 0, PROTOBUF_FIELD_OFFSET(Service, _impl_.interfaces_)}}, + // repeated .agent.Target targets = 5; + {::_pbi::TcParser::FastMtR1, + {42, 63, 1, PROTOBUF_FIELD_OFFSET(Service, _impl_.targets_)}}, + // string executable = 6; + {::_pbi::TcParser::FastUS1, + {50, 63, 0, PROTOBUF_FIELD_OFFSET(Service, _impl_.executable_)}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 num_id = 1; + {PROTOBUF_FIELD_OFFSET(Service, _impl_.num_id_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // .beegfs.NodeType service_type = 2; + {PROTOBUF_FIELD_OFFSET(Service, _impl_.service_type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // map config = 3; + {PROTOBUF_FIELD_OFFSET(Service, _impl_.config_), 0, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, + // repeated .agent.Nic interfaces = 4; + {PROTOBUF_FIELD_OFFSET(Service, _impl_.interfaces_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .agent.Target targets = 5; + {PROTOBUF_FIELD_OFFSET(Service, _impl_.targets_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // string executable = 6; + {PROTOBUF_FIELD_OFFSET(Service, _impl_.executable_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::Nic>()}, + {::_pbi::TcParser::GetTable<::agent::Target>()}, + {::_pbi::TcParser::GetMapAuxInfo< + decltype(Service()._impl_.config_)>( + 1, 0, 0, 9, + 9)}, + }}, {{ + "\15\0\0\6\0\0\12\0" + "agent.Service" + "config" + "executable" + }}, +}; + +PROTOBUF_NOINLINE void Service::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.Service) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.config_.Clear(); + _impl_.interfaces_.Clear(); + _impl_.targets_.Clear(); + _impl_.executable_.ClearToEmpty(); + ::memset(&_impl_.num_id_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.service_type_) - + reinterpret_cast(&_impl_.num_id_)) + sizeof(_impl_.service_type_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Service::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Service& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Service::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Service& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.Service) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 num_id = 1; + if (this_._internal_num_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_num_id(), target); + } + + // .beegfs.NodeType service_type = 2; + if (this_._internal_service_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_service_type(), target); + } + + // map config = 3; + if (!this_._internal_config().empty()) { + using MapType = ::google::protobuf::Map; + using WireHelper = _pbi::MapEntryFuncs; + const auto& field = this_._internal_config(); + + if (stream->IsSerializationDeterministic() && field.size() > 1) { + for (const auto& entry : ::google::protobuf::internal::MapSorterPtr(field)) { + target = WireHelper::InternalSerialize( + 3, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Service.config"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.second.data(), static_cast(entry.second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Service.config"); + } + } else { + for (const auto& entry : field) { + target = WireHelper::InternalSerialize( + 3, entry.first, entry.second, target, stream); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.first.data(), static_cast(entry.first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Service.config"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + entry.second.data(), static_cast(entry.second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Service.config"); + } + } + } + + // repeated .agent.Nic interfaces = 4; + for (unsigned i = 0, n = static_cast( + this_._internal_interfaces_size()); + i < n; i++) { + const auto& repfield = this_._internal_interfaces().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .agent.Target targets = 5; + for (unsigned i = 0, n = static_cast( + this_._internal_targets_size()); + i < n; i++) { + const auto& repfield = this_._internal_targets().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, repfield, repfield.GetCachedSize(), + target, stream); + } + + // string executable = 6; + if (!this_._internal_executable().empty()) { + const std::string& _s = this_._internal_executable(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Service.executable"); + target = stream->WriteStringMaybeAliased(6, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.Service) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Service::ByteSizeLong(const MessageLite& base) { + const Service& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Service::ByteSizeLong() const { + const Service& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.Service) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // map config = 3; + { + total_size += + 1 * ::google::protobuf::internal::FromIntSize(this_._internal_config_size()); + for (const auto& entry : this_._internal_config()) { + total_size += _pbi::MapEntryFuncs::ByteSizeLong(entry.first, entry.second); + } + } + // repeated .agent.Nic interfaces = 4; + { + total_size += 1UL * this_._internal_interfaces_size(); + for (const auto& msg : this_._internal_interfaces()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .agent.Target targets = 5; + { + total_size += 1UL * this_._internal_targets_size(); + for (const auto& msg : this_._internal_targets()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // string executable = 6; + if (!this_._internal_executable().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_executable()); + } + // uint32 num_id = 1; + if (this_._internal_num_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_num_id()); + } + // .beegfs.NodeType service_type = 2; + if (this_._internal_service_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_service_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Service::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:agent.Service) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.config_.MergeFrom(from._impl_.config_); + _this->_internal_mutable_interfaces()->MergeFrom( + from._internal_interfaces()); + _this->_internal_mutable_targets()->MergeFrom( + from._internal_targets()); + if (!from._internal_executable().empty()) { + _this->_internal_set_executable(from._internal_executable()); + } + if (from._internal_num_id() != 0) { + _this->_impl_.num_id_ = from._impl_.num_id_; + } + if (from._internal_service_type() != 0) { + _this->_impl_.service_type_ = from._impl_.service_type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Service::CopyFrom(const Service& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.Service) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Service::InternalSwap(Service* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.config_.InternalSwap(&other->_impl_.config_); + _impl_.interfaces_.InternalSwap(&other->_impl_.interfaces_); + _impl_.targets_.InternalSwap(&other->_impl_.targets_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.executable_, &other->_impl_.executable_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Service, _impl_.service_type_) + + sizeof(Service::_impl_.service_type_) + - PROTOBUF_FIELD_OFFSET(Service, _impl_.num_id_)>( + reinterpret_cast(&_impl_.num_id_), + reinterpret_cast(&other->_impl_.num_id_)); +} + +::google::protobuf::Metadata Service::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Nic::_Internal { + public: +}; + +Nic::Nic(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.Nic) +} +inline PROTOBUF_NDEBUG_INLINE Nic::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::Nic& from_msg) + : name_(arena, from.name_), + addr_(arena, from.addr_), + _cached_size_{0} {} + +Nic::Nic( + ::google::protobuf::Arena* arena, + const Nic& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Nic* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:agent.Nic) +} +inline PROTOBUF_NDEBUG_INLINE Nic::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : name_(arena), + addr_(arena), + _cached_size_{0} {} + +inline void Nic::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Nic::~Nic() { + // @@protoc_insertion_point(destructor:agent.Nic) + SharedDtor(*this); +} +inline void Nic::SharedDtor(MessageLite& self) { + Nic& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.name_.Destroy(); + this_._impl_.addr_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Nic::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Nic(arena); +} +constexpr auto Nic::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Nic), + alignof(Nic)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Nic::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Nic_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Nic::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Nic::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Nic::ByteSizeLong, + &Nic::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Nic, _impl_._cached_size_), + false, + }, + &Nic::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Nic::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 26, 2> Nic::_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 + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Nic>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string addr = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Nic, _impl_.addr_)}}, + // string name = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Nic, _impl_.name_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string name = 1; + {PROTOBUF_FIELD_OFFSET(Nic, _impl_.name_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string addr = 2; + {PROTOBUF_FIELD_OFFSET(Nic, _impl_.addr_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\11\4\4\0\0\0\0\0" + "agent.Nic" + "name" + "addr" + }}, +}; + +PROTOBUF_NOINLINE void Nic::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.Nic) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.name_.ClearToEmpty(); + _impl_.addr_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Nic::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Nic& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Nic::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Nic& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.Nic) + ::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, "agent.Nic.name"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // string addr = 2; + if (!this_._internal_addr().empty()) { + const std::string& _s = this_._internal_addr(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Nic.addr"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.Nic) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Nic::ByteSizeLong(const MessageLite& base) { + const Nic& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Nic::ByteSizeLong() const { + const Nic& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.Nic) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string name = 1; + if (!this_._internal_name().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_name()); + } + // string addr = 2; + if (!this_._internal_addr().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_addr()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Nic::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:agent.Nic) + 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_addr().empty()) { + _this->_internal_set_addr(from._internal_addr()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Nic::CopyFrom(const Nic& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.Nic) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Nic::InternalSwap(Nic* 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_.addr_, &other->_impl_.addr_, arena); +} + +::google::protobuf::Metadata Nic::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Target_UnderlyingFSOpts::_Internal { + public: +}; + +Target_UnderlyingFSOpts::Target_UnderlyingFSOpts(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.Target.UnderlyingFSOpts) +} +inline PROTOBUF_NDEBUG_INLINE Target_UnderlyingFSOpts::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::Target_UnderlyingFSOpts& from_msg) + : device_(arena, from.device_), + format_flags_(arena, from.format_flags_), + mount_flags_(arena, from.mount_flags_), + _cached_size_{0} {} + +Target_UnderlyingFSOpts::Target_UnderlyingFSOpts( + ::google::protobuf::Arena* arena, + const Target_UnderlyingFSOpts& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Target_UnderlyingFSOpts* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.type_ = from._impl_.type_; + + // @@protoc_insertion_point(copy_constructor:agent.Target.UnderlyingFSOpts) +} +inline PROTOBUF_NDEBUG_INLINE Target_UnderlyingFSOpts::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : device_(arena), + format_flags_(arena), + mount_flags_(arena), + _cached_size_{0} {} + +inline void Target_UnderlyingFSOpts::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.type_ = {}; +} +Target_UnderlyingFSOpts::~Target_UnderlyingFSOpts() { + // @@protoc_insertion_point(destructor:agent.Target.UnderlyingFSOpts) + SharedDtor(*this); +} +inline void Target_UnderlyingFSOpts::SharedDtor(MessageLite& self) { + Target_UnderlyingFSOpts& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.device_.Destroy(); + this_._impl_.format_flags_.Destroy(); + this_._impl_.mount_flags_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Target_UnderlyingFSOpts::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Target_UnderlyingFSOpts(arena); +} +constexpr auto Target_UnderlyingFSOpts::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Target_UnderlyingFSOpts), + alignof(Target_UnderlyingFSOpts)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Target_UnderlyingFSOpts::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Target_UnderlyingFSOpts_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Target_UnderlyingFSOpts::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Target_UnderlyingFSOpts::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Target_UnderlyingFSOpts::ByteSizeLong, + &Target_UnderlyingFSOpts::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Target_UnderlyingFSOpts, _impl_._cached_size_), + false, + }, + &Target_UnderlyingFSOpts::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Target_UnderlyingFSOpts::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 0, 67, 2> Target_UnderlyingFSOpts::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Target_UnderlyingFSOpts>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // string mount_flags = 4; + {::_pbi::TcParser::FastUS1, + {34, 63, 0, PROTOBUF_FIELD_OFFSET(Target_UnderlyingFSOpts, _impl_.mount_flags_)}}, + // string device = 1; + {::_pbi::TcParser::FastUS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Target_UnderlyingFSOpts, _impl_.device_)}}, + // .agent.Target.UnderlyingFSOpts.FsType type = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Target_UnderlyingFSOpts, _impl_.type_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(Target_UnderlyingFSOpts, _impl_.type_)}}, + // string format_flags = 3; + {::_pbi::TcParser::FastUS1, + {26, 63, 0, PROTOBUF_FIELD_OFFSET(Target_UnderlyingFSOpts, _impl_.format_flags_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // string device = 1; + {PROTOBUF_FIELD_OFFSET(Target_UnderlyingFSOpts, _impl_.device_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // .agent.Target.UnderlyingFSOpts.FsType type = 2; + {PROTOBUF_FIELD_OFFSET(Target_UnderlyingFSOpts, _impl_.type_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, + // string format_flags = 3; + {PROTOBUF_FIELD_OFFSET(Target_UnderlyingFSOpts, _impl_.format_flags_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // string mount_flags = 4; + {PROTOBUF_FIELD_OFFSET(Target_UnderlyingFSOpts, _impl_.mount_flags_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + "\35\6\0\14\13\0\0\0" + "agent.Target.UnderlyingFSOpts" + "device" + "format_flags" + "mount_flags" + }}, +}; + +PROTOBUF_NOINLINE void Target_UnderlyingFSOpts::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.Target.UnderlyingFSOpts) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.device_.ClearToEmpty(); + _impl_.format_flags_.ClearToEmpty(); + _impl_.mount_flags_.ClearToEmpty(); + _impl_.type_ = 0; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Target_UnderlyingFSOpts::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Target_UnderlyingFSOpts& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Target_UnderlyingFSOpts::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Target_UnderlyingFSOpts& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.Target.UnderlyingFSOpts) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // string device = 1; + if (!this_._internal_device().empty()) { + const std::string& _s = this_._internal_device(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Target.UnderlyingFSOpts.device"); + target = stream->WriteStringMaybeAliased(1, _s, target); + } + + // .agent.Target.UnderlyingFSOpts.FsType type = 2; + if (this_._internal_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 2, this_._internal_type(), target); + } + + // string format_flags = 3; + if (!this_._internal_format_flags().empty()) { + const std::string& _s = this_._internal_format_flags(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Target.UnderlyingFSOpts.format_flags"); + target = stream->WriteStringMaybeAliased(3, _s, target); + } + + // string mount_flags = 4; + if (!this_._internal_mount_flags().empty()) { + const std::string& _s = this_._internal_mount_flags(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Target.UnderlyingFSOpts.mount_flags"); + target = stream->WriteStringMaybeAliased(4, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.Target.UnderlyingFSOpts) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Target_UnderlyingFSOpts::ByteSizeLong(const MessageLite& base) { + const Target_UnderlyingFSOpts& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Target_UnderlyingFSOpts::ByteSizeLong() const { + const Target_UnderlyingFSOpts& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.Target.UnderlyingFSOpts) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string device = 1; + if (!this_._internal_device().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_device()); + } + // string format_flags = 3; + if (!this_._internal_format_flags().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_format_flags()); + } + // string mount_flags = 4; + if (!this_._internal_mount_flags().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_mount_flags()); + } + // .agent.Target.UnderlyingFSOpts.FsType type = 2; + if (this_._internal_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Target_UnderlyingFSOpts::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:agent.Target.UnderlyingFSOpts) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_device().empty()) { + _this->_internal_set_device(from._internal_device()); + } + if (!from._internal_format_flags().empty()) { + _this->_internal_set_format_flags(from._internal_format_flags()); + } + if (!from._internal_mount_flags().empty()) { + _this->_internal_set_mount_flags(from._internal_mount_flags()); + } + if (from._internal_type() != 0) { + _this->_impl_.type_ = from._impl_.type_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Target_UnderlyingFSOpts::CopyFrom(const Target_UnderlyingFSOpts& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.Target.UnderlyingFSOpts) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Target_UnderlyingFSOpts::InternalSwap(Target_UnderlyingFSOpts* 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_.device_, &other->_impl_.device_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.format_flags_, &other->_impl_.format_flags_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mount_flags_, &other->_impl_.mount_flags_, arena); + swap(_impl_.type_, other->_impl_.type_); +} + +::google::protobuf::Metadata Target_UnderlyingFSOpts::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Target::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Target, _impl_._has_bits_); +}; + +Target::Target(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:agent.Target) +} +inline PROTOBUF_NDEBUG_INLINE Target::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::agent::Target& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + path_(arena, from.path_) {} + +Target::Target( + ::google::protobuf::Arena* arena, + const Target& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Target* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.ulfs_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::agent::Target_UnderlyingFSOpts>( + arena, *from._impl_.ulfs_) + : nullptr; + _impl_.num_id_ = from._impl_.num_id_; + + // @@protoc_insertion_point(copy_constructor:agent.Target) +} +inline PROTOBUF_NDEBUG_INLINE Target::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + path_(arena) {} + +inline void Target::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, ulfs_), + 0, + offsetof(Impl_, num_id_) - + offsetof(Impl_, ulfs_) + + sizeof(Impl_::num_id_)); +} +Target::~Target() { + // @@protoc_insertion_point(destructor:agent.Target) + SharedDtor(*this); +} +inline void Target::SharedDtor(MessageLite& self) { + Target& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.path_.Destroy(); + delete this_._impl_.ulfs_; + this_._impl_.~Impl_(); +} + +inline void* Target::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Target(arena); +} +constexpr auto Target::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Target), + alignof(Target)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Target::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Target_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Target::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Target::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Target::ByteSizeLong, + &Target::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Target, _impl_._cached_size_), + false, + }, + &Target::kDescriptorMethods, + &descriptor_table_agent_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Target::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 25, 2> Target::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Target, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::agent::Target>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 num_id = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Target, _impl_.num_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Target, _impl_.num_id_)}}, + // string path = 2; + {::_pbi::TcParser::FastUS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Target, _impl_.path_)}}, + // optional .agent.Target.UnderlyingFSOpts ulfs = 3; + {::_pbi::TcParser::FastMtS1, + {26, 0, 0, PROTOBUF_FIELD_OFFSET(Target, _impl_.ulfs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 num_id = 1; + {PROTOBUF_FIELD_OFFSET(Target, _impl_.num_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // string path = 2; + {PROTOBUF_FIELD_OFFSET(Target, _impl_.path_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, + // optional .agent.Target.UnderlyingFSOpts ulfs = 3; + {PROTOBUF_FIELD_OFFSET(Target, _impl_.ulfs_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::agent::Target_UnderlyingFSOpts>()}, + }}, {{ + "\14\0\4\0\0\0\0\0" + "agent.Target" + "path" + }}, +}; + +PROTOBUF_NOINLINE void Target::Clear() { +// @@protoc_insertion_point(message_clear_start:agent.Target) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.path_.ClearToEmpty(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.ulfs_ != nullptr); + _impl_.ulfs_->Clear(); + } + _impl_.num_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Target::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Target& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Target::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Target& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:agent.Target) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 num_id = 1; + if (this_._internal_num_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_num_id(), target); + } + + // string path = 2; + if (!this_._internal_path().empty()) { + const std::string& _s = this_._internal_path(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "agent.Target.path"); + target = stream->WriteStringMaybeAliased(2, _s, target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // optional .agent.Target.UnderlyingFSOpts ulfs = 3; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.ulfs_, this_._impl_.ulfs_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:agent.Target) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Target::ByteSizeLong(const MessageLite& base) { + const Target& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Target::ByteSizeLong() const { + const Target& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:agent.Target) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // string path = 2; + if (!this_._internal_path().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this_._internal_path()); + } + } + { + // optional .agent.Target.UnderlyingFSOpts ulfs = 3; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.ulfs_); + } + } + { + // uint32 num_id = 1; + if (this_._internal_num_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_num_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Target::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); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:agent.Target) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_path().empty()) { + _this->_internal_set_path(from._internal_path()); + } + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.ulfs_ != nullptr); + if (_this->_impl_.ulfs_ == nullptr) { + _this->_impl_.ulfs_ = + ::google::protobuf::Message::CopyConstruct<::agent::Target_UnderlyingFSOpts>(arena, *from._impl_.ulfs_); + } else { + _this->_impl_.ulfs_->MergeFrom(*from._impl_.ulfs_); + } + } + if (from._internal_num_id() != 0) { + _this->_impl_.num_id_ = from._impl_.num_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Target::CopyFrom(const Target& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:agent.Target) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Target::InternalSwap(Target* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Target, _impl_.num_id_) + + sizeof(Target::_impl_.num_id_) + - PROTOBUF_FIELD_OFFSET(Target, _impl_.ulfs_)>( + reinterpret_cast(&_impl_.ulfs_), + reinterpret_cast(&other->_impl_.ulfs_)); +} + +::google::protobuf::Metadata Target::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace agent +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_agent_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/cpp/agent.pb.h b/cpp/agent.pb.h new file mode 100644 index 0000000..8ecd815 --- /dev/null +++ b/cpp/agent.pb.h @@ -0,0 +1,7014 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: agent.proto +// Protobuf C++ Version: 5.29.2 + +#ifndef agent_2eproto_2epb_2eh +#define agent_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029002 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.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/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/map.h" // IWYU pragma: export +#include "google/protobuf/map_entry.h" +#include "google/protobuf/map_field_inl.h" +#include "google/protobuf/generated_enum_reflection.h" +#include "google/protobuf/unknown_field_set.h" +#include "beegfs.pb.h" +#include "google/protobuf/timestamp.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_agent_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_agent_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_agent_2eproto; +namespace agent { +class Agent; +struct AgentDefaultTypeInternal; +extern AgentDefaultTypeInternal _Agent_default_instance_; +class Auth; +struct AuthDefaultTypeInternal; +extern AuthDefaultTypeInternal _Auth_default_instance_; +class CancelReconciliationRequest; +struct CancelReconciliationRequestDefaultTypeInternal; +extern CancelReconciliationRequestDefaultTypeInternal _CancelReconciliationRequest_default_instance_; +class CancelReconciliationResponse; +struct CancelReconciliationResponseDefaultTypeInternal; +extern CancelReconciliationResponseDefaultTypeInternal _CancelReconciliationResponse_default_instance_; +class Filesystem; +struct FilesystemDefaultTypeInternal; +extern FilesystemDefaultTypeInternal _Filesystem_default_instance_; +class Filesystem_AgentEntry_DoNotUse; +struct Filesystem_AgentEntry_DoNotUseDefaultTypeInternal; +extern Filesystem_AgentEntry_DoNotUseDefaultTypeInternal _Filesystem_AgentEntry_DoNotUse_default_instance_; +class Filesystem_Common; +struct Filesystem_CommonDefaultTypeInternal; +extern Filesystem_CommonDefaultTypeInternal _Filesystem_Common_default_instance_; +class InstallSource; +struct InstallSourceDefaultTypeInternal; +extern InstallSourceDefaultTypeInternal _InstallSource_default_instance_; +class Nic; +struct NicDefaultTypeInternal; +extern NicDefaultTypeInternal _Nic_default_instance_; +class ReconciliationStatusRequest; +struct ReconciliationStatusRequestDefaultTypeInternal; +extern ReconciliationStatusRequestDefaultTypeInternal _ReconciliationStatusRequest_default_instance_; +class ReconciliationStatusResponse; +struct ReconciliationStatusResponseDefaultTypeInternal; +extern ReconciliationStatusResponseDefaultTypeInternal _ReconciliationStatusResponse_default_instance_; +class Service; +struct ServiceDefaultTypeInternal; +extern ServiceDefaultTypeInternal _Service_default_instance_; +class ServiceConfig; +struct ServiceConfigDefaultTypeInternal; +extern ServiceConfigDefaultTypeInternal _ServiceConfig_default_instance_; +class ServiceConfig_StringMapEntry_DoNotUse; +struct ServiceConfig_StringMapEntry_DoNotUseDefaultTypeInternal; +extern ServiceConfig_StringMapEntry_DoNotUseDefaultTypeInternal _ServiceConfig_StringMapEntry_DoNotUse_default_instance_; +class Service_ConfigEntry_DoNotUse; +struct Service_ConfigEntry_DoNotUseDefaultTypeInternal; +extern Service_ConfigEntry_DoNotUseDefaultTypeInternal _Service_ConfigEntry_DoNotUse_default_instance_; +class SourceRef; +struct SourceRefDefaultTypeInternal; +extern SourceRefDefaultTypeInternal _SourceRef_default_instance_; +class Status; +struct StatusDefaultTypeInternal; +extern StatusDefaultTypeInternal _Status_default_instance_; +class TLS; +struct TLSDefaultTypeInternal; +extern TLSDefaultTypeInternal _TLS_default_instance_; +class Target; +struct TargetDefaultTypeInternal; +extern TargetDefaultTypeInternal _Target_default_instance_; +class Target_UnderlyingFSOpts; +struct Target_UnderlyingFSOptsDefaultTypeInternal; +extern Target_UnderlyingFSOptsDefaultTypeInternal _Target_UnderlyingFSOpts_default_instance_; +class UpdateManifestRequest; +struct UpdateManifestRequestDefaultTypeInternal; +extern UpdateManifestRequestDefaultTypeInternal _UpdateManifestRequest_default_instance_; +class UpdateManifestRequest_ConfigEntry_DoNotUse; +struct UpdateManifestRequest_ConfigEntry_DoNotUseDefaultTypeInternal; +extern UpdateManifestRequest_ConfigEntry_DoNotUseDefaultTypeInternal _UpdateManifestRequest_ConfigEntry_DoNotUse_default_instance_; +class UpdateManifestResponse; +struct UpdateManifestResponseDefaultTypeInternal; +extern UpdateManifestResponseDefaultTypeInternal _UpdateManifestResponse_default_instance_; +} // namespace agent +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace agent { +enum Status_State : int { + Status_State_UNSPECIFIED = 0, + Status_State_IDLE = 1, + Status_State_APPLYING = 2, + Status_State_SUCCESS = 3, + Status_State_FAILED = 4, + Status_State_CANCELLED = 5, + Status_State_Status_State_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + Status_State_Status_State_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool Status_State_IsValid(int value); +extern const uint32_t Status_State_internal_data_[]; +constexpr Status_State Status_State_State_MIN = static_cast(0); +constexpr Status_State Status_State_State_MAX = static_cast(5); +constexpr int Status_State_State_ARRAYSIZE = 5 + 1; +const ::google::protobuf::EnumDescriptor* +Status_State_descriptor(); +template +const std::string& Status_State_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to State_Name()."); + return Status_State_Name(static_cast(value)); +} +template <> +inline const std::string& Status_State_Name(Status_State value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool Status_State_Parse(absl::string_view name, Status_State* value) { + return ::google::protobuf::internal::ParseNamedEnum( + Status_State_descriptor(), name, value); +} +enum Target_UnderlyingFSOpts_FsType : int { + Target_UnderlyingFSOpts_FsType_UNSPECIFIED = 0, + Target_UnderlyingFSOpts_FsType_EXT4 = 1, + Target_UnderlyingFSOpts_FsType_Target_UnderlyingFSOpts_FsType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + Target_UnderlyingFSOpts_FsType_Target_UnderlyingFSOpts_FsType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool Target_UnderlyingFSOpts_FsType_IsValid(int value); +extern const uint32_t Target_UnderlyingFSOpts_FsType_internal_data_[]; +constexpr Target_UnderlyingFSOpts_FsType Target_UnderlyingFSOpts_FsType_FsType_MIN = static_cast(0); +constexpr Target_UnderlyingFSOpts_FsType Target_UnderlyingFSOpts_FsType_FsType_MAX = static_cast(1); +constexpr int Target_UnderlyingFSOpts_FsType_FsType_ARRAYSIZE = 1 + 1; +const ::google::protobuf::EnumDescriptor* +Target_UnderlyingFSOpts_FsType_descriptor(); +template +const std::string& Target_UnderlyingFSOpts_FsType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to FsType_Name()."); + return Target_UnderlyingFSOpts_FsType_Name(static_cast(value)); +} +template <> +inline const std::string& Target_UnderlyingFSOpts_FsType_Name(Target_UnderlyingFSOpts_FsType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool Target_UnderlyingFSOpts_FsType_Parse(absl::string_view name, Target_UnderlyingFSOpts_FsType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + Target_UnderlyingFSOpts_FsType_descriptor(), name, value); +} +enum InstallType : int { + UNKNOWN = 0, + LOCAL = 1, + PACKAGE = 2, + InstallType_INT_MIN_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::min(), + InstallType_INT_MAX_SENTINEL_DO_NOT_USE_ = + std::numeric_limits<::int32_t>::max(), +}; + +bool InstallType_IsValid(int value); +extern const uint32_t InstallType_internal_data_[]; +constexpr InstallType InstallType_MIN = static_cast(0); +constexpr InstallType InstallType_MAX = static_cast(2); +constexpr int InstallType_ARRAYSIZE = 2 + 1; +const ::google::protobuf::EnumDescriptor* +InstallType_descriptor(); +template +const std::string& InstallType_Name(T value) { + static_assert(std::is_same::value || + std::is_integral::value, + "Incorrect type passed to InstallType_Name()."); + return InstallType_Name(static_cast(value)); +} +template <> +inline const std::string& InstallType_Name(InstallType value) { + return ::google::protobuf::internal::NameOfDenseEnum( + static_cast(value)); +} +inline bool InstallType_Parse(absl::string_view name, InstallType* value) { + return ::google::protobuf::internal::ParseNamedEnum( + InstallType_descriptor(), name, value); +} + +// =================================================================== + + +// ------------------------------------------------------------------- + +class UpdateManifestResponse final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.UpdateManifestResponse) */ { + public: + inline UpdateManifestResponse() : UpdateManifestResponse(nullptr) {} + ~UpdateManifestResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(UpdateManifestResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateManifestResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR UpdateManifestResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline UpdateManifestResponse(const UpdateManifestResponse& from) : UpdateManifestResponse(nullptr, from) {} + inline UpdateManifestResponse(UpdateManifestResponse&& from) noexcept + : UpdateManifestResponse(nullptr, std::move(from)) {} + inline UpdateManifestResponse& operator=(const UpdateManifestResponse& from) { + CopyFrom(from); + return *this; + } + inline UpdateManifestResponse& operator=(UpdateManifestResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const UpdateManifestResponse& default_instance() { + return *internal_default_instance(); + } + static inline const UpdateManifestResponse* internal_default_instance() { + return reinterpret_cast( + &_UpdateManifestResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(UpdateManifestResponse& a, UpdateManifestResponse& b) { a.Swap(&b); } + inline void Swap(UpdateManifestResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(UpdateManifestResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UpdateManifestResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const UpdateManifestResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const UpdateManifestResponse& from) { UpdateManifestResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(UpdateManifestResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.UpdateManifestResponse"; } + + protected: + explicit UpdateManifestResponse(::google::protobuf::Arena* arena); + UpdateManifestResponse(::google::protobuf::Arena* arena, const UpdateManifestResponse& from); + UpdateManifestResponse(::google::protobuf::Arena* arena, UpdateManifestResponse&& from) noexcept + : UpdateManifestResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAgentIdFieldNumber = 1, + }; + // string agent_id = 1; + void clear_agent_id() ; + const std::string& agent_id() const; + template + void set_agent_id(Arg_&& arg, Args_... args); + std::string* mutable_agent_id(); + PROTOBUF_NODISCARD std::string* release_agent_id(); + void set_allocated_agent_id(std::string* value); + + private: + const std::string& _internal_agent_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_agent_id( + const std::string& value); + std::string* _internal_mutable_agent_id(); + + public: + // @@protoc_insertion_point(class_scope:agent.UpdateManifestResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 45, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const UpdateManifestResponse& from_msg); + ::google::protobuf::internal::ArenaStringPtr agent_id_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class Target_UnderlyingFSOpts final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.Target.UnderlyingFSOpts) */ { + public: + inline Target_UnderlyingFSOpts() : Target_UnderlyingFSOpts(nullptr) {} + ~Target_UnderlyingFSOpts() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Target_UnderlyingFSOpts* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Target_UnderlyingFSOpts)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Target_UnderlyingFSOpts( + ::google::protobuf::internal::ConstantInitialized); + + inline Target_UnderlyingFSOpts(const Target_UnderlyingFSOpts& from) : Target_UnderlyingFSOpts(nullptr, from) {} + inline Target_UnderlyingFSOpts(Target_UnderlyingFSOpts&& from) noexcept + : Target_UnderlyingFSOpts(nullptr, std::move(from)) {} + inline Target_UnderlyingFSOpts& operator=(const Target_UnderlyingFSOpts& from) { + CopyFrom(from); + return *this; + } + inline Target_UnderlyingFSOpts& operator=(Target_UnderlyingFSOpts&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Target_UnderlyingFSOpts& default_instance() { + return *internal_default_instance(); + } + static inline const Target_UnderlyingFSOpts* internal_default_instance() { + return reinterpret_cast( + &_Target_UnderlyingFSOpts_default_instance_); + } + static constexpr int kIndexInFileMessages = 21; + friend void swap(Target_UnderlyingFSOpts& a, Target_UnderlyingFSOpts& b) { a.Swap(&b); } + inline void Swap(Target_UnderlyingFSOpts* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Target_UnderlyingFSOpts* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Target_UnderlyingFSOpts* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Target_UnderlyingFSOpts& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Target_UnderlyingFSOpts& from) { Target_UnderlyingFSOpts::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Target_UnderlyingFSOpts* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.Target.UnderlyingFSOpts"; } + + protected: + explicit Target_UnderlyingFSOpts(::google::protobuf::Arena* arena); + Target_UnderlyingFSOpts(::google::protobuf::Arena* arena, const Target_UnderlyingFSOpts& from); + Target_UnderlyingFSOpts(::google::protobuf::Arena* arena, Target_UnderlyingFSOpts&& from) noexcept + : Target_UnderlyingFSOpts(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using FsType = Target_UnderlyingFSOpts_FsType; + static constexpr FsType UNSPECIFIED = Target_UnderlyingFSOpts_FsType_UNSPECIFIED; + static constexpr FsType EXT4 = Target_UnderlyingFSOpts_FsType_EXT4; + static inline bool FsType_IsValid(int value) { + return Target_UnderlyingFSOpts_FsType_IsValid(value); + } + static constexpr FsType FsType_MIN = Target_UnderlyingFSOpts_FsType_FsType_MIN; + static constexpr FsType FsType_MAX = Target_UnderlyingFSOpts_FsType_FsType_MAX; + static constexpr int FsType_ARRAYSIZE = Target_UnderlyingFSOpts_FsType_FsType_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* FsType_descriptor() { + return Target_UnderlyingFSOpts_FsType_descriptor(); + } + template + static inline const std::string& FsType_Name(T value) { + return Target_UnderlyingFSOpts_FsType_Name(value); + } + static inline bool FsType_Parse(absl::string_view name, FsType* value) { + return Target_UnderlyingFSOpts_FsType_Parse(name, value); + } + + // accessors ------------------------------------------------------- + enum : int { + kDeviceFieldNumber = 1, + kFormatFlagsFieldNumber = 3, + kMountFlagsFieldNumber = 4, + kTypeFieldNumber = 2, + }; + // string device = 1; + void clear_device() ; + const std::string& device() const; + template + void set_device(Arg_&& arg, Args_... args); + std::string* mutable_device(); + PROTOBUF_NODISCARD std::string* release_device(); + void set_allocated_device(std::string* value); + + private: + const std::string& _internal_device() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_device( + const std::string& value); + std::string* _internal_mutable_device(); + + public: + // string format_flags = 3; + void clear_format_flags() ; + const std::string& format_flags() const; + template + void set_format_flags(Arg_&& arg, Args_... args); + std::string* mutable_format_flags(); + PROTOBUF_NODISCARD std::string* release_format_flags(); + void set_allocated_format_flags(std::string* value); + + private: + const std::string& _internal_format_flags() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_format_flags( + const std::string& value); + std::string* _internal_mutable_format_flags(); + + public: + // string mount_flags = 4; + void clear_mount_flags() ; + const std::string& mount_flags() const; + template + void set_mount_flags(Arg_&& arg, Args_... args); + std::string* mutable_mount_flags(); + PROTOBUF_NODISCARD std::string* release_mount_flags(); + void set_allocated_mount_flags(std::string* value); + + private: + const std::string& _internal_mount_flags() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_mount_flags( + const std::string& value); + std::string* _internal_mutable_mount_flags(); + + public: + // .agent.Target.UnderlyingFSOpts.FsType type = 2; + void clear_type() ; + ::agent::Target_UnderlyingFSOpts_FsType type() const; + void set_type(::agent::Target_UnderlyingFSOpts_FsType value); + + private: + ::agent::Target_UnderlyingFSOpts_FsType _internal_type() const; + void _internal_set_type(::agent::Target_UnderlyingFSOpts_FsType value); + + public: + // @@protoc_insertion_point(class_scope:agent.Target.UnderlyingFSOpts) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 0, + 67, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Target_UnderlyingFSOpts& from_msg); + ::google::protobuf::internal::ArenaStringPtr device_; + ::google::protobuf::internal::ArenaStringPtr format_flags_; + ::google::protobuf::internal::ArenaStringPtr mount_flags_; + int type_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class TLS final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.TLS) */ { + public: + inline TLS() : TLS(nullptr) {} + ~TLS() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(TLS* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(TLS)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR TLS( + ::google::protobuf::internal::ConstantInitialized); + + inline TLS(const TLS& from) : TLS(nullptr, from) {} + inline TLS(TLS&& from) noexcept + : TLS(nullptr, std::move(from)) {} + inline TLS& operator=(const TLS& from) { + CopyFrom(from); + return *this; + } + inline TLS& operator=(TLS&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const TLS& default_instance() { + return *internal_default_instance(); + } + static inline const TLS* internal_default_instance() { + return reinterpret_cast( + &_TLS_default_instance_); + } + static constexpr int kIndexInFileMessages = 12; + friend void swap(TLS& a, TLS& b) { a.Swap(&b); } + inline void Swap(TLS* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(TLS* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + TLS* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const TLS& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const TLS& from) { TLS::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(TLS* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.TLS"; } + + protected: + explicit TLS(::google::protobuf::Arena* arena); + TLS(::google::protobuf::Arena* arena, const TLS& from); + TLS(::google::protobuf::Arena* arena, TLS&& from) noexcept + : TLS(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kKeyFieldNumber = 1, + kCertFieldNumber = 2, + }; + // string key = 1; + void clear_key() ; + const std::string& key() const; + template + void set_key(Arg_&& arg, Args_... args); + std::string* mutable_key(); + PROTOBUF_NODISCARD std::string* release_key(); + void set_allocated_key(std::string* value); + + private: + const std::string& _internal_key() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_key( + const std::string& value); + std::string* _internal_mutable_key(); + + public: + // string cert = 2; + void clear_cert() ; + const std::string& cert() const; + template + void set_cert(Arg_&& arg, Args_... args); + std::string* mutable_cert(); + PROTOBUF_NODISCARD std::string* release_cert(); + void set_allocated_cert(std::string* value); + + private: + const std::string& _internal_cert() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_cert( + const std::string& value); + std::string* _internal_mutable_cert(); + + public: + // @@protoc_insertion_point(class_scope:agent.TLS) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 25, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const TLS& from_msg); + ::google::protobuf::internal::ArenaStringPtr key_; + ::google::protobuf::internal::ArenaStringPtr cert_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class SourceRef final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.SourceRef) */ { + public: + inline SourceRef() : SourceRef(nullptr) {} + ~SourceRef() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(SourceRef* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(SourceRef)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR SourceRef( + ::google::protobuf::internal::ConstantInitialized); + + inline SourceRef(const SourceRef& from) : SourceRef(nullptr, from) {} + inline SourceRef(SourceRef&& from) noexcept + : SourceRef(nullptr, std::move(from)) {} + inline SourceRef& operator=(const SourceRef& from) { + CopyFrom(from); + return *this; + } + inline SourceRef& operator=(SourceRef&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const SourceRef& default_instance() { + return *internal_default_instance(); + } + static inline const SourceRef* internal_default_instance() { + return reinterpret_cast( + &_SourceRef_default_instance_); + } + static constexpr int kIndexInFileMessages = 14; + friend void swap(SourceRef& a, SourceRef& b) { a.Swap(&b); } + inline void Swap(SourceRef* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(SourceRef* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SourceRef* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const SourceRef& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const SourceRef& from) { SourceRef::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(SourceRef* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.SourceRef"; } + + protected: + explicit SourceRef(::google::protobuf::Arena* arena); + SourceRef(::google::protobuf::Arena* arena, const SourceRef& from); + SourceRef(::google::protobuf::Arena* arena, SourceRef&& from) noexcept + : SourceRef(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRefFieldNumber = 2, + kServiceTypeFieldNumber = 1, + }; + // string ref = 2; + void clear_ref() ; + const std::string& ref() const; + template + void set_ref(Arg_&& arg, Args_... args); + std::string* mutable_ref(); + PROTOBUF_NODISCARD std::string* release_ref(); + void set_allocated_ref(std::string* value); + + private: + const std::string& _internal_ref() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_ref( + const std::string& value); + std::string* _internal_mutable_ref(); + + public: + // .beegfs.NodeType service_type = 1; + void clear_service_type() ; + ::beegfs::NodeType service_type() const; + void set_service_type(::beegfs::NodeType value); + + private: + ::beegfs::NodeType _internal_service_type() const; + void _internal_set_service_type(::beegfs::NodeType value); + + public: + // @@protoc_insertion_point(class_scope:agent.SourceRef) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 27, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const SourceRef& from_msg); + ::google::protobuf::internal::ArenaStringPtr ref_; + int service_type_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class ServiceConfig_StringMapEntry_DoNotUse final + : public ::google::protobuf::internal::MapEntry< + std::string, std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING> { + public: + using SuperType = ::google::protobuf::internal::MapEntry< + std::string, std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING>; + ServiceConfig_StringMapEntry_DoNotUse(); + template + explicit PROTOBUF_CONSTEXPR ServiceConfig_StringMapEntry_DoNotUse( + ::google::protobuf::internal::ConstantInitialized); + explicit ServiceConfig_StringMapEntry_DoNotUse(::google::protobuf::Arena* arena); + static const ServiceConfig_StringMapEntry_DoNotUse* internal_default_instance() { + return reinterpret_cast( + &_ServiceConfig_StringMapEntry_DoNotUse_default_instance_); + } + + + private: + friend class ::google::protobuf::MessageLite; + friend struct ::TableStruct_agent_2eproto; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 51, 2> + _table_; + + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; +}; +// ------------------------------------------------------------------- + +class Service_ConfigEntry_DoNotUse final + : public ::google::protobuf::internal::MapEntry< + std::string, std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING> { + public: + using SuperType = ::google::protobuf::internal::MapEntry< + std::string, std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING>; + Service_ConfigEntry_DoNotUse(); + template + explicit PROTOBUF_CONSTEXPR Service_ConfigEntry_DoNotUse( + ::google::protobuf::internal::ConstantInitialized); + explicit Service_ConfigEntry_DoNotUse(::google::protobuf::Arena* arena); + static const Service_ConfigEntry_DoNotUse* internal_default_instance() { + return reinterpret_cast( + &_Service_ConfigEntry_DoNotUse_default_instance_); + } + + + private: + friend class ::google::protobuf::MessageLite; + friend struct ::TableStruct_agent_2eproto; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 42, 2> + _table_; + + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; +}; +// ------------------------------------------------------------------- + +class ReconciliationStatusRequest final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.ReconciliationStatusRequest) */ { + public: + inline ReconciliationStatusRequest() : ReconciliationStatusRequest(nullptr) {} + ~ReconciliationStatusRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ReconciliationStatusRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ReconciliationStatusRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ReconciliationStatusRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline ReconciliationStatusRequest(const ReconciliationStatusRequest& from) : ReconciliationStatusRequest(nullptr, from) {} + inline ReconciliationStatusRequest(ReconciliationStatusRequest&& from) noexcept + : ReconciliationStatusRequest(nullptr, std::move(from)) {} + inline ReconciliationStatusRequest& operator=(const ReconciliationStatusRequest& from) { + CopyFrom(from); + return *this; + } + inline ReconciliationStatusRequest& operator=(ReconciliationStatusRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReconciliationStatusRequest& default_instance() { + return *internal_default_instance(); + } + static inline const ReconciliationStatusRequest* internal_default_instance() { + return reinterpret_cast( + &_ReconciliationStatusRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(ReconciliationStatusRequest& a, ReconciliationStatusRequest& b) { a.Swap(&b); } + inline void Swap(ReconciliationStatusRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReconciliationStatusRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReconciliationStatusRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ReconciliationStatusRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ReconciliationStatusRequest& from) { ReconciliationStatusRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ReconciliationStatusRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.ReconciliationStatusRequest"; } + + protected: + explicit ReconciliationStatusRequest(::google::protobuf::Arena* arena); + ReconciliationStatusRequest(::google::protobuf::Arena* arena, const ReconciliationStatusRequest& from); + ReconciliationStatusRequest(::google::protobuf::Arena* arena, ReconciliationStatusRequest&& from) noexcept + : ReconciliationStatusRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAgentIdFieldNumber = 1, + }; + // string agent_id = 1; + void clear_agent_id() ; + const std::string& agent_id() const; + template + void set_agent_id(Arg_&& arg, Args_... args); + std::string* mutable_agent_id(); + PROTOBUF_NODISCARD std::string* release_agent_id(); + void set_allocated_agent_id(std::string* value); + + private: + const std::string& _internal_agent_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_agent_id( + const std::string& value); + std::string* _internal_mutable_agent_id(); + + public: + // @@protoc_insertion_point(class_scope:agent.ReconciliationStatusRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 50, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ReconciliationStatusRequest& from_msg); + ::google::protobuf::internal::ArenaStringPtr agent_id_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class Nic final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.Nic) */ { + public: + inline Nic() : Nic(nullptr) {} + ~Nic() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Nic* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Nic)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Nic( + ::google::protobuf::internal::ConstantInitialized); + + inline Nic(const Nic& from) : Nic(nullptr, from) {} + inline Nic(Nic&& from) noexcept + : Nic(nullptr, std::move(from)) {} + inline Nic& operator=(const Nic& from) { + CopyFrom(from); + return *this; + } + inline Nic& operator=(Nic&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Nic& default_instance() { + return *internal_default_instance(); + } + static inline const Nic* internal_default_instance() { + return reinterpret_cast( + &_Nic_default_instance_); + } + static constexpr int kIndexInFileMessages = 20; + friend void swap(Nic& a, Nic& b) { a.Swap(&b); } + inline void Swap(Nic* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Nic* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Nic* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Nic& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Nic& from) { Nic::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Nic* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.Nic"; } + + protected: + explicit Nic(::google::protobuf::Arena* arena); + Nic(::google::protobuf::Arena* arena, const Nic& from); + Nic(::google::protobuf::Arena* arena, Nic&& from) noexcept + : Nic(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kNameFieldNumber = 1, + kAddrFieldNumber = 2, + }; + // string name = 1; + void clear_name() ; + const std::string& name() const; + template + void set_name(Arg_&& arg, Args_... args); + std::string* mutable_name(); + PROTOBUF_NODISCARD std::string* release_name(); + void set_allocated_name(std::string* value); + + private: + const std::string& _internal_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( + const std::string& value); + std::string* _internal_mutable_name(); + + public: + // string addr = 2; + void clear_addr() ; + const std::string& addr() const; + template + void set_addr(Arg_&& arg, Args_... args); + std::string* mutable_addr(); + PROTOBUF_NODISCARD std::string* release_addr(); + void set_allocated_addr(std::string* value); + + private: + const std::string& _internal_addr() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_addr( + const std::string& value); + std::string* _internal_mutable_addr(); + + public: + // @@protoc_insertion_point(class_scope:agent.Nic) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 26, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Nic& from_msg); + ::google::protobuf::internal::ArenaStringPtr name_; + ::google::protobuf::internal::ArenaStringPtr addr_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class CancelReconciliationRequest final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.CancelReconciliationRequest) */ { + public: + inline CancelReconciliationRequest() : CancelReconciliationRequest(nullptr) {} + ~CancelReconciliationRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CancelReconciliationRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CancelReconciliationRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR CancelReconciliationRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline CancelReconciliationRequest(const CancelReconciliationRequest& from) : CancelReconciliationRequest(nullptr, from) {} + inline CancelReconciliationRequest(CancelReconciliationRequest&& from) noexcept + : CancelReconciliationRequest(nullptr, std::move(from)) {} + inline CancelReconciliationRequest& operator=(const CancelReconciliationRequest& from) { + CopyFrom(from); + return *this; + } + inline CancelReconciliationRequest& operator=(CancelReconciliationRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CancelReconciliationRequest& default_instance() { + return *internal_default_instance(); + } + static inline const CancelReconciliationRequest* internal_default_instance() { + return reinterpret_cast( + &_CancelReconciliationRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(CancelReconciliationRequest& a, CancelReconciliationRequest& b) { a.Swap(&b); } + inline void Swap(CancelReconciliationRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CancelReconciliationRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CancelReconciliationRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CancelReconciliationRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CancelReconciliationRequest& from) { CancelReconciliationRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CancelReconciliationRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.CancelReconciliationRequest"; } + + protected: + explicit CancelReconciliationRequest(::google::protobuf::Arena* arena); + CancelReconciliationRequest(::google::protobuf::Arena* arena, const CancelReconciliationRequest& from); + CancelReconciliationRequest(::google::protobuf::Arena* arena, CancelReconciliationRequest&& from) noexcept + : CancelReconciliationRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAgentIdFieldNumber = 1, + kReasonFieldNumber = 2, + }; + // string agent_id = 1; + void clear_agent_id() ; + const std::string& agent_id() const; + template + void set_agent_id(Arg_&& arg, Args_... args); + std::string* mutable_agent_id(); + PROTOBUF_NODISCARD std::string* release_agent_id(); + void set_allocated_agent_id(std::string* value); + + private: + const std::string& _internal_agent_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_agent_id( + const std::string& value); + std::string* _internal_mutable_agent_id(); + + public: + // string reason = 2; + void clear_reason() ; + const std::string& reason() const; + template + void set_reason(Arg_&& arg, Args_... args); + std::string* mutable_reason(); + PROTOBUF_NODISCARD std::string* release_reason(); + void set_allocated_reason(std::string* value); + + private: + const std::string& _internal_reason() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_reason( + const std::string& value); + std::string* _internal_mutable_reason(); + + public: + // @@protoc_insertion_point(class_scope:agent.CancelReconciliationRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 56, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CancelReconciliationRequest& from_msg); + ::google::protobuf::internal::ArenaStringPtr agent_id_; + ::google::protobuf::internal::ArenaStringPtr reason_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class Auth final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.Auth) */ { + public: + inline Auth() : Auth(nullptr) {} + ~Auth() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Auth* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Auth)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Auth( + ::google::protobuf::internal::ConstantInitialized); + + inline Auth(const Auth& from) : Auth(nullptr, from) {} + inline Auth(Auth&& from) noexcept + : Auth(nullptr, std::move(from)) {} + inline Auth& operator=(const Auth& from) { + CopyFrom(from); + return *this; + } + inline Auth& operator=(Auth&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Auth& default_instance() { + return *internal_default_instance(); + } + static inline const Auth* internal_default_instance() { + return reinterpret_cast( + &_Auth_default_instance_); + } + static constexpr int kIndexInFileMessages = 11; + friend void swap(Auth& a, Auth& b) { a.Swap(&b); } + inline void Swap(Auth* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Auth* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Auth* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Auth& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Auth& from) { Auth::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Auth* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.Auth"; } + + protected: + explicit Auth(::google::protobuf::Arena* arena); + Auth(::google::protobuf::Arena* arena, const Auth& from); + Auth(::google::protobuf::Arena* arena, Auth&& from) noexcept + : Auth(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kSecretFieldNumber = 1, + }; + // string secret = 1; + void clear_secret() ; + const std::string& secret() const; + template + void set_secret(Arg_&& arg, Args_... args); + std::string* mutable_secret(); + PROTOBUF_NODISCARD std::string* release_secret(); + void set_allocated_secret(std::string* value); + + private: + const std::string& _internal_secret() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_secret( + const std::string& value); + std::string* _internal_mutable_secret(); + + public: + // @@protoc_insertion_point(class_scope:agent.Auth) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 25, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Auth& from_msg); + ::google::protobuf::internal::ArenaStringPtr secret_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class Target final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.Target) */ { + public: + inline Target() : Target(nullptr) {} + ~Target() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Target* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Target)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Target( + ::google::protobuf::internal::ConstantInitialized); + + inline Target(const Target& from) : Target(nullptr, from) {} + inline Target(Target&& from) noexcept + : Target(nullptr, std::move(from)) {} + inline Target& operator=(const Target& from) { + CopyFrom(from); + return *this; + } + inline Target& operator=(Target&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Target& default_instance() { + return *internal_default_instance(); + } + static inline const Target* internal_default_instance() { + return reinterpret_cast( + &_Target_default_instance_); + } + static constexpr int kIndexInFileMessages = 22; + friend void swap(Target& a, Target& b) { a.Swap(&b); } + inline void Swap(Target* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Target* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Target* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Target& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Target& from) { Target::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Target* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.Target"; } + + protected: + explicit Target(::google::protobuf::Arena* arena); + Target(::google::protobuf::Arena* arena, const Target& from); + Target(::google::protobuf::Arena* arena, Target&& from) noexcept + : Target(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using UnderlyingFSOpts = Target_UnderlyingFSOpts; + + // accessors ------------------------------------------------------- + enum : int { + kPathFieldNumber = 2, + kUlfsFieldNumber = 3, + kNumIdFieldNumber = 1, + }; + // string path = 2; + void clear_path() ; + const std::string& path() const; + template + void set_path(Arg_&& arg, Args_... args); + std::string* mutable_path(); + PROTOBUF_NODISCARD std::string* release_path(); + void set_allocated_path(std::string* value); + + private: + const std::string& _internal_path() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( + const std::string& value); + std::string* _internal_mutable_path(); + + public: + // optional .agent.Target.UnderlyingFSOpts ulfs = 3; + bool has_ulfs() const; + void clear_ulfs() ; + const ::agent::Target_UnderlyingFSOpts& ulfs() const; + PROTOBUF_NODISCARD ::agent::Target_UnderlyingFSOpts* release_ulfs(); + ::agent::Target_UnderlyingFSOpts* mutable_ulfs(); + void set_allocated_ulfs(::agent::Target_UnderlyingFSOpts* value); + void unsafe_arena_set_allocated_ulfs(::agent::Target_UnderlyingFSOpts* value); + ::agent::Target_UnderlyingFSOpts* unsafe_arena_release_ulfs(); + + private: + const ::agent::Target_UnderlyingFSOpts& _internal_ulfs() const; + ::agent::Target_UnderlyingFSOpts* _internal_mutable_ulfs(); + + public: + // uint32 num_id = 1; + void clear_num_id() ; + ::uint32_t num_id() const; + void set_num_id(::uint32_t value); + + private: + ::uint32_t _internal_num_id() const; + void _internal_set_num_id(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:agent.Target) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 1, + 25, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Target& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr path_; + ::agent::Target_UnderlyingFSOpts* ulfs_; + ::uint32_t num_id_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class Status final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.Status) */ { + public: + inline Status() : Status(nullptr) {} + ~Status() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Status* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Status)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Status( + ::google::protobuf::internal::ConstantInitialized); + + inline Status(const Status& from) : Status(nullptr, from) {} + inline Status(Status&& from) noexcept + : Status(nullptr, std::move(from)) {} + inline Status& operator=(const Status& from) { + CopyFrom(from); + return *this; + } + inline Status& operator=(Status&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Status& default_instance() { + return *internal_default_instance(); + } + static inline const Status* internal_default_instance() { + return reinterpret_cast( + &_Status_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(Status& a, Status& b) { a.Swap(&b); } + inline void Swap(Status* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Status* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Status* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Status& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Status& from) { Status::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Status* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.Status"; } + + protected: + explicit Status(::google::protobuf::Arena* arena); + Status(::google::protobuf::Arena* arena, const Status& from); + Status(::google::protobuf::Arena* arena, Status&& from) noexcept + : Status(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using State = Status_State; + static constexpr State UNSPECIFIED = Status_State_UNSPECIFIED; + static constexpr State IDLE = Status_State_IDLE; + static constexpr State APPLYING = Status_State_APPLYING; + static constexpr State SUCCESS = Status_State_SUCCESS; + static constexpr State FAILED = Status_State_FAILED; + static constexpr State CANCELLED = Status_State_CANCELLED; + static inline bool State_IsValid(int value) { + return Status_State_IsValid(value); + } + static constexpr State State_MIN = Status_State_State_MIN; + static constexpr State State_MAX = Status_State_State_MAX; + static constexpr int State_ARRAYSIZE = Status_State_State_ARRAYSIZE; + static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { + return Status_State_descriptor(); + } + template + static inline const std::string& State_Name(T value) { + return Status_State_Name(value); + } + static inline bool State_Parse(absl::string_view name, State* value) { + return Status_State_Parse(name, value); + } + + // accessors ------------------------------------------------------- + enum : int { + kMessagesFieldNumber = 2, + kUpdatedFieldNumber = 3, + kStateFieldNumber = 1, + }; + // repeated string messages = 2; + int messages_size() const; + private: + int _internal_messages_size() const; + + public: + void clear_messages() ; + const std::string& messages(int index) const; + std::string* mutable_messages(int index); + template + void set_messages(int index, Arg_&& value, Args_... args); + std::string* add_messages(); + template + void add_messages(Arg_&& value, Args_... args); + const ::google::protobuf::RepeatedPtrField& messages() const; + ::google::protobuf::RepeatedPtrField* mutable_messages(); + + private: + const ::google::protobuf::RepeatedPtrField& _internal_messages() const; + ::google::protobuf::RepeatedPtrField* _internal_mutable_messages(); + + public: + // .google.protobuf.Timestamp updated = 3; + bool has_updated() const; + void clear_updated() ; + const ::google::protobuf::Timestamp& updated() const; + PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_updated(); + ::google::protobuf::Timestamp* mutable_updated(); + void set_allocated_updated(::google::protobuf::Timestamp* value); + void unsafe_arena_set_allocated_updated(::google::protobuf::Timestamp* value); + ::google::protobuf::Timestamp* unsafe_arena_release_updated(); + + private: + const ::google::protobuf::Timestamp& _internal_updated() const; + ::google::protobuf::Timestamp* _internal_mutable_updated(); + + public: + // .agent.Status.State state = 1; + void clear_state() ; + ::agent::Status_State state() const; + void set_state(::agent::Status_State value); + + private: + ::agent::Status_State _internal_state() const; + void _internal_set_state(::agent::Status_State value); + + public: + // @@protoc_insertion_point(class_scope:agent.Status) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 1, + 29, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Status& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField messages_; + ::google::protobuf::Timestamp* updated_; + int state_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class ServiceConfig final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.ServiceConfig) */ { + public: + inline ServiceConfig() : ServiceConfig(nullptr) {} + ~ServiceConfig() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ServiceConfig* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ServiceConfig)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ServiceConfig( + ::google::protobuf::internal::ConstantInitialized); + + inline ServiceConfig(const ServiceConfig& from) : ServiceConfig(nullptr, from) {} + inline ServiceConfig(ServiceConfig&& from) noexcept + : ServiceConfig(nullptr, std::move(from)) {} + inline ServiceConfig& operator=(const ServiceConfig& from) { + CopyFrom(from); + return *this; + } + inline ServiceConfig& operator=(ServiceConfig&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ServiceConfig& default_instance() { + return *internal_default_instance(); + } + static inline const ServiceConfig* internal_default_instance() { + return reinterpret_cast( + &_ServiceConfig_default_instance_); + } + static constexpr int kIndexInFileMessages = 16; + friend void swap(ServiceConfig& a, ServiceConfig& b) { a.Swap(&b); } + inline void Swap(ServiceConfig* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ServiceConfig* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ServiceConfig* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ServiceConfig& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ServiceConfig& from) { ServiceConfig::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ServiceConfig* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.ServiceConfig"; } + + protected: + explicit ServiceConfig(::google::protobuf::Arena* arena); + ServiceConfig(::google::protobuf::Arena* arena, const ServiceConfig& from); + ServiceConfig(::google::protobuf::Arena* arena, ServiceConfig&& from) noexcept + : ServiceConfig(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kStringMapFieldNumber = 2, + kServiceTypeFieldNumber = 1, + }; + // map string_map = 2; + int string_map_size() const; + private: + int _internal_string_map_size() const; + + public: + void clear_string_map() ; + const ::google::protobuf::Map& string_map() const; + ::google::protobuf::Map* mutable_string_map(); + + private: + const ::google::protobuf::Map& _internal_string_map() const; + ::google::protobuf::Map* _internal_mutable_string_map(); + + public: + // .beegfs.NodeType service_type = 1; + void clear_service_type() ; + ::beegfs::NodeType service_type() const; + void set_service_type(::beegfs::NodeType value); + + private: + ::beegfs::NodeType _internal_service_type() const; + void _internal_set_service_type(::beegfs::NodeType value); + + public: + // @@protoc_insertion_point(class_scope:agent.ServiceConfig) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 1, + 38, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ServiceConfig& from_msg); + ::google::protobuf::internal::MapField + string_map_; + int service_type_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class InstallSource final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.InstallSource) */ { + public: + inline InstallSource() : InstallSource(nullptr) {} + ~InstallSource() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(InstallSource* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(InstallSource)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR InstallSource( + ::google::protobuf::internal::ConstantInitialized); + + inline InstallSource(const InstallSource& from) : InstallSource(nullptr, from) {} + inline InstallSource(InstallSource&& from) noexcept + : InstallSource(nullptr, std::move(from)) {} + inline InstallSource& operator=(const InstallSource& from) { + CopyFrom(from); + return *this; + } + inline InstallSource& operator=(InstallSource&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const InstallSource& default_instance() { + return *internal_default_instance(); + } + static inline const InstallSource* internal_default_instance() { + return reinterpret_cast( + &_InstallSource_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(InstallSource& a, InstallSource& b) { a.Swap(&b); } + inline void Swap(InstallSource* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(InstallSource* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + InstallSource* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const InstallSource& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const InstallSource& from) { InstallSource::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(InstallSource* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.InstallSource"; } + + protected: + explicit InstallSource(::google::protobuf::Arena* arena); + InstallSource(::google::protobuf::Arena* arena, const InstallSource& from); + InstallSource(::google::protobuf::Arena* arena, InstallSource&& from) noexcept + : InstallSource(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kRefsFieldNumber = 3, + kRepoFieldNumber = 2, + kTypeFieldNumber = 1, + }; + // repeated .agent.SourceRef refs = 3; + int refs_size() const; + private: + int _internal_refs_size() const; + + public: + void clear_refs() ; + ::agent::SourceRef* mutable_refs(int index); + ::google::protobuf::RepeatedPtrField<::agent::SourceRef>* mutable_refs(); + + private: + const ::google::protobuf::RepeatedPtrField<::agent::SourceRef>& _internal_refs() const; + ::google::protobuf::RepeatedPtrField<::agent::SourceRef>* _internal_mutable_refs(); + public: + const ::agent::SourceRef& refs(int index) const; + ::agent::SourceRef* add_refs(); + const ::google::protobuf::RepeatedPtrField<::agent::SourceRef>& refs() const; + // string repo = 2; + void clear_repo() ; + const std::string& repo() const; + template + void set_repo(Arg_&& arg, Args_... args); + std::string* mutable_repo(); + PROTOBUF_NODISCARD std::string* release_repo(); + void set_allocated_repo(std::string* value); + + private: + const std::string& _internal_repo() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_repo( + const std::string& value); + std::string* _internal_mutable_repo(); + + public: + // .agent.InstallType type = 1; + void clear_type() ; + ::agent::InstallType type() const; + void set_type(::agent::InstallType value); + + private: + ::agent::InstallType _internal_type() const; + void _internal_set_type(::agent::InstallType value); + + public: + // @@protoc_insertion_point(class_scope:agent.InstallSource) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 1, + 32, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const InstallSource& from_msg); + ::google::protobuf::RepeatedPtrField< ::agent::SourceRef > refs_; + ::google::protobuf::internal::ArenaStringPtr repo_; + int type_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class Service final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.Service) */ { + public: + inline Service() : Service(nullptr) {} + ~Service() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Service* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Service)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Service( + ::google::protobuf::internal::ConstantInitialized); + + inline Service(const Service& from) : Service(nullptr, from) {} + inline Service(Service&& from) noexcept + : Service(nullptr, std::move(from)) {} + inline Service& operator=(const Service& from) { + CopyFrom(from); + return *this; + } + inline Service& operator=(Service&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Service& default_instance() { + return *internal_default_instance(); + } + static inline const Service* internal_default_instance() { + return reinterpret_cast( + &_Service_default_instance_); + } + static constexpr int kIndexInFileMessages = 19; + friend void swap(Service& a, Service& b) { a.Swap(&b); } + inline void Swap(Service* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Service* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Service* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Service& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Service& from) { Service::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Service* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.Service"; } + + protected: + explicit Service(::google::protobuf::Arena* arena); + Service(::google::protobuf::Arena* arena, const Service& from); + Service(::google::protobuf::Arena* arena, Service&& from) noexcept + : Service(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kConfigFieldNumber = 3, + kInterfacesFieldNumber = 4, + kTargetsFieldNumber = 5, + kExecutableFieldNumber = 6, + kNumIdFieldNumber = 1, + kServiceTypeFieldNumber = 2, + }; + // map config = 3; + int config_size() const; + private: + int _internal_config_size() const; + + public: + void clear_config() ; + const ::google::protobuf::Map& config() const; + ::google::protobuf::Map* mutable_config(); + + private: + const ::google::protobuf::Map& _internal_config() const; + ::google::protobuf::Map* _internal_mutable_config(); + + public: + // repeated .agent.Nic interfaces = 4; + int interfaces_size() const; + private: + int _internal_interfaces_size() const; + + public: + void clear_interfaces() ; + ::agent::Nic* mutable_interfaces(int index); + ::google::protobuf::RepeatedPtrField<::agent::Nic>* mutable_interfaces(); + + private: + const ::google::protobuf::RepeatedPtrField<::agent::Nic>& _internal_interfaces() const; + ::google::protobuf::RepeatedPtrField<::agent::Nic>* _internal_mutable_interfaces(); + public: + const ::agent::Nic& interfaces(int index) const; + ::agent::Nic* add_interfaces(); + const ::google::protobuf::RepeatedPtrField<::agent::Nic>& interfaces() const; + // repeated .agent.Target targets = 5; + int targets_size() const; + private: + int _internal_targets_size() const; + + public: + void clear_targets() ; + ::agent::Target* mutable_targets(int index); + ::google::protobuf::RepeatedPtrField<::agent::Target>* mutable_targets(); + + private: + const ::google::protobuf::RepeatedPtrField<::agent::Target>& _internal_targets() const; + ::google::protobuf::RepeatedPtrField<::agent::Target>* _internal_mutable_targets(); + public: + const ::agent::Target& targets(int index) const; + ::agent::Target* add_targets(); + const ::google::protobuf::RepeatedPtrField<::agent::Target>& targets() const; + // string executable = 6; + void clear_executable() ; + const std::string& executable() const; + template + void set_executable(Arg_&& arg, Args_... args); + std::string* mutable_executable(); + PROTOBUF_NODISCARD std::string* release_executable(); + void set_allocated_executable(std::string* value); + + private: + const std::string& _internal_executable() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_executable( + const std::string& value); + std::string* _internal_mutable_executable(); + + public: + // uint32 num_id = 1; + void clear_num_id() ; + ::uint32_t num_id() const; + void set_num_id(::uint32_t value); + + private: + ::uint32_t _internal_num_id() const; + void _internal_set_num_id(::uint32_t value); + + public: + // .beegfs.NodeType service_type = 2; + void clear_service_type() ; + ::beegfs::NodeType service_type() const; + void set_service_type(::beegfs::NodeType value); + + private: + ::beegfs::NodeType _internal_service_type() const; + void _internal_set_service_type(::beegfs::NodeType value); + + public: + // @@protoc_insertion_point(class_scope:agent.Service) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 6, 3, + 38, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Service& from_msg); + ::google::protobuf::internal::MapField + config_; + ::google::protobuf::RepeatedPtrField< ::agent::Nic > interfaces_; + ::google::protobuf::RepeatedPtrField< ::agent::Target > targets_; + ::google::protobuf::internal::ArenaStringPtr executable_; + ::uint32_t num_id_; + int service_type_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class ReconciliationStatusResponse final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.ReconciliationStatusResponse) */ { + public: + inline ReconciliationStatusResponse() : ReconciliationStatusResponse(nullptr) {} + ~ReconciliationStatusResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ReconciliationStatusResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ReconciliationStatusResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ReconciliationStatusResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline ReconciliationStatusResponse(const ReconciliationStatusResponse& from) : ReconciliationStatusResponse(nullptr, from) {} + inline ReconciliationStatusResponse(ReconciliationStatusResponse&& from) noexcept + : ReconciliationStatusResponse(nullptr, std::move(from)) {} + inline ReconciliationStatusResponse& operator=(const ReconciliationStatusResponse& from) { + CopyFrom(from); + return *this; + } + inline ReconciliationStatusResponse& operator=(ReconciliationStatusResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ReconciliationStatusResponse& default_instance() { + return *internal_default_instance(); + } + static inline const ReconciliationStatusResponse* internal_default_instance() { + return reinterpret_cast( + &_ReconciliationStatusResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(ReconciliationStatusResponse& a, ReconciliationStatusResponse& b) { a.Swap(&b); } + inline void Swap(ReconciliationStatusResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ReconciliationStatusResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ReconciliationStatusResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ReconciliationStatusResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ReconciliationStatusResponse& from) { ReconciliationStatusResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ReconciliationStatusResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.ReconciliationStatusResponse"; } + + protected: + explicit ReconciliationStatusResponse(::google::protobuf::Arena* arena); + ReconciliationStatusResponse(::google::protobuf::Arena* arena, const ReconciliationStatusResponse& from); + ReconciliationStatusResponse(::google::protobuf::Arena* arena, ReconciliationStatusResponse&& from) noexcept + : ReconciliationStatusResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAgentIdFieldNumber = 1, + kStatusFieldNumber = 2, + }; + // string agent_id = 1; + void clear_agent_id() ; + const std::string& agent_id() const; + template + void set_agent_id(Arg_&& arg, Args_... args); + std::string* mutable_agent_id(); + PROTOBUF_NODISCARD std::string* release_agent_id(); + void set_allocated_agent_id(std::string* value); + + private: + const std::string& _internal_agent_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_agent_id( + const std::string& value); + std::string* _internal_mutable_agent_id(); + + public: + // .agent.Status status = 2; + bool has_status() const; + void clear_status() ; + const ::agent::Status& status() const; + PROTOBUF_NODISCARD ::agent::Status* release_status(); + ::agent::Status* mutable_status(); + void set_allocated_status(::agent::Status* value); + void unsafe_arena_set_allocated_status(::agent::Status* value); + ::agent::Status* unsafe_arena_release_status(); + + private: + const ::agent::Status& _internal_status() const; + ::agent::Status* _internal_mutable_status(); + + public: + // @@protoc_insertion_point(class_scope:agent.ReconciliationStatusResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 51, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ReconciliationStatusResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr agent_id_; + ::agent::Status* status_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class Filesystem_Common final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.Filesystem.Common) */ { + public: + inline Filesystem_Common() : Filesystem_Common(nullptr) {} + ~Filesystem_Common() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Filesystem_Common* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Filesystem_Common)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Filesystem_Common( + ::google::protobuf::internal::ConstantInitialized); + + inline Filesystem_Common(const Filesystem_Common& from) : Filesystem_Common(nullptr, from) {} + inline Filesystem_Common(Filesystem_Common&& from) noexcept + : Filesystem_Common(nullptr, std::move(from)) {} + inline Filesystem_Common& operator=(const Filesystem_Common& from) { + CopyFrom(from); + return *this; + } + inline Filesystem_Common& operator=(Filesystem_Common&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Filesystem_Common& default_instance() { + return *internal_default_instance(); + } + static inline const Filesystem_Common* internal_default_instance() { + return reinterpret_cast( + &_Filesystem_Common_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(Filesystem_Common& a, Filesystem_Common& b) { a.Swap(&b); } + inline void Swap(Filesystem_Common* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Filesystem_Common* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Filesystem_Common* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Filesystem_Common& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Filesystem_Common& from) { Filesystem_Common::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Filesystem_Common* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.Filesystem.Common"; } + + protected: + explicit Filesystem_Common(::google::protobuf::Arena* arena); + Filesystem_Common(::google::protobuf::Arena* arena, const Filesystem_Common& from); + Filesystem_Common(::google::protobuf::Arena* arena, Filesystem_Common&& from) noexcept + : Filesystem_Common(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kGlobalConfigFieldNumber = 4, + kAuthFieldNumber = 1, + kTlsFieldNumber = 2, + kInstallSourceFieldNumber = 3, + }; + // repeated .agent.ServiceConfig global_config = 4; + int global_config_size() const; + private: + int _internal_global_config_size() const; + + public: + void clear_global_config() ; + ::agent::ServiceConfig* mutable_global_config(int index); + ::google::protobuf::RepeatedPtrField<::agent::ServiceConfig>* mutable_global_config(); + + private: + const ::google::protobuf::RepeatedPtrField<::agent::ServiceConfig>& _internal_global_config() const; + ::google::protobuf::RepeatedPtrField<::agent::ServiceConfig>* _internal_mutable_global_config(); + public: + const ::agent::ServiceConfig& global_config(int index) const; + ::agent::ServiceConfig* add_global_config(); + const ::google::protobuf::RepeatedPtrField<::agent::ServiceConfig>& global_config() const; + // optional .agent.Auth auth = 1; + bool has_auth() const; + void clear_auth() ; + const ::agent::Auth& auth() const; + PROTOBUF_NODISCARD ::agent::Auth* release_auth(); + ::agent::Auth* mutable_auth(); + void set_allocated_auth(::agent::Auth* value); + void unsafe_arena_set_allocated_auth(::agent::Auth* value); + ::agent::Auth* unsafe_arena_release_auth(); + + private: + const ::agent::Auth& _internal_auth() const; + ::agent::Auth* _internal_mutable_auth(); + + public: + // optional .agent.TLS tls = 2; + bool has_tls() const; + void clear_tls() ; + const ::agent::TLS& tls() const; + PROTOBUF_NODISCARD ::agent::TLS* release_tls(); + ::agent::TLS* mutable_tls(); + void set_allocated_tls(::agent::TLS* value); + void unsafe_arena_set_allocated_tls(::agent::TLS* value); + ::agent::TLS* unsafe_arena_release_tls(); + + private: + const ::agent::TLS& _internal_tls() const; + ::agent::TLS* _internal_mutable_tls(); + + public: + // .agent.InstallSource install_source = 3; + bool has_install_source() const; + void clear_install_source() ; + const ::agent::InstallSource& install_source() const; + PROTOBUF_NODISCARD ::agent::InstallSource* release_install_source(); + ::agent::InstallSource* mutable_install_source(); + void set_allocated_install_source(::agent::InstallSource* value); + void unsafe_arena_set_allocated_install_source(::agent::InstallSource* value); + ::agent::InstallSource* unsafe_arena_release_install_source(); + + private: + const ::agent::InstallSource& _internal_install_source() const; + ::agent::InstallSource* _internal_mutable_install_source(); + + public: + // @@protoc_insertion_point(class_scope:agent.Filesystem.Common) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Filesystem_Common& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::agent::ServiceConfig > global_config_; + ::agent::Auth* auth_; + ::agent::TLS* tls_; + ::agent::InstallSource* install_source_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class CancelReconciliationResponse final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.CancelReconciliationResponse) */ { + public: + inline CancelReconciliationResponse() : CancelReconciliationResponse(nullptr) {} + ~CancelReconciliationResponse() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(CancelReconciliationResponse* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(CancelReconciliationResponse)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR CancelReconciliationResponse( + ::google::protobuf::internal::ConstantInitialized); + + inline CancelReconciliationResponse(const CancelReconciliationResponse& from) : CancelReconciliationResponse(nullptr, from) {} + inline CancelReconciliationResponse(CancelReconciliationResponse&& from) noexcept + : CancelReconciliationResponse(nullptr, std::move(from)) {} + inline CancelReconciliationResponse& operator=(const CancelReconciliationResponse& from) { + CopyFrom(from); + return *this; + } + inline CancelReconciliationResponse& operator=(CancelReconciliationResponse&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const CancelReconciliationResponse& default_instance() { + return *internal_default_instance(); + } + static inline const CancelReconciliationResponse* internal_default_instance() { + return reinterpret_cast( + &_CancelReconciliationResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(CancelReconciliationResponse& a, CancelReconciliationResponse& b) { a.Swap(&b); } + inline void Swap(CancelReconciliationResponse* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(CancelReconciliationResponse* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CancelReconciliationResponse* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const CancelReconciliationResponse& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const CancelReconciliationResponse& from) { CancelReconciliationResponse::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(CancelReconciliationResponse* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.CancelReconciliationResponse"; } + + protected: + explicit CancelReconciliationResponse(::google::protobuf::Arena* arena); + CancelReconciliationResponse(::google::protobuf::Arena* arena, const CancelReconciliationResponse& from); + CancelReconciliationResponse(::google::protobuf::Arena* arena, CancelReconciliationResponse&& from) noexcept + : CancelReconciliationResponse(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAgentIdFieldNumber = 1, + kStatusFieldNumber = 2, + }; + // string agent_id = 1; + void clear_agent_id() ; + const std::string& agent_id() const; + template + void set_agent_id(Arg_&& arg, Args_... args); + std::string* mutable_agent_id(); + PROTOBUF_NODISCARD std::string* release_agent_id(); + void set_allocated_agent_id(std::string* value); + + private: + const std::string& _internal_agent_id() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_agent_id( + const std::string& value); + std::string* _internal_mutable_agent_id(); + + public: + // .agent.Status status = 2; + bool has_status() const; + void clear_status() ; + const ::agent::Status& status() const; + PROTOBUF_NODISCARD ::agent::Status* release_status(); + ::agent::Status* mutable_status(); + void set_allocated_status(::agent::Status* value); + void unsafe_arena_set_allocated_status(::agent::Status* value); + ::agent::Status* unsafe_arena_release_status(); + + private: + const ::agent::Status& _internal_status() const; + ::agent::Status* _internal_mutable_status(); + + public: + // @@protoc_insertion_point(class_scope:agent.CancelReconciliationResponse) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 51, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const CancelReconciliationResponse& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::ArenaStringPtr agent_id_; + ::agent::Status* status_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class Agent final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.Agent) */ { + public: + inline Agent() : Agent(nullptr) {} + ~Agent() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Agent* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Agent)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Agent( + ::google::protobuf::internal::ConstantInitialized); + + inline Agent(const Agent& from) : Agent(nullptr, from) {} + inline Agent(Agent&& from) noexcept + : Agent(nullptr, std::move(from)) {} + inline Agent& operator=(const Agent& from) { + CopyFrom(from); + return *this; + } + inline Agent& operator=(Agent&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Agent& default_instance() { + return *internal_default_instance(); + } + static inline const Agent* internal_default_instance() { + return reinterpret_cast( + &_Agent_default_instance_); + } + static constexpr int kIndexInFileMessages = 17; + friend void swap(Agent& a, Agent& b) { a.Swap(&b); } + inline void Swap(Agent* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Agent* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Agent* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Agent& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Agent& from) { Agent::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Agent* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.Agent"; } + + protected: + explicit Agent(::google::protobuf::Arena* arena); + Agent(::google::protobuf::Arena* arena, const Agent& from); + Agent(::google::protobuf::Arena* arena, Agent&& from) noexcept + : Agent(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kServicesFieldNumber = 1, + kInterfacesFieldNumber = 2, + }; + // repeated .agent.Service services = 1; + int services_size() const; + private: + int _internal_services_size() const; + + public: + void clear_services() ; + ::agent::Service* mutable_services(int index); + ::google::protobuf::RepeatedPtrField<::agent::Service>* mutable_services(); + + private: + const ::google::protobuf::RepeatedPtrField<::agent::Service>& _internal_services() const; + ::google::protobuf::RepeatedPtrField<::agent::Service>* _internal_mutable_services(); + public: + const ::agent::Service& services(int index) const; + ::agent::Service* add_services(); + const ::google::protobuf::RepeatedPtrField<::agent::Service>& services() const; + // repeated .agent.Nic interfaces = 2; + int interfaces_size() const; + private: + int _internal_interfaces_size() const; + + public: + void clear_interfaces() ; + ::agent::Nic* mutable_interfaces(int index); + ::google::protobuf::RepeatedPtrField<::agent::Nic>* mutable_interfaces(); + + private: + const ::google::protobuf::RepeatedPtrField<::agent::Nic>& _internal_interfaces() const; + ::google::protobuf::RepeatedPtrField<::agent::Nic>* _internal_mutable_interfaces(); + public: + const ::agent::Nic& interfaces(int index) const; + ::agent::Nic* add_interfaces(); + const ::google::protobuf::RepeatedPtrField<::agent::Nic>& interfaces() const; + // @@protoc_insertion_point(class_scope:agent.Agent) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Agent& from_msg); + ::google::protobuf::RepeatedPtrField< ::agent::Service > services_; + ::google::protobuf::RepeatedPtrField< ::agent::Nic > interfaces_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class Filesystem_AgentEntry_DoNotUse final + : public ::google::protobuf::internal::MapEntry< + std::string, ::google::protobuf::Message, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { + public: + using SuperType = ::google::protobuf::internal::MapEntry< + std::string, ::google::protobuf::Message, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; + Filesystem_AgentEntry_DoNotUse(); + template + explicit PROTOBUF_CONSTEXPR Filesystem_AgentEntry_DoNotUse( + ::google::protobuf::internal::ConstantInitialized); + explicit Filesystem_AgentEntry_DoNotUse(::google::protobuf::Arena* arena); + static const Filesystem_AgentEntry_DoNotUse* internal_default_instance() { + return reinterpret_cast( + &_Filesystem_AgentEntry_DoNotUse_default_instance_); + } + + + private: + friend class ::google::protobuf::MessageLite; + friend struct ::TableStruct_agent_2eproto; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 39, 2> + _table_; + + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; +}; +// ------------------------------------------------------------------- + +class Filesystem final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.Filesystem) */ { + public: + inline Filesystem() : Filesystem(nullptr) {} + ~Filesystem() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Filesystem* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Filesystem)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Filesystem( + ::google::protobuf::internal::ConstantInitialized); + + inline Filesystem(const Filesystem& from) : Filesystem(nullptr, from) {} + inline Filesystem(Filesystem&& from) noexcept + : Filesystem(nullptr, std::move(from)) {} + inline Filesystem& operator=(const Filesystem& from) { + CopyFrom(from); + return *this; + } + inline Filesystem& operator=(Filesystem&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Filesystem& default_instance() { + return *internal_default_instance(); + } + static inline const Filesystem* internal_default_instance() { + return reinterpret_cast( + &_Filesystem_default_instance_); + } + static constexpr int kIndexInFileMessages = 10; + friend void swap(Filesystem& a, Filesystem& b) { a.Swap(&b); } + inline void Swap(Filesystem* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Filesystem* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Filesystem* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Filesystem& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Filesystem& from) { Filesystem::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Filesystem* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.Filesystem"; } + + protected: + explicit Filesystem(::google::protobuf::Arena* arena); + Filesystem(::google::protobuf::Arena* arena, const Filesystem& from); + Filesystem(::google::protobuf::Arena* arena, Filesystem&& from) noexcept + : Filesystem(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Common = Filesystem_Common; + + // accessors ------------------------------------------------------- + enum : int { + kAgentFieldNumber = 1, + kCommonFieldNumber = 2, + }; + // map agent = 1; + int agent_size() const; + private: + int _internal_agent_size() const; + + public: + void clear_agent() ; + const ::google::protobuf::Map& agent() const; + ::google::protobuf::Map* mutable_agent(); + + private: + const ::google::protobuf::Map& _internal_agent() const; + ::google::protobuf::Map* _internal_mutable_agent(); + + public: + // .agent.Filesystem.Common common = 2; + bool has_common() const; + void clear_common() ; + const ::agent::Filesystem_Common& common() const; + PROTOBUF_NODISCARD ::agent::Filesystem_Common* release_common(); + ::agent::Filesystem_Common* mutable_common(); + void set_allocated_common(::agent::Filesystem_Common* value); + void unsafe_arena_set_allocated_common(::agent::Filesystem_Common* value); + ::agent::Filesystem_Common* unsafe_arena_release_common(); + + private: + const ::agent::Filesystem_Common& _internal_common() const; + ::agent::Filesystem_Common* _internal_mutable_common(); + + public: + // @@protoc_insertion_point(class_scope:agent.Filesystem) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 3, + 30, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Filesystem& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::internal::MapField + agent_; + ::agent::Filesystem_Common* common_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; +// ------------------------------------------------------------------- + +class UpdateManifestRequest_ConfigEntry_DoNotUse final + : public ::google::protobuf::internal::MapEntry< + std::string, ::google::protobuf::Message, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { + public: + using SuperType = ::google::protobuf::internal::MapEntry< + std::string, ::google::protobuf::Message, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; + UpdateManifestRequest_ConfigEntry_DoNotUse(); + template + explicit PROTOBUF_CONSTEXPR UpdateManifestRequest_ConfigEntry_DoNotUse( + ::google::protobuf::internal::ConstantInitialized); + explicit UpdateManifestRequest_ConfigEntry_DoNotUse(::google::protobuf::Arena* arena); + static const UpdateManifestRequest_ConfigEntry_DoNotUse* internal_default_instance() { + return reinterpret_cast( + &_UpdateManifestRequest_ConfigEntry_DoNotUse_default_instance_); + } + + + private: + friend class ::google::protobuf::MessageLite; + friend struct ::TableStruct_agent_2eproto; + + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 51, 2> + _table_; + + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; +}; +// ------------------------------------------------------------------- + +class UpdateManifestRequest final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:agent.UpdateManifestRequest) */ { + public: + inline UpdateManifestRequest() : UpdateManifestRequest(nullptr) {} + ~UpdateManifestRequest() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(UpdateManifestRequest* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateManifestRequest)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR UpdateManifestRequest( + ::google::protobuf::internal::ConstantInitialized); + + inline UpdateManifestRequest(const UpdateManifestRequest& from) : UpdateManifestRequest(nullptr, from) {} + inline UpdateManifestRequest(UpdateManifestRequest&& from) noexcept + : UpdateManifestRequest(nullptr, std::move(from)) {} + inline UpdateManifestRequest& operator=(const UpdateManifestRequest& from) { + CopyFrom(from); + return *this; + } + inline UpdateManifestRequest& operator=(UpdateManifestRequest&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const UpdateManifestRequest& default_instance() { + return *internal_default_instance(); + } + static inline const UpdateManifestRequest* internal_default_instance() { + return reinterpret_cast( + &_UpdateManifestRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(UpdateManifestRequest& a, UpdateManifestRequest& b) { a.Swap(&b); } + inline void Swap(UpdateManifestRequest* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(UpdateManifestRequest* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UpdateManifestRequest* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const UpdateManifestRequest& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const UpdateManifestRequest& from) { UpdateManifestRequest::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(UpdateManifestRequest* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "agent.UpdateManifestRequest"; } + + protected: + explicit UpdateManifestRequest(::google::protobuf::Arena* arena); + UpdateManifestRequest(::google::protobuf::Arena* arena, const UpdateManifestRequest& from); + UpdateManifestRequest(::google::protobuf::Arena* arena, UpdateManifestRequest&& from) noexcept + : UpdateManifestRequest(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kConfigFieldNumber = 1, + }; + // map config = 1; + int config_size() const; + private: + int _internal_config_size() const; + + public: + void clear_config() ; + const ::google::protobuf::Map& config() const; + ::google::protobuf::Map* mutable_config(); + + private: + const ::google::protobuf::Map& _internal_config() const; + ::google::protobuf::Map* _internal_mutable_config(); + + public: + // @@protoc_insertion_point(class_scope:agent.UpdateManifestRequest) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 2, + 42, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const UpdateManifestRequest& from_msg); + ::google::protobuf::internal::MapField + config_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_agent_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// UpdateManifestRequest + +// map config = 1; +inline int UpdateManifestRequest::_internal_config_size() const { + return _internal_config().size(); +} +inline int UpdateManifestRequest::config_size() const { + return _internal_config_size(); +} +inline void UpdateManifestRequest::clear_config() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.config_.Clear(); +} +inline const ::google::protobuf::Map& UpdateManifestRequest::_internal_config() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.config_.GetMap(); +} +inline const ::google::protobuf::Map& UpdateManifestRequest::config() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_map:agent.UpdateManifestRequest.config) + return _internal_config(); +} +inline ::google::protobuf::Map* UpdateManifestRequest::_internal_mutable_config() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.config_.MutableMap(); +} +inline ::google::protobuf::Map* UpdateManifestRequest::mutable_config() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_map:agent.UpdateManifestRequest.config) + return _internal_mutable_config(); +} + +// ------------------------------------------------------------------- + +// UpdateManifestResponse + +// string agent_id = 1; +inline void UpdateManifestResponse::clear_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.ClearToEmpty(); +} +inline const std::string& UpdateManifestResponse::agent_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.UpdateManifestResponse.agent_id) + return _internal_agent_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void UpdateManifestResponse::set_agent_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.UpdateManifestResponse.agent_id) +} +inline std::string* UpdateManifestResponse::mutable_agent_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_agent_id(); + // @@protoc_insertion_point(field_mutable:agent.UpdateManifestResponse.agent_id) + return _s; +} +inline const std::string& UpdateManifestResponse::_internal_agent_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.agent_id_.Get(); +} +inline void UpdateManifestResponse::_internal_set_agent_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(value, GetArena()); +} +inline std::string* UpdateManifestResponse::_internal_mutable_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.agent_id_.Mutable( GetArena()); +} +inline std::string* UpdateManifestResponse::release_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.UpdateManifestResponse.agent_id) + return _impl_.agent_id_.Release(); +} +inline void UpdateManifestResponse::set_allocated_agent_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.agent_id_.IsDefault()) { + _impl_.agent_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.UpdateManifestResponse.agent_id) +} + +// ------------------------------------------------------------------- + +// ReconciliationStatusRequest + +// string agent_id = 1; +inline void ReconciliationStatusRequest::clear_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.ClearToEmpty(); +} +inline const std::string& ReconciliationStatusRequest::agent_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.ReconciliationStatusRequest.agent_id) + return _internal_agent_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ReconciliationStatusRequest::set_agent_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.ReconciliationStatusRequest.agent_id) +} +inline std::string* ReconciliationStatusRequest::mutable_agent_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_agent_id(); + // @@protoc_insertion_point(field_mutable:agent.ReconciliationStatusRequest.agent_id) + return _s; +} +inline const std::string& ReconciliationStatusRequest::_internal_agent_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.agent_id_.Get(); +} +inline void ReconciliationStatusRequest::_internal_set_agent_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(value, GetArena()); +} +inline std::string* ReconciliationStatusRequest::_internal_mutable_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.agent_id_.Mutable( GetArena()); +} +inline std::string* ReconciliationStatusRequest::release_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.ReconciliationStatusRequest.agent_id) + return _impl_.agent_id_.Release(); +} +inline void ReconciliationStatusRequest::set_allocated_agent_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.agent_id_.IsDefault()) { + _impl_.agent_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.ReconciliationStatusRequest.agent_id) +} + +// ------------------------------------------------------------------- + +// ReconciliationStatusResponse + +// string agent_id = 1; +inline void ReconciliationStatusResponse::clear_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.ClearToEmpty(); +} +inline const std::string& ReconciliationStatusResponse::agent_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.ReconciliationStatusResponse.agent_id) + return _internal_agent_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void ReconciliationStatusResponse::set_agent_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.ReconciliationStatusResponse.agent_id) +} +inline std::string* ReconciliationStatusResponse::mutable_agent_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_agent_id(); + // @@protoc_insertion_point(field_mutable:agent.ReconciliationStatusResponse.agent_id) + return _s; +} +inline const std::string& ReconciliationStatusResponse::_internal_agent_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.agent_id_.Get(); +} +inline void ReconciliationStatusResponse::_internal_set_agent_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(value, GetArena()); +} +inline std::string* ReconciliationStatusResponse::_internal_mutable_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.agent_id_.Mutable( GetArena()); +} +inline std::string* ReconciliationStatusResponse::release_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.ReconciliationStatusResponse.agent_id) + return _impl_.agent_id_.Release(); +} +inline void ReconciliationStatusResponse::set_allocated_agent_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.agent_id_.IsDefault()) { + _impl_.agent_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.ReconciliationStatusResponse.agent_id) +} + +// .agent.Status status = 2; +inline bool ReconciliationStatusResponse::has_status() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.status_ != nullptr); + return value; +} +inline void ReconciliationStatusResponse::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.status_ != nullptr) _impl_.status_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::agent::Status& ReconciliationStatusResponse::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::agent::Status* p = _impl_.status_; + return p != nullptr ? *p : reinterpret_cast(::agent::_Status_default_instance_); +} +inline const ::agent::Status& ReconciliationStatusResponse::status() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.ReconciliationStatusResponse.status) + return _internal_status(); +} +inline void ReconciliationStatusResponse::unsafe_arena_set_allocated_status(::agent::Status* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.status_); + } + _impl_.status_ = reinterpret_cast<::agent::Status*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:agent.ReconciliationStatusResponse.status) +} +inline ::agent::Status* ReconciliationStatusResponse::release_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Status* released = _impl_.status_; + _impl_.status_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::agent::Status* ReconciliationStatusResponse::unsafe_arena_release_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.ReconciliationStatusResponse.status) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Status* temp = _impl_.status_; + _impl_.status_ = nullptr; + return temp; +} +inline ::agent::Status* ReconciliationStatusResponse::_internal_mutable_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.status_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::agent::Status>(GetArena()); + _impl_.status_ = reinterpret_cast<::agent::Status*>(p); + } + return _impl_.status_; +} +inline ::agent::Status* ReconciliationStatusResponse::mutable_status() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::agent::Status* _msg = _internal_mutable_status(); + // @@protoc_insertion_point(field_mutable:agent.ReconciliationStatusResponse.status) + return _msg; +} +inline void ReconciliationStatusResponse::set_allocated_status(::agent::Status* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.status_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.status_ = reinterpret_cast<::agent::Status*>(value); + // @@protoc_insertion_point(field_set_allocated:agent.ReconciliationStatusResponse.status) +} + +// ------------------------------------------------------------------- + +// CancelReconciliationRequest + +// string agent_id = 1; +inline void CancelReconciliationRequest::clear_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.ClearToEmpty(); +} +inline const std::string& CancelReconciliationRequest::agent_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.CancelReconciliationRequest.agent_id) + return _internal_agent_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void CancelReconciliationRequest::set_agent_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.CancelReconciliationRequest.agent_id) +} +inline std::string* CancelReconciliationRequest::mutable_agent_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_agent_id(); + // @@protoc_insertion_point(field_mutable:agent.CancelReconciliationRequest.agent_id) + return _s; +} +inline const std::string& CancelReconciliationRequest::_internal_agent_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.agent_id_.Get(); +} +inline void CancelReconciliationRequest::_internal_set_agent_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(value, GetArena()); +} +inline std::string* CancelReconciliationRequest::_internal_mutable_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.agent_id_.Mutable( GetArena()); +} +inline std::string* CancelReconciliationRequest::release_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.CancelReconciliationRequest.agent_id) + return _impl_.agent_id_.Release(); +} +inline void CancelReconciliationRequest::set_allocated_agent_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.agent_id_.IsDefault()) { + _impl_.agent_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.CancelReconciliationRequest.agent_id) +} + +// string reason = 2; +inline void CancelReconciliationRequest::clear_reason() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.reason_.ClearToEmpty(); +} +inline const std::string& CancelReconciliationRequest::reason() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.CancelReconciliationRequest.reason) + return _internal_reason(); +} +template +inline PROTOBUF_ALWAYS_INLINE void CancelReconciliationRequest::set_reason(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.reason_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.CancelReconciliationRequest.reason) +} +inline std::string* CancelReconciliationRequest::mutable_reason() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_reason(); + // @@protoc_insertion_point(field_mutable:agent.CancelReconciliationRequest.reason) + return _s; +} +inline const std::string& CancelReconciliationRequest::_internal_reason() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.reason_.Get(); +} +inline void CancelReconciliationRequest::_internal_set_reason(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.reason_.Set(value, GetArena()); +} +inline std::string* CancelReconciliationRequest::_internal_mutable_reason() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.reason_.Mutable( GetArena()); +} +inline std::string* CancelReconciliationRequest::release_reason() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.CancelReconciliationRequest.reason) + return _impl_.reason_.Release(); +} +inline void CancelReconciliationRequest::set_allocated_reason(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.reason_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.reason_.IsDefault()) { + _impl_.reason_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.CancelReconciliationRequest.reason) +} + +// ------------------------------------------------------------------- + +// CancelReconciliationResponse + +// string agent_id = 1; +inline void CancelReconciliationResponse::clear_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.ClearToEmpty(); +} +inline const std::string& CancelReconciliationResponse::agent_id() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.CancelReconciliationResponse.agent_id) + return _internal_agent_id(); +} +template +inline PROTOBUF_ALWAYS_INLINE void CancelReconciliationResponse::set_agent_id(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.CancelReconciliationResponse.agent_id) +} +inline std::string* CancelReconciliationResponse::mutable_agent_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_agent_id(); + // @@protoc_insertion_point(field_mutable:agent.CancelReconciliationResponse.agent_id) + return _s; +} +inline const std::string& CancelReconciliationResponse::_internal_agent_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.agent_id_.Get(); +} +inline void CancelReconciliationResponse::_internal_set_agent_id(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.Set(value, GetArena()); +} +inline std::string* CancelReconciliationResponse::_internal_mutable_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.agent_id_.Mutable( GetArena()); +} +inline std::string* CancelReconciliationResponse::release_agent_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.CancelReconciliationResponse.agent_id) + return _impl_.agent_id_.Release(); +} +inline void CancelReconciliationResponse::set_allocated_agent_id(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_id_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.agent_id_.IsDefault()) { + _impl_.agent_id_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.CancelReconciliationResponse.agent_id) +} + +// .agent.Status status = 2; +inline bool CancelReconciliationResponse::has_status() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.status_ != nullptr); + return value; +} +inline void CancelReconciliationResponse::clear_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.status_ != nullptr) _impl_.status_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::agent::Status& CancelReconciliationResponse::_internal_status() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::agent::Status* p = _impl_.status_; + return p != nullptr ? *p : reinterpret_cast(::agent::_Status_default_instance_); +} +inline const ::agent::Status& CancelReconciliationResponse::status() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.CancelReconciliationResponse.status) + return _internal_status(); +} +inline void CancelReconciliationResponse::unsafe_arena_set_allocated_status(::agent::Status* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.status_); + } + _impl_.status_ = reinterpret_cast<::agent::Status*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:agent.CancelReconciliationResponse.status) +} +inline ::agent::Status* CancelReconciliationResponse::release_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Status* released = _impl_.status_; + _impl_.status_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::agent::Status* CancelReconciliationResponse::unsafe_arena_release_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.CancelReconciliationResponse.status) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Status* temp = _impl_.status_; + _impl_.status_ = nullptr; + return temp; +} +inline ::agent::Status* CancelReconciliationResponse::_internal_mutable_status() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.status_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::agent::Status>(GetArena()); + _impl_.status_ = reinterpret_cast<::agent::Status*>(p); + } + return _impl_.status_; +} +inline ::agent::Status* CancelReconciliationResponse::mutable_status() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::agent::Status* _msg = _internal_mutable_status(); + // @@protoc_insertion_point(field_mutable:agent.CancelReconciliationResponse.status) + return _msg; +} +inline void CancelReconciliationResponse::set_allocated_status(::agent::Status* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.status_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.status_ = reinterpret_cast<::agent::Status*>(value); + // @@protoc_insertion_point(field_set_allocated:agent.CancelReconciliationResponse.status) +} + +// ------------------------------------------------------------------- + +// Status + +// .agent.Status.State state = 1; +inline void Status::clear_state() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.state_ = 0; +} +inline ::agent::Status_State Status::state() const { + // @@protoc_insertion_point(field_get:agent.Status.state) + return _internal_state(); +} +inline void Status::set_state(::agent::Status_State value) { + _internal_set_state(value); + // @@protoc_insertion_point(field_set:agent.Status.state) +} +inline ::agent::Status_State Status::_internal_state() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::agent::Status_State>(_impl_.state_); +} +inline void Status::_internal_set_state(::agent::Status_State value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.state_ = value; +} + +// repeated string messages = 2; +inline int Status::_internal_messages_size() const { + return _internal_messages().size(); +} +inline int Status::messages_size() const { + return _internal_messages_size(); +} +inline void Status::clear_messages() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.messages_.Clear(); +} +inline std::string* Status::add_messages() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + std::string* _s = _internal_mutable_messages()->Add(); + // @@protoc_insertion_point(field_add_mutable:agent.Status.messages) + return _s; +} +inline const std::string& Status::messages(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Status.messages) + return _internal_messages().Get(index); +} +inline std::string* Status::mutable_messages(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:agent.Status.messages) + return _internal_mutable_messages()->Mutable(index); +} +template +inline void Status::set_messages(int index, Arg_&& value, Args_... args) { + ::google::protobuf::internal::AssignToString( + *_internal_mutable_messages()->Mutable(index), + std::forward(value), args... ); + // @@protoc_insertion_point(field_set:agent.Status.messages) +} +template +inline void Status::add_messages(Arg_&& value, Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_messages(), + std::forward(value), + args... ); + // @@protoc_insertion_point(field_add:agent.Status.messages) +} +inline const ::google::protobuf::RepeatedPtrField& +Status::messages() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:agent.Status.messages) + return _internal_messages(); +} +inline ::google::protobuf::RepeatedPtrField* +Status::mutable_messages() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:agent.Status.messages) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_messages(); +} +inline const ::google::protobuf::RepeatedPtrField& +Status::_internal_messages() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.messages_; +} +inline ::google::protobuf::RepeatedPtrField* +Status::_internal_mutable_messages() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.messages_; +} + +// .google.protobuf.Timestamp updated = 3; +inline bool Status::has_updated() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.updated_ != nullptr); + return value; +} +inline const ::google::protobuf::Timestamp& Status::_internal_updated() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::google::protobuf::Timestamp* p = _impl_.updated_; + return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); +} +inline const ::google::protobuf::Timestamp& Status::updated() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Status.updated) + return _internal_updated(); +} +inline void Status::unsafe_arena_set_allocated_updated(::google::protobuf::Timestamp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.updated_); + } + _impl_.updated_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:agent.Status.updated) +} +inline ::google::protobuf::Timestamp* Status::release_updated() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* released = _impl_.updated_; + _impl_.updated_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::google::protobuf::Timestamp* Status::unsafe_arena_release_updated() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Status.updated) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::google::protobuf::Timestamp* temp = _impl_.updated_; + _impl_.updated_ = nullptr; + return temp; +} +inline ::google::protobuf::Timestamp* Status::_internal_mutable_updated() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.updated_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); + _impl_.updated_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); + } + return _impl_.updated_; +} +inline ::google::protobuf::Timestamp* Status::mutable_updated() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::google::protobuf::Timestamp* _msg = _internal_mutable_updated(); + // @@protoc_insertion_point(field_mutable:agent.Status.updated) + return _msg; +} +inline void Status::set_allocated_updated(::google::protobuf::Timestamp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.updated_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.updated_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); + // @@protoc_insertion_point(field_set_allocated:agent.Status.updated) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// Filesystem_Common + +// optional .agent.Auth auth = 1; +inline bool Filesystem_Common::has_auth() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.auth_ != nullptr); + return value; +} +inline void Filesystem_Common::clear_auth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.auth_ != nullptr) _impl_.auth_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::agent::Auth& Filesystem_Common::_internal_auth() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::agent::Auth* p = _impl_.auth_; + return p != nullptr ? *p : reinterpret_cast(::agent::_Auth_default_instance_); +} +inline const ::agent::Auth& Filesystem_Common::auth() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Filesystem.Common.auth) + return _internal_auth(); +} +inline void Filesystem_Common::unsafe_arena_set_allocated_auth(::agent::Auth* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.auth_); + } + _impl_.auth_ = reinterpret_cast<::agent::Auth*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:agent.Filesystem.Common.auth) +} +inline ::agent::Auth* Filesystem_Common::release_auth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Auth* released = _impl_.auth_; + _impl_.auth_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::agent::Auth* Filesystem_Common::unsafe_arena_release_auth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Filesystem.Common.auth) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Auth* temp = _impl_.auth_; + _impl_.auth_ = nullptr; + return temp; +} +inline ::agent::Auth* Filesystem_Common::_internal_mutable_auth() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.auth_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::agent::Auth>(GetArena()); + _impl_.auth_ = reinterpret_cast<::agent::Auth*>(p); + } + return _impl_.auth_; +} +inline ::agent::Auth* Filesystem_Common::mutable_auth() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::agent::Auth* _msg = _internal_mutable_auth(); + // @@protoc_insertion_point(field_mutable:agent.Filesystem.Common.auth) + return _msg; +} +inline void Filesystem_Common::set_allocated_auth(::agent::Auth* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.auth_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.auth_ = reinterpret_cast<::agent::Auth*>(value); + // @@protoc_insertion_point(field_set_allocated:agent.Filesystem.Common.auth) +} + +// optional .agent.TLS tls = 2; +inline bool Filesystem_Common::has_tls() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.tls_ != nullptr); + return value; +} +inline void Filesystem_Common::clear_tls() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.tls_ != nullptr) _impl_.tls_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::agent::TLS& Filesystem_Common::_internal_tls() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::agent::TLS* p = _impl_.tls_; + return p != nullptr ? *p : reinterpret_cast(::agent::_TLS_default_instance_); +} +inline const ::agent::TLS& Filesystem_Common::tls() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Filesystem.Common.tls) + return _internal_tls(); +} +inline void Filesystem_Common::unsafe_arena_set_allocated_tls(::agent::TLS* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tls_); + } + _impl_.tls_ = reinterpret_cast<::agent::TLS*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:agent.Filesystem.Common.tls) +} +inline ::agent::TLS* Filesystem_Common::release_tls() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::agent::TLS* released = _impl_.tls_; + _impl_.tls_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::agent::TLS* Filesystem_Common::unsafe_arena_release_tls() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Filesystem.Common.tls) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::agent::TLS* temp = _impl_.tls_; + _impl_.tls_ = nullptr; + return temp; +} +inline ::agent::TLS* Filesystem_Common::_internal_mutable_tls() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.tls_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::agent::TLS>(GetArena()); + _impl_.tls_ = reinterpret_cast<::agent::TLS*>(p); + } + return _impl_.tls_; +} +inline ::agent::TLS* Filesystem_Common::mutable_tls() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::agent::TLS* _msg = _internal_mutable_tls(); + // @@protoc_insertion_point(field_mutable:agent.Filesystem.Common.tls) + return _msg; +} +inline void Filesystem_Common::set_allocated_tls(::agent::TLS* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.tls_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.tls_ = reinterpret_cast<::agent::TLS*>(value); + // @@protoc_insertion_point(field_set_allocated:agent.Filesystem.Common.tls) +} + +// .agent.InstallSource install_source = 3; +inline bool Filesystem_Common::has_install_source() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.install_source_ != nullptr); + return value; +} +inline void Filesystem_Common::clear_install_source() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.install_source_ != nullptr) _impl_.install_source_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::agent::InstallSource& Filesystem_Common::_internal_install_source() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::agent::InstallSource* p = _impl_.install_source_; + return p != nullptr ? *p : reinterpret_cast(::agent::_InstallSource_default_instance_); +} +inline const ::agent::InstallSource& Filesystem_Common::install_source() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Filesystem.Common.install_source) + return _internal_install_source(); +} +inline void Filesystem_Common::unsafe_arena_set_allocated_install_source(::agent::InstallSource* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.install_source_); + } + _impl_.install_source_ = reinterpret_cast<::agent::InstallSource*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:agent.Filesystem.Common.install_source) +} +inline ::agent::InstallSource* Filesystem_Common::release_install_source() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::agent::InstallSource* released = _impl_.install_source_; + _impl_.install_source_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::agent::InstallSource* Filesystem_Common::unsafe_arena_release_install_source() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Filesystem.Common.install_source) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::agent::InstallSource* temp = _impl_.install_source_; + _impl_.install_source_ = nullptr; + return temp; +} +inline ::agent::InstallSource* Filesystem_Common::_internal_mutable_install_source() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.install_source_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::agent::InstallSource>(GetArena()); + _impl_.install_source_ = reinterpret_cast<::agent::InstallSource*>(p); + } + return _impl_.install_source_; +} +inline ::agent::InstallSource* Filesystem_Common::mutable_install_source() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::agent::InstallSource* _msg = _internal_mutable_install_source(); + // @@protoc_insertion_point(field_mutable:agent.Filesystem.Common.install_source) + return _msg; +} +inline void Filesystem_Common::set_allocated_install_source(::agent::InstallSource* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.install_source_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.install_source_ = reinterpret_cast<::agent::InstallSource*>(value); + // @@protoc_insertion_point(field_set_allocated:agent.Filesystem.Common.install_source) +} + +// repeated .agent.ServiceConfig global_config = 4; +inline int Filesystem_Common::_internal_global_config_size() const { + return _internal_global_config().size(); +} +inline int Filesystem_Common::global_config_size() const { + return _internal_global_config_size(); +} +inline void Filesystem_Common::clear_global_config() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.global_config_.Clear(); +} +inline ::agent::ServiceConfig* Filesystem_Common::mutable_global_config(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:agent.Filesystem.Common.global_config) + return _internal_mutable_global_config()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::agent::ServiceConfig>* Filesystem_Common::mutable_global_config() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:agent.Filesystem.Common.global_config) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_global_config(); +} +inline const ::agent::ServiceConfig& Filesystem_Common::global_config(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Filesystem.Common.global_config) + return _internal_global_config().Get(index); +} +inline ::agent::ServiceConfig* Filesystem_Common::add_global_config() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::agent::ServiceConfig* _add = _internal_mutable_global_config()->Add(); + // @@protoc_insertion_point(field_add:agent.Filesystem.Common.global_config) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::agent::ServiceConfig>& Filesystem_Common::global_config() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:agent.Filesystem.Common.global_config) + return _internal_global_config(); +} +inline const ::google::protobuf::RepeatedPtrField<::agent::ServiceConfig>& +Filesystem_Common::_internal_global_config() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.global_config_; +} +inline ::google::protobuf::RepeatedPtrField<::agent::ServiceConfig>* +Filesystem_Common::_internal_mutable_global_config() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.global_config_; +} + +// ------------------------------------------------------------------- + +// Filesystem + +// map agent = 1; +inline int Filesystem::_internal_agent_size() const { + return _internal_agent().size(); +} +inline int Filesystem::agent_size() const { + return _internal_agent_size(); +} +inline void Filesystem::clear_agent() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.agent_.Clear(); +} +inline const ::google::protobuf::Map& Filesystem::_internal_agent() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.agent_.GetMap(); +} +inline const ::google::protobuf::Map& Filesystem::agent() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_map:agent.Filesystem.agent) + return _internal_agent(); +} +inline ::google::protobuf::Map* Filesystem::_internal_mutable_agent() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.agent_.MutableMap(); +} +inline ::google::protobuf::Map* Filesystem::mutable_agent() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_map:agent.Filesystem.agent) + return _internal_mutable_agent(); +} + +// .agent.Filesystem.Common common = 2; +inline bool Filesystem::has_common() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.common_ != nullptr); + return value; +} +inline void Filesystem::clear_common() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.common_ != nullptr) _impl_.common_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::agent::Filesystem_Common& Filesystem::_internal_common() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::agent::Filesystem_Common* p = _impl_.common_; + return p != nullptr ? *p : reinterpret_cast(::agent::_Filesystem_Common_default_instance_); +} +inline const ::agent::Filesystem_Common& Filesystem::common() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Filesystem.common) + return _internal_common(); +} +inline void Filesystem::unsafe_arena_set_allocated_common(::agent::Filesystem_Common* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.common_); + } + _impl_.common_ = reinterpret_cast<::agent::Filesystem_Common*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:agent.Filesystem.common) +} +inline ::agent::Filesystem_Common* Filesystem::release_common() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Filesystem_Common* released = _impl_.common_; + _impl_.common_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::agent::Filesystem_Common* Filesystem::unsafe_arena_release_common() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Filesystem.common) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Filesystem_Common* temp = _impl_.common_; + _impl_.common_ = nullptr; + return temp; +} +inline ::agent::Filesystem_Common* Filesystem::_internal_mutable_common() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.common_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::agent::Filesystem_Common>(GetArena()); + _impl_.common_ = reinterpret_cast<::agent::Filesystem_Common*>(p); + } + return _impl_.common_; +} +inline ::agent::Filesystem_Common* Filesystem::mutable_common() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::agent::Filesystem_Common* _msg = _internal_mutable_common(); + // @@protoc_insertion_point(field_mutable:agent.Filesystem.common) + return _msg; +} +inline void Filesystem::set_allocated_common(::agent::Filesystem_Common* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.common_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.common_ = reinterpret_cast<::agent::Filesystem_Common*>(value); + // @@protoc_insertion_point(field_set_allocated:agent.Filesystem.common) +} + +// ------------------------------------------------------------------- + +// Auth + +// string secret = 1; +inline void Auth::clear_secret() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.secret_.ClearToEmpty(); +} +inline const std::string& Auth::secret() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Auth.secret) + return _internal_secret(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Auth::set_secret(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.secret_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.Auth.secret) +} +inline std::string* Auth::mutable_secret() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_secret(); + // @@protoc_insertion_point(field_mutable:agent.Auth.secret) + return _s; +} +inline const std::string& Auth::_internal_secret() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.secret_.Get(); +} +inline void Auth::_internal_set_secret(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.secret_.Set(value, GetArena()); +} +inline std::string* Auth::_internal_mutable_secret() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.secret_.Mutable( GetArena()); +} +inline std::string* Auth::release_secret() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Auth.secret) + return _impl_.secret_.Release(); +} +inline void Auth::set_allocated_secret(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.secret_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.secret_.IsDefault()) { + _impl_.secret_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.Auth.secret) +} + +// ------------------------------------------------------------------- + +// TLS + +// string key = 1; +inline void TLS::clear_key() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.key_.ClearToEmpty(); +} +inline const std::string& TLS::key() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.TLS.key) + return _internal_key(); +} +template +inline PROTOBUF_ALWAYS_INLINE void TLS::set_key(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.key_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.TLS.key) +} +inline std::string* TLS::mutable_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_key(); + // @@protoc_insertion_point(field_mutable:agent.TLS.key) + return _s; +} +inline const std::string& TLS::_internal_key() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.key_.Get(); +} +inline void TLS::_internal_set_key(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.key_.Set(value, GetArena()); +} +inline std::string* TLS::_internal_mutable_key() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.key_.Mutable( GetArena()); +} +inline std::string* TLS::release_key() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.TLS.key) + return _impl_.key_.Release(); +} +inline void TLS::set_allocated_key(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.key_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.key_.IsDefault()) { + _impl_.key_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.TLS.key) +} + +// string cert = 2; +inline void TLS::clear_cert() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.cert_.ClearToEmpty(); +} +inline const std::string& TLS::cert() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.TLS.cert) + return _internal_cert(); +} +template +inline PROTOBUF_ALWAYS_INLINE void TLS::set_cert(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.cert_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.TLS.cert) +} +inline std::string* TLS::mutable_cert() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_cert(); + // @@protoc_insertion_point(field_mutable:agent.TLS.cert) + return _s; +} +inline const std::string& TLS::_internal_cert() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.cert_.Get(); +} +inline void TLS::_internal_set_cert(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.cert_.Set(value, GetArena()); +} +inline std::string* TLS::_internal_mutable_cert() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.cert_.Mutable( GetArena()); +} +inline std::string* TLS::release_cert() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.TLS.cert) + return _impl_.cert_.Release(); +} +inline void TLS::set_allocated_cert(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.cert_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.cert_.IsDefault()) { + _impl_.cert_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.TLS.cert) +} + +// ------------------------------------------------------------------- + +// InstallSource + +// .agent.InstallType type = 1; +inline void InstallSource::clear_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = 0; +} +inline ::agent::InstallType InstallSource::type() const { + // @@protoc_insertion_point(field_get:agent.InstallSource.type) + return _internal_type(); +} +inline void InstallSource::set_type(::agent::InstallType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:agent.InstallSource.type) +} +inline ::agent::InstallType InstallSource::_internal_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::agent::InstallType>(_impl_.type_); +} +inline void InstallSource::_internal_set_type(::agent::InstallType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = value; +} + +// string repo = 2; +inline void InstallSource::clear_repo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.repo_.ClearToEmpty(); +} +inline const std::string& InstallSource::repo() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.InstallSource.repo) + return _internal_repo(); +} +template +inline PROTOBUF_ALWAYS_INLINE void InstallSource::set_repo(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.repo_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.InstallSource.repo) +} +inline std::string* InstallSource::mutable_repo() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_repo(); + // @@protoc_insertion_point(field_mutable:agent.InstallSource.repo) + return _s; +} +inline const std::string& InstallSource::_internal_repo() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.repo_.Get(); +} +inline void InstallSource::_internal_set_repo(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.repo_.Set(value, GetArena()); +} +inline std::string* InstallSource::_internal_mutable_repo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.repo_.Mutable( GetArena()); +} +inline std::string* InstallSource::release_repo() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.InstallSource.repo) + return _impl_.repo_.Release(); +} +inline void InstallSource::set_allocated_repo(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.repo_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.repo_.IsDefault()) { + _impl_.repo_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.InstallSource.repo) +} + +// repeated .agent.SourceRef refs = 3; +inline int InstallSource::_internal_refs_size() const { + return _internal_refs().size(); +} +inline int InstallSource::refs_size() const { + return _internal_refs_size(); +} +inline void InstallSource::clear_refs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.refs_.Clear(); +} +inline ::agent::SourceRef* InstallSource::mutable_refs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:agent.InstallSource.refs) + return _internal_mutable_refs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::agent::SourceRef>* InstallSource::mutable_refs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:agent.InstallSource.refs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_refs(); +} +inline const ::agent::SourceRef& InstallSource::refs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.InstallSource.refs) + return _internal_refs().Get(index); +} +inline ::agent::SourceRef* InstallSource::add_refs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::agent::SourceRef* _add = _internal_mutable_refs()->Add(); + // @@protoc_insertion_point(field_add:agent.InstallSource.refs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::agent::SourceRef>& InstallSource::refs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:agent.InstallSource.refs) + return _internal_refs(); +} +inline const ::google::protobuf::RepeatedPtrField<::agent::SourceRef>& +InstallSource::_internal_refs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.refs_; +} +inline ::google::protobuf::RepeatedPtrField<::agent::SourceRef>* +InstallSource::_internal_mutable_refs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.refs_; +} + +// ------------------------------------------------------------------- + +// SourceRef + +// .beegfs.NodeType service_type = 1; +inline void SourceRef::clear_service_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.service_type_ = 0; +} +inline ::beegfs::NodeType SourceRef::service_type() const { + // @@protoc_insertion_point(field_get:agent.SourceRef.service_type) + return _internal_service_type(); +} +inline void SourceRef::set_service_type(::beegfs::NodeType value) { + _internal_set_service_type(value); + // @@protoc_insertion_point(field_set:agent.SourceRef.service_type) +} +inline ::beegfs::NodeType SourceRef::_internal_service_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::beegfs::NodeType>(_impl_.service_type_); +} +inline void SourceRef::_internal_set_service_type(::beegfs::NodeType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.service_type_ = value; +} + +// string ref = 2; +inline void SourceRef::clear_ref() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ref_.ClearToEmpty(); +} +inline const std::string& SourceRef::ref() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.SourceRef.ref) + return _internal_ref(); +} +template +inline PROTOBUF_ALWAYS_INLINE void SourceRef::set_ref(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ref_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.SourceRef.ref) +} +inline std::string* SourceRef::mutable_ref() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_ref(); + // @@protoc_insertion_point(field_mutable:agent.SourceRef.ref) + return _s; +} +inline const std::string& SourceRef::_internal_ref() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.ref_.Get(); +} +inline void SourceRef::_internal_set_ref(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ref_.Set(value, GetArena()); +} +inline std::string* SourceRef::_internal_mutable_ref() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.ref_.Mutable( GetArena()); +} +inline std::string* SourceRef::release_ref() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.SourceRef.ref) + return _impl_.ref_.Release(); +} +inline void SourceRef::set_allocated_ref(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.ref_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.ref_.IsDefault()) { + _impl_.ref_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.SourceRef.ref) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ServiceConfig + +// .beegfs.NodeType service_type = 1; +inline void ServiceConfig::clear_service_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.service_type_ = 0; +} +inline ::beegfs::NodeType ServiceConfig::service_type() const { + // @@protoc_insertion_point(field_get:agent.ServiceConfig.service_type) + return _internal_service_type(); +} +inline void ServiceConfig::set_service_type(::beegfs::NodeType value) { + _internal_set_service_type(value); + // @@protoc_insertion_point(field_set:agent.ServiceConfig.service_type) +} +inline ::beegfs::NodeType ServiceConfig::_internal_service_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::beegfs::NodeType>(_impl_.service_type_); +} +inline void ServiceConfig::_internal_set_service_type(::beegfs::NodeType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.service_type_ = value; +} + +// map string_map = 2; +inline int ServiceConfig::_internal_string_map_size() const { + return _internal_string_map().size(); +} +inline int ServiceConfig::string_map_size() const { + return _internal_string_map_size(); +} +inline void ServiceConfig::clear_string_map() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.string_map_.Clear(); +} +inline const ::google::protobuf::Map& ServiceConfig::_internal_string_map() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.string_map_.GetMap(); +} +inline const ::google::protobuf::Map& ServiceConfig::string_map() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_map:agent.ServiceConfig.string_map) + return _internal_string_map(); +} +inline ::google::protobuf::Map* ServiceConfig::_internal_mutable_string_map() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.string_map_.MutableMap(); +} +inline ::google::protobuf::Map* ServiceConfig::mutable_string_map() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_map:agent.ServiceConfig.string_map) + return _internal_mutable_string_map(); +} + +// ------------------------------------------------------------------- + +// Agent + +// repeated .agent.Service services = 1; +inline int Agent::_internal_services_size() const { + return _internal_services().size(); +} +inline int Agent::services_size() const { + return _internal_services_size(); +} +inline void Agent::clear_services() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.services_.Clear(); +} +inline ::agent::Service* Agent::mutable_services(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:agent.Agent.services) + return _internal_mutable_services()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::agent::Service>* Agent::mutable_services() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:agent.Agent.services) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_services(); +} +inline const ::agent::Service& Agent::services(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Agent.services) + return _internal_services().Get(index); +} +inline ::agent::Service* Agent::add_services() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::agent::Service* _add = _internal_mutable_services()->Add(); + // @@protoc_insertion_point(field_add:agent.Agent.services) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::agent::Service>& Agent::services() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:agent.Agent.services) + return _internal_services(); +} +inline const ::google::protobuf::RepeatedPtrField<::agent::Service>& +Agent::_internal_services() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.services_; +} +inline ::google::protobuf::RepeatedPtrField<::agent::Service>* +Agent::_internal_mutable_services() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.services_; +} + +// repeated .agent.Nic interfaces = 2; +inline int Agent::_internal_interfaces_size() const { + return _internal_interfaces().size(); +} +inline int Agent::interfaces_size() const { + return _internal_interfaces_size(); +} +inline void Agent::clear_interfaces() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.interfaces_.Clear(); +} +inline ::agent::Nic* Agent::mutable_interfaces(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:agent.Agent.interfaces) + return _internal_mutable_interfaces()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::agent::Nic>* Agent::mutable_interfaces() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:agent.Agent.interfaces) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_interfaces(); +} +inline const ::agent::Nic& Agent::interfaces(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Agent.interfaces) + return _internal_interfaces().Get(index); +} +inline ::agent::Nic* Agent::add_interfaces() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::agent::Nic* _add = _internal_mutable_interfaces()->Add(); + // @@protoc_insertion_point(field_add:agent.Agent.interfaces) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::agent::Nic>& Agent::interfaces() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:agent.Agent.interfaces) + return _internal_interfaces(); +} +inline const ::google::protobuf::RepeatedPtrField<::agent::Nic>& +Agent::_internal_interfaces() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.interfaces_; +} +inline ::google::protobuf::RepeatedPtrField<::agent::Nic>* +Agent::_internal_mutable_interfaces() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.interfaces_; +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// Service + +// uint32 num_id = 1; +inline void Service::clear_num_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_id_ = 0u; +} +inline ::uint32_t Service::num_id() const { + // @@protoc_insertion_point(field_get:agent.Service.num_id) + return _internal_num_id(); +} +inline void Service::set_num_id(::uint32_t value) { + _internal_set_num_id(value); + // @@protoc_insertion_point(field_set:agent.Service.num_id) +} +inline ::uint32_t Service::_internal_num_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.num_id_; +} +inline void Service::_internal_set_num_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_id_ = value; +} + +// .beegfs.NodeType service_type = 2; +inline void Service::clear_service_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.service_type_ = 0; +} +inline ::beegfs::NodeType Service::service_type() const { + // @@protoc_insertion_point(field_get:agent.Service.service_type) + return _internal_service_type(); +} +inline void Service::set_service_type(::beegfs::NodeType value) { + _internal_set_service_type(value); + // @@protoc_insertion_point(field_set:agent.Service.service_type) +} +inline ::beegfs::NodeType Service::_internal_service_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::beegfs::NodeType>(_impl_.service_type_); +} +inline void Service::_internal_set_service_type(::beegfs::NodeType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.service_type_ = value; +} + +// map config = 3; +inline int Service::_internal_config_size() const { + return _internal_config().size(); +} +inline int Service::config_size() const { + return _internal_config_size(); +} +inline void Service::clear_config() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.config_.Clear(); +} +inline const ::google::protobuf::Map& Service::_internal_config() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.config_.GetMap(); +} +inline const ::google::protobuf::Map& Service::config() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_map:agent.Service.config) + return _internal_config(); +} +inline ::google::protobuf::Map* Service::_internal_mutable_config() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.config_.MutableMap(); +} +inline ::google::protobuf::Map* Service::mutable_config() ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_map:agent.Service.config) + return _internal_mutable_config(); +} + +// repeated .agent.Nic interfaces = 4; +inline int Service::_internal_interfaces_size() const { + return _internal_interfaces().size(); +} +inline int Service::interfaces_size() const { + return _internal_interfaces_size(); +} +inline void Service::clear_interfaces() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.interfaces_.Clear(); +} +inline ::agent::Nic* Service::mutable_interfaces(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:agent.Service.interfaces) + return _internal_mutable_interfaces()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::agent::Nic>* Service::mutable_interfaces() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:agent.Service.interfaces) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_interfaces(); +} +inline const ::agent::Nic& Service::interfaces(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Service.interfaces) + return _internal_interfaces().Get(index); +} +inline ::agent::Nic* Service::add_interfaces() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::agent::Nic* _add = _internal_mutable_interfaces()->Add(); + // @@protoc_insertion_point(field_add:agent.Service.interfaces) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::agent::Nic>& Service::interfaces() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:agent.Service.interfaces) + return _internal_interfaces(); +} +inline const ::google::protobuf::RepeatedPtrField<::agent::Nic>& +Service::_internal_interfaces() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.interfaces_; +} +inline ::google::protobuf::RepeatedPtrField<::agent::Nic>* +Service::_internal_mutable_interfaces() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.interfaces_; +} + +// repeated .agent.Target targets = 5; +inline int Service::_internal_targets_size() const { + return _internal_targets().size(); +} +inline int Service::targets_size() const { + return _internal_targets_size(); +} +inline void Service::clear_targets() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.targets_.Clear(); +} +inline ::agent::Target* Service::mutable_targets(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:agent.Service.targets) + return _internal_mutable_targets()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::agent::Target>* Service::mutable_targets() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:agent.Service.targets) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_targets(); +} +inline const ::agent::Target& Service::targets(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Service.targets) + return _internal_targets().Get(index); +} +inline ::agent::Target* Service::add_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::agent::Target* _add = _internal_mutable_targets()->Add(); + // @@protoc_insertion_point(field_add:agent.Service.targets) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::agent::Target>& Service::targets() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:agent.Service.targets) + return _internal_targets(); +} +inline const ::google::protobuf::RepeatedPtrField<::agent::Target>& +Service::_internal_targets() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.targets_; +} +inline ::google::protobuf::RepeatedPtrField<::agent::Target>* +Service::_internal_mutable_targets() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.targets_; +} + +// string executable = 6; +inline void Service::clear_executable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.executable_.ClearToEmpty(); +} +inline const std::string& Service::executable() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Service.executable) + return _internal_executable(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Service::set_executable(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.executable_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.Service.executable) +} +inline std::string* Service::mutable_executable() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_executable(); + // @@protoc_insertion_point(field_mutable:agent.Service.executable) + return _s; +} +inline const std::string& Service::_internal_executable() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.executable_.Get(); +} +inline void Service::_internal_set_executable(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.executable_.Set(value, GetArena()); +} +inline std::string* Service::_internal_mutable_executable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.executable_.Mutable( GetArena()); +} +inline std::string* Service::release_executable() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Service.executable) + return _impl_.executable_.Release(); +} +inline void Service::set_allocated_executable(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.executable_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.executable_.IsDefault()) { + _impl_.executable_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.Service.executable) +} + +// ------------------------------------------------------------------- + +// Nic + +// string name = 1; +inline void Nic::clear_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.ClearToEmpty(); +} +inline const std::string& Nic::name() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Nic.name) + return _internal_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Nic::set_name(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.Nic.name) +} +inline std::string* Nic::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_name(); + // @@protoc_insertion_point(field_mutable:agent.Nic.name) + return _s; +} +inline const std::string& Nic::_internal_name() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.name_.Get(); +} +inline void Nic::_internal_set_name(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.Set(value, GetArena()); +} +inline std::string* Nic::_internal_mutable_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.name_.Mutable( GetArena()); +} +inline std::string* Nic::release_name() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Nic.name) + return _impl_.name_.Release(); +} +inline void Nic::set_allocated_name(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.name_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { + _impl_.name_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.Nic.name) +} + +// string addr = 2; +inline void Nic::clear_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.addr_.ClearToEmpty(); +} +inline const std::string& Nic::addr() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Nic.addr) + return _internal_addr(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Nic::set_addr(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.addr_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.Nic.addr) +} +inline std::string* Nic::mutable_addr() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_addr(); + // @@protoc_insertion_point(field_mutable:agent.Nic.addr) + return _s; +} +inline const std::string& Nic::_internal_addr() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.addr_.Get(); +} +inline void Nic::_internal_set_addr(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.addr_.Set(value, GetArena()); +} +inline std::string* Nic::_internal_mutable_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.addr_.Mutable( GetArena()); +} +inline std::string* Nic::release_addr() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Nic.addr) + return _impl_.addr_.Release(); +} +inline void Nic::set_allocated_addr(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.addr_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.addr_.IsDefault()) { + _impl_.addr_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.Nic.addr) +} + +// ------------------------------------------------------------------- + +// Target_UnderlyingFSOpts + +// string device = 1; +inline void Target_UnderlyingFSOpts::clear_device() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.device_.ClearToEmpty(); +} +inline const std::string& Target_UnderlyingFSOpts::device() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Target.UnderlyingFSOpts.device) + return _internal_device(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Target_UnderlyingFSOpts::set_device(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.device_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.Target.UnderlyingFSOpts.device) +} +inline std::string* Target_UnderlyingFSOpts::mutable_device() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_device(); + // @@protoc_insertion_point(field_mutable:agent.Target.UnderlyingFSOpts.device) + return _s; +} +inline const std::string& Target_UnderlyingFSOpts::_internal_device() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.device_.Get(); +} +inline void Target_UnderlyingFSOpts::_internal_set_device(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.device_.Set(value, GetArena()); +} +inline std::string* Target_UnderlyingFSOpts::_internal_mutable_device() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.device_.Mutable( GetArena()); +} +inline std::string* Target_UnderlyingFSOpts::release_device() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Target.UnderlyingFSOpts.device) + return _impl_.device_.Release(); +} +inline void Target_UnderlyingFSOpts::set_allocated_device(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.device_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.device_.IsDefault()) { + _impl_.device_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.Target.UnderlyingFSOpts.device) +} + +// .agent.Target.UnderlyingFSOpts.FsType type = 2; +inline void Target_UnderlyingFSOpts::clear_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = 0; +} +inline ::agent::Target_UnderlyingFSOpts_FsType Target_UnderlyingFSOpts::type() const { + // @@protoc_insertion_point(field_get:agent.Target.UnderlyingFSOpts.type) + return _internal_type(); +} +inline void Target_UnderlyingFSOpts::set_type(::agent::Target_UnderlyingFSOpts_FsType value) { + _internal_set_type(value); + // @@protoc_insertion_point(field_set:agent.Target.UnderlyingFSOpts.type) +} +inline ::agent::Target_UnderlyingFSOpts_FsType Target_UnderlyingFSOpts::_internal_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return static_cast<::agent::Target_UnderlyingFSOpts_FsType>(_impl_.type_); +} +inline void Target_UnderlyingFSOpts::_internal_set_type(::agent::Target_UnderlyingFSOpts_FsType value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.type_ = value; +} + +// string format_flags = 3; +inline void Target_UnderlyingFSOpts::clear_format_flags() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.format_flags_.ClearToEmpty(); +} +inline const std::string& Target_UnderlyingFSOpts::format_flags() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Target.UnderlyingFSOpts.format_flags) + return _internal_format_flags(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Target_UnderlyingFSOpts::set_format_flags(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.format_flags_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.Target.UnderlyingFSOpts.format_flags) +} +inline std::string* Target_UnderlyingFSOpts::mutable_format_flags() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_format_flags(); + // @@protoc_insertion_point(field_mutable:agent.Target.UnderlyingFSOpts.format_flags) + return _s; +} +inline const std::string& Target_UnderlyingFSOpts::_internal_format_flags() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.format_flags_.Get(); +} +inline void Target_UnderlyingFSOpts::_internal_set_format_flags(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.format_flags_.Set(value, GetArena()); +} +inline std::string* Target_UnderlyingFSOpts::_internal_mutable_format_flags() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.format_flags_.Mutable( GetArena()); +} +inline std::string* Target_UnderlyingFSOpts::release_format_flags() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Target.UnderlyingFSOpts.format_flags) + return _impl_.format_flags_.Release(); +} +inline void Target_UnderlyingFSOpts::set_allocated_format_flags(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.format_flags_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.format_flags_.IsDefault()) { + _impl_.format_flags_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.Target.UnderlyingFSOpts.format_flags) +} + +// string mount_flags = 4; +inline void Target_UnderlyingFSOpts::clear_mount_flags() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mount_flags_.ClearToEmpty(); +} +inline const std::string& Target_UnderlyingFSOpts::mount_flags() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Target.UnderlyingFSOpts.mount_flags) + return _internal_mount_flags(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Target_UnderlyingFSOpts::set_mount_flags(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mount_flags_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.Target.UnderlyingFSOpts.mount_flags) +} +inline std::string* Target_UnderlyingFSOpts::mutable_mount_flags() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_mount_flags(); + // @@protoc_insertion_point(field_mutable:agent.Target.UnderlyingFSOpts.mount_flags) + return _s; +} +inline const std::string& Target_UnderlyingFSOpts::_internal_mount_flags() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mount_flags_.Get(); +} +inline void Target_UnderlyingFSOpts::_internal_set_mount_flags(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mount_flags_.Set(value, GetArena()); +} +inline std::string* Target_UnderlyingFSOpts::_internal_mutable_mount_flags() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.mount_flags_.Mutable( GetArena()); +} +inline std::string* Target_UnderlyingFSOpts::release_mount_flags() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Target.UnderlyingFSOpts.mount_flags) + return _impl_.mount_flags_.Release(); +} +inline void Target_UnderlyingFSOpts::set_allocated_mount_flags(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mount_flags_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mount_flags_.IsDefault()) { + _impl_.mount_flags_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.Target.UnderlyingFSOpts.mount_flags) +} + +// ------------------------------------------------------------------- + +// Target + +// uint32 num_id = 1; +inline void Target::clear_num_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_id_ = 0u; +} +inline ::uint32_t Target::num_id() const { + // @@protoc_insertion_point(field_get:agent.Target.num_id) + return _internal_num_id(); +} +inline void Target::set_num_id(::uint32_t value) { + _internal_set_num_id(value); + // @@protoc_insertion_point(field_set:agent.Target.num_id) +} +inline ::uint32_t Target::_internal_num_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.num_id_; +} +inline void Target::_internal_set_num_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_id_ = value; +} + +// string path = 2; +inline void Target::clear_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.path_.ClearToEmpty(); +} +inline const std::string& Target::path() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Target.path) + return _internal_path(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Target::set_path(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.path_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:agent.Target.path) +} +inline std::string* Target::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_path(); + // @@protoc_insertion_point(field_mutable:agent.Target.path) + return _s; +} +inline const std::string& Target::_internal_path() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.path_.Get(); +} +inline void Target::_internal_set_path(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.path_.Set(value, GetArena()); +} +inline std::string* Target::_internal_mutable_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.path_.Mutable( GetArena()); +} +inline std::string* Target::release_path() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Target.path) + return _impl_.path_.Release(); +} +inline void Target::set_allocated_path(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.path_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { + _impl_.path_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:agent.Target.path) +} + +// optional .agent.Target.UnderlyingFSOpts ulfs = 3; +inline bool Target::has_ulfs() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.ulfs_ != nullptr); + return value; +} +inline void Target::clear_ulfs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.ulfs_ != nullptr) _impl_.ulfs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::agent::Target_UnderlyingFSOpts& Target::_internal_ulfs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::agent::Target_UnderlyingFSOpts* p = _impl_.ulfs_; + return p != nullptr ? *p : reinterpret_cast(::agent::_Target_UnderlyingFSOpts_default_instance_); +} +inline const ::agent::Target_UnderlyingFSOpts& Target::ulfs() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:agent.Target.ulfs) + return _internal_ulfs(); +} +inline void Target::unsafe_arena_set_allocated_ulfs(::agent::Target_UnderlyingFSOpts* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ulfs_); + } + _impl_.ulfs_ = reinterpret_cast<::agent::Target_UnderlyingFSOpts*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:agent.Target.ulfs) +} +inline ::agent::Target_UnderlyingFSOpts* Target::release_ulfs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Target_UnderlyingFSOpts* released = _impl_.ulfs_; + _impl_.ulfs_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::agent::Target_UnderlyingFSOpts* Target::unsafe_arena_release_ulfs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:agent.Target.ulfs) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::agent::Target_UnderlyingFSOpts* temp = _impl_.ulfs_; + _impl_.ulfs_ = nullptr; + return temp; +} +inline ::agent::Target_UnderlyingFSOpts* Target::_internal_mutable_ulfs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.ulfs_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::agent::Target_UnderlyingFSOpts>(GetArena()); + _impl_.ulfs_ = reinterpret_cast<::agent::Target_UnderlyingFSOpts*>(p); + } + return _impl_.ulfs_; +} +inline ::agent::Target_UnderlyingFSOpts* Target::mutable_ulfs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::agent::Target_UnderlyingFSOpts* _msg = _internal_mutable_ulfs(); + // @@protoc_insertion_point(field_mutable:agent.Target.ulfs) + return _msg; +} +inline void Target::set_allocated_ulfs(::agent::Target_UnderlyingFSOpts* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.ulfs_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.ulfs_ = reinterpret_cast<::agent::Target_UnderlyingFSOpts*>(value); + // @@protoc_insertion_point(field_set_allocated:agent.Target.ulfs) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace agent + + +namespace google { +namespace protobuf { + +template <> +struct is_proto_enum<::agent::Status_State> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::agent::Status_State>() { + return ::agent::Status_State_descriptor(); +} +template <> +struct is_proto_enum<::agent::Target_UnderlyingFSOpts_FsType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::agent::Target_UnderlyingFSOpts_FsType>() { + return ::agent::Target_UnderlyingFSOpts_FsType_descriptor(); +} +template <> +struct is_proto_enum<::agent::InstallType> : std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor<::agent::InstallType>() { + return ::agent::InstallType_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // agent_2eproto_2epb_2eh diff --git a/cpp/beegfs.pb.cc b/cpp/beegfs.pb.cc index a345520..0ace191 100644 --- a/cpp/beegfs.pb.cc +++ b/cpp/beegfs.pb.cc @@ -131,29 +131,30 @@ const char descriptor_table_protodef_beegfs_2eproto[] ABSL_ATTRIBUTE_SECTION_VAR "\020.beegfs.LegacyIdH\002\210\001\001B\006\n\004_uidB\010\n\006_alias" "B\014\n\n_legacy_id*Z\n\nEntityType\022\033\n\027ENTITY_T" "YPE_UNSPECIFIED\020\000\022\010\n\004NODE\020\001\022\n\n\006TARGET\020\002\022" - "\017\n\013BUDDY_GROUP\020\003\022\010\n\004POOL\020\004*X\n\010NodeType\022\031" + "\017\n\013BUDDY_GROUP\020\003\022\010\n\004POOL\020\004*n\n\010NodeType\022\031" "\n\025NODE_TYPE_UNSPECIFIED\020\000\022\n\n\006CLIENT\020\001\022\010\n" - "\004META\020\002\022\013\n\007STORAGE\020\003\022\016\n\nMANAGEMENT\020\004*^\n\021" - "ReachabilityState\022\"\n\036REACHABILITY_STATE_" - "UNSPECIFIED\020\000\022\n\n\006ONLINE\020\001\022\014\n\010POFFLINE\020\002\022" - "\013\n\007OFFLINE\020\003*Z\n\020ConsistencyState\022!\n\035CONS" - "ISTENCY_STATE_UNSPECIFIED\020\000\022\010\n\004GOOD\020\001\022\020\n" - "\014NEEDS_RESYNC\020\002\022\007\n\003BAD\020\003*Q\n\014CapacityPool" - "\022\035\n\031CAPACITY_POOL_UNSPECIFIED\020\000\022\n\n\006NORMA" - "L\020\001\022\007\n\003LOW\020\002\022\r\n\tEMERGENCY\020\003*;\n\007NicType\022\030" - "\n\024NIC_TYPE_UNSPECIFIED\020\000\022\014\n\010ETHERNET\020\001\022\010" - "\n\004RDMA\020\002*]\n\013QuotaIdType\022\035\n\031QUOTA_ID_TYPE" - "_UNSPECIFIED\020\000\022\026\n\022QUOTA_ID_TYPE_USER\020\001\022\027" - "\n\023QUOTA_ID_TYPE_GROUP\020\002*S\n\tQuotaType\022\032\n\026" - "QUOTA_TYPE_UNSPECIFIED\020\000\022\024\n\020QUOTA_TYPE_S" - "PACE\020\001\022\024\n\020QUOTA_TYPE_INODE\020\002B)Z\'github.c" - "om/thinkparq/protobuf/go/beegfsb\006proto3" + "\004META\020\002\022\013\n\007STORAGE\020\003\022\016\n\nMANAGEMENT\020\004\022\n\n\006" + "REMOTE\020\005\022\010\n\004SYNC\020\006*^\n\021ReachabilityState\022" + "\"\n\036REACHABILITY_STATE_UNSPECIFIED\020\000\022\n\n\006O" + "NLINE\020\001\022\014\n\010POFFLINE\020\002\022\013\n\007OFFLINE\020\003*Z\n\020Co" + "nsistencyState\022!\n\035CONSISTENCY_STATE_UNSP" + "ECIFIED\020\000\022\010\n\004GOOD\020\001\022\020\n\014NEEDS_RESYNC\020\002\022\007\n" + "\003BAD\020\003*Q\n\014CapacityPool\022\035\n\031CAPACITY_POOL_" + "UNSPECIFIED\020\000\022\n\n\006NORMAL\020\001\022\007\n\003LOW\020\002\022\r\n\tEM" + "ERGENCY\020\003*;\n\007NicType\022\030\n\024NIC_TYPE_UNSPECI" + "FIED\020\000\022\014\n\010ETHERNET\020\001\022\010\n\004RDMA\020\002*]\n\013QuotaI" + "dType\022\035\n\031QUOTA_ID_TYPE_UNSPECIFIED\020\000\022\026\n\022" + "QUOTA_ID_TYPE_USER\020\001\022\027\n\023QUOTA_ID_TYPE_GR" + "OUP\020\002*S\n\tQuotaType\022\032\n\026QUOTA_TYPE_UNSPECI" + "FIED\020\000\022\024\n\020QUOTA_TYPE_SPACE\020\001\022\024\n\020QUOTA_TY" + "PE_INODE\020\002B)Z\'github.com/thinkparq/proto" + "buf/go/beegfsb\006proto3" }; static ::absl::once_flag descriptor_table_beegfs_2eproto_once; PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_beegfs_2eproto = { false, false, - 959, + 981, descriptor_table_protodef_beegfs_2eproto, "beegfs.proto", &descriptor_table_beegfs_2eproto_once, @@ -181,9 +182,9 @@ const ::google::protobuf::EnumDescriptor* NodeType_descriptor() { return file_level_enum_descriptors_beegfs_2eproto[1]; } PROTOBUF_CONSTINIT const uint32_t NodeType_internal_data_[] = { - 327680u, 0u, }; + 458752u, 0u, }; bool NodeType_IsValid(int value) { - return 0 <= value && value <= 4; + return 0 <= value && value <= 6; } const ::google::protobuf::EnumDescriptor* ReachabilityState_descriptor() { ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beegfs_2eproto); diff --git a/cpp/beegfs.pb.h b/cpp/beegfs.pb.h index 4f2b6fc..3241b31 100644 --- a/cpp/beegfs.pb.h +++ b/cpp/beegfs.pb.h @@ -108,6 +108,8 @@ enum NodeType : int { META = 2, STORAGE = 3, MANAGEMENT = 4, + REMOTE = 5, + SYNC = 6, NodeType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(), NodeType_INT_MAX_SENTINEL_DO_NOT_USE_ = @@ -117,8 +119,8 @@ enum NodeType : int { bool NodeType_IsValid(int value); extern const uint32_t NodeType_internal_data_[]; constexpr NodeType NodeType_MIN = static_cast(0); -constexpr NodeType NodeType_MAX = static_cast(4); -constexpr int NodeType_ARRAYSIZE = 4 + 1; +constexpr NodeType NodeType_MAX = static_cast(6); +constexpr int NodeType_ARRAYSIZE = 6 + 1; const ::google::protobuf::EnumDescriptor* NodeType_descriptor(); template @@ -131,7 +133,7 @@ const std::string& NodeType_Name(T value) { template <> inline const std::string& NodeType_Name(NodeType value) { return ::google::protobuf::internal::NameOfDenseEnum( + 0, 6>( static_cast(value)); } inline bool NodeType_Parse(absl::string_view name, NodeType* value) { diff --git a/go/agent/agent.pb.go b/go/agent/agent.pb.go new file mode 100644 index 0000000..ac5f1a4 --- /dev/null +++ b/go/agent/agent.pb.go @@ -0,0 +1,2027 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.2 +// protoc v5.29.2 +// source: agent.proto + +//go:build !protoopaque + +package agent + +import ( + beegfs "github.com/thinkparq/protobuf/go/beegfs" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InstallType int32 + +const ( + InstallType_UNKNOWN InstallType = 0 + InstallType_LOCAL InstallType = 1 + InstallType_PACKAGE InstallType = 2 +) + +// Enum value maps for InstallType. +var ( + InstallType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "LOCAL", + 2: "PACKAGE", + } + InstallType_value = map[string]int32{ + "UNKNOWN": 0, + "LOCAL": 1, + "PACKAGE": 2, + } +) + +func (x InstallType) Enum() *InstallType { + p := new(InstallType) + *p = x + return p +} + +func (x InstallType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InstallType) Descriptor() protoreflect.EnumDescriptor { + return file_agent_proto_enumTypes[0].Descriptor() +} + +func (InstallType) Type() protoreflect.EnumType { + return &file_agent_proto_enumTypes[0] +} + +func (x InstallType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +type Status_State int32 + +const ( + Status_UNSPECIFIED Status_State = 0 // Should not be used. Exists only as the default if there is a programming error. + Status_IDLE Status_State = 1 // No configuration has been provided to the agent. + Status_APPLYING Status_State = 2 // Agent is applying the requested configuration. + Status_SUCCESS Status_State = 3 // Agent has applied all requested configuration. + Status_FAILED Status_State = 4 // The agent has failed to apply the requested configuration. + Status_CANCELLED Status_State = 5 // The user requested the agent cancel applying the requested configuration. +) + +// Enum value maps for Status_State. +var ( + Status_State_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "IDLE", + 2: "APPLYING", + 3: "SUCCESS", + 4: "FAILED", + 5: "CANCELLED", + } + Status_State_value = map[string]int32{ + "UNSPECIFIED": 0, + "IDLE": 1, + "APPLYING": 2, + "SUCCESS": 3, + "FAILED": 4, + "CANCELLED": 5, + } +) + +func (x Status_State) Enum() *Status_State { + p := new(Status_State) + *p = x + return p +} + +func (x Status_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Status_State) Descriptor() protoreflect.EnumDescriptor { + return file_agent_proto_enumTypes[1].Descriptor() +} + +func (Status_State) Type() protoreflect.EnumType { + return &file_agent_proto_enumTypes[1] +} + +func (x Status_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +type Target_UnderlyingFSOpts_FsType int32 + +const ( + Target_UnderlyingFSOpts_UNSPECIFIED Target_UnderlyingFSOpts_FsType = 0 + Target_UnderlyingFSOpts_EXT4 Target_UnderlyingFSOpts_FsType = 1 +) + +// Enum value maps for Target_UnderlyingFSOpts_FsType. +var ( + Target_UnderlyingFSOpts_FsType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "EXT4", + } + Target_UnderlyingFSOpts_FsType_value = map[string]int32{ + "UNSPECIFIED": 0, + "EXT4": 1, + } +) + +func (x Target_UnderlyingFSOpts_FsType) Enum() *Target_UnderlyingFSOpts_FsType { + p := new(Target_UnderlyingFSOpts_FsType) + *p = x + return p +} + +func (x Target_UnderlyingFSOpts_FsType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Target_UnderlyingFSOpts_FsType) Descriptor() protoreflect.EnumDescriptor { + return file_agent_proto_enumTypes[2].Descriptor() +} + +func (Target_UnderlyingFSOpts_FsType) Type() protoreflect.EnumType { + return &file_agent_proto_enumTypes[2] +} + +func (x Target_UnderlyingFSOpts_FsType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +type UpdateManifestRequest struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + // Map of FsUUIDs to file systems. + Config map[string]*Filesystem `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateManifestRequest) Reset() { + *x = UpdateManifestRequest{} + mi := &file_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateManifestRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateManifestRequest) ProtoMessage() {} + +func (x *UpdateManifestRequest) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *UpdateManifestRequest) GetConfig() map[string]*Filesystem { + if x != nil { + return x.Config + } + return nil +} + +func (x *UpdateManifestRequest) SetConfig(v map[string]*Filesystem) { + x.Config = v +} + +type UpdateManifestRequest_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // Map of FsUUIDs to file systems. + Config map[string]*Filesystem +} + +func (b0 UpdateManifestRequest_builder) Build() *UpdateManifestRequest { + m0 := &UpdateManifestRequest{} + b, x := &b0, m0 + _, _ = b, x + x.Config = b.Config + return m0 +} + +type UpdateManifestResponse struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateManifestResponse) Reset() { + *x = UpdateManifestResponse{} + mi := &file_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateManifestResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateManifestResponse) ProtoMessage() {} + +func (x *UpdateManifestResponse) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *UpdateManifestResponse) GetAgentId() string { + if x != nil { + return x.AgentId + } + return "" +} + +func (x *UpdateManifestResponse) SetAgentId(v string) { + x.AgentId = v +} + +type UpdateManifestResponse_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string +} + +func (b0 UpdateManifestResponse_builder) Build() *UpdateManifestResponse { + m0 := &UpdateManifestResponse{} + b, x := &b0, m0 + _, _ = b, x + x.AgentId = b.AgentId + return m0 +} + +type ReconciliationStatusRequest struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ReconciliationStatusRequest) Reset() { + *x = ReconciliationStatusRequest{} + mi := &file_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ReconciliationStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReconciliationStatusRequest) ProtoMessage() {} + +func (x *ReconciliationStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *ReconciliationStatusRequest) GetAgentId() string { + if x != nil { + return x.AgentId + } + return "" +} + +func (x *ReconciliationStatusRequest) SetAgentId(v string) { + x.AgentId = v +} + +type ReconciliationStatusRequest_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string +} + +func (b0 ReconciliationStatusRequest_builder) Build() *ReconciliationStatusRequest { + m0 := &ReconciliationStatusRequest{} + b, x := &b0, m0 + _, _ = b, x + x.AgentId = b.AgentId + return m0 +} + +type ReconciliationStatusResponse struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ReconciliationStatusResponse) Reset() { + *x = ReconciliationStatusResponse{} + mi := &file_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ReconciliationStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReconciliationStatusResponse) ProtoMessage() {} + +func (x *ReconciliationStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *ReconciliationStatusResponse) GetAgentId() string { + if x != nil { + return x.AgentId + } + return "" +} + +func (x *ReconciliationStatusResponse) GetStatus() *Status { + if x != nil { + return x.Status + } + return nil +} + +func (x *ReconciliationStatusResponse) SetAgentId(v string) { + x.AgentId = v +} + +func (x *ReconciliationStatusResponse) SetStatus(v *Status) { + x.Status = v +} + +func (x *ReconciliationStatusResponse) HasStatus() bool { + if x == nil { + return false + } + return x.Status != nil +} + +func (x *ReconciliationStatusResponse) ClearStatus() { + x.Status = nil +} + +type ReconciliationStatusResponse_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string + Status *Status +} + +func (b0 ReconciliationStatusResponse_builder) Build() *ReconciliationStatusResponse { + m0 := &ReconciliationStatusResponse{} + b, x := &b0, m0 + _, _ = b, x + x.AgentId = b.AgentId + x.Status = b.Status + return m0 +} + +type CancelReconciliationRequest struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CancelReconciliationRequest) Reset() { + *x = CancelReconciliationRequest{} + mi := &file_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CancelReconciliationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelReconciliationRequest) ProtoMessage() {} + +func (x *CancelReconciliationRequest) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *CancelReconciliationRequest) GetAgentId() string { + if x != nil { + return x.AgentId + } + return "" +} + +func (x *CancelReconciliationRequest) GetReason() string { + if x != nil { + return x.Reason + } + return "" +} + +func (x *CancelReconciliationRequest) SetAgentId(v string) { + x.AgentId = v +} + +func (x *CancelReconciliationRequest) SetReason(v string) { + x.Reason = v +} + +type CancelReconciliationRequest_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string + Reason string +} + +func (b0 CancelReconciliationRequest_builder) Build() *CancelReconciliationRequest { + m0 := &CancelReconciliationRequest{} + b, x := &b0, m0 + _, _ = b, x + x.AgentId = b.AgentId + x.Reason = b.Reason + return m0 +} + +type CancelReconciliationResponse struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CancelReconciliationResponse) Reset() { + *x = CancelReconciliationResponse{} + mi := &file_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CancelReconciliationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelReconciliationResponse) ProtoMessage() {} + +func (x *CancelReconciliationResponse) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *CancelReconciliationResponse) GetAgentId() string { + if x != nil { + return x.AgentId + } + return "" +} + +func (x *CancelReconciliationResponse) GetStatus() *Status { + if x != nil { + return x.Status + } + return nil +} + +func (x *CancelReconciliationResponse) SetAgentId(v string) { + x.AgentId = v +} + +func (x *CancelReconciliationResponse) SetStatus(v *Status) { + x.Status = v +} + +func (x *CancelReconciliationResponse) HasStatus() bool { + if x == nil { + return false + } + return x.Status != nil +} + +func (x *CancelReconciliationResponse) ClearStatus() { + x.Status = nil +} + +type CancelReconciliationResponse_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string + Status *Status +} + +func (b0 CancelReconciliationResponse_builder) Build() *CancelReconciliationResponse { + m0 := &CancelReconciliationResponse{} + b, x := &b0, m0 + _, _ = b, x + x.AgentId = b.AgentId + x.Status = b.Status + return m0 +} + +type Status struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + State Status_State `protobuf:"varint,1,opt,name=state,proto3,enum=agent.Status_State" json:"state,omitempty"` + Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` + Updated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated,proto3" json:"updated,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Status) Reset() { + *x = Status{} + mi := &file_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Status) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Status) ProtoMessage() {} + +func (x *Status) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Status) GetState() Status_State { + if x != nil { + return x.State + } + return Status_UNSPECIFIED +} + +func (x *Status) GetMessages() []string { + if x != nil { + return x.Messages + } + return nil +} + +func (x *Status) GetUpdated() *timestamppb.Timestamp { + if x != nil { + return x.Updated + } + return nil +} + +func (x *Status) SetState(v Status_State) { + x.State = v +} + +func (x *Status) SetMessages(v []string) { + x.Messages = v +} + +func (x *Status) SetUpdated(v *timestamppb.Timestamp) { + x.Updated = v +} + +func (x *Status) HasUpdated() bool { + if x == nil { + return false + } + return x.Updated != nil +} + +func (x *Status) ClearUpdated() { + x.Updated = nil +} + +type Status_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + State Status_State + Messages []string + Updated *timestamppb.Timestamp +} + +func (b0 Status_builder) Build() *Status { + m0 := &Status{} + b, x := &b0, m0 + _, _ = b, x + x.State = b.State + x.Messages = b.Messages + x.Updated = b.Updated + return m0 +} + +// The manifest defining an entire BeeGFS instance. +type Filesystem struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + // Map of agentIDs to agents. + Agent map[string]*Agent `protobuf:"bytes,1,rep,name=agent,proto3" json:"agent,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + // Common configuration to apply to all Services. + Common *Filesystem_Common `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Filesystem) Reset() { + *x = Filesystem{} + mi := &file_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Filesystem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Filesystem) ProtoMessage() {} + +func (x *Filesystem) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Filesystem) GetAgent() map[string]*Agent { + if x != nil { + return x.Agent + } + return nil +} + +func (x *Filesystem) GetCommon() *Filesystem_Common { + if x != nil { + return x.Common + } + return nil +} + +func (x *Filesystem) SetAgent(v map[string]*Agent) { + x.Agent = v +} + +func (x *Filesystem) SetCommon(v *Filesystem_Common) { + x.Common = v +} + +func (x *Filesystem) HasCommon() bool { + if x == nil { + return false + } + return x.Common != nil +} + +func (x *Filesystem) ClearCommon() { + x.Common = nil +} + +type Filesystem_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // Map of agentIDs to agents. + Agent map[string]*Agent + // Common configuration to apply to all Services. + Common *Filesystem_Common +} + +func (b0 Filesystem_builder) Build() *Filesystem { + m0 := &Filesystem{} + b, x := &b0, m0 + _, _ = b, x + x.Agent = b.Agent + x.Common = b.Common + return m0 +} + +type Auth struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Auth) Reset() { + *x = Auth{} + mi := &file_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Auth) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Auth) ProtoMessage() {} + +func (x *Auth) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Auth) GetSecret() string { + if x != nil { + return x.Secret + } + return "" +} + +func (x *Auth) SetSecret(v string) { + x.Secret = v +} + +type Auth_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Secret string +} + +func (b0 Auth_builder) Build() *Auth { + m0 := &Auth{} + b, x := &b0, m0 + _, _ = b, x + x.Secret = b.Secret + return m0 +} + +type TLS struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Cert string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TLS) Reset() { + *x = TLS{} + mi := &file_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TLS) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TLS) ProtoMessage() {} + +func (x *TLS) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *TLS) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *TLS) GetCert() string { + if x != nil { + return x.Cert + } + return "" +} + +func (x *TLS) SetKey(v string) { + x.Key = v +} + +func (x *TLS) SetCert(v string) { + x.Cert = v +} + +type TLS_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Key string + Cert string +} + +func (b0 TLS_builder) Build() *TLS { + m0 := &TLS{} + b, x := &b0, m0 + _, _ = b, x + x.Key = b.Key + x.Cert = b.Cert + return m0 +} + +type InstallSource struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + Type InstallType `protobuf:"varint,1,opt,name=type,proto3,enum=agent.InstallType" json:"type,omitempty"` + Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` + Refs []*SourceRef `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *InstallSource) Reset() { + *x = InstallSource{} + mi := &file_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *InstallSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InstallSource) ProtoMessage() {} + +func (x *InstallSource) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *InstallSource) GetType() InstallType { + if x != nil { + return x.Type + } + return InstallType_UNKNOWN +} + +func (x *InstallSource) GetRepo() string { + if x != nil { + return x.Repo + } + return "" +} + +func (x *InstallSource) GetRefs() []*SourceRef { + if x != nil { + return x.Refs + } + return nil +} + +func (x *InstallSource) SetType(v InstallType) { + x.Type = v +} + +func (x *InstallSource) SetRepo(v string) { + x.Repo = v +} + +func (x *InstallSource) SetRefs(v []*SourceRef) { + x.Refs = v +} + +type InstallSource_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Type InstallType + Repo string + Refs []*SourceRef +} + +func (b0 InstallSource_builder) Build() *InstallSource { + m0 := &InstallSource{} + b, x := &b0, m0 + _, _ = b, x + x.Type = b.Type + x.Repo = b.Repo + x.Refs = b.Refs + return m0 +} + +// SourceRef exists because protobuf maps do not support enums as a map key. The expected use is a +// repeated SourceRef field with one entry per NodeType. It is up to the consumer to decide what to +// do if multiple of the same service_type are found, typically the last entry wins. +type SourceRef struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + ServiceType beegfs.NodeType `protobuf:"varint,1,opt,name=service_type,json=serviceType,proto3,enum=beegfs.NodeType" json:"service_type,omitempty"` + Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SourceRef) Reset() { + *x = SourceRef{} + mi := &file_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SourceRef) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SourceRef) ProtoMessage() {} + +func (x *SourceRef) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *SourceRef) GetServiceType() beegfs.NodeType { + if x != nil { + return x.ServiceType + } + return beegfs.NodeType(0) +} + +func (x *SourceRef) GetRef() string { + if x != nil { + return x.Ref + } + return "" +} + +func (x *SourceRef) SetServiceType(v beegfs.NodeType) { + x.ServiceType = v +} + +func (x *SourceRef) SetRef(v string) { + x.Ref = v +} + +type SourceRef_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + ServiceType beegfs.NodeType + Ref string +} + +func (b0 SourceRef_builder) Build() *SourceRef { + m0 := &SourceRef{} + b, x := &b0, m0 + _, _ = b, x + x.ServiceType = b.ServiceType + x.Ref = b.Ref + return m0 +} + +// ServiceConfig exists because protobuf maps do not support enums as a map key or maps as a value. The +// expected use is a repeated ServiceConfig field with one entry per NodeType. It is up to the consumer +// to decide what to do if multiple of the same service_type are found, typically the last entry wins. +type ServiceConfig struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + ServiceType beegfs.NodeType `protobuf:"varint,1,opt,name=service_type,json=serviceType,proto3,enum=beegfs.NodeType" json:"service_type,omitempty"` + StringMap map[string]string `protobuf:"bytes,2,rep,name=string_map,json=stringMap,proto3" json:"string_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ServiceConfig) Reset() { + *x = ServiceConfig{} + mi := &file_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ServiceConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceConfig) ProtoMessage() {} + +func (x *ServiceConfig) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *ServiceConfig) GetServiceType() beegfs.NodeType { + if x != nil { + return x.ServiceType + } + return beegfs.NodeType(0) +} + +func (x *ServiceConfig) GetStringMap() map[string]string { + if x != nil { + return x.StringMap + } + return nil +} + +func (x *ServiceConfig) SetServiceType(v beegfs.NodeType) { + x.ServiceType = v +} + +func (x *ServiceConfig) SetStringMap(v map[string]string) { + x.StringMap = v +} + +type ServiceConfig_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + ServiceType beegfs.NodeType + StringMap map[string]string +} + +func (b0 ServiceConfig_builder) Build() *ServiceConfig { + m0 := &ServiceConfig{} + b, x := &b0, m0 + _, _ = b, x + x.ServiceType = b.ServiceType + x.StringMap = b.StringMap + return m0 +} + +// A physical or virtual machine where the BeeGFS agent is running and one or more BeeGFS services +// (services or clients) should be deployed by the agent. +type Agent struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + // The agent can deploy one or more services on each host machine/VM. + Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` + // The agent can configure global interfaces used by multiple services. + Interfaces []*Nic `protobuf:"bytes,2,rep,name=interfaces,proto3" json:"interfaces,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Agent) Reset() { + *x = Agent{} + mi := &file_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Agent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Agent) ProtoMessage() {} + +func (x *Agent) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Agent) GetServices() []*Service { + if x != nil { + return x.Services + } + return nil +} + +func (x *Agent) GetInterfaces() []*Nic { + if x != nil { + return x.Interfaces + } + return nil +} + +func (x *Agent) SetServices(v []*Service) { + x.Services = v +} + +func (x *Agent) SetInterfaces(v []*Nic) { + x.Interfaces = v +} + +type Agent_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // The agent can deploy one or more services on each host machine/VM. + Services []*Service + // The agent can configure global interfaces used by multiple services. + Interfaces []*Nic +} + +func (b0 Agent_builder) Build() *Agent { + m0 := &Agent{} + b, x := &b0, m0 + _, _ = b, x + x.Services = b.Services + x.Interfaces = b.Interfaces + return m0 +} + +// A service is a single instance of a particular BeeGFS NodeType (e.g., meta, client, sync). +type Service struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + NumId uint32 `protobuf:"varint,1,opt,name=num_id,json=numId,proto3" json:"num_id,omitempty"` + ServiceType beegfs.NodeType `protobuf:"varint,2,opt,name=service_type,json=serviceType,proto3,enum=beegfs.NodeType" json:"service_type,omitempty"` + // Configuration that should be applied to this specific service. + Config map[string]string `protobuf:"bytes,3,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Interfaces []*Nic `protobuf:"bytes,4,rep,name=interfaces,proto3" json:"interfaces,omitempty"` + Targets []*Target `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets,omitempty"` + Executable string `protobuf:"bytes,6,opt,name=executable,proto3" json:"executable,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Service) Reset() { + *x = Service{} + mi := &file_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Service) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Service) ProtoMessage() {} + +func (x *Service) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Service) GetNumId() uint32 { + if x != nil { + return x.NumId + } + return 0 +} + +func (x *Service) GetServiceType() beegfs.NodeType { + if x != nil { + return x.ServiceType + } + return beegfs.NodeType(0) +} + +func (x *Service) GetConfig() map[string]string { + if x != nil { + return x.Config + } + return nil +} + +func (x *Service) GetInterfaces() []*Nic { + if x != nil { + return x.Interfaces + } + return nil +} + +func (x *Service) GetTargets() []*Target { + if x != nil { + return x.Targets + } + return nil +} + +func (x *Service) GetExecutable() string { + if x != nil { + return x.Executable + } + return "" +} + +func (x *Service) SetNumId(v uint32) { + x.NumId = v +} + +func (x *Service) SetServiceType(v beegfs.NodeType) { + x.ServiceType = v +} + +func (x *Service) SetConfig(v map[string]string) { + x.Config = v +} + +func (x *Service) SetInterfaces(v []*Nic) { + x.Interfaces = v +} + +func (x *Service) SetTargets(v []*Target) { + x.Targets = v +} + +func (x *Service) SetExecutable(v string) { + x.Executable = v +} + +type Service_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + NumId uint32 + ServiceType beegfs.NodeType + // Configuration that should be applied to this specific service. + Config map[string]string + Interfaces []*Nic + Targets []*Target + Executable string +} + +func (b0 Service_builder) Build() *Service { + m0 := &Service{} + b, x := &b0, m0 + _, _ = b, x + x.NumId = b.NumId + x.ServiceType = b.ServiceType + x.Config = b.Config + x.Interfaces = b.Interfaces + x.Targets = b.Targets + x.Executable = b.Executable + return m0 +} + +type Nic struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + // The name of the interface to use. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The IP/subnet of the interface. Only required if the IP should be configured if needed. + Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Nic) Reset() { + *x = Nic{} + mi := &file_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Nic) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Nic) ProtoMessage() {} + +func (x *Nic) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Nic) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Nic) GetAddr() string { + if x != nil { + return x.Addr + } + return "" +} + +func (x *Nic) SetName(v string) { + x.Name = v +} + +func (x *Nic) SetAddr(v string) { + x.Addr = v +} + +type Nic_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // The name of the interface to use. + Name string + // The IP/subnet of the interface. Only required if the IP should be configured if needed. + Addr string +} + +func (b0 Nic_builder) Build() *Nic { + m0 := &Nic{} + b, x := &b0, m0 + _, _ = b, x + x.Name = b.Name + x.Addr = b.Addr + return m0 +} + +type Target struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + // The target ID. Note the type is derived from the associated service. + NumId uint32 `protobuf:"varint,1,opt,name=num_id,json=numId,proto3" json:"num_id,omitempty"` + // Path to the directory under which this BeeGFS target directory will be created. For example + // given path /mnt/ and storage target 101 the target contents would be at /mnt/s_101/. Always + // required and this directory must already exist unless mount_opts is also specified. + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + // Optionally set to format+mount the underlying file system if needed. The underlying file system + // will be mounted at path/shortFsUUID/type_id where shortFsUUID is the first 8 hex digits of the + // full 128-bit v4 FsUUID. For example given FsUUID 3b6f972b-64c7-4378-9f8e-172cf88c7d93, storage + // target 101 and root_dir `/mnt/` the target will be mounted at `/mnt/3b6f972b/storage_101`. + Ulfs *Target_UnderlyingFSOpts `protobuf:"bytes,3,opt,name=ulfs,proto3,oneof" json:"ulfs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Target) Reset() { + *x = Target{} + mi := &file_agent_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Target) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Target) ProtoMessage() {} + +func (x *Target) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Target) GetNumId() uint32 { + if x != nil { + return x.NumId + } + return 0 +} + +func (x *Target) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +func (x *Target) GetUlfs() *Target_UnderlyingFSOpts { + if x != nil { + return x.Ulfs + } + return nil +} + +func (x *Target) SetNumId(v uint32) { + x.NumId = v +} + +func (x *Target) SetPath(v string) { + x.Path = v +} + +func (x *Target) SetUlfs(v *Target_UnderlyingFSOpts) { + x.Ulfs = v +} + +func (x *Target) HasUlfs() bool { + if x == nil { + return false + } + return x.Ulfs != nil +} + +func (x *Target) ClearUlfs() { + x.Ulfs = nil +} + +type Target_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // The target ID. Note the type is derived from the associated service. + NumId uint32 + // Path to the directory under which this BeeGFS target directory will be created. For example + // given path /mnt/ and storage target 101 the target contents would be at /mnt/s_101/. Always + // required and this directory must already exist unless mount_opts is also specified. + Path string + // Optionally set to format+mount the underlying file system if needed. The underlying file system + // will be mounted at path/shortFsUUID/type_id where shortFsUUID is the first 8 hex digits of the + // full 128-bit v4 FsUUID. For example given FsUUID 3b6f972b-64c7-4378-9f8e-172cf88c7d93, storage + // target 101 and root_dir `/mnt/` the target will be mounted at `/mnt/3b6f972b/storage_101`. + Ulfs *Target_UnderlyingFSOpts +} + +func (b0 Target_builder) Build() *Target { + m0 := &Target{} + b, x := &b0, m0 + _, _ = b, x + x.NumId = b.NumId + x.Path = b.Path + x.Ulfs = b.Ulfs + return m0 +} + +type Filesystem_Common struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + Auth *Auth `protobuf:"bytes,1,opt,name=auth,proto3,oneof" json:"auth,omitempty"` + Tls *TLS `protobuf:"bytes,2,opt,name=tls,proto3,oneof" json:"tls,omitempty"` + InstallSource *InstallSource `protobuf:"bytes,3,opt,name=install_source,json=installSource,proto3" json:"install_source,omitempty"` + GlobalConfig []*ServiceConfig `protobuf:"bytes,4,rep,name=global_config,json=globalConfig,proto3" json:"global_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Filesystem_Common) Reset() { + *x = Filesystem_Common{} + mi := &file_agent_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Filesystem_Common) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Filesystem_Common) ProtoMessage() {} + +func (x *Filesystem_Common) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Filesystem_Common) GetAuth() *Auth { + if x != nil { + return x.Auth + } + return nil +} + +func (x *Filesystem_Common) GetTls() *TLS { + if x != nil { + return x.Tls + } + return nil +} + +func (x *Filesystem_Common) GetInstallSource() *InstallSource { + if x != nil { + return x.InstallSource + } + return nil +} + +func (x *Filesystem_Common) GetGlobalConfig() []*ServiceConfig { + if x != nil { + return x.GlobalConfig + } + return nil +} + +func (x *Filesystem_Common) SetAuth(v *Auth) { + x.Auth = v +} + +func (x *Filesystem_Common) SetTls(v *TLS) { + x.Tls = v +} + +func (x *Filesystem_Common) SetInstallSource(v *InstallSource) { + x.InstallSource = v +} + +func (x *Filesystem_Common) SetGlobalConfig(v []*ServiceConfig) { + x.GlobalConfig = v +} + +func (x *Filesystem_Common) HasAuth() bool { + if x == nil { + return false + } + return x.Auth != nil +} + +func (x *Filesystem_Common) HasTls() bool { + if x == nil { + return false + } + return x.Tls != nil +} + +func (x *Filesystem_Common) HasInstallSource() bool { + if x == nil { + return false + } + return x.InstallSource != nil +} + +func (x *Filesystem_Common) ClearAuth() { + x.Auth = nil +} + +func (x *Filesystem_Common) ClearTls() { + x.Tls = nil +} + +func (x *Filesystem_Common) ClearInstallSource() { + x.InstallSource = nil +} + +type Filesystem_Common_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Auth *Auth + Tls *TLS + InstallSource *InstallSource + GlobalConfig []*ServiceConfig +} + +func (b0 Filesystem_Common_builder) Build() *Filesystem_Common { + m0 := &Filesystem_Common{} + b, x := &b0, m0 + _, _ = b, x + x.Auth = b.Auth + x.Tls = b.Tls + x.InstallSource = b.InstallSource + x.GlobalConfig = b.GlobalConfig + return m0 +} + +type Target_UnderlyingFSOpts struct { + state protoimpl.MessageState `protogen:"hybrid.v1"` + Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` + Type Target_UnderlyingFSOpts_FsType `protobuf:"varint,2,opt,name=type,proto3,enum=agent.Target_UnderlyingFSOpts_FsType" json:"type,omitempty"` + FormatFlags string `protobuf:"bytes,3,opt,name=format_flags,json=formatFlags,proto3" json:"format_flags,omitempty"` + MountFlags string `protobuf:"bytes,4,opt,name=mount_flags,json=mountFlags,proto3" json:"mount_flags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Target_UnderlyingFSOpts) Reset() { + *x = Target_UnderlyingFSOpts{} + mi := &file_agent_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Target_UnderlyingFSOpts) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Target_UnderlyingFSOpts) ProtoMessage() {} + +func (x *Target_UnderlyingFSOpts) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Target_UnderlyingFSOpts) GetDevice() string { + if x != nil { + return x.Device + } + return "" +} + +func (x *Target_UnderlyingFSOpts) GetType() Target_UnderlyingFSOpts_FsType { + if x != nil { + return x.Type + } + return Target_UnderlyingFSOpts_UNSPECIFIED +} + +func (x *Target_UnderlyingFSOpts) GetFormatFlags() string { + if x != nil { + return x.FormatFlags + } + return "" +} + +func (x *Target_UnderlyingFSOpts) GetMountFlags() string { + if x != nil { + return x.MountFlags + } + return "" +} + +func (x *Target_UnderlyingFSOpts) SetDevice(v string) { + x.Device = v +} + +func (x *Target_UnderlyingFSOpts) SetType(v Target_UnderlyingFSOpts_FsType) { + x.Type = v +} + +func (x *Target_UnderlyingFSOpts) SetFormatFlags(v string) { + x.FormatFlags = v +} + +func (x *Target_UnderlyingFSOpts) SetMountFlags(v string) { + x.MountFlags = v +} + +type Target_UnderlyingFSOpts_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Device string + Type Target_UnderlyingFSOpts_FsType + FormatFlags string + MountFlags string +} + +func (b0 Target_UnderlyingFSOpts_builder) Build() *Target_UnderlyingFSOpts { + m0 := &Target_UnderlyingFSOpts{} + b, x := &b0, m0 + _, _ = b, x + x.Device = b.Device + x.Type = b.Type + x.FormatFlags = b.FormatFlags + x.MountFlags = b.MountFlags + return m0 +} + +var File_agent_proto protoreflect.FileDescriptor + +var file_agent_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x0c, 0x62, 0x65, 0x65, 0x67, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, + 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, + 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, + 0x4c, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x27, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x33, 0x0a, + 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x22, 0x38, 0x0a, 0x1b, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x1c, + 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x50, + 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x22, 0x60, 0x0a, 0x1c, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, + 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x22, 0xdf, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, 0x58, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0c, + 0x0a, 0x08, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, + 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, + 0x45, 0x44, 0x10, 0x05, 0x22, 0x97, 0x03, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x46, 0x0a, 0x0a, 0x41, 0x67, 0x65, + 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0xda, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x04, + 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x48, 0x00, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x88, + 0x01, 0x01, 0x12, 0x21, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0a, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x4c, 0x53, 0x48, 0x01, 0x52, 0x03, 0x74, + 0x6c, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3b, 0x0a, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, + 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x0c, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x07, 0x0a, + 0x05, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x74, 0x6c, 0x73, 0x22, 0x1e, + 0x0a, 0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x2b, + 0x0a, 0x03, 0x54, 0x4c, 0x53, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x72, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x22, 0x71, 0x0a, 0x0d, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x65, 0x66, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x52, 0x04, 0x72, 0x65, 0x66, 0x73, 0x22, 0x52, + 0x0a, 0x09, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x12, 0x33, 0x0a, 0x0c, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x65, 0x67, 0x66, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, + 0x65, 0x66, 0x22, 0xc6, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x33, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x65, + 0x67, 0x66, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x73, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x09, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x1a, 0x3c, 0x0a, + 0x0e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5f, 0x0a, 0x05, 0x41, + 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x12, 0x2a, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x69, 0x63, + 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x22, 0xb9, 0x02, 0x0a, + 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x75, 0x6d, 0x49, 0x64, 0x12, + 0x33, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x65, 0x67, 0x66, 0x73, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x69, 0x63, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x1e, 0x0a, + 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x39, 0x0a, + 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2d, 0x0a, 0x03, 0x4e, 0x69, 0x63, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x22, 0xc6, 0x02, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x75, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x37, 0x0a, + 0x04, 0x75, 0x6c, 0x66, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x72, + 0x6c, 0x79, 0x69, 0x6e, 0x67, 0x46, 0x53, 0x4f, 0x70, 0x74, 0x73, 0x48, 0x00, 0x52, 0x04, 0x75, + 0x6c, 0x66, 0x73, 0x88, 0x01, 0x01, 0x1a, 0xce, 0x01, 0x0a, 0x10, 0x55, 0x6e, 0x64, 0x65, 0x72, + 0x6c, 0x79, 0x69, 0x6e, 0x67, 0x46, 0x53, 0x4f, 0x70, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x25, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x6c, 0x79, 0x69, 0x6e, 0x67, 0x46, 0x53, 0x4f, 0x70, 0x74, + 0x73, 0x2e, 0x46, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, + 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x46, 0x6c, 0x61, 0x67, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x61, + 0x67, 0x73, 0x22, 0x23, 0x0a, 0x06, 0x46, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, + 0x04, 0x45, 0x58, 0x54, 0x34, 0x10, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, 0x6c, 0x66, 0x73, + 0x2a, 0x32, 0x0a, 0x0b, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, + 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x43, 0x4b, 0x41, + 0x47, 0x45, 0x10, 0x02, 0x32, 0x9b, 0x02, 0x0a, 0x08, 0x42, 0x65, 0x65, 0x41, 0x67, 0x65, 0x6e, + 0x74, 0x12, 0x4d, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x5f, 0x0a, 0x14, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5f, 0x0a, 0x14, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x6e, + 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, + 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var file_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_agent_proto_goTypes = []any{ + (InstallType)(0), // 0: agent.InstallType + (Status_State)(0), // 1: agent.Status.State + (Target_UnderlyingFSOpts_FsType)(0), // 2: agent.Target.UnderlyingFSOpts.FsType + (*UpdateManifestRequest)(nil), // 3: agent.UpdateManifestRequest + (*UpdateManifestResponse)(nil), // 4: agent.UpdateManifestResponse + (*ReconciliationStatusRequest)(nil), // 5: agent.ReconciliationStatusRequest + (*ReconciliationStatusResponse)(nil), // 6: agent.ReconciliationStatusResponse + (*CancelReconciliationRequest)(nil), // 7: agent.CancelReconciliationRequest + (*CancelReconciliationResponse)(nil), // 8: agent.CancelReconciliationResponse + (*Status)(nil), // 9: agent.Status + (*Filesystem)(nil), // 10: agent.Filesystem + (*Auth)(nil), // 11: agent.Auth + (*TLS)(nil), // 12: agent.TLS + (*InstallSource)(nil), // 13: agent.InstallSource + (*SourceRef)(nil), // 14: agent.SourceRef + (*ServiceConfig)(nil), // 15: agent.ServiceConfig + (*Agent)(nil), // 16: agent.Agent + (*Service)(nil), // 17: agent.Service + (*Nic)(nil), // 18: agent.Nic + (*Target)(nil), // 19: agent.Target + nil, // 20: agent.UpdateManifestRequest.ConfigEntry + nil, // 21: agent.Filesystem.AgentEntry + (*Filesystem_Common)(nil), // 22: agent.Filesystem.Common + nil, // 23: agent.ServiceConfig.StringMapEntry + nil, // 24: agent.Service.ConfigEntry + (*Target_UnderlyingFSOpts)(nil), // 25: agent.Target.UnderlyingFSOpts + (*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp + (beegfs.NodeType)(0), // 27: beegfs.NodeType +} +var file_agent_proto_depIdxs = []int32{ + 20, // 0: agent.UpdateManifestRequest.config:type_name -> agent.UpdateManifestRequest.ConfigEntry + 9, // 1: agent.ReconciliationStatusResponse.status:type_name -> agent.Status + 9, // 2: agent.CancelReconciliationResponse.status:type_name -> agent.Status + 1, // 3: agent.Status.state:type_name -> agent.Status.State + 26, // 4: agent.Status.updated:type_name -> google.protobuf.Timestamp + 21, // 5: agent.Filesystem.agent:type_name -> agent.Filesystem.AgentEntry + 22, // 6: agent.Filesystem.common:type_name -> agent.Filesystem.Common + 0, // 7: agent.InstallSource.type:type_name -> agent.InstallType + 14, // 8: agent.InstallSource.refs:type_name -> agent.SourceRef + 27, // 9: agent.SourceRef.service_type:type_name -> beegfs.NodeType + 27, // 10: agent.ServiceConfig.service_type:type_name -> beegfs.NodeType + 23, // 11: agent.ServiceConfig.string_map:type_name -> agent.ServiceConfig.StringMapEntry + 17, // 12: agent.Agent.services:type_name -> agent.Service + 18, // 13: agent.Agent.interfaces:type_name -> agent.Nic + 27, // 14: agent.Service.service_type:type_name -> beegfs.NodeType + 24, // 15: agent.Service.config:type_name -> agent.Service.ConfigEntry + 18, // 16: agent.Service.interfaces:type_name -> agent.Nic + 19, // 17: agent.Service.targets:type_name -> agent.Target + 25, // 18: agent.Target.ulfs:type_name -> agent.Target.UnderlyingFSOpts + 10, // 19: agent.UpdateManifestRequest.ConfigEntry.value:type_name -> agent.Filesystem + 16, // 20: agent.Filesystem.AgentEntry.value:type_name -> agent.Agent + 11, // 21: agent.Filesystem.Common.auth:type_name -> agent.Auth + 12, // 22: agent.Filesystem.Common.tls:type_name -> agent.TLS + 13, // 23: agent.Filesystem.Common.install_source:type_name -> agent.InstallSource + 15, // 24: agent.Filesystem.Common.global_config:type_name -> agent.ServiceConfig + 2, // 25: agent.Target.UnderlyingFSOpts.type:type_name -> agent.Target.UnderlyingFSOpts.FsType + 3, // 26: agent.BeeAgent.UpdateManifest:input_type -> agent.UpdateManifestRequest + 5, // 27: agent.BeeAgent.ReconciliationStatus:input_type -> agent.ReconciliationStatusRequest + 7, // 28: agent.BeeAgent.CancelReconciliation:input_type -> agent.CancelReconciliationRequest + 4, // 29: agent.BeeAgent.UpdateManifest:output_type -> agent.UpdateManifestResponse + 6, // 30: agent.BeeAgent.ReconciliationStatus:output_type -> agent.ReconciliationStatusResponse + 8, // 31: agent.BeeAgent.CancelReconciliation:output_type -> agent.CancelReconciliationResponse + 29, // [29:32] is the sub-list for method output_type + 26, // [26:29] is the sub-list for method input_type + 26, // [26:26] is the sub-list for extension type_name + 26, // [26:26] is the sub-list for extension extendee + 0, // [0:26] is the sub-list for field type_name +} + +func init() { file_agent_proto_init() } +func file_agent_proto_init() { + if File_agent_proto != nil { + return + } + file_agent_proto_msgTypes[16].OneofWrappers = []any{} + file_agent_proto_msgTypes[19].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_agent_proto_rawDesc, + NumEnums: 3, + NumMessages: 23, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_agent_proto_goTypes, + DependencyIndexes: file_agent_proto_depIdxs, + EnumInfos: file_agent_proto_enumTypes, + MessageInfos: file_agent_proto_msgTypes, + }.Build() + File_agent_proto = out.File + file_agent_proto_rawDesc = nil + file_agent_proto_goTypes = nil + file_agent_proto_depIdxs = nil +} diff --git a/go/agent/agent_grpc.pb.go b/go/agent/agent_grpc.pb.go new file mode 100644 index 0000000..ca8e9e6 --- /dev/null +++ b/go/agent/agent_grpc.pb.go @@ -0,0 +1,197 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.5.1 +// - protoc v5.29.2 +// source: agent.proto + +package agent + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.64.0 or later. +const _ = grpc.SupportPackageIsVersion9 + +const ( + BeeAgent_UpdateManifest_FullMethodName = "/agent.BeeAgent/UpdateManifest" + BeeAgent_ReconciliationStatus_FullMethodName = "/agent.BeeAgent/ReconciliationStatus" + BeeAgent_CancelReconciliation_FullMethodName = "/agent.BeeAgent/CancelReconciliation" +) + +// BeeAgentClient is the client API for BeeAgent service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type BeeAgentClient interface { + UpdateManifest(ctx context.Context, in *UpdateManifestRequest, opts ...grpc.CallOption) (*UpdateManifestResponse, error) + ReconciliationStatus(ctx context.Context, in *ReconciliationStatusRequest, opts ...grpc.CallOption) (*ReconciliationStatusResponse, error) + CancelReconciliation(ctx context.Context, in *CancelReconciliationRequest, opts ...grpc.CallOption) (*CancelReconciliationResponse, error) +} + +type beeAgentClient struct { + cc grpc.ClientConnInterface +} + +func NewBeeAgentClient(cc grpc.ClientConnInterface) BeeAgentClient { + return &beeAgentClient{cc} +} + +func (c *beeAgentClient) UpdateManifest(ctx context.Context, in *UpdateManifestRequest, opts ...grpc.CallOption) (*UpdateManifestResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(UpdateManifestResponse) + err := c.cc.Invoke(ctx, BeeAgent_UpdateManifest_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beeAgentClient) ReconciliationStatus(ctx context.Context, in *ReconciliationStatusRequest, opts ...grpc.CallOption) (*ReconciliationStatusResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(ReconciliationStatusResponse) + err := c.cc.Invoke(ctx, BeeAgent_ReconciliationStatus_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *beeAgentClient) CancelReconciliation(ctx context.Context, in *CancelReconciliationRequest, opts ...grpc.CallOption) (*CancelReconciliationResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(CancelReconciliationResponse) + err := c.cc.Invoke(ctx, BeeAgent_CancelReconciliation_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + +// BeeAgentServer is the server API for BeeAgent service. +// All implementations must embed UnimplementedBeeAgentServer +// for forward compatibility. +type BeeAgentServer interface { + UpdateManifest(context.Context, *UpdateManifestRequest) (*UpdateManifestResponse, error) + ReconciliationStatus(context.Context, *ReconciliationStatusRequest) (*ReconciliationStatusResponse, error) + CancelReconciliation(context.Context, *CancelReconciliationRequest) (*CancelReconciliationResponse, error) + mustEmbedUnimplementedBeeAgentServer() +} + +// UnimplementedBeeAgentServer must be embedded to have +// forward compatible implementations. +// +// NOTE: this should be embedded by value instead of pointer to avoid a nil +// pointer dereference when methods are called. +type UnimplementedBeeAgentServer struct{} + +func (UnimplementedBeeAgentServer) UpdateManifest(context.Context, *UpdateManifestRequest) (*UpdateManifestResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateManifest not implemented") +} +func (UnimplementedBeeAgentServer) ReconciliationStatus(context.Context, *ReconciliationStatusRequest) (*ReconciliationStatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReconciliationStatus not implemented") +} +func (UnimplementedBeeAgentServer) CancelReconciliation(context.Context, *CancelReconciliationRequest) (*CancelReconciliationResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CancelReconciliation not implemented") +} +func (UnimplementedBeeAgentServer) mustEmbedUnimplementedBeeAgentServer() {} +func (UnimplementedBeeAgentServer) testEmbeddedByValue() {} + +// UnsafeBeeAgentServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to BeeAgentServer will +// result in compilation errors. +type UnsafeBeeAgentServer interface { + mustEmbedUnimplementedBeeAgentServer() +} + +func RegisterBeeAgentServer(s grpc.ServiceRegistrar, srv BeeAgentServer) { + // If the following call pancis, it indicates UnimplementedBeeAgentServer was + // embedded by pointer and is nil. This will cause panics if an + // unimplemented method is ever invoked, so we test this at initialization + // time to prevent it from happening at runtime later due to I/O. + if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { + t.testEmbeddedByValue() + } + s.RegisterService(&BeeAgent_ServiceDesc, srv) +} + +func _BeeAgent_UpdateManifest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateManifestRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BeeAgentServer).UpdateManifest(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: BeeAgent_UpdateManifest_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BeeAgentServer).UpdateManifest(ctx, req.(*UpdateManifestRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _BeeAgent_ReconciliationStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ReconciliationStatusRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BeeAgentServer).ReconciliationStatus(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: BeeAgent_ReconciliationStatus_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BeeAgentServer).ReconciliationStatus(ctx, req.(*ReconciliationStatusRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _BeeAgent_CancelReconciliation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CancelReconciliationRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(BeeAgentServer).CancelReconciliation(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: BeeAgent_CancelReconciliation_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(BeeAgentServer).CancelReconciliation(ctx, req.(*CancelReconciliationRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// BeeAgent_ServiceDesc is the grpc.ServiceDesc for BeeAgent service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var BeeAgent_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "agent.BeeAgent", + HandlerType: (*BeeAgentServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "UpdateManifest", + Handler: _BeeAgent_UpdateManifest_Handler, + }, + { + MethodName: "ReconciliationStatus", + Handler: _BeeAgent_ReconciliationStatus_Handler, + }, + { + MethodName: "CancelReconciliation", + Handler: _BeeAgent_CancelReconciliation_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "agent.proto", +} diff --git a/go/agent/agent_protoopaque.pb.go b/go/agent/agent_protoopaque.pb.go new file mode 100644 index 0000000..303b469 --- /dev/null +++ b/go/agent/agent_protoopaque.pb.go @@ -0,0 +1,2023 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.36.2 +// protoc v5.29.2 +// source: agent.proto + +//go:build protoopaque + +package agent + +import ( + beegfs "github.com/thinkparq/protobuf/go/beegfs" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type InstallType int32 + +const ( + InstallType_UNKNOWN InstallType = 0 + InstallType_LOCAL InstallType = 1 + InstallType_PACKAGE InstallType = 2 +) + +// Enum value maps for InstallType. +var ( + InstallType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "LOCAL", + 2: "PACKAGE", + } + InstallType_value = map[string]int32{ + "UNKNOWN": 0, + "LOCAL": 1, + "PACKAGE": 2, + } +) + +func (x InstallType) Enum() *InstallType { + p := new(InstallType) + *p = x + return p +} + +func (x InstallType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (InstallType) Descriptor() protoreflect.EnumDescriptor { + return file_agent_proto_enumTypes[0].Descriptor() +} + +func (InstallType) Type() protoreflect.EnumType { + return &file_agent_proto_enumTypes[0] +} + +func (x InstallType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +type Status_State int32 + +const ( + Status_UNSPECIFIED Status_State = 0 // Should not be used. Exists only as the default if there is a programming error. + Status_IDLE Status_State = 1 // No configuration has been provided to the agent. + Status_APPLYING Status_State = 2 // Agent is applying the requested configuration. + Status_SUCCESS Status_State = 3 // Agent has applied all requested configuration. + Status_FAILED Status_State = 4 // The agent has failed to apply the requested configuration. + Status_CANCELLED Status_State = 5 // The user requested the agent cancel applying the requested configuration. +) + +// Enum value maps for Status_State. +var ( + Status_State_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "IDLE", + 2: "APPLYING", + 3: "SUCCESS", + 4: "FAILED", + 5: "CANCELLED", + } + Status_State_value = map[string]int32{ + "UNSPECIFIED": 0, + "IDLE": 1, + "APPLYING": 2, + "SUCCESS": 3, + "FAILED": 4, + "CANCELLED": 5, + } +) + +func (x Status_State) Enum() *Status_State { + p := new(Status_State) + *p = x + return p +} + +func (x Status_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Status_State) Descriptor() protoreflect.EnumDescriptor { + return file_agent_proto_enumTypes[1].Descriptor() +} + +func (Status_State) Type() protoreflect.EnumType { + return &file_agent_proto_enumTypes[1] +} + +func (x Status_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +type Target_UnderlyingFSOpts_FsType int32 + +const ( + Target_UnderlyingFSOpts_UNSPECIFIED Target_UnderlyingFSOpts_FsType = 0 + Target_UnderlyingFSOpts_EXT4 Target_UnderlyingFSOpts_FsType = 1 +) + +// Enum value maps for Target_UnderlyingFSOpts_FsType. +var ( + Target_UnderlyingFSOpts_FsType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "EXT4", + } + Target_UnderlyingFSOpts_FsType_value = map[string]int32{ + "UNSPECIFIED": 0, + "EXT4": 1, + } +) + +func (x Target_UnderlyingFSOpts_FsType) Enum() *Target_UnderlyingFSOpts_FsType { + p := new(Target_UnderlyingFSOpts_FsType) + *p = x + return p +} + +func (x Target_UnderlyingFSOpts_FsType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Target_UnderlyingFSOpts_FsType) Descriptor() protoreflect.EnumDescriptor { + return file_agent_proto_enumTypes[2].Descriptor() +} + +func (Target_UnderlyingFSOpts_FsType) Type() protoreflect.EnumType { + return &file_agent_proto_enumTypes[2] +} + +func (x Target_UnderlyingFSOpts_FsType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +type UpdateManifestRequest struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Config map[string]*Filesystem `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateManifestRequest) Reset() { + *x = UpdateManifestRequest{} + mi := &file_agent_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateManifestRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateManifestRequest) ProtoMessage() {} + +func (x *UpdateManifestRequest) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *UpdateManifestRequest) GetConfig() map[string]*Filesystem { + if x != nil { + return x.xxx_hidden_Config + } + return nil +} + +func (x *UpdateManifestRequest) SetConfig(v map[string]*Filesystem) { + x.xxx_hidden_Config = v +} + +type UpdateManifestRequest_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // Map of FsUUIDs to file systems. + Config map[string]*Filesystem +} + +func (b0 UpdateManifestRequest_builder) Build() *UpdateManifestRequest { + m0 := &UpdateManifestRequest{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Config = b.Config + return m0 +} + +type UpdateManifestResponse struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *UpdateManifestResponse) Reset() { + *x = UpdateManifestResponse{} + mi := &file_agent_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *UpdateManifestResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateManifestResponse) ProtoMessage() {} + +func (x *UpdateManifestResponse) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *UpdateManifestResponse) GetAgentId() string { + if x != nil { + return x.xxx_hidden_AgentId + } + return "" +} + +func (x *UpdateManifestResponse) SetAgentId(v string) { + x.xxx_hidden_AgentId = v +} + +type UpdateManifestResponse_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string +} + +func (b0 UpdateManifestResponse_builder) Build() *UpdateManifestResponse { + m0 := &UpdateManifestResponse{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_AgentId = b.AgentId + return m0 +} + +type ReconciliationStatusRequest struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ReconciliationStatusRequest) Reset() { + *x = ReconciliationStatusRequest{} + mi := &file_agent_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ReconciliationStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReconciliationStatusRequest) ProtoMessage() {} + +func (x *ReconciliationStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *ReconciliationStatusRequest) GetAgentId() string { + if x != nil { + return x.xxx_hidden_AgentId + } + return "" +} + +func (x *ReconciliationStatusRequest) SetAgentId(v string) { + x.xxx_hidden_AgentId = v +} + +type ReconciliationStatusRequest_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string +} + +func (b0 ReconciliationStatusRequest_builder) Build() *ReconciliationStatusRequest { + m0 := &ReconciliationStatusRequest{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_AgentId = b.AgentId + return m0 +} + +type ReconciliationStatusResponse struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + xxx_hidden_Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ReconciliationStatusResponse) Reset() { + *x = ReconciliationStatusResponse{} + mi := &file_agent_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ReconciliationStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReconciliationStatusResponse) ProtoMessage() {} + +func (x *ReconciliationStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[3] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *ReconciliationStatusResponse) GetAgentId() string { + if x != nil { + return x.xxx_hidden_AgentId + } + return "" +} + +func (x *ReconciliationStatusResponse) GetStatus() *Status { + if x != nil { + return x.xxx_hidden_Status + } + return nil +} + +func (x *ReconciliationStatusResponse) SetAgentId(v string) { + x.xxx_hidden_AgentId = v +} + +func (x *ReconciliationStatusResponse) SetStatus(v *Status) { + x.xxx_hidden_Status = v +} + +func (x *ReconciliationStatusResponse) HasStatus() bool { + if x == nil { + return false + } + return x.xxx_hidden_Status != nil +} + +func (x *ReconciliationStatusResponse) ClearStatus() { + x.xxx_hidden_Status = nil +} + +type ReconciliationStatusResponse_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string + Status *Status +} + +func (b0 ReconciliationStatusResponse_builder) Build() *ReconciliationStatusResponse { + m0 := &ReconciliationStatusResponse{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_AgentId = b.AgentId + x.xxx_hidden_Status = b.Status + return m0 +} + +type CancelReconciliationRequest struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + xxx_hidden_Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CancelReconciliationRequest) Reset() { + *x = CancelReconciliationRequest{} + mi := &file_agent_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CancelReconciliationRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelReconciliationRequest) ProtoMessage() {} + +func (x *CancelReconciliationRequest) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[4] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *CancelReconciliationRequest) GetAgentId() string { + if x != nil { + return x.xxx_hidden_AgentId + } + return "" +} + +func (x *CancelReconciliationRequest) GetReason() string { + if x != nil { + return x.xxx_hidden_Reason + } + return "" +} + +func (x *CancelReconciliationRequest) SetAgentId(v string) { + x.xxx_hidden_AgentId = v +} + +func (x *CancelReconciliationRequest) SetReason(v string) { + x.xxx_hidden_Reason = v +} + +type CancelReconciliationRequest_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string + Reason string +} + +func (b0 CancelReconciliationRequest_builder) Build() *CancelReconciliationRequest { + m0 := &CancelReconciliationRequest{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_AgentId = b.AgentId + x.xxx_hidden_Reason = b.Reason + return m0 +} + +type CancelReconciliationResponse struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + xxx_hidden_Status *Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *CancelReconciliationResponse) Reset() { + *x = CancelReconciliationResponse{} + mi := &file_agent_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *CancelReconciliationResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelReconciliationResponse) ProtoMessage() {} + +func (x *CancelReconciliationResponse) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *CancelReconciliationResponse) GetAgentId() string { + if x != nil { + return x.xxx_hidden_AgentId + } + return "" +} + +func (x *CancelReconciliationResponse) GetStatus() *Status { + if x != nil { + return x.xxx_hidden_Status + } + return nil +} + +func (x *CancelReconciliationResponse) SetAgentId(v string) { + x.xxx_hidden_AgentId = v +} + +func (x *CancelReconciliationResponse) SetStatus(v *Status) { + x.xxx_hidden_Status = v +} + +func (x *CancelReconciliationResponse) HasStatus() bool { + if x == nil { + return false + } + return x.xxx_hidden_Status != nil +} + +func (x *CancelReconciliationResponse) ClearStatus() { + x.xxx_hidden_Status = nil +} + +type CancelReconciliationResponse_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + AgentId string + Status *Status +} + +func (b0 CancelReconciliationResponse_builder) Build() *CancelReconciliationResponse { + m0 := &CancelReconciliationResponse{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_AgentId = b.AgentId + x.xxx_hidden_Status = b.Status + return m0 +} + +type Status struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_State Status_State `protobuf:"varint,1,opt,name=state,proto3,enum=agent.Status_State" json:"state,omitempty"` + xxx_hidden_Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` + xxx_hidden_Updated *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated,proto3" json:"updated,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Status) Reset() { + *x = Status{} + mi := &file_agent_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Status) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Status) ProtoMessage() {} + +func (x *Status) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[6] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Status) GetState() Status_State { + if x != nil { + return x.xxx_hidden_State + } + return Status_UNSPECIFIED +} + +func (x *Status) GetMessages() []string { + if x != nil { + return x.xxx_hidden_Messages + } + return nil +} + +func (x *Status) GetUpdated() *timestamppb.Timestamp { + if x != nil { + return x.xxx_hidden_Updated + } + return nil +} + +func (x *Status) SetState(v Status_State) { + x.xxx_hidden_State = v +} + +func (x *Status) SetMessages(v []string) { + x.xxx_hidden_Messages = v +} + +func (x *Status) SetUpdated(v *timestamppb.Timestamp) { + x.xxx_hidden_Updated = v +} + +func (x *Status) HasUpdated() bool { + if x == nil { + return false + } + return x.xxx_hidden_Updated != nil +} + +func (x *Status) ClearUpdated() { + x.xxx_hidden_Updated = nil +} + +type Status_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + State Status_State + Messages []string + Updated *timestamppb.Timestamp +} + +func (b0 Status_builder) Build() *Status { + m0 := &Status{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_State = b.State + x.xxx_hidden_Messages = b.Messages + x.xxx_hidden_Updated = b.Updated + return m0 +} + +// The manifest defining an entire BeeGFS instance. +type Filesystem struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Agent map[string]*Agent `protobuf:"bytes,1,rep,name=agent,proto3" json:"agent,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Common *Filesystem_Common `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Filesystem) Reset() { + *x = Filesystem{} + mi := &file_agent_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Filesystem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Filesystem) ProtoMessage() {} + +func (x *Filesystem) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[7] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Filesystem) GetAgent() map[string]*Agent { + if x != nil { + return x.xxx_hidden_Agent + } + return nil +} + +func (x *Filesystem) GetCommon() *Filesystem_Common { + if x != nil { + return x.xxx_hidden_Common + } + return nil +} + +func (x *Filesystem) SetAgent(v map[string]*Agent) { + x.xxx_hidden_Agent = v +} + +func (x *Filesystem) SetCommon(v *Filesystem_Common) { + x.xxx_hidden_Common = v +} + +func (x *Filesystem) HasCommon() bool { + if x == nil { + return false + } + return x.xxx_hidden_Common != nil +} + +func (x *Filesystem) ClearCommon() { + x.xxx_hidden_Common = nil +} + +type Filesystem_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // Map of agentIDs to agents. + Agent map[string]*Agent + // Common configuration to apply to all Services. + Common *Filesystem_Common +} + +func (b0 Filesystem_builder) Build() *Filesystem { + m0 := &Filesystem{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Agent = b.Agent + x.xxx_hidden_Common = b.Common + return m0 +} + +type Auth struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Auth) Reset() { + *x = Auth{} + mi := &file_agent_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Auth) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Auth) ProtoMessage() {} + +func (x *Auth) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[8] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Auth) GetSecret() string { + if x != nil { + return x.xxx_hidden_Secret + } + return "" +} + +func (x *Auth) SetSecret(v string) { + x.xxx_hidden_Secret = v +} + +type Auth_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Secret string +} + +func (b0 Auth_builder) Build() *Auth { + m0 := &Auth{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Secret = b.Secret + return m0 +} + +type TLS struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + xxx_hidden_Cert string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *TLS) Reset() { + *x = TLS{} + mi := &file_agent_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *TLS) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TLS) ProtoMessage() {} + +func (x *TLS) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[9] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *TLS) GetKey() string { + if x != nil { + return x.xxx_hidden_Key + } + return "" +} + +func (x *TLS) GetCert() string { + if x != nil { + return x.xxx_hidden_Cert + } + return "" +} + +func (x *TLS) SetKey(v string) { + x.xxx_hidden_Key = v +} + +func (x *TLS) SetCert(v string) { + x.xxx_hidden_Cert = v +} + +type TLS_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Key string + Cert string +} + +func (b0 TLS_builder) Build() *TLS { + m0 := &TLS{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Key = b.Key + x.xxx_hidden_Cert = b.Cert + return m0 +} + +type InstallSource struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Type InstallType `protobuf:"varint,1,opt,name=type,proto3,enum=agent.InstallType" json:"type,omitempty"` + xxx_hidden_Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` + xxx_hidden_Refs *[]*SourceRef `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *InstallSource) Reset() { + *x = InstallSource{} + mi := &file_agent_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *InstallSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InstallSource) ProtoMessage() {} + +func (x *InstallSource) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[10] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *InstallSource) GetType() InstallType { + if x != nil { + return x.xxx_hidden_Type + } + return InstallType_UNKNOWN +} + +func (x *InstallSource) GetRepo() string { + if x != nil { + return x.xxx_hidden_Repo + } + return "" +} + +func (x *InstallSource) GetRefs() []*SourceRef { + if x != nil { + if x.xxx_hidden_Refs != nil { + return *x.xxx_hidden_Refs + } + } + return nil +} + +func (x *InstallSource) SetType(v InstallType) { + x.xxx_hidden_Type = v +} + +func (x *InstallSource) SetRepo(v string) { + x.xxx_hidden_Repo = v +} + +func (x *InstallSource) SetRefs(v []*SourceRef) { + x.xxx_hidden_Refs = &v +} + +type InstallSource_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Type InstallType + Repo string + Refs []*SourceRef +} + +func (b0 InstallSource_builder) Build() *InstallSource { + m0 := &InstallSource{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Type = b.Type + x.xxx_hidden_Repo = b.Repo + x.xxx_hidden_Refs = &b.Refs + return m0 +} + +// SourceRef exists because protobuf maps do not support enums as a map key. The expected use is a +// repeated SourceRef field with one entry per NodeType. It is up to the consumer to decide what to +// do if multiple of the same service_type are found, typically the last entry wins. +type SourceRef struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_ServiceType beegfs.NodeType `protobuf:"varint,1,opt,name=service_type,json=serviceType,proto3,enum=beegfs.NodeType" json:"service_type,omitempty"` + xxx_hidden_Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *SourceRef) Reset() { + *x = SourceRef{} + mi := &file_agent_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *SourceRef) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SourceRef) ProtoMessage() {} + +func (x *SourceRef) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[11] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *SourceRef) GetServiceType() beegfs.NodeType { + if x != nil { + return x.xxx_hidden_ServiceType + } + return beegfs.NodeType(0) +} + +func (x *SourceRef) GetRef() string { + if x != nil { + return x.xxx_hidden_Ref + } + return "" +} + +func (x *SourceRef) SetServiceType(v beegfs.NodeType) { + x.xxx_hidden_ServiceType = v +} + +func (x *SourceRef) SetRef(v string) { + x.xxx_hidden_Ref = v +} + +type SourceRef_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + ServiceType beegfs.NodeType + Ref string +} + +func (b0 SourceRef_builder) Build() *SourceRef { + m0 := &SourceRef{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_ServiceType = b.ServiceType + x.xxx_hidden_Ref = b.Ref + return m0 +} + +// ServiceConfig exists because protobuf maps do not support enums as a map key or maps as a value. The +// expected use is a repeated ServiceConfig field with one entry per NodeType. It is up to the consumer +// to decide what to do if multiple of the same service_type are found, typically the last entry wins. +type ServiceConfig struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_ServiceType beegfs.NodeType `protobuf:"varint,1,opt,name=service_type,json=serviceType,proto3,enum=beegfs.NodeType" json:"service_type,omitempty"` + xxx_hidden_StringMap map[string]string `protobuf:"bytes,2,rep,name=string_map,json=stringMap,proto3" json:"string_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ServiceConfig) Reset() { + *x = ServiceConfig{} + mi := &file_agent_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ServiceConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServiceConfig) ProtoMessage() {} + +func (x *ServiceConfig) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[12] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *ServiceConfig) GetServiceType() beegfs.NodeType { + if x != nil { + return x.xxx_hidden_ServiceType + } + return beegfs.NodeType(0) +} + +func (x *ServiceConfig) GetStringMap() map[string]string { + if x != nil { + return x.xxx_hidden_StringMap + } + return nil +} + +func (x *ServiceConfig) SetServiceType(v beegfs.NodeType) { + x.xxx_hidden_ServiceType = v +} + +func (x *ServiceConfig) SetStringMap(v map[string]string) { + x.xxx_hidden_StringMap = v +} + +type ServiceConfig_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + ServiceType beegfs.NodeType + StringMap map[string]string +} + +func (b0 ServiceConfig_builder) Build() *ServiceConfig { + m0 := &ServiceConfig{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_ServiceType = b.ServiceType + x.xxx_hidden_StringMap = b.StringMap + return m0 +} + +// A physical or virtual machine where the BeeGFS agent is running and one or more BeeGFS services +// (services or clients) should be deployed by the agent. +type Agent struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Services *[]*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` + xxx_hidden_Interfaces *[]*Nic `protobuf:"bytes,2,rep,name=interfaces,proto3" json:"interfaces,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Agent) Reset() { + *x = Agent{} + mi := &file_agent_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Agent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Agent) ProtoMessage() {} + +func (x *Agent) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[13] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Agent) GetServices() []*Service { + if x != nil { + if x.xxx_hidden_Services != nil { + return *x.xxx_hidden_Services + } + } + return nil +} + +func (x *Agent) GetInterfaces() []*Nic { + if x != nil { + if x.xxx_hidden_Interfaces != nil { + return *x.xxx_hidden_Interfaces + } + } + return nil +} + +func (x *Agent) SetServices(v []*Service) { + x.xxx_hidden_Services = &v +} + +func (x *Agent) SetInterfaces(v []*Nic) { + x.xxx_hidden_Interfaces = &v +} + +type Agent_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // The agent can deploy one or more services on each host machine/VM. + Services []*Service + // The agent can configure global interfaces used by multiple services. + Interfaces []*Nic +} + +func (b0 Agent_builder) Build() *Agent { + m0 := &Agent{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Services = &b.Services + x.xxx_hidden_Interfaces = &b.Interfaces + return m0 +} + +// A service is a single instance of a particular BeeGFS NodeType (e.g., meta, client, sync). +type Service struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_NumId uint32 `protobuf:"varint,1,opt,name=num_id,json=numId,proto3" json:"num_id,omitempty"` + xxx_hidden_ServiceType beegfs.NodeType `protobuf:"varint,2,opt,name=service_type,json=serviceType,proto3,enum=beegfs.NodeType" json:"service_type,omitempty"` + xxx_hidden_Config map[string]string `protobuf:"bytes,3,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + xxx_hidden_Interfaces *[]*Nic `protobuf:"bytes,4,rep,name=interfaces,proto3" json:"interfaces,omitempty"` + xxx_hidden_Targets *[]*Target `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets,omitempty"` + xxx_hidden_Executable string `protobuf:"bytes,6,opt,name=executable,proto3" json:"executable,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Service) Reset() { + *x = Service{} + mi := &file_agent_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Service) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Service) ProtoMessage() {} + +func (x *Service) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[14] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Service) GetNumId() uint32 { + if x != nil { + return x.xxx_hidden_NumId + } + return 0 +} + +func (x *Service) GetServiceType() beegfs.NodeType { + if x != nil { + return x.xxx_hidden_ServiceType + } + return beegfs.NodeType(0) +} + +func (x *Service) GetConfig() map[string]string { + if x != nil { + return x.xxx_hidden_Config + } + return nil +} + +func (x *Service) GetInterfaces() []*Nic { + if x != nil { + if x.xxx_hidden_Interfaces != nil { + return *x.xxx_hidden_Interfaces + } + } + return nil +} + +func (x *Service) GetTargets() []*Target { + if x != nil { + if x.xxx_hidden_Targets != nil { + return *x.xxx_hidden_Targets + } + } + return nil +} + +func (x *Service) GetExecutable() string { + if x != nil { + return x.xxx_hidden_Executable + } + return "" +} + +func (x *Service) SetNumId(v uint32) { + x.xxx_hidden_NumId = v +} + +func (x *Service) SetServiceType(v beegfs.NodeType) { + x.xxx_hidden_ServiceType = v +} + +func (x *Service) SetConfig(v map[string]string) { + x.xxx_hidden_Config = v +} + +func (x *Service) SetInterfaces(v []*Nic) { + x.xxx_hidden_Interfaces = &v +} + +func (x *Service) SetTargets(v []*Target) { + x.xxx_hidden_Targets = &v +} + +func (x *Service) SetExecutable(v string) { + x.xxx_hidden_Executable = v +} + +type Service_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + NumId uint32 + ServiceType beegfs.NodeType + // Configuration that should be applied to this specific service. + Config map[string]string + Interfaces []*Nic + Targets []*Target + Executable string +} + +func (b0 Service_builder) Build() *Service { + m0 := &Service{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_NumId = b.NumId + x.xxx_hidden_ServiceType = b.ServiceType + x.xxx_hidden_Config = b.Config + x.xxx_hidden_Interfaces = &b.Interfaces + x.xxx_hidden_Targets = &b.Targets + x.xxx_hidden_Executable = b.Executable + return m0 +} + +type Nic struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + xxx_hidden_Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Nic) Reset() { + *x = Nic{} + mi := &file_agent_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Nic) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Nic) ProtoMessage() {} + +func (x *Nic) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[15] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Nic) GetName() string { + if x != nil { + return x.xxx_hidden_Name + } + return "" +} + +func (x *Nic) GetAddr() string { + if x != nil { + return x.xxx_hidden_Addr + } + return "" +} + +func (x *Nic) SetName(v string) { + x.xxx_hidden_Name = v +} + +func (x *Nic) SetAddr(v string) { + x.xxx_hidden_Addr = v +} + +type Nic_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // The name of the interface to use. + Name string + // The IP/subnet of the interface. Only required if the IP should be configured if needed. + Addr string +} + +func (b0 Nic_builder) Build() *Nic { + m0 := &Nic{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Name = b.Name + x.xxx_hidden_Addr = b.Addr + return m0 +} + +type Target struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_NumId uint32 `protobuf:"varint,1,opt,name=num_id,json=numId,proto3" json:"num_id,omitempty"` + xxx_hidden_Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + xxx_hidden_Ulfs *Target_UnderlyingFSOpts `protobuf:"bytes,3,opt,name=ulfs,proto3,oneof" json:"ulfs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Target) Reset() { + *x = Target{} + mi := &file_agent_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Target) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Target) ProtoMessage() {} + +func (x *Target) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[16] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Target) GetNumId() uint32 { + if x != nil { + return x.xxx_hidden_NumId + } + return 0 +} + +func (x *Target) GetPath() string { + if x != nil { + return x.xxx_hidden_Path + } + return "" +} + +func (x *Target) GetUlfs() *Target_UnderlyingFSOpts { + if x != nil { + return x.xxx_hidden_Ulfs + } + return nil +} + +func (x *Target) SetNumId(v uint32) { + x.xxx_hidden_NumId = v +} + +func (x *Target) SetPath(v string) { + x.xxx_hidden_Path = v +} + +func (x *Target) SetUlfs(v *Target_UnderlyingFSOpts) { + x.xxx_hidden_Ulfs = v +} + +func (x *Target) HasUlfs() bool { + if x == nil { + return false + } + return x.xxx_hidden_Ulfs != nil +} + +func (x *Target) ClearUlfs() { + x.xxx_hidden_Ulfs = nil +} + +type Target_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + // The target ID. Note the type is derived from the associated service. + NumId uint32 + // Path to the directory under which this BeeGFS target directory will be created. For example + // given path /mnt/ and storage target 101 the target contents would be at /mnt/s_101/. Always + // required and this directory must already exist unless mount_opts is also specified. + Path string + // Optionally set to format+mount the underlying file system if needed. The underlying file system + // will be mounted at path/shortFsUUID/type_id where shortFsUUID is the first 8 hex digits of the + // full 128-bit v4 FsUUID. For example given FsUUID 3b6f972b-64c7-4378-9f8e-172cf88c7d93, storage + // target 101 and root_dir `/mnt/` the target will be mounted at `/mnt/3b6f972b/storage_101`. + Ulfs *Target_UnderlyingFSOpts +} + +func (b0 Target_builder) Build() *Target { + m0 := &Target{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_NumId = b.NumId + x.xxx_hidden_Path = b.Path + x.xxx_hidden_Ulfs = b.Ulfs + return m0 +} + +type Filesystem_Common struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Auth *Auth `protobuf:"bytes,1,opt,name=auth,proto3,oneof" json:"auth,omitempty"` + xxx_hidden_Tls *TLS `protobuf:"bytes,2,opt,name=tls,proto3,oneof" json:"tls,omitempty"` + xxx_hidden_InstallSource *InstallSource `protobuf:"bytes,3,opt,name=install_source,json=installSource,proto3" json:"install_source,omitempty"` + xxx_hidden_GlobalConfig *[]*ServiceConfig `protobuf:"bytes,4,rep,name=global_config,json=globalConfig,proto3" json:"global_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Filesystem_Common) Reset() { + *x = Filesystem_Common{} + mi := &file_agent_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Filesystem_Common) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Filesystem_Common) ProtoMessage() {} + +func (x *Filesystem_Common) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[19] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Filesystem_Common) GetAuth() *Auth { + if x != nil { + return x.xxx_hidden_Auth + } + return nil +} + +func (x *Filesystem_Common) GetTls() *TLS { + if x != nil { + return x.xxx_hidden_Tls + } + return nil +} + +func (x *Filesystem_Common) GetInstallSource() *InstallSource { + if x != nil { + return x.xxx_hidden_InstallSource + } + return nil +} + +func (x *Filesystem_Common) GetGlobalConfig() []*ServiceConfig { + if x != nil { + if x.xxx_hidden_GlobalConfig != nil { + return *x.xxx_hidden_GlobalConfig + } + } + return nil +} + +func (x *Filesystem_Common) SetAuth(v *Auth) { + x.xxx_hidden_Auth = v +} + +func (x *Filesystem_Common) SetTls(v *TLS) { + x.xxx_hidden_Tls = v +} + +func (x *Filesystem_Common) SetInstallSource(v *InstallSource) { + x.xxx_hidden_InstallSource = v +} + +func (x *Filesystem_Common) SetGlobalConfig(v []*ServiceConfig) { + x.xxx_hidden_GlobalConfig = &v +} + +func (x *Filesystem_Common) HasAuth() bool { + if x == nil { + return false + } + return x.xxx_hidden_Auth != nil +} + +func (x *Filesystem_Common) HasTls() bool { + if x == nil { + return false + } + return x.xxx_hidden_Tls != nil +} + +func (x *Filesystem_Common) HasInstallSource() bool { + if x == nil { + return false + } + return x.xxx_hidden_InstallSource != nil +} + +func (x *Filesystem_Common) ClearAuth() { + x.xxx_hidden_Auth = nil +} + +func (x *Filesystem_Common) ClearTls() { + x.xxx_hidden_Tls = nil +} + +func (x *Filesystem_Common) ClearInstallSource() { + x.xxx_hidden_InstallSource = nil +} + +type Filesystem_Common_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Auth *Auth + Tls *TLS + InstallSource *InstallSource + GlobalConfig []*ServiceConfig +} + +func (b0 Filesystem_Common_builder) Build() *Filesystem_Common { + m0 := &Filesystem_Common{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Auth = b.Auth + x.xxx_hidden_Tls = b.Tls + x.xxx_hidden_InstallSource = b.InstallSource + x.xxx_hidden_GlobalConfig = &b.GlobalConfig + return m0 +} + +type Target_UnderlyingFSOpts struct { + state protoimpl.MessageState `protogen:"opaque.v1"` + xxx_hidden_Device string `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` + xxx_hidden_Type Target_UnderlyingFSOpts_FsType `protobuf:"varint,2,opt,name=type,proto3,enum=agent.Target_UnderlyingFSOpts_FsType" json:"type,omitempty"` + xxx_hidden_FormatFlags string `protobuf:"bytes,3,opt,name=format_flags,json=formatFlags,proto3" json:"format_flags,omitempty"` + xxx_hidden_MountFlags string `protobuf:"bytes,4,opt,name=mount_flags,json=mountFlags,proto3" json:"mount_flags,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *Target_UnderlyingFSOpts) Reset() { + *x = Target_UnderlyingFSOpts{} + mi := &file_agent_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *Target_UnderlyingFSOpts) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Target_UnderlyingFSOpts) ProtoMessage() {} + +func (x *Target_UnderlyingFSOpts) ProtoReflect() protoreflect.Message { + mi := &file_agent_proto_msgTypes[22] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +func (x *Target_UnderlyingFSOpts) GetDevice() string { + if x != nil { + return x.xxx_hidden_Device + } + return "" +} + +func (x *Target_UnderlyingFSOpts) GetType() Target_UnderlyingFSOpts_FsType { + if x != nil { + return x.xxx_hidden_Type + } + return Target_UnderlyingFSOpts_UNSPECIFIED +} + +func (x *Target_UnderlyingFSOpts) GetFormatFlags() string { + if x != nil { + return x.xxx_hidden_FormatFlags + } + return "" +} + +func (x *Target_UnderlyingFSOpts) GetMountFlags() string { + if x != nil { + return x.xxx_hidden_MountFlags + } + return "" +} + +func (x *Target_UnderlyingFSOpts) SetDevice(v string) { + x.xxx_hidden_Device = v +} + +func (x *Target_UnderlyingFSOpts) SetType(v Target_UnderlyingFSOpts_FsType) { + x.xxx_hidden_Type = v +} + +func (x *Target_UnderlyingFSOpts) SetFormatFlags(v string) { + x.xxx_hidden_FormatFlags = v +} + +func (x *Target_UnderlyingFSOpts) SetMountFlags(v string) { + x.xxx_hidden_MountFlags = v +} + +type Target_UnderlyingFSOpts_builder struct { + _ [0]func() // Prevents comparability and use of unkeyed literals for the builder. + + Device string + Type Target_UnderlyingFSOpts_FsType + FormatFlags string + MountFlags string +} + +func (b0 Target_UnderlyingFSOpts_builder) Build() *Target_UnderlyingFSOpts { + m0 := &Target_UnderlyingFSOpts{} + b, x := &b0, m0 + _, _ = b, x + x.xxx_hidden_Device = b.Device + x.xxx_hidden_Type = b.Type + x.xxx_hidden_FormatFlags = b.FormatFlags + x.xxx_hidden_MountFlags = b.MountFlags + return m0 +} + +var File_agent_proto protoreflect.FileDescriptor + +var file_agent_proto_rawDesc = []byte{ + 0x0a, 0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x0c, 0x62, 0x65, 0x65, 0x67, 0x66, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, + 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, + 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, + 0x4c, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x27, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x33, 0x0a, + 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x49, 0x64, 0x22, 0x38, 0x0a, 0x1b, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x60, 0x0a, 0x1c, + 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x50, + 0x0a, 0x1b, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, + 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x22, 0x60, 0x0a, 0x1c, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, + 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x22, 0xdf, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x29, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x22, 0x58, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x44, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0c, + 0x0a, 0x08, 0x41, 0x50, 0x50, 0x4c, 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, + 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, + 0x45, 0x44, 0x10, 0x05, 0x22, 0x97, 0x03, 0x0a, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, + 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x46, 0x0a, 0x0a, 0x41, 0x67, 0x65, + 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0xda, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x04, + 0x61, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x48, 0x00, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x88, + 0x01, 0x01, 0x12, 0x21, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0a, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x4c, 0x53, 0x48, 0x01, 0x52, 0x03, 0x74, + 0x6c, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3b, 0x0a, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, + 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x12, 0x39, 0x0a, 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x0c, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x07, 0x0a, + 0x05, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x74, 0x6c, 0x73, 0x22, 0x1e, + 0x0a, 0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x2b, + 0x0a, 0x03, 0x54, 0x4c, 0x53, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x72, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x22, 0x71, 0x0a, 0x0d, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x65, 0x66, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x52, 0x04, 0x72, 0x65, 0x66, 0x73, 0x22, 0x52, + 0x0a, 0x09, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x12, 0x33, 0x0a, 0x0c, 0x73, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x65, 0x67, 0x66, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, + 0x65, 0x66, 0x22, 0xc6, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x33, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x65, + 0x67, 0x66, 0x73, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x73, 0x74, 0x72, + 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x09, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x1a, 0x3c, 0x0a, + 0x0e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5f, 0x0a, 0x05, 0x41, + 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, + 0x12, 0x2a, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x69, 0x63, + 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x22, 0xb9, 0x02, 0x0a, + 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x75, 0x6d, 0x49, 0x64, 0x12, + 0x33, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x62, 0x65, 0x65, 0x67, 0x66, 0x73, 0x2e, 0x4e, + 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x4e, 0x69, 0x63, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, + 0x61, 0x63, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x1e, 0x0a, + 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x1a, 0x39, 0x0a, + 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2d, 0x0a, 0x03, 0x4e, 0x69, 0x63, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x22, 0xc6, 0x02, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x75, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x37, 0x0a, + 0x04, 0x75, 0x6c, 0x66, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x61, 0x67, + 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x72, + 0x6c, 0x79, 0x69, 0x6e, 0x67, 0x46, 0x53, 0x4f, 0x70, 0x74, 0x73, 0x48, 0x00, 0x52, 0x04, 0x75, + 0x6c, 0x66, 0x73, 0x88, 0x01, 0x01, 0x1a, 0xce, 0x01, 0x0a, 0x10, 0x55, 0x6e, 0x64, 0x65, 0x72, + 0x6c, 0x79, 0x69, 0x6e, 0x67, 0x46, 0x53, 0x4f, 0x70, 0x74, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, + 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x25, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x2e, 0x55, 0x6e, 0x64, 0x65, 0x72, 0x6c, 0x79, 0x69, 0x6e, 0x67, 0x46, 0x53, 0x4f, 0x70, 0x74, + 0x73, 0x2e, 0x46, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, + 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x46, 0x6c, 0x61, 0x67, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x61, + 0x67, 0x73, 0x22, 0x23, 0x0a, 0x06, 0x46, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, + 0x04, 0x45, 0x58, 0x54, 0x34, 0x10, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, 0x6c, 0x66, 0x73, + 0x2a, 0x32, 0x0a, 0x0b, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, + 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x43, 0x4b, 0x41, + 0x47, 0x45, 0x10, 0x02, 0x32, 0x9b, 0x02, 0x0a, 0x08, 0x42, 0x65, 0x65, 0x41, 0x67, 0x65, 0x6e, + 0x74, 0x12, 0x4d, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, + 0x65, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x5f, 0x0a, 0x14, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, + 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, + 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x5f, 0x0a, 0x14, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x6e, + 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x63, 0x69, 0x6c, + 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x63, 0x6f, + 0x6e, 0x63, 0x69, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var file_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_agent_proto_goTypes = []any{ + (InstallType)(0), // 0: agent.InstallType + (Status_State)(0), // 1: agent.Status.State + (Target_UnderlyingFSOpts_FsType)(0), // 2: agent.Target.UnderlyingFSOpts.FsType + (*UpdateManifestRequest)(nil), // 3: agent.UpdateManifestRequest + (*UpdateManifestResponse)(nil), // 4: agent.UpdateManifestResponse + (*ReconciliationStatusRequest)(nil), // 5: agent.ReconciliationStatusRequest + (*ReconciliationStatusResponse)(nil), // 6: agent.ReconciliationStatusResponse + (*CancelReconciliationRequest)(nil), // 7: agent.CancelReconciliationRequest + (*CancelReconciliationResponse)(nil), // 8: agent.CancelReconciliationResponse + (*Status)(nil), // 9: agent.Status + (*Filesystem)(nil), // 10: agent.Filesystem + (*Auth)(nil), // 11: agent.Auth + (*TLS)(nil), // 12: agent.TLS + (*InstallSource)(nil), // 13: agent.InstallSource + (*SourceRef)(nil), // 14: agent.SourceRef + (*ServiceConfig)(nil), // 15: agent.ServiceConfig + (*Agent)(nil), // 16: agent.Agent + (*Service)(nil), // 17: agent.Service + (*Nic)(nil), // 18: agent.Nic + (*Target)(nil), // 19: agent.Target + nil, // 20: agent.UpdateManifestRequest.ConfigEntry + nil, // 21: agent.Filesystem.AgentEntry + (*Filesystem_Common)(nil), // 22: agent.Filesystem.Common + nil, // 23: agent.ServiceConfig.StringMapEntry + nil, // 24: agent.Service.ConfigEntry + (*Target_UnderlyingFSOpts)(nil), // 25: agent.Target.UnderlyingFSOpts + (*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp + (beegfs.NodeType)(0), // 27: beegfs.NodeType +} +var file_agent_proto_depIdxs = []int32{ + 20, // 0: agent.UpdateManifestRequest.config:type_name -> agent.UpdateManifestRequest.ConfigEntry + 9, // 1: agent.ReconciliationStatusResponse.status:type_name -> agent.Status + 9, // 2: agent.CancelReconciliationResponse.status:type_name -> agent.Status + 1, // 3: agent.Status.state:type_name -> agent.Status.State + 26, // 4: agent.Status.updated:type_name -> google.protobuf.Timestamp + 21, // 5: agent.Filesystem.agent:type_name -> agent.Filesystem.AgentEntry + 22, // 6: agent.Filesystem.common:type_name -> agent.Filesystem.Common + 0, // 7: agent.InstallSource.type:type_name -> agent.InstallType + 14, // 8: agent.InstallSource.refs:type_name -> agent.SourceRef + 27, // 9: agent.SourceRef.service_type:type_name -> beegfs.NodeType + 27, // 10: agent.ServiceConfig.service_type:type_name -> beegfs.NodeType + 23, // 11: agent.ServiceConfig.string_map:type_name -> agent.ServiceConfig.StringMapEntry + 17, // 12: agent.Agent.services:type_name -> agent.Service + 18, // 13: agent.Agent.interfaces:type_name -> agent.Nic + 27, // 14: agent.Service.service_type:type_name -> beegfs.NodeType + 24, // 15: agent.Service.config:type_name -> agent.Service.ConfigEntry + 18, // 16: agent.Service.interfaces:type_name -> agent.Nic + 19, // 17: agent.Service.targets:type_name -> agent.Target + 25, // 18: agent.Target.ulfs:type_name -> agent.Target.UnderlyingFSOpts + 10, // 19: agent.UpdateManifestRequest.ConfigEntry.value:type_name -> agent.Filesystem + 16, // 20: agent.Filesystem.AgentEntry.value:type_name -> agent.Agent + 11, // 21: agent.Filesystem.Common.auth:type_name -> agent.Auth + 12, // 22: agent.Filesystem.Common.tls:type_name -> agent.TLS + 13, // 23: agent.Filesystem.Common.install_source:type_name -> agent.InstallSource + 15, // 24: agent.Filesystem.Common.global_config:type_name -> agent.ServiceConfig + 2, // 25: agent.Target.UnderlyingFSOpts.type:type_name -> agent.Target.UnderlyingFSOpts.FsType + 3, // 26: agent.BeeAgent.UpdateManifest:input_type -> agent.UpdateManifestRequest + 5, // 27: agent.BeeAgent.ReconciliationStatus:input_type -> agent.ReconciliationStatusRequest + 7, // 28: agent.BeeAgent.CancelReconciliation:input_type -> agent.CancelReconciliationRequest + 4, // 29: agent.BeeAgent.UpdateManifest:output_type -> agent.UpdateManifestResponse + 6, // 30: agent.BeeAgent.ReconciliationStatus:output_type -> agent.ReconciliationStatusResponse + 8, // 31: agent.BeeAgent.CancelReconciliation:output_type -> agent.CancelReconciliationResponse + 29, // [29:32] is the sub-list for method output_type + 26, // [26:29] is the sub-list for method input_type + 26, // [26:26] is the sub-list for extension type_name + 26, // [26:26] is the sub-list for extension extendee + 0, // [0:26] is the sub-list for field type_name +} + +func init() { file_agent_proto_init() } +func file_agent_proto_init() { + if File_agent_proto != nil { + return + } + file_agent_proto_msgTypes[16].OneofWrappers = []any{} + file_agent_proto_msgTypes[19].OneofWrappers = []any{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_agent_proto_rawDesc, + NumEnums: 3, + NumMessages: 23, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_agent_proto_goTypes, + DependencyIndexes: file_agent_proto_depIdxs, + EnumInfos: file_agent_proto_enumTypes, + MessageInfos: file_agent_proto_msgTypes, + }.Build() + File_agent_proto = out.File + file_agent_proto_rawDesc = nil + file_agent_proto_goTypes = nil + file_agent_proto_depIdxs = nil +} diff --git a/go/beegfs/beegfs.pb.go b/go/beegfs/beegfs.pb.go index 7b7ed63..3819894 100644 --- a/go/beegfs/beegfs.pb.go +++ b/go/beegfs/beegfs.pb.go @@ -79,6 +79,8 @@ const ( NodeType_META NodeType = 2 NodeType_STORAGE NodeType = 3 NodeType_MANAGEMENT NodeType = 4 + NodeType_REMOTE NodeType = 5 + NodeType_SYNC NodeType = 6 ) // Enum value maps for NodeType. @@ -89,6 +91,8 @@ var ( 2: "META", 3: "STORAGE", 4: "MANAGEMENT", + 5: "REMOTE", + 6: "SYNC", } NodeType_value = map[string]int32{ "NODE_TYPE_UNSPECIFIED": 0, @@ -96,6 +100,8 @@ var ( "META": 2, "STORAGE": 3, "MANAGEMENT": 4, + "REMOTE": 5, + "SYNC": 6, } ) @@ -648,48 +654,49 @@ var file_beegfs_proto_rawDesc = []byte{ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x44, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x55, 0x44, 0x44, 0x59, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x03, - 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x4f, 0x4c, 0x10, 0x04, 0x2a, 0x58, 0x0a, 0x08, 0x4e, 0x6f, + 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x4f, 0x4c, 0x10, 0x04, 0x2a, 0x6e, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x45, 0x54, 0x41, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x4d, 0x45, - 0x4e, 0x54, 0x10, 0x04, 0x2a, 0x5e, 0x0a, 0x11, 0x52, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x41, - 0x43, 0x48, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, - 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x4f, 0x46, - 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, - 0x4e, 0x45, 0x10, 0x03, 0x2a, 0x5a, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, - 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4f, 0x4e, 0x53, - 0x49, 0x53, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x47, - 0x4f, 0x4f, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x45, 0x45, 0x44, 0x53, 0x5f, 0x52, - 0x45, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x42, 0x41, 0x44, 0x10, 0x03, - 0x2a, 0x51, 0x0a, 0x0c, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6f, 0x6c, - 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x4f, 0x4f, - 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4c, - 0x4f, 0x57, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x4e, 0x43, - 0x59, 0x10, 0x03, 0x2a, 0x3b, 0x0a, 0x07, 0x4e, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, - 0x0a, 0x14, 0x4e, 0x49, 0x43, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x54, 0x48, 0x45, - 0x52, 0x4e, 0x45, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x44, 0x4d, 0x41, 0x10, 0x02, - 0x2a, 0x5d, 0x0a, 0x0b, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x1d, 0x0a, 0x19, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, - 0x0a, 0x12, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, - 0x49, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x02, 0x2a, - 0x53, 0x0a, 0x09, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, - 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x51, 0x55, 0x4f, 0x54, - 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x14, - 0x0a, 0x10, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x4f, - 0x44, 0x45, 0x10, 0x02, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x65, 0x65, 0x67, 0x66, 0x73, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x4e, 0x54, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x10, 0x05, + 0x12, 0x08, 0x0a, 0x04, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x06, 0x2a, 0x5e, 0x0a, 0x11, 0x52, 0x65, + 0x61, 0x63, 0x68, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x41, 0x43, 0x48, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, + 0x0c, 0x0a, 0x08, 0x50, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, + 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x2a, 0x5a, 0x0a, 0x10, 0x43, 0x6f, + 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, + 0x0a, 0x1d, 0x43, 0x4f, 0x4e, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x4f, 0x4f, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4e, + 0x45, 0x45, 0x44, 0x53, 0x5f, 0x52, 0x45, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x02, 0x12, 0x07, 0x0a, + 0x03, 0x42, 0x41, 0x44, 0x10, 0x03, 0x2a, 0x51, 0x0a, 0x0c, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, + 0x74, 0x79, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, + 0x54, 0x59, 0x5f, 0x50, 0x4f, 0x4f, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, + 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4d, + 0x45, 0x52, 0x47, 0x45, 0x4e, 0x43, 0x59, 0x10, 0x03, 0x2a, 0x3b, 0x0a, 0x07, 0x4e, 0x69, 0x63, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4e, 0x49, 0x43, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, + 0x0a, 0x08, 0x45, 0x54, 0x48, 0x45, 0x52, 0x4e, 0x45, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, + 0x52, 0x44, 0x4d, 0x41, 0x10, 0x02, 0x2a, 0x5d, 0x0a, 0x0b, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, + 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, 0x44, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, + 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, + 0x4f, 0x55, 0x50, 0x10, 0x02, 0x2a, 0x53, 0x0a, 0x09, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, + 0x0a, 0x10, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x50, 0x41, + 0x43, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x4f, 0x44, 0x45, 0x10, 0x02, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, + 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x62, + 0x65, 0x65, 0x67, 0x66, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_beegfs_proto_enumTypes = make([]protoimpl.EnumInfo, 8) diff --git a/go/beegfs/beegfs_protoopaque.pb.go b/go/beegfs/beegfs_protoopaque.pb.go index 0e6ace9..47d842b 100644 --- a/go/beegfs/beegfs_protoopaque.pb.go +++ b/go/beegfs/beegfs_protoopaque.pb.go @@ -79,6 +79,8 @@ const ( NodeType_META NodeType = 2 NodeType_STORAGE NodeType = 3 NodeType_MANAGEMENT NodeType = 4 + NodeType_REMOTE NodeType = 5 + NodeType_SYNC NodeType = 6 ) // Enum value maps for NodeType. @@ -89,6 +91,8 @@ var ( 2: "META", 3: "STORAGE", 4: "MANAGEMENT", + 5: "REMOTE", + 6: "SYNC", } NodeType_value = map[string]int32{ "NODE_TYPE_UNSPECIFIED": 0, @@ -96,6 +100,8 @@ var ( "META": 2, "STORAGE": 3, "MANAGEMENT": 4, + "REMOTE": 5, + "SYNC": 6, } ) @@ -648,48 +654,49 @@ var file_beegfs_proto_rawDesc = []byte{ 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x44, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x55, 0x44, 0x44, 0x59, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x03, - 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x4f, 0x4c, 0x10, 0x04, 0x2a, 0x58, 0x0a, 0x08, 0x4e, 0x6f, + 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x4f, 0x4c, 0x10, 0x04, 0x2a, 0x6e, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x45, 0x54, 0x41, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x4d, 0x45, - 0x4e, 0x54, 0x10, 0x04, 0x2a, 0x5e, 0x0a, 0x11, 0x52, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x41, - 0x43, 0x48, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, - 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, - 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x4f, 0x46, - 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, - 0x4e, 0x45, 0x10, 0x03, 0x2a, 0x5a, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, - 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4f, 0x4e, 0x53, - 0x49, 0x53, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, - 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x47, - 0x4f, 0x4f, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x45, 0x45, 0x44, 0x53, 0x5f, 0x52, - 0x45, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x42, 0x41, 0x44, 0x10, 0x03, - 0x2a, 0x51, 0x0a, 0x0c, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6f, 0x6c, - 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x4f, 0x4f, - 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4c, - 0x4f, 0x57, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x4e, 0x43, - 0x59, 0x10, 0x03, 0x2a, 0x3b, 0x0a, 0x07, 0x4e, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, - 0x0a, 0x14, 0x4e, 0x49, 0x43, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x54, 0x48, 0x45, - 0x52, 0x4e, 0x45, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x44, 0x4d, 0x41, 0x10, 0x02, - 0x2a, 0x5d, 0x0a, 0x0b, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x1d, 0x0a, 0x19, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, - 0x0a, 0x12, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, - 0x49, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x02, 0x2a, - 0x53, 0x0a, 0x09, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, - 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x51, 0x55, 0x4f, 0x54, - 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x50, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x14, - 0x0a, 0x10, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x4f, - 0x44, 0x45, 0x10, 0x02, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x65, 0x65, 0x67, 0x66, 0x73, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x4e, 0x54, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x10, 0x05, + 0x12, 0x08, 0x0a, 0x04, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x06, 0x2a, 0x5e, 0x0a, 0x11, 0x52, 0x65, + 0x61, 0x63, 0x68, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x22, 0x0a, 0x1e, 0x52, 0x45, 0x41, 0x43, 0x48, 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, + 0x0c, 0x0a, 0x08, 0x50, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, + 0x07, 0x4f, 0x46, 0x46, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x03, 0x2a, 0x5a, 0x0a, 0x10, 0x43, 0x6f, + 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, + 0x0a, 0x1d, 0x43, 0x4f, 0x4e, 0x53, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x53, 0x54, + 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x4f, 0x4f, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4e, + 0x45, 0x45, 0x44, 0x53, 0x5f, 0x52, 0x45, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x02, 0x12, 0x07, 0x0a, + 0x03, 0x42, 0x41, 0x44, 0x10, 0x03, 0x2a, 0x51, 0x0a, 0x0c, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, + 0x74, 0x79, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x1d, 0x0a, 0x19, 0x43, 0x41, 0x50, 0x41, 0x43, 0x49, + 0x54, 0x59, 0x5f, 0x50, 0x4f, 0x4f, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, + 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x4d, + 0x45, 0x52, 0x47, 0x45, 0x4e, 0x43, 0x59, 0x10, 0x03, 0x2a, 0x3b, 0x0a, 0x07, 0x4e, 0x69, 0x63, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x4e, 0x49, 0x43, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, + 0x0a, 0x08, 0x45, 0x54, 0x48, 0x45, 0x52, 0x4e, 0x45, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, + 0x52, 0x44, 0x4d, 0x41, 0x10, 0x02, 0x2a, 0x5d, 0x0a, 0x0b, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x49, + 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, + 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, 0x44, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, + 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x49, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, + 0x4f, 0x55, 0x50, 0x10, 0x02, 0x2a, 0x53, 0x0a, 0x09, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, + 0x0a, 0x10, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x50, 0x41, + 0x43, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x4f, 0x44, 0x45, 0x10, 0x02, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x68, 0x69, 0x6e, 0x6b, 0x70, 0x61, + 0x72, 0x71, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x2f, 0x62, + 0x65, 0x65, 0x67, 0x66, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_beegfs_proto_enumTypes = make([]protoimpl.EnumInfo, 8) diff --git a/proto/agent.proto b/proto/agent.proto new file mode 100644 index 0000000..cd92130 --- /dev/null +++ b/proto/agent.proto @@ -0,0 +1,155 @@ +syntax = "proto3"; +package agent; +option go_package = "github.com/thinkparq/protobuf/go/agent"; +import "beegfs.proto"; +import "google/protobuf/timestamp.proto"; + +service BeeAgent { + rpc UpdateManifest(UpdateManifestRequest) returns (UpdateManifestResponse); + rpc ReconciliationStatus(ReconciliationStatusRequest) returns (ReconciliationStatusResponse); + rpc CancelReconciliation(CancelReconciliationRequest) returns (CancelReconciliationResponse); +} + +message UpdateManifestRequest { + // Map of FsUUIDs to file systems. + map config = 1; +} + +message UpdateManifestResponse { + string agent_id = 1; +} + +message ReconciliationStatusRequest{ + string agent_id = 1; +} + +message ReconciliationStatusResponse { + string agent_id = 1; + Status status = 2; +} + +message CancelReconciliationRequest { + string agent_id = 1; + string reason = 2; +} + +message CancelReconciliationResponse { + string agent_id = 1; + Status status = 2; +} + +message Status { + State state = 1; + enum State { + UNSPECIFIED = 0; // Should not be used. Exists only as the default if there is a programming error. + IDLE = 1; // No configuration has been provided to the agent. + APPLYING = 2; // Agent is applying the requested configuration. + SUCCESS = 3; // Agent has applied all requested configuration. + FAILED = 4; // The agent has failed to apply the requested configuration. + CANCELLED = 5; // The user requested the agent cancel applying the requested configuration. + } + repeated string messages = 2; + google.protobuf.Timestamp updated = 3; +} + +// The manifest defining an entire BeeGFS instance. +message Filesystem { + // Map of agentIDs to agents. + map agent = 1; + // Common configuration to apply to all Services. + Common common = 2; + message Common { + optional Auth auth = 1; + optional TLS tls = 2; + InstallSource install_source = 3; + repeated ServiceConfig global_config = 4; + } +} + +message Auth { + string secret = 1; +} + +message TLS { + string key = 1; + string cert = 2; +} + +message InstallSource { + InstallType type = 1; + string repo = 2; + repeated SourceRef refs = 3; +} + +// SourceRef exists because protobuf maps do not support enums as a map key. The expected use is a +// repeated SourceRef field with one entry per NodeType. It is up to the consumer to decide what to +// do if multiple of the same service_type are found, typically the last entry wins. +message SourceRef { + beegfs.NodeType service_type = 1; + string ref = 2; +} + +enum InstallType { + UNKNOWN = 0; + LOCAL = 1; + PACKAGE = 2; +} + +// ServiceConfig exists because protobuf maps do not support enums as a map key or maps as a value. The +// expected use is a repeated ServiceConfig field with one entry per NodeType. It is up to the consumer +// to decide what to do if multiple of the same service_type are found, typically the last entry wins. +message ServiceConfig { + beegfs.NodeType service_type = 1; + map string_map = 2; +} + +// A physical or virtual machine where the BeeGFS agent is running and one or more BeeGFS services +// (services or clients) should be deployed by the agent. +message Agent { + // The agent can deploy one or more services on each host machine/VM. + repeated Service services = 1; + // The agent can configure global interfaces used by multiple services. + repeated Nic interfaces = 2; +} + +// A service is a single instance of a particular BeeGFS NodeType (e.g., meta, client, sync). +message Service { + uint32 num_id = 1; + beegfs.NodeType service_type = 2; + // Configuration that should be applied to this specific service. + map config = 3; + repeated Nic interfaces = 4; + repeated Target targets = 5; + string executable = 6; +} + +message Nic { + // The name of the interface to use. + string name = 1; + // The IP/subnet of the interface. Only required if the IP should be configured if needed. + string addr = 2; +} + +message Target { + // The target ID. Note the type is derived from the associated service. + uint32 num_id = 1; + // Path to the directory under which this BeeGFS target directory will be created. For example + // given path /mnt/ and storage target 101 the target contents would be at /mnt/s_101/. Always + // required and this directory must already exist unless mount_opts is also specified. + string path = 2; + // Optionally set to format+mount the underlying file system if needed. The underlying file system + // will be mounted at path/shortFsUUID/type_id where shortFsUUID is the first 8 hex digits of the + // full 128-bit v4 FsUUID. For example given FsUUID 3b6f972b-64c7-4378-9f8e-172cf88c7d93, storage + // target 101 and root_dir `/mnt/` the target will be mounted at `/mnt/3b6f972b/storage_101`. + optional UnderlyingFSOpts ulfs = 3; + message UnderlyingFSOpts { + string device = 1; + FsType type = 2; + string format_flags = 3; + string mount_flags = 4; + enum FsType { + UNSPECIFIED = 0; + EXT4 = 1; + } + } +} diff --git a/proto/beegfs.proto b/proto/beegfs.proto index c78168c..6ad441a 100644 --- a/proto/beegfs.proto +++ b/proto/beegfs.proto @@ -16,6 +16,8 @@ enum NodeType { META = 2; STORAGE = 3; MANAGEMENT = 4; + REMOTE = 5; + SYNC = 6; } enum ReachabilityState { diff --git a/rust/agent.rs b/rust/agent.rs new file mode 100644 index 0000000..e63caa5 --- /dev/null +++ b/rust/agent.rs @@ -0,0 +1,764 @@ +// This file is @generated by prost-build. +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateManifestRequest { + /// Map of FsUUIDs to file systems. + #[prost(map = "string, message", tag = "1")] + pub config: ::std::collections::HashMap<::prost::alloc::string::String, Filesystem>, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct UpdateManifestResponse { + #[prost(string, tag = "1")] + pub agent_id: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ReconciliationStatusRequest { + #[prost(string, tag = "1")] + pub agent_id: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ReconciliationStatusResponse { + #[prost(string, tag = "1")] + pub agent_id: ::prost::alloc::string::String, + #[prost(message, optional, tag = "2")] + pub status: ::core::option::Option, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CancelReconciliationRequest { + #[prost(string, tag = "1")] + pub agent_id: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub reason: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct CancelReconciliationResponse { + #[prost(string, tag = "1")] + pub agent_id: ::prost::alloc::string::String, + #[prost(message, optional, tag = "2")] + pub status: ::core::option::Option, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Status { + #[prost(enumeration = "status::State", tag = "1")] + pub state: i32, + #[prost(string, repeated, tag = "2")] + pub messages: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + #[prost(message, optional, tag = "3")] + pub updated: ::core::option::Option<::prost_types::Timestamp>, +} +/// Nested message and enum types in `Status`. +pub mod status { + #[derive( + Clone, + Copy, + Debug, + PartialEq, + Eq, + Hash, + PartialOrd, + Ord, + ::prost::Enumeration + )] + #[repr(i32)] + pub enum State { + /// Should not be used. Exists only as the default if there is a programming error. + Unspecified = 0, + /// No configuration has been provided to the agent. + Idle = 1, + /// Agent is applying the requested configuration. + Applying = 2, + /// Agent has applied all requested configuration. + Success = 3, + /// The agent has failed to apply the requested configuration. + Failed = 4, + /// The user requested the agent cancel applying the requested configuration. + Cancelled = 5, + } + impl State { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + Self::Unspecified => "UNSPECIFIED", + Self::Idle => "IDLE", + Self::Applying => "APPLYING", + Self::Success => "SUCCESS", + Self::Failed => "FAILED", + Self::Cancelled => "CANCELLED", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "UNSPECIFIED" => Some(Self::Unspecified), + "IDLE" => Some(Self::Idle), + "APPLYING" => Some(Self::Applying), + "SUCCESS" => Some(Self::Success), + "FAILED" => Some(Self::Failed), + "CANCELLED" => Some(Self::Cancelled), + _ => None, + } + } + } +} +/// The manifest defining an entire BeeGFS instance. +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Filesystem { + /// Map of agentIDs to agents. + #[prost(map = "string, message", tag = "1")] + pub agent: ::std::collections::HashMap<::prost::alloc::string::String, Agent>, + /// Common configuration to apply to all Services. + #[prost(message, optional, tag = "2")] + pub common: ::core::option::Option, +} +/// Nested message and enum types in `Filesystem`. +pub mod filesystem { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct Common { + #[prost(message, optional, tag = "1")] + pub auth: ::core::option::Option, + #[prost(message, optional, tag = "2")] + pub tls: ::core::option::Option, + #[prost(message, optional, tag = "3")] + pub install_source: ::core::option::Option, + #[prost(message, repeated, tag = "4")] + pub global_config: ::prost::alloc::vec::Vec, + } +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Auth { + #[prost(string, tag = "1")] + pub secret: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Tls { + #[prost(string, tag = "1")] + pub key: ::prost::alloc::string::String, + #[prost(string, tag = "2")] + pub cert: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct InstallSource { + #[prost(enumeration = "InstallType", tag = "1")] + pub r#type: i32, + #[prost(string, tag = "2")] + pub repo: ::prost::alloc::string::String, + #[prost(message, repeated, tag = "3")] + pub refs: ::prost::alloc::vec::Vec, +} +/// SourceRef exists because protobuf maps do not support enums as a map key. The expected use is a +/// repeated SourceRef field with one entry per NodeType. It is up to the consumer to decide what to +/// do if multiple of the same service_type are found, typically the last entry wins. +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct SourceRef { + #[prost(enumeration = "super::beegfs::NodeType", tag = "1")] + pub service_type: i32, + #[prost(string, tag = "2")] + pub r#ref: ::prost::alloc::string::String, +} +/// ServiceConfig exists because protobuf maps do not support enums as a map key or maps as a value. The +/// expected use is a repeated ServiceConfig field with one entry per NodeType. It is up to the consumer +/// to decide what to do if multiple of the same service_type are found, typically the last entry wins. +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct ServiceConfig { + #[prost(enumeration = "super::beegfs::NodeType", tag = "1")] + pub service_type: i32, + #[prost(map = "string, string", tag = "2")] + pub string_map: ::std::collections::HashMap< + ::prost::alloc::string::String, + ::prost::alloc::string::String, + >, +} +/// A physical or virtual machine where the BeeGFS agent is running and one or more BeeGFS services +/// (services or clients) should be deployed by the agent. +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Agent { + /// The agent can deploy one or more services on each host machine/VM. + #[prost(message, repeated, tag = "1")] + pub services: ::prost::alloc::vec::Vec, + /// The agent can configure global interfaces used by multiple services. + #[prost(message, repeated, tag = "2")] + pub interfaces: ::prost::alloc::vec::Vec, +} +/// A service is a single instance of a particular BeeGFS NodeType (e.g., meta, client, sync). +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Service { + #[prost(uint32, tag = "1")] + pub num_id: u32, + #[prost(enumeration = "super::beegfs::NodeType", tag = "2")] + pub service_type: i32, + /// Configuration that should be applied to this specific service. + #[prost(map = "string, string", tag = "3")] + pub config: ::std::collections::HashMap< + ::prost::alloc::string::String, + ::prost::alloc::string::String, + >, + #[prost(message, repeated, tag = "4")] + pub interfaces: ::prost::alloc::vec::Vec, + #[prost(message, repeated, tag = "5")] + pub targets: ::prost::alloc::vec::Vec, + #[prost(string, tag = "6")] + pub executable: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Nic { + /// The name of the interface to use. + #[prost(string, tag = "1")] + pub name: ::prost::alloc::string::String, + /// The IP/subnet of the interface. Only required if the IP should be configured if needed. + #[prost(string, tag = "2")] + pub addr: ::prost::alloc::string::String, +} +#[derive(Clone, PartialEq, ::prost::Message)] +pub struct Target { + /// The target ID. Note the type is derived from the associated service. + #[prost(uint32, tag = "1")] + pub num_id: u32, + /// Path to the directory under which this BeeGFS target directory will be created. For example + /// given path /mnt/ and storage target 101 the target contents would be at /mnt/s_101/. Always + /// required and this directory must already exist unless mount_opts is also specified. + #[prost(string, tag = "2")] + pub path: ::prost::alloc::string::String, + /// Optionally set to format+mount the underlying file system if needed. The underlying file system + /// will be mounted at path/shortFsUUID/type_id where shortFsUUID is the first 8 hex digits of the + /// full 128-bit v4 FsUUID. For example given FsUUID 3b6f972b-64c7-4378-9f8e-172cf88c7d93, storage + /// target 101 and root_dir `/mnt/` the target will be mounted at `/mnt/3b6f972b/storage_101`. + #[prost(message, optional, tag = "3")] + pub ulfs: ::core::option::Option, +} +/// Nested message and enum types in `Target`. +pub mod target { + #[derive(Clone, PartialEq, ::prost::Message)] + pub struct UnderlyingFsOpts { + #[prost(string, tag = "1")] + pub device: ::prost::alloc::string::String, + #[prost(enumeration = "underlying_fs_opts::FsType", tag = "2")] + pub r#type: i32, + #[prost(string, tag = "3")] + pub format_flags: ::prost::alloc::string::String, + #[prost(string, tag = "4")] + pub mount_flags: ::prost::alloc::string::String, + } + /// Nested message and enum types in `UnderlyingFSOpts`. + pub mod underlying_fs_opts { + #[derive( + Clone, + Copy, + Debug, + PartialEq, + Eq, + Hash, + PartialOrd, + Ord, + ::prost::Enumeration + )] + #[repr(i32)] + pub enum FsType { + Unspecified = 0, + Ext4 = 1, + } + impl FsType { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + Self::Unspecified => "UNSPECIFIED", + Self::Ext4 => "EXT4", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "UNSPECIFIED" => Some(Self::Unspecified), + "EXT4" => Some(Self::Ext4), + _ => None, + } + } + } + } +} +#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] +#[repr(i32)] +pub enum InstallType { + Unknown = 0, + Local = 1, + Package = 2, +} +impl InstallType { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + Self::Unknown => "UNKNOWN", + Self::Local => "LOCAL", + Self::Package => "PACKAGE", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option { + match value { + "UNKNOWN" => Some(Self::Unknown), + "LOCAL" => Some(Self::Local), + "PACKAGE" => Some(Self::Package), + _ => None, + } + } +} +/// Generated client implementations. +pub mod bee_agent_client { + #![allow( + unused_variables, + dead_code, + missing_docs, + clippy::wildcard_imports, + clippy::let_unit_value, + )] + use tonic::codegen::*; + use tonic::codegen::http::Uri; + #[derive(Debug, Clone)] + pub struct BeeAgentClient { + inner: tonic::client::Grpc, + } + impl BeeAgentClient { + /// Attempt to create a new client by connecting to a given endpoint. + pub async fn connect(dst: D) -> Result + where + D: TryInto, + D::Error: Into, + { + let conn = tonic::transport::Endpoint::new(dst)?.connect().await?; + Ok(Self::new(conn)) + } + } + impl BeeAgentClient + where + T: tonic::client::GrpcService, + T::Error: Into, + T::ResponseBody: Body + std::marker::Send + 'static, + ::Error: Into + std::marker::Send, + { + pub fn new(inner: T) -> Self { + let inner = tonic::client::Grpc::new(inner); + Self { inner } + } + pub fn with_origin(inner: T, origin: Uri) -> Self { + let inner = tonic::client::Grpc::with_origin(inner, origin); + Self { inner } + } + pub fn with_interceptor( + inner: T, + interceptor: F, + ) -> BeeAgentClient> + where + F: tonic::service::Interceptor, + T::ResponseBody: Default, + T: tonic::codegen::Service< + http::Request, + Response = http::Response< + >::ResponseBody, + >, + >, + , + >>::Error: Into + std::marker::Send + std::marker::Sync, + { + BeeAgentClient::new(InterceptedService::new(inner, interceptor)) + } + /// Compress requests with the given encoding. + /// + /// This requires the server to support it otherwise it might respond with an + /// error. + #[must_use] + pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self { + self.inner = self.inner.send_compressed(encoding); + self + } + /// Enable decompressing responses. + #[must_use] + pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self { + self.inner = self.inner.accept_compressed(encoding); + self + } + /// Limits the maximum size of a decoded message. + /// + /// Default: `4MB` + #[must_use] + pub fn max_decoding_message_size(mut self, limit: usize) -> Self { + self.inner = self.inner.max_decoding_message_size(limit); + self + } + /// Limits the maximum size of an encoded message. + /// + /// Default: `usize::MAX` + #[must_use] + pub fn max_encoding_message_size(mut self, limit: usize) -> Self { + self.inner = self.inner.max_encoding_message_size(limit); + self + } + pub async fn update_manifest( + &mut self, + request: impl tonic::IntoRequest, + ) -> std::result::Result< + tonic::Response, + tonic::Status, + > { + self.inner + .ready() + .await + .map_err(|e| { + tonic::Status::unknown( + format!("Service was not ready: {}", e.into()), + ) + })?; + let codec = tonic::codec::ProstCodec::default(); + let path = http::uri::PathAndQuery::from_static( + "/agent.BeeAgent/UpdateManifest", + ); + let mut req = request.into_request(); + req.extensions_mut() + .insert(GrpcMethod::new("agent.BeeAgent", "UpdateManifest")); + self.inner.unary(req, path, codec).await + } + pub async fn reconciliation_status( + &mut self, + request: impl tonic::IntoRequest, + ) -> std::result::Result< + tonic::Response, + tonic::Status, + > { + self.inner + .ready() + .await + .map_err(|e| { + tonic::Status::unknown( + format!("Service was not ready: {}", e.into()), + ) + })?; + let codec = tonic::codec::ProstCodec::default(); + let path = http::uri::PathAndQuery::from_static( + "/agent.BeeAgent/ReconciliationStatus", + ); + let mut req = request.into_request(); + req.extensions_mut() + .insert(GrpcMethod::new("agent.BeeAgent", "ReconciliationStatus")); + self.inner.unary(req, path, codec).await + } + pub async fn cancel_reconciliation( + &mut self, + request: impl tonic::IntoRequest, + ) -> std::result::Result< + tonic::Response, + tonic::Status, + > { + self.inner + .ready() + .await + .map_err(|e| { + tonic::Status::unknown( + format!("Service was not ready: {}", e.into()), + ) + })?; + let codec = tonic::codec::ProstCodec::default(); + let path = http::uri::PathAndQuery::from_static( + "/agent.BeeAgent/CancelReconciliation", + ); + let mut req = request.into_request(); + req.extensions_mut() + .insert(GrpcMethod::new("agent.BeeAgent", "CancelReconciliation")); + self.inner.unary(req, path, codec).await + } + } +} +/// Generated server implementations. +pub mod bee_agent_server { + #![allow( + unused_variables, + dead_code, + missing_docs, + clippy::wildcard_imports, + clippy::let_unit_value, + )] + use tonic::codegen::*; + /// Generated trait containing gRPC methods that should be implemented for use with BeeAgentServer. + #[async_trait] + pub trait BeeAgent: std::marker::Send + std::marker::Sync + 'static { + async fn update_manifest( + &self, + request: tonic::Request, + ) -> std::result::Result< + tonic::Response, + tonic::Status, + >; + async fn reconciliation_status( + &self, + request: tonic::Request, + ) -> std::result::Result< + tonic::Response, + tonic::Status, + >; + async fn cancel_reconciliation( + &self, + request: tonic::Request, + ) -> std::result::Result< + tonic::Response, + tonic::Status, + >; + } + #[derive(Debug)] + pub struct BeeAgentServer { + inner: Arc, + accept_compression_encodings: EnabledCompressionEncodings, + send_compression_encodings: EnabledCompressionEncodings, + max_decoding_message_size: Option, + max_encoding_message_size: Option, + } + impl BeeAgentServer { + pub fn new(inner: T) -> Self { + Self::from_arc(Arc::new(inner)) + } + pub fn from_arc(inner: Arc) -> Self { + Self { + inner, + accept_compression_encodings: Default::default(), + send_compression_encodings: Default::default(), + max_decoding_message_size: None, + max_encoding_message_size: None, + } + } + pub fn with_interceptor( + inner: T, + interceptor: F, + ) -> InterceptedService + where + F: tonic::service::Interceptor, + { + InterceptedService::new(Self::new(inner), interceptor) + } + /// Enable decompressing requests with the given encoding. + #[must_use] + pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self { + self.accept_compression_encodings.enable(encoding); + self + } + /// Compress responses with the given encoding, if the client supports it. + #[must_use] + pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self { + self.send_compression_encodings.enable(encoding); + self + } + /// Limits the maximum size of a decoded message. + /// + /// Default: `4MB` + #[must_use] + pub fn max_decoding_message_size(mut self, limit: usize) -> Self { + self.max_decoding_message_size = Some(limit); + self + } + /// Limits the maximum size of an encoded message. + /// + /// Default: `usize::MAX` + #[must_use] + pub fn max_encoding_message_size(mut self, limit: usize) -> Self { + self.max_encoding_message_size = Some(limit); + self + } + } + impl tonic::codegen::Service> for BeeAgentServer + where + T: BeeAgent, + B: Body + std::marker::Send + 'static, + B::Error: Into + std::marker::Send + 'static, + { + type Response = http::Response; + type Error = std::convert::Infallible; + type Future = BoxFuture; + fn poll_ready( + &mut self, + _cx: &mut Context<'_>, + ) -> Poll> { + Poll::Ready(Ok(())) + } + fn call(&mut self, req: http::Request) -> Self::Future { + match req.uri().path() { + "/agent.BeeAgent/UpdateManifest" => { + #[allow(non_camel_case_types)] + struct UpdateManifestSvc(pub Arc); + impl< + T: BeeAgent, + > tonic::server::UnaryService + for UpdateManifestSvc { + type Response = super::UpdateManifestResponse; + type Future = BoxFuture< + tonic::Response, + tonic::Status, + >; + fn call( + &mut self, + request: tonic::Request, + ) -> Self::Future { + let inner = Arc::clone(&self.0); + let fut = async move { + ::update_manifest(&inner, request).await + }; + Box::pin(fut) + } + } + let accept_compression_encodings = self.accept_compression_encodings; + let send_compression_encodings = self.send_compression_encodings; + let max_decoding_message_size = self.max_decoding_message_size; + let max_encoding_message_size = self.max_encoding_message_size; + let inner = self.inner.clone(); + let fut = async move { + let method = UpdateManifestSvc(inner); + let codec = tonic::codec::ProstCodec::default(); + let mut grpc = tonic::server::Grpc::new(codec) + .apply_compression_config( + accept_compression_encodings, + send_compression_encodings, + ) + .apply_max_message_size_config( + max_decoding_message_size, + max_encoding_message_size, + ); + let res = grpc.unary(method, req).await; + Ok(res) + }; + Box::pin(fut) + } + "/agent.BeeAgent/ReconciliationStatus" => { + #[allow(non_camel_case_types)] + struct ReconciliationStatusSvc(pub Arc); + impl< + T: BeeAgent, + > tonic::server::UnaryService + for ReconciliationStatusSvc { + type Response = super::ReconciliationStatusResponse; + type Future = BoxFuture< + tonic::Response, + tonic::Status, + >; + fn call( + &mut self, + request: tonic::Request, + ) -> Self::Future { + let inner = Arc::clone(&self.0); + let fut = async move { + ::reconciliation_status(&inner, request) + .await + }; + Box::pin(fut) + } + } + let accept_compression_encodings = self.accept_compression_encodings; + let send_compression_encodings = self.send_compression_encodings; + let max_decoding_message_size = self.max_decoding_message_size; + let max_encoding_message_size = self.max_encoding_message_size; + let inner = self.inner.clone(); + let fut = async move { + let method = ReconciliationStatusSvc(inner); + let codec = tonic::codec::ProstCodec::default(); + let mut grpc = tonic::server::Grpc::new(codec) + .apply_compression_config( + accept_compression_encodings, + send_compression_encodings, + ) + .apply_max_message_size_config( + max_decoding_message_size, + max_encoding_message_size, + ); + let res = grpc.unary(method, req).await; + Ok(res) + }; + Box::pin(fut) + } + "/agent.BeeAgent/CancelReconciliation" => { + #[allow(non_camel_case_types)] + struct CancelReconciliationSvc(pub Arc); + impl< + T: BeeAgent, + > tonic::server::UnaryService + for CancelReconciliationSvc { + type Response = super::CancelReconciliationResponse; + type Future = BoxFuture< + tonic::Response, + tonic::Status, + >; + fn call( + &mut self, + request: tonic::Request, + ) -> Self::Future { + let inner = Arc::clone(&self.0); + let fut = async move { + ::cancel_reconciliation(&inner, request) + .await + }; + Box::pin(fut) + } + } + let accept_compression_encodings = self.accept_compression_encodings; + let send_compression_encodings = self.send_compression_encodings; + let max_decoding_message_size = self.max_decoding_message_size; + let max_encoding_message_size = self.max_encoding_message_size; + let inner = self.inner.clone(); + let fut = async move { + let method = CancelReconciliationSvc(inner); + let codec = tonic::codec::ProstCodec::default(); + let mut grpc = tonic::server::Grpc::new(codec) + .apply_compression_config( + accept_compression_encodings, + send_compression_encodings, + ) + .apply_max_message_size_config( + max_decoding_message_size, + max_encoding_message_size, + ); + let res = grpc.unary(method, req).await; + Ok(res) + }; + Box::pin(fut) + } + _ => { + Box::pin(async move { + let mut response = http::Response::new( + tonic::body::Body::default(), + ); + let headers = response.headers_mut(); + headers + .insert( + tonic::Status::GRPC_STATUS, + (tonic::Code::Unimplemented as i32).into(), + ); + headers + .insert( + http::header::CONTENT_TYPE, + tonic::metadata::GRPC_CONTENT_TYPE, + ); + Ok(response) + }) + } + } + } + } + impl Clone for BeeAgentServer { + fn clone(&self) -> Self { + let inner = self.inner.clone(); + Self { + inner, + accept_compression_encodings: self.accept_compression_encodings, + send_compression_encodings: self.send_compression_encodings, + max_decoding_message_size: self.max_decoding_message_size, + max_encoding_message_size: self.max_encoding_message_size, + } + } + } + /// Generated gRPC service name + pub const SERVICE_NAME: &str = "agent.BeeAgent"; + impl tonic::server::NamedService for BeeAgentServer { + const NAME: &'static str = SERVICE_NAME; + } +} diff --git a/rust/beegfs.rs b/rust/beegfs.rs index b7c9408..2fc7343 100644 --- a/rust/beegfs.rs +++ b/rust/beegfs.rs @@ -84,6 +84,8 @@ pub enum NodeType { Meta = 2, Storage = 3, Management = 4, + Remote = 5, + Sync = 6, } impl NodeType { /// String value of the enum field names used in the ProtoBuf definition. @@ -97,6 +99,8 @@ impl NodeType { Self::Meta => "META", Self::Storage => "STORAGE", Self::Management => "MANAGEMENT", + Self::Remote => "REMOTE", + Self::Sync => "SYNC", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -107,6 +111,8 @@ impl NodeType { "META" => Some(Self::Meta), "STORAGE" => Some(Self::Storage), "MANAGEMENT" => Some(Self::Management), + "REMOTE" => Some(Self::Remote), + "SYNC" => Some(Self::Sync), _ => None, } } diff --git a/rust/lib.rs b/rust/lib.rs index 08779cb..38f2e41 100644 --- a/rust/lib.rs +++ b/rust/lib.rs @@ -1,5 +1,6 @@ // Auto-generated by protoc-rs +pub mod agent; pub mod beegfs; pub mod beeremote; pub mod beewatch;