From 7de83f6542bd50b67ddd41890cc7ef768751926d Mon Sep 17 00:00:00 2001 From: Prafulla Mahindrakar Date: Thu, 5 May 2022 18:18:34 +0530 Subject: [PATCH 1/2] Proposal : Settings proto Signed-off-by: Prafulla Mahindrakar --- gen/pb-cpp/flyteidl/admin/settings.grpc.pb.cc | 24 + gen/pb-cpp/flyteidl/admin/settings.grpc.pb.h | 47 + gen/pb-cpp/flyteidl/admin/settings.pb.cc | 10492 ++++++++ gen/pb-cpp/flyteidl/admin/settings.pb.h | 6028 +++++ gen/pb-go/flyteidl/admin/settings.pb.go | 1532 ++ .../flyteidl/admin/settings.pb.validate.go | 1944 ++ .../flyteidl/admin/settings.swagger.json | 19 + .../flyteidl/admin/SettingsOuterClass.java | 21684 ++++++++++++++++ gen/pb-js/flyteidl.d.ts | 1295 + gen/pb-js/flyteidl.js | 3218 +++ gen/pb_python/flyteidl/admin/settings_pb2.py | 1422 + .../flyteidl/admin/settings_pb2_grpc.py | 3 + protos/flyteidl/admin/settings.proto | 194 + 13 files changed, 47902 insertions(+) create mode 100644 gen/pb-cpp/flyteidl/admin/settings.grpc.pb.cc create mode 100644 gen/pb-cpp/flyteidl/admin/settings.grpc.pb.h create mode 100644 gen/pb-cpp/flyteidl/admin/settings.pb.cc create mode 100644 gen/pb-cpp/flyteidl/admin/settings.pb.h create mode 100644 gen/pb-go/flyteidl/admin/settings.pb.go create mode 100644 gen/pb-go/flyteidl/admin/settings.pb.validate.go create mode 100644 gen/pb-go/flyteidl/admin/settings.swagger.json create mode 100644 gen/pb-java/flyteidl/admin/SettingsOuterClass.java create mode 100644 gen/pb_python/flyteidl/admin/settings_pb2.py create mode 100644 gen/pb_python/flyteidl/admin/settings_pb2_grpc.py create mode 100644 protos/flyteidl/admin/settings.proto diff --git a/gen/pb-cpp/flyteidl/admin/settings.grpc.pb.cc b/gen/pb-cpp/flyteidl/admin/settings.grpc.pb.cc new file mode 100644 index 000000000..d0f6202dc --- /dev/null +++ b/gen/pb-cpp/flyteidl/admin/settings.grpc.pb.cc @@ -0,0 +1,24 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/admin/settings.proto + +#include "flyteidl/admin/settings.pb.h" +#include "flyteidl/admin/settings.grpc.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +namespace flyteidl { +namespace admin { + +} // namespace flyteidl +} // namespace admin + diff --git a/gen/pb-cpp/flyteidl/admin/settings.grpc.pb.h b/gen/pb-cpp/flyteidl/admin/settings.grpc.pb.h new file mode 100644 index 000000000..bc7bc863d --- /dev/null +++ b/gen/pb-cpp/flyteidl/admin/settings.grpc.pb.h @@ -0,0 +1,47 @@ +// Generated by the gRPC C++ plugin. +// If you make any local change, they will be lost. +// source: flyteidl/admin/settings.proto +#ifndef GRPC_flyteidl_2fadmin_2fsettings_2eproto__INCLUDED +#define GRPC_flyteidl_2fadmin_2fsettings_2eproto__INCLUDED + +#include "flyteidl/admin/settings.pb.h" + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace grpc_impl { +class Channel; +class CompletionQueue; +class ServerCompletionQueue; +} // namespace grpc_impl + +namespace grpc { +namespace experimental { +template +class MessageAllocator; +} // namespace experimental +} // namespace grpc_impl + +namespace grpc { +class ServerContext; +} // namespace grpc + +namespace flyteidl { +namespace admin { + +} // namespace admin +} // namespace flyteidl + + +#endif // GRPC_flyteidl_2fadmin_2fsettings_2eproto__INCLUDED diff --git a/gen/pb-cpp/flyteidl/admin/settings.pb.cc b/gen/pb-cpp/flyteidl/admin/settings.pb.cc new file mode 100644 index 000000000..288f399d7 --- /dev/null +++ b/gen/pb-cpp/flyteidl/admin/settings.pb.cc @@ -0,0 +1,10492 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/settings.proto + +#include "flyteidl/admin/settings.pb.h" + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +// @@protoc_insertion_point(includes) +#include + +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DomainSettings_WorkflowSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_LaunchplanSettings_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ProjectSettings_DomainSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Settings_ProjectSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_DomainSettings_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ProjectSettings_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Settings_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowSettings_flyteidl_2fadmin_2fsettings_2eproto; +namespace flyteidl { +namespace admin { +class SettingsCollectionDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _SettingsCollection_default_instance_; +class Settings_ProjectSettingsEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Settings_ProjectSettingsEntry_DoNotUse_default_instance_; +class SettingsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _Settings_default_instance_; +class ProjectSettings_DomainSettingsEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ProjectSettings_DomainSettingsEntry_DoNotUse_default_instance_; +class ProjectSettingsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ProjectSettings_default_instance_; +class DomainSettings_WorkflowSettingsEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DomainSettings_WorkflowSettingsEntry_DoNotUse_default_instance_; +class DomainSettingsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DomainSettings_default_instance_; +class WorkflowSettings_LaunchplanSettingsEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_default_instance_; +class WorkflowSettingsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _WorkflowSettings_default_instance_; +class LaunchplanSettingsDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _LaunchplanSettings_default_instance_; +class GlobalLevelDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _GlobalLevel_default_instance_; +class ProjectLevelDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ProjectLevel_default_instance_; +class DomainLevelDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _DomainLevel_default_instance_; +class WorkflowLevelDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _WorkflowLevel_default_instance_; +class LaunchplanLevelDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _LaunchplanLevel_default_instance_; +class SettingsUpdateRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::admin::GlobalLevel* global_level_; + const ::flyteidl::admin::ProjectLevel* project_level_; + const ::flyteidl::admin::DomainLevel* domain_level_; + const ::flyteidl::admin::WorkflowLevel* workflow_level_; + const ::flyteidl::admin::LaunchplanLevel* launchplan_level_; +} _SettingsUpdateRequest_default_instance_; +class FullSettingsUpdateRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::admin::GlobalLevel* global_level_; + const ::flyteidl::admin::ProjectLevel* project_level_; + const ::flyteidl::admin::DomainLevel* domain_level_; + const ::flyteidl::admin::WorkflowLevel* workflow_level_; + const ::flyteidl::admin::LaunchplanLevel* launchplan_level_; +} _FullSettingsUpdateRequest_default_instance_; +class FullSettingsUpdateResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _FullSettingsUpdateResponse_default_instance_; +class SettingsGetRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::admin::GlobalLevel* global_level_; + const ::flyteidl::admin::ProjectLevel* project_level_; + const ::flyteidl::admin::DomainLevel* domain_level_; + const ::flyteidl::admin::WorkflowLevel* workflow_level_; + const ::flyteidl::admin::LaunchplanLevel* launchplan_level_; +} _SettingsGetRequest_default_instance_; +class SettingsGetResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::admin::GlobalLevel* global_level_; + const ::flyteidl::admin::ProjectLevel* project_level_; + const ::flyteidl::admin::DomainLevel* domain_level_; + const ::flyteidl::admin::WorkflowLevel* workflow_level_; + const ::flyteidl::admin::LaunchplanLevel* launchplan_level_; +} _SettingsGetResponse_default_instance_; +class FullSettingsGetRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _FullSettingsGetRequest_default_instance_; +class FullSettingsGetResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _FullSettingsGetResponse_default_instance_; +class SettingsDeleteRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::admin::GlobalLevel* global_level_; + const ::flyteidl::admin::ProjectLevel* project_level_; + const ::flyteidl::admin::DomainLevel* domain_level_; + const ::flyteidl::admin::WorkflowLevel* workflow_level_; + const ::flyteidl::admin::LaunchplanLevel* launchplan_level_; +} _SettingsDeleteRequest_default_instance_; +class SettingsDeleteResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _SettingsDeleteResponse_default_instance_; +} // namespace admin +} // namespace flyteidl +static void InitDefaultsSettingsCollection_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_SettingsCollection_default_instance_; + new (ptr) ::flyteidl::admin::SettingsCollection(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::SettingsCollection::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSettingsCollection_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; + +static void InitDefaultsSettings_ProjectSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_Settings_ProjectSettingsEntry_DoNotUse_default_instance_; + new (ptr) ::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse(); + } + ::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_Settings_ProjectSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSettings_ProjectSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_ProjectSettings_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsSettings_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_Settings_default_instance_; + new (ptr) ::flyteidl::admin::Settings(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::Settings::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_Settings_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsSettings_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_Settings_ProjectSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsProjectSettings_DomainSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_ProjectSettings_DomainSettingsEntry_DoNotUse_default_instance_; + new (ptr) ::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse(); + } + ::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_ProjectSettings_DomainSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectSettings_DomainSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_DomainSettings_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsProjectSettings_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_ProjectSettings_default_instance_; + new (ptr) ::flyteidl::admin::ProjectSettings(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::ProjectSettings::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_ProjectSettings_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsProjectSettings_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_ProjectSettings_DomainSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsDomainSettings_WorkflowSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_DomainSettings_WorkflowSettingsEntry_DoNotUse_default_instance_; + new (ptr) ::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse(); + } + ::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_DomainSettings_WorkflowSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsDomainSettings_WorkflowSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_WorkflowSettings_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsDomainSettings_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_DomainSettings_default_instance_; + new (ptr) ::flyteidl::admin::DomainSettings(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::DomainSettings::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_DomainSettings_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsDomainSettings_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_DomainSettings_WorkflowSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsWorkflowSettings_LaunchplanSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_default_instance_; + new (ptr) ::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse(); + } + ::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowSettings_LaunchplanSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_LaunchplanSettings_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsWorkflowSettings_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_WorkflowSettings_default_instance_; + new (ptr) ::flyteidl::admin::WorkflowSettings(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::WorkflowSettings::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowSettings_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsWorkflowSettings_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsLaunchplanSettings_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_LaunchplanSettings_default_instance_; + new (ptr) ::flyteidl::admin::LaunchplanSettings(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::LaunchplanSettings::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_LaunchplanSettings_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsLaunchplanSettings_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsGlobalLevel_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_GlobalLevel_default_instance_; + new (ptr) ::flyteidl::admin::GlobalLevel(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::GlobalLevel::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsGlobalLevel_flyteidl_2fadmin_2fsettings_2eproto}, {}}; + +static void InitDefaultsProjectLevel_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_ProjectLevel_default_instance_; + new (ptr) ::flyteidl::admin::ProjectLevel(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::ProjectLevel::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectLevel_flyteidl_2fadmin_2fsettings_2eproto}, {}}; + +static void InitDefaultsDomainLevel_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_DomainLevel_default_instance_; + new (ptr) ::flyteidl::admin::DomainLevel(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::DomainLevel::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsDomainLevel_flyteidl_2fadmin_2fsettings_2eproto}, {}}; + +static void InitDefaultsWorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_WorkflowLevel_default_instance_; + new (ptr) ::flyteidl::admin::WorkflowLevel(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::WorkflowLevel::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto}, {}}; + +static void InitDefaultsLaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_LaunchplanLevel_default_instance_; + new (ptr) ::flyteidl::admin::LaunchplanLevel(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::LaunchplanLevel::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsLaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto}, {}}; + +static void InitDefaultsSettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_SettingsUpdateRequest_default_instance_; + new (ptr) ::flyteidl::admin::SettingsUpdateRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::SettingsUpdateRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<6> scc_info_SettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsSettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsFullSettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_FullSettingsUpdateRequest_default_instance_; + new (ptr) ::flyteidl::admin::FullSettingsUpdateRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::FullSettingsUpdateRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<6> scc_info_FullSettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsFullSettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsFullSettingsUpdateResponse_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_FullSettingsUpdateResponse_default_instance_; + new (ptr) ::flyteidl::admin::FullSettingsUpdateResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::FullSettingsUpdateResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_FullSettingsUpdateResponse_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFullSettingsUpdateResponse_flyteidl_2fadmin_2fsettings_2eproto}, {}}; + +static void InitDefaultsSettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_SettingsGetRequest_default_instance_; + new (ptr) ::flyteidl::admin::SettingsGetRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::SettingsGetRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<5> scc_info_SettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsSettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsSettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_SettingsGetResponse_default_instance_; + new (ptr) ::flyteidl::admin::SettingsGetResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::SettingsGetResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<6> scc_info_SettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 6, InitDefaultsSettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsFullSettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_FullSettingsGetRequest_default_instance_; + new (ptr) ::flyteidl::admin::FullSettingsGetRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::FullSettingsGetRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_FullSettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsFullSettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto}, {}}; + +static void InitDefaultsFullSettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_FullSettingsGetResponse_default_instance_; + new (ptr) ::flyteidl::admin::FullSettingsGetResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::FullSettingsGetResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_FullSettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsFullSettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_Settings_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsSettingsDeleteRequest_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_SettingsDeleteRequest_default_instance_; + new (ptr) ::flyteidl::admin::SettingsDeleteRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::SettingsDeleteRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<5> scc_info_SettingsDeleteRequest_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 5, InitDefaultsSettingsDeleteRequest_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto.base, + &scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto.base,}}; + +static void InitDefaultsSettingsDeleteResponse_flyteidl_2fadmin_2fsettings_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_SettingsDeleteResponse_default_instance_; + new (ptr) ::flyteidl::admin::SettingsDeleteResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::SettingsDeleteResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_SettingsDeleteResponse_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsSettingsDeleteResponse_flyteidl_2fadmin_2fsettings_2eproto}, {}}; + +void InitDefaults_flyteidl_2fadmin_2fsettings_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_Settings_ProjectSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_Settings_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ProjectSettings_DomainSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ProjectSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DomainSettings_WorkflowSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DomainSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_WorkflowSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_LaunchplanSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_SettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_FullSettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_FullSettingsUpdateResponse_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_SettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_SettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_FullSettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_FullSettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_SettingsDeleteRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_SettingsDeleteResponse_flyteidl_2fadmin_2fsettings_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[24]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fsettings_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fsettings_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fsettings_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsCollection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsCollection, task_resource_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsCollection, cluster_resource_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsCollection, execution_queue_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsCollection, execution_cluster_label_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsCollection, quality_of_service_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsCollection, plugin_override_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsCollection, workflow_execution_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsCollection, cluster_assignment_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Settings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Settings, global_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::Settings, project_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectSettings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectSettings, project_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectSettings, settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectSettings, domain_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainSettings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainSettings, domain_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainSettings, settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainSettings, workflow_settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSettings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSettings, workflow_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSettings, settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowSettings, launchplan_settings_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchplanSettings, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchplanSettings, launchplan_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchplanSettings, settings_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::GlobalLevel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectLevel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectLevel, project_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainLevel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainLevel, project_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::DomainLevel, domain_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowLevel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowLevel, project_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowLevel, domain_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowLevel, workflow_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchplanLevel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchplanLevel, project_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchplanLevel, domain_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchplanLevel, workflow_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::LaunchplanLevel, launchplan_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsUpdateRequest, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsUpdateRequest, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + offsetof(::flyteidl::admin::SettingsUpdateRequestDefaultTypeInternal, global_level_), + offsetof(::flyteidl::admin::SettingsUpdateRequestDefaultTypeInternal, project_level_), + offsetof(::flyteidl::admin::SettingsUpdateRequestDefaultTypeInternal, domain_level_), + offsetof(::flyteidl::admin::SettingsUpdateRequestDefaultTypeInternal, workflow_level_), + offsetof(::flyteidl::admin::SettingsUpdateRequestDefaultTypeInternal, launchplan_level_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsUpdateRequest, settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsUpdateRequest, level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FullSettingsUpdateRequest, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FullSettingsUpdateRequest, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + offsetof(::flyteidl::admin::FullSettingsUpdateRequestDefaultTypeInternal, global_level_), + offsetof(::flyteidl::admin::FullSettingsUpdateRequestDefaultTypeInternal, project_level_), + offsetof(::flyteidl::admin::FullSettingsUpdateRequestDefaultTypeInternal, domain_level_), + offsetof(::flyteidl::admin::FullSettingsUpdateRequestDefaultTypeInternal, workflow_level_), + offsetof(::flyteidl::admin::FullSettingsUpdateRequestDefaultTypeInternal, launchplan_level_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FullSettingsUpdateRequest, settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FullSettingsUpdateRequest, level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FullSettingsUpdateResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsGetRequest, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsGetRequest, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + offsetof(::flyteidl::admin::SettingsGetRequestDefaultTypeInternal, global_level_), + offsetof(::flyteidl::admin::SettingsGetRequestDefaultTypeInternal, project_level_), + offsetof(::flyteidl::admin::SettingsGetRequestDefaultTypeInternal, domain_level_), + offsetof(::flyteidl::admin::SettingsGetRequestDefaultTypeInternal, workflow_level_), + offsetof(::flyteidl::admin::SettingsGetRequestDefaultTypeInternal, launchplan_level_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsGetRequest, level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsGetResponse, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsGetResponse, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + offsetof(::flyteidl::admin::SettingsGetResponseDefaultTypeInternal, global_level_), + offsetof(::flyteidl::admin::SettingsGetResponseDefaultTypeInternal, project_level_), + offsetof(::flyteidl::admin::SettingsGetResponseDefaultTypeInternal, domain_level_), + offsetof(::flyteidl::admin::SettingsGetResponseDefaultTypeInternal, workflow_level_), + offsetof(::flyteidl::admin::SettingsGetResponseDefaultTypeInternal, launchplan_level_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsGetResponse, settings_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsGetResponse, level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FullSettingsGetRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FullSettingsGetResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::FullSettingsGetResponse, settings_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsDeleteRequest, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsDeleteRequest, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + offsetof(::flyteidl::admin::SettingsDeleteRequestDefaultTypeInternal, global_level_), + offsetof(::flyteidl::admin::SettingsDeleteRequestDefaultTypeInternal, project_level_), + offsetof(::flyteidl::admin::SettingsDeleteRequestDefaultTypeInternal, domain_level_), + offsetof(::flyteidl::admin::SettingsDeleteRequestDefaultTypeInternal, workflow_level_), + offsetof(::flyteidl::admin::SettingsDeleteRequestDefaultTypeInternal, launchplan_level_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsDeleteRequest, level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::SettingsDeleteResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::admin::SettingsCollection)}, + { 13, 20, sizeof(::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse)}, + { 22, -1, sizeof(::flyteidl::admin::Settings)}, + { 29, 36, sizeof(::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse)}, + { 38, -1, sizeof(::flyteidl::admin::ProjectSettings)}, + { 46, 53, sizeof(::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse)}, + { 55, -1, sizeof(::flyteidl::admin::DomainSettings)}, + { 63, 70, sizeof(::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse)}, + { 72, -1, sizeof(::flyteidl::admin::WorkflowSettings)}, + { 80, -1, sizeof(::flyteidl::admin::LaunchplanSettings)}, + { 87, -1, sizeof(::flyteidl::admin::GlobalLevel)}, + { 92, -1, sizeof(::flyteidl::admin::ProjectLevel)}, + { 98, -1, sizeof(::flyteidl::admin::DomainLevel)}, + { 105, -1, sizeof(::flyteidl::admin::WorkflowLevel)}, + { 113, -1, sizeof(::flyteidl::admin::LaunchplanLevel)}, + { 122, -1, sizeof(::flyteidl::admin::SettingsUpdateRequest)}, + { 134, -1, sizeof(::flyteidl::admin::FullSettingsUpdateRequest)}, + { 146, -1, sizeof(::flyteidl::admin::FullSettingsUpdateResponse)}, + { 151, -1, sizeof(::flyteidl::admin::SettingsGetRequest)}, + { 162, -1, sizeof(::flyteidl::admin::SettingsGetResponse)}, + { 174, -1, sizeof(::flyteidl::admin::FullSettingsGetRequest)}, + { 179, -1, sizeof(::flyteidl::admin::FullSettingsGetResponse)}, + { 185, -1, sizeof(::flyteidl::admin::SettingsDeleteRequest)}, + { 196, -1, sizeof(::flyteidl::admin::SettingsDeleteResponse)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::admin::_SettingsCollection_default_instance_), + reinterpret_cast(&::flyteidl::admin::_Settings_ProjectSettingsEntry_DoNotUse_default_instance_), + reinterpret_cast(&::flyteidl::admin::_Settings_default_instance_), + reinterpret_cast(&::flyteidl::admin::_ProjectSettings_DomainSettingsEntry_DoNotUse_default_instance_), + reinterpret_cast(&::flyteidl::admin::_ProjectSettings_default_instance_), + reinterpret_cast(&::flyteidl::admin::_DomainSettings_WorkflowSettingsEntry_DoNotUse_default_instance_), + reinterpret_cast(&::flyteidl::admin::_DomainSettings_default_instance_), + reinterpret_cast(&::flyteidl::admin::_WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_default_instance_), + reinterpret_cast(&::flyteidl::admin::_WorkflowSettings_default_instance_), + reinterpret_cast(&::flyteidl::admin::_LaunchplanSettings_default_instance_), + reinterpret_cast(&::flyteidl::admin::_GlobalLevel_default_instance_), + reinterpret_cast(&::flyteidl::admin::_ProjectLevel_default_instance_), + reinterpret_cast(&::flyteidl::admin::_DomainLevel_default_instance_), + reinterpret_cast(&::flyteidl::admin::_WorkflowLevel_default_instance_), + reinterpret_cast(&::flyteidl::admin::_LaunchplanLevel_default_instance_), + reinterpret_cast(&::flyteidl::admin::_SettingsUpdateRequest_default_instance_), + reinterpret_cast(&::flyteidl::admin::_FullSettingsUpdateRequest_default_instance_), + reinterpret_cast(&::flyteidl::admin::_FullSettingsUpdateResponse_default_instance_), + reinterpret_cast(&::flyteidl::admin::_SettingsGetRequest_default_instance_), + reinterpret_cast(&::flyteidl::admin::_SettingsGetResponse_default_instance_), + reinterpret_cast(&::flyteidl::admin::_FullSettingsGetRequest_default_instance_), + reinterpret_cast(&::flyteidl::admin::_FullSettingsGetResponse_default_instance_), + reinterpret_cast(&::flyteidl::admin::_SettingsDeleteRequest_default_instance_), + reinterpret_cast(&::flyteidl::admin::_SettingsDeleteResponse_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto = { + {}, AddDescriptors_flyteidl_2fadmin_2fsettings_2eproto, "flyteidl/admin/settings.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fadmin_2fsettings_2eproto::offsets, + file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto, 24, file_level_enum_descriptors_flyteidl_2fadmin_2fsettings_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fsettings_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fadmin_2fsettings_2eproto[] = + "\n\035flyteidl/admin/settings.proto\022\016flyteid" + "l.admin\032\'flyteidl/admin/matchable_resour" + "ce.proto\"\324\004\n\022SettingsCollection\022B\n\026task_" + "resource_settings\030\001 \001(\0132\".flyteidl.admin" + ".MatchingAttributes\022E\n\031cluster_resource_" + "settings\030\002 \001(\0132\".flyteidl.admin.Matching" + "Attributes\022D\n\030execution_queue_settings\030\003" + " \001(\0132\".flyteidl.admin.MatchingAttributes" + "\022L\n execution_cluster_label_settings\030\004 \001" + "(\0132\".flyteidl.admin.MatchingAttributes\022G" + "\n\033quality_of_service_settings\030\005 \001(\0132\".fl" + "yteidl.admin.MatchingAttributes\022D\n\030plugi" + "n_override_settings\030\006 \001(\0132\".flyteidl.adm" + "in.MatchingAttributes\022G\n\033workflow_execut" + "ion_settings\030\007 \001(\0132\".flyteidl.admin.Matc" + "hingAttributes\022G\n\033cluster_assignment_set" + "tings\030\010 \001(\0132\".flyteidl.admin.MatchingAtt" + "ributes\"\340\001\n\010Settings\0222\n\006global\030\001 \001(\0132\".f" + "lyteidl.admin.SettingsCollection\022G\n\020proj" + "ect_settings\030\002 \003(\0132-.flyteidl.admin.Sett" + "ings.ProjectSettingsEntry\032W\n\024ProjectSett" + "ingsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 \001(\0132\037." + "flyteidl.admin.ProjectSettings:\0028\001\"\375\001\n\017P" + "rojectSettings\022\017\n\007project\030\001 \001(\t\0224\n\010setti" + "ngs\030\002 \001(\0132\".flyteidl.admin.SettingsColle" + "ction\022L\n\017domain_settings\030\003 \003(\01323.flyteid" + "l.admin.ProjectSettings.DomainSettingsEn" + "try\032U\n\023DomainSettingsEntry\022\013\n\003key\030\001 \001(\t\022" + "-\n\005value\030\002 \001(\0132\036.flyteidl.admin.DomainSe" + "ttings:\0028\001\"\202\002\n\016DomainSettings\022\016\n\006domain\030" + "\001 \001(\t\0224\n\010settings\030\002 \001(\0132\".flyteidl.admin" + ".SettingsCollection\022O\n\021workflow_settings" + "\030\003 \003(\01324.flyteidl.admin.DomainSettings.W" + "orkflowSettingsEntry\032Y\n\025WorkflowSettings" + "Entry\022\013\n\003key\030\001 \001(\t\022/\n\005value\030\002 \001(\0132 .flyt" + "eidl.admin.WorkflowSettings:\0028\001\"\220\002\n\020Work" + "flowSettings\022\020\n\010workflow\030\001 \001(\t\0224\n\010settin" + "gs\030\002 \001(\0132\".flyteidl.admin.SettingsCollec" + "tion\022U\n\023launchplan_settings\030\003 \003(\01328.flyt" + "eidl.admin.WorkflowSettings.LaunchplanSe" + "ttingsEntry\032]\n\027LaunchplanSettingsEntry\022\013" + "\n\003key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".flyteidl.ad" + "min.LaunchplanSettings:\0028\001\"^\n\022Launchplan" + "Settings\022\022\n\nlaunchplan\030\001 \001(\t\0224\n\010settings" + "\030\002 \001(\0132\".flyteidl.admin.SettingsCollecti" + "on\"\r\n\013GlobalLevel\"\037\n\014ProjectLevel\022\017\n\007pro" + "ject\030\001 \001(\t\".\n\013DomainLevel\022\017\n\007project\030\001 \001" + "(\t\022\016\n\006domain\030\002 \001(\t\"B\n\rWorkflowLevel\022\017\n\007p" + "roject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow" + "\030\003 \001(\t\"X\n\017LaunchplanLevel\022\017\n\007project\030\001 \001" + "(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow\030\003 \001(\t\022\022\n\n" + "launchplan\030\004 \001(\t\"\355\002\n\025SettingsUpdateReque" + "st\0223\n\014global_level\030\001 \001(\0132\033.flyteidl.admi" + "n.GlobalLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034" + ".flyteidl.admin.ProjectLevelH\000\0223\n\014domain" + "_level\030\003 \001(\0132\033.flyteidl.admin.DomainLeve" + "lH\000\0227\n\016workflow_level\030\004 \001(\0132\035.flyteidl.a" + "dmin.WorkflowLevelH\000\022;\n\020launchplan_level" + "\030\005 \001(\0132\037.flyteidl.admin.LaunchplanLevelH" + "\000\0224\n\010settings\030\006 \001(\0132\".flyteidl.admin.Set" + "tingsCollectionB\007\n\005level\"\361\002\n\031FullSetting" + "sUpdateRequest\0223\n\014global_level\030\001 \001(\0132\033.f" + "lyteidl.admin.GlobalLevelH\000\0225\n\rproject_l" + "evel\030\002 \001(\0132\034.flyteidl.admin.ProjectLevel" + "H\000\0223\n\014domain_level\030\003 \001(\0132\033.flyteidl.admi" + "n.DomainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132" + "\035.flyteidl.admin.WorkflowLevelH\000\022;\n\020laun" + "chplan_level\030\005 \001(\0132\037.flyteidl.admin.Laun" + "chplanLevelH\000\0224\n\010settings\030\006 \001(\0132\".flytei" + "dl.admin.SettingsCollectionB\007\n\005level\"\034\n\032" + "FullSettingsUpdateResponse\"\264\002\n\022SettingsG" + "etRequest\0223\n\014global_level\030\001 \001(\0132\033.flytei" + "dl.admin.GlobalLevelH\000\0225\n\rproject_level\030" + "\002 \001(\0132\034.flyteidl.admin.ProjectLevelH\000\0223\n" + "\014domain_level\030\003 \001(\0132\033.flyteidl.admin.Dom" + "ainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132\035.fly" + "teidl.admin.WorkflowLevelH\000\022;\n\020launchpla" + "n_level\030\005 \001(\0132\037.flyteidl.admin.Launchpla" + "nLevelH\000B\007\n\005level\"\353\002\n\023SettingsGetRespons" + "e\0223\n\014global_level\030\001 \001(\0132\033.flyteidl.admin" + ".GlobalLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034." + "flyteidl.admin.ProjectLevelH\000\0223\n\014domain_" + "level\030\003 \001(\0132\033.flyteidl.admin.DomainLevel" + "H\000\0227\n\016workflow_level\030\004 \001(\0132\035.flyteidl.ad" + "min.WorkflowLevelH\000\022;\n\020launchplan_level\030" + "\005 \001(\0132\037.flyteidl.admin.LaunchplanLevelH\000" + "\0224\n\010settings\030\006 \001(\0132\".flyteidl.admin.Sett" + "ingsCollectionB\007\n\005level\"\030\n\026FullSettingsG" + "etRequest\"E\n\027FullSettingsGetResponse\022*\n\010" + "settings\030\001 \001(\0132\030.flyteidl.admin.Settings" + "\"\267\002\n\025SettingsDeleteRequest\0223\n\014global_lev" + "el\030\001 \001(\0132\033.flyteidl.admin.GlobalLevelH\000\022" + "5\n\rproject_level\030\002 \001(\0132\034.flyteidl.admin." + "ProjectLevelH\000\0223\n\014domain_level\030\003 \001(\0132\033.f" + "lyteidl.admin.DomainLevelH\000\0227\n\016workflow_" + "level\030\004 \001(\0132\035.flyteidl.admin.WorkflowLev" + "elH\000\022;\n\020launchplan_level\030\005 \001(\0132\037.flyteid" + "l.admin.LaunchplanLevelH\000B\007\n\005level\"\030\n\026Se" + "ttingsDeleteResponseB7Z5github.com/flyte" + "org/flyteidl/gen/pb-go/flyteidl/adminb\006p" + "roto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fsettings_2eproto = { + false, InitDefaults_flyteidl_2fadmin_2fsettings_2eproto, + descriptor_table_protodef_flyteidl_2fadmin_2fsettings_2eproto, + "flyteidl/admin/settings.proto", &assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto, 4005, +}; + +void AddDescriptors_flyteidl_2fadmin_2fsettings_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[1] = + { + ::AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fsettings_2eproto, deps, 1); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fadmin_2fsettings_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fsettings_2eproto(); return true; }(); +namespace flyteidl { +namespace admin { + +// =================================================================== + +void SettingsCollection::InitAsDefaultInstance() { + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->task_resource_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->cluster_resource_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->execution_queue_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->execution_cluster_label_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->quality_of_service_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->plugin_override_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->workflow_execution_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->cluster_assignment_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); +} +class SettingsCollection::HasBitSetters { + public: + static const ::flyteidl::admin::MatchingAttributes& task_resource_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::MatchingAttributes& cluster_resource_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::MatchingAttributes& execution_queue_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::MatchingAttributes& execution_cluster_label_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::MatchingAttributes& quality_of_service_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::MatchingAttributes& plugin_override_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::MatchingAttributes& workflow_execution_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::MatchingAttributes& cluster_assignment_settings(const SettingsCollection* msg); +}; + +const ::flyteidl::admin::MatchingAttributes& +SettingsCollection::HasBitSetters::task_resource_settings(const SettingsCollection* msg) { + return *msg->task_resource_settings_; +} +const ::flyteidl::admin::MatchingAttributes& +SettingsCollection::HasBitSetters::cluster_resource_settings(const SettingsCollection* msg) { + return *msg->cluster_resource_settings_; +} +const ::flyteidl::admin::MatchingAttributes& +SettingsCollection::HasBitSetters::execution_queue_settings(const SettingsCollection* msg) { + return *msg->execution_queue_settings_; +} +const ::flyteidl::admin::MatchingAttributes& +SettingsCollection::HasBitSetters::execution_cluster_label_settings(const SettingsCollection* msg) { + return *msg->execution_cluster_label_settings_; +} +const ::flyteidl::admin::MatchingAttributes& +SettingsCollection::HasBitSetters::quality_of_service_settings(const SettingsCollection* msg) { + return *msg->quality_of_service_settings_; +} +const ::flyteidl::admin::MatchingAttributes& +SettingsCollection::HasBitSetters::plugin_override_settings(const SettingsCollection* msg) { + return *msg->plugin_override_settings_; +} +const ::flyteidl::admin::MatchingAttributes& +SettingsCollection::HasBitSetters::workflow_execution_settings(const SettingsCollection* msg) { + return *msg->workflow_execution_settings_; +} +const ::flyteidl::admin::MatchingAttributes& +SettingsCollection::HasBitSetters::cluster_assignment_settings(const SettingsCollection* msg) { + return *msg->cluster_assignment_settings_; +} +void SettingsCollection::clear_task_resource_settings() { + if (GetArenaNoVirtual() == nullptr && task_resource_settings_ != nullptr) { + delete task_resource_settings_; + } + task_resource_settings_ = nullptr; +} +void SettingsCollection::clear_cluster_resource_settings() { + if (GetArenaNoVirtual() == nullptr && cluster_resource_settings_ != nullptr) { + delete cluster_resource_settings_; + } + cluster_resource_settings_ = nullptr; +} +void SettingsCollection::clear_execution_queue_settings() { + if (GetArenaNoVirtual() == nullptr && execution_queue_settings_ != nullptr) { + delete execution_queue_settings_; + } + execution_queue_settings_ = nullptr; +} +void SettingsCollection::clear_execution_cluster_label_settings() { + if (GetArenaNoVirtual() == nullptr && execution_cluster_label_settings_ != nullptr) { + delete execution_cluster_label_settings_; + } + execution_cluster_label_settings_ = nullptr; +} +void SettingsCollection::clear_quality_of_service_settings() { + if (GetArenaNoVirtual() == nullptr && quality_of_service_settings_ != nullptr) { + delete quality_of_service_settings_; + } + quality_of_service_settings_ = nullptr; +} +void SettingsCollection::clear_plugin_override_settings() { + if (GetArenaNoVirtual() == nullptr && plugin_override_settings_ != nullptr) { + delete plugin_override_settings_; + } + plugin_override_settings_ = nullptr; +} +void SettingsCollection::clear_workflow_execution_settings() { + if (GetArenaNoVirtual() == nullptr && workflow_execution_settings_ != nullptr) { + delete workflow_execution_settings_; + } + workflow_execution_settings_ = nullptr; +} +void SettingsCollection::clear_cluster_assignment_settings() { + if (GetArenaNoVirtual() == nullptr && cluster_assignment_settings_ != nullptr) { + delete cluster_assignment_settings_; + } + cluster_assignment_settings_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SettingsCollection::kTaskResourceSettingsFieldNumber; +const int SettingsCollection::kClusterResourceSettingsFieldNumber; +const int SettingsCollection::kExecutionQueueSettingsFieldNumber; +const int SettingsCollection::kExecutionClusterLabelSettingsFieldNumber; +const int SettingsCollection::kQualityOfServiceSettingsFieldNumber; +const int SettingsCollection::kPluginOverrideSettingsFieldNumber; +const int SettingsCollection::kWorkflowExecutionSettingsFieldNumber; +const int SettingsCollection::kClusterAssignmentSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SettingsCollection::SettingsCollection() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.SettingsCollection) +} +SettingsCollection::SettingsCollection(const SettingsCollection& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_task_resource_settings()) { + task_resource_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.task_resource_settings_); + } else { + task_resource_settings_ = nullptr; + } + if (from.has_cluster_resource_settings()) { + cluster_resource_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.cluster_resource_settings_); + } else { + cluster_resource_settings_ = nullptr; + } + if (from.has_execution_queue_settings()) { + execution_queue_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.execution_queue_settings_); + } else { + execution_queue_settings_ = nullptr; + } + if (from.has_execution_cluster_label_settings()) { + execution_cluster_label_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.execution_cluster_label_settings_); + } else { + execution_cluster_label_settings_ = nullptr; + } + if (from.has_quality_of_service_settings()) { + quality_of_service_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.quality_of_service_settings_); + } else { + quality_of_service_settings_ = nullptr; + } + if (from.has_plugin_override_settings()) { + plugin_override_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.plugin_override_settings_); + } else { + plugin_override_settings_ = nullptr; + } + if (from.has_workflow_execution_settings()) { + workflow_execution_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.workflow_execution_settings_); + } else { + workflow_execution_settings_ = nullptr; + } + if (from.has_cluster_assignment_settings()) { + cluster_assignment_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.cluster_assignment_settings_); + } else { + cluster_assignment_settings_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SettingsCollection) +} + +void SettingsCollection::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base); + ::memset(&task_resource_settings_, 0, static_cast( + reinterpret_cast(&cluster_assignment_settings_) - + reinterpret_cast(&task_resource_settings_)) + sizeof(cluster_assignment_settings_)); +} + +SettingsCollection::~SettingsCollection() { + // @@protoc_insertion_point(destructor:flyteidl.admin.SettingsCollection) + SharedDtor(); +} + +void SettingsCollection::SharedDtor() { + if (this != internal_default_instance()) delete task_resource_settings_; + if (this != internal_default_instance()) delete cluster_resource_settings_; + if (this != internal_default_instance()) delete execution_queue_settings_; + if (this != internal_default_instance()) delete execution_cluster_label_settings_; + if (this != internal_default_instance()) delete quality_of_service_settings_; + if (this != internal_default_instance()) delete plugin_override_settings_; + if (this != internal_default_instance()) delete workflow_execution_settings_; + if (this != internal_default_instance()) delete cluster_assignment_settings_; +} + +void SettingsCollection::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const SettingsCollection& SettingsCollection::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void SettingsCollection::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SettingsCollection) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && task_resource_settings_ != nullptr) { + delete task_resource_settings_; + } + task_resource_settings_ = nullptr; + if (GetArenaNoVirtual() == nullptr && cluster_resource_settings_ != nullptr) { + delete cluster_resource_settings_; + } + cluster_resource_settings_ = nullptr; + if (GetArenaNoVirtual() == nullptr && execution_queue_settings_ != nullptr) { + delete execution_queue_settings_; + } + execution_queue_settings_ = nullptr; + if (GetArenaNoVirtual() == nullptr && execution_cluster_label_settings_ != nullptr) { + delete execution_cluster_label_settings_; + } + execution_cluster_label_settings_ = nullptr; + if (GetArenaNoVirtual() == nullptr && quality_of_service_settings_ != nullptr) { + delete quality_of_service_settings_; + } + quality_of_service_settings_ = nullptr; + if (GetArenaNoVirtual() == nullptr && plugin_override_settings_ != nullptr) { + delete plugin_override_settings_; + } + plugin_override_settings_ = nullptr; + if (GetArenaNoVirtual() == nullptr && workflow_execution_settings_ != nullptr) { + delete workflow_execution_settings_; + } + workflow_execution_settings_ = nullptr; + if (GetArenaNoVirtual() == nullptr && cluster_assignment_settings_ != nullptr) { + delete cluster_assignment_settings_; + } + cluster_assignment_settings_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* SettingsCollection::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + object = msg->mutable_task_resource_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + object = msg->mutable_cluster_resource_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + object = msg->mutable_execution_queue_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + object = msg->mutable_execution_cluster_label_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + object = msg->mutable_quality_of_service_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + object = msg->mutable_plugin_override_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + case 7: { + if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + object = msg->mutable_workflow_execution_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + case 8: { + if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + object = msg->mutable_cluster_assignment_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool SettingsCollection::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.SettingsCollection) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_task_resource_settings())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_cluster_resource_settings())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_execution_queue_settings())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_execution_cluster_label_settings())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_quality_of_service_settings())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_plugin_override_settings())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + case 7: { + if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_execution_settings())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + case 8: { + if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_cluster_assignment_settings())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.SettingsCollection) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.SettingsCollection) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void SettingsCollection::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.SettingsCollection) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + if (this->has_task_resource_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::task_resource_settings(this), output); + } + + // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + if (this->has_cluster_resource_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::cluster_resource_settings(this), output); + } + + // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + if (this->has_execution_queue_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::execution_queue_settings(this), output); + } + + // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + if (this->has_execution_cluster_label_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::execution_cluster_label_settings(this), output); + } + + // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + if (this->has_quality_of_service_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::quality_of_service_settings(this), output); + } + + // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + if (this->has_plugin_override_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, HasBitSetters::plugin_override_settings(this), output); + } + + // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + if (this->has_workflow_execution_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 7, HasBitSetters::workflow_execution_settings(this), output); + } + + // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + if (this->has_cluster_assignment_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 8, HasBitSetters::cluster_assignment_settings(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.SettingsCollection) +} + +::google::protobuf::uint8* SettingsCollection::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SettingsCollection) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + if (this->has_task_resource_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::task_resource_settings(this), target); + } + + // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + if (this->has_cluster_resource_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::cluster_resource_settings(this), target); + } + + // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + if (this->has_execution_queue_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::execution_queue_settings(this), target); + } + + // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + if (this->has_execution_cluster_label_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::execution_cluster_label_settings(this), target); + } + + // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + if (this->has_quality_of_service_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::quality_of_service_settings(this), target); + } + + // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + if (this->has_plugin_override_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, HasBitSetters::plugin_override_settings(this), target); + } + + // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + if (this->has_workflow_execution_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, HasBitSetters::workflow_execution_settings(this), target); + } + + // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + if (this->has_cluster_assignment_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, HasBitSetters::cluster_assignment_settings(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SettingsCollection) + return target; +} + +size_t SettingsCollection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SettingsCollection) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + if (this->has_task_resource_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *task_resource_settings_); + } + + // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + if (this->has_cluster_resource_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *cluster_resource_settings_); + } + + // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + if (this->has_execution_queue_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *execution_queue_settings_); + } + + // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + if (this->has_execution_cluster_label_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *execution_cluster_label_settings_); + } + + // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + if (this->has_quality_of_service_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *quality_of_service_settings_); + } + + // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + if (this->has_plugin_override_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *plugin_override_settings_); + } + + // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + if (this->has_workflow_execution_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *workflow_execution_settings_); + } + + // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + if (this->has_cluster_assignment_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *cluster_assignment_settings_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SettingsCollection::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SettingsCollection) + GOOGLE_DCHECK_NE(&from, this); + const SettingsCollection* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SettingsCollection) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SettingsCollection) + MergeFrom(*source); + } +} + +void SettingsCollection::MergeFrom(const SettingsCollection& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SettingsCollection) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_task_resource_settings()) { + mutable_task_resource_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.task_resource_settings()); + } + if (from.has_cluster_resource_settings()) { + mutable_cluster_resource_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.cluster_resource_settings()); + } + if (from.has_execution_queue_settings()) { + mutable_execution_queue_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.execution_queue_settings()); + } + if (from.has_execution_cluster_label_settings()) { + mutable_execution_cluster_label_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.execution_cluster_label_settings()); + } + if (from.has_quality_of_service_settings()) { + mutable_quality_of_service_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.quality_of_service_settings()); + } + if (from.has_plugin_override_settings()) { + mutable_plugin_override_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.plugin_override_settings()); + } + if (from.has_workflow_execution_settings()) { + mutable_workflow_execution_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.workflow_execution_settings()); + } + if (from.has_cluster_assignment_settings()) { + mutable_cluster_assignment_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.cluster_assignment_settings()); + } +} + +void SettingsCollection::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SettingsCollection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SettingsCollection::CopyFrom(const SettingsCollection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SettingsCollection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SettingsCollection::IsInitialized() const { + return true; +} + +void SettingsCollection::Swap(SettingsCollection* other) { + if (other == this) return; + InternalSwap(other); +} +void SettingsCollection::InternalSwap(SettingsCollection* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(task_resource_settings_, other->task_resource_settings_); + swap(cluster_resource_settings_, other->cluster_resource_settings_); + swap(execution_queue_settings_, other->execution_queue_settings_); + swap(execution_cluster_label_settings_, other->execution_cluster_label_settings_); + swap(quality_of_service_settings_, other->quality_of_service_settings_); + swap(plugin_override_settings_, other->plugin_override_settings_); + swap(workflow_execution_settings_, other->workflow_execution_settings_); + swap(cluster_assignment_settings_, other->cluster_assignment_settings_); +} + +::google::protobuf::Metadata SettingsCollection::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +Settings_ProjectSettingsEntry_DoNotUse::Settings_ProjectSettingsEntry_DoNotUse() {} +Settings_ProjectSettingsEntry_DoNotUse::Settings_ProjectSettingsEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena) {} +void Settings_ProjectSettingsEntry_DoNotUse::MergeFrom(const Settings_ProjectSettingsEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::google::protobuf::Metadata Settings_ProjectSettingsEntry_DoNotUse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[1]; +} +void Settings_ProjectSettingsEntry_DoNotUse::MergeFrom( + const ::google::protobuf::Message& other) { + ::google::protobuf::Message::MergeFrom(other); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool Settings_ProjectSettingsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { + using MF = ::google::protobuf::internal::MapField< + Settings_ProjectSettingsEntry_DoNotUse, EntryKeyType, EntryValueType, + kEntryKeyFieldType, kEntryValueFieldType, + kEntryDefaultEnumValue>; + auto mf = static_cast(object); + Parser> parser(mf); +#define DO_(x) if (!(x)) return false + DO_(parser.ParseMap(begin, end)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.Settings.ProjectSettingsEntry.key")); +#undef DO_ + return true; +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + + +// =================================================================== + +void Settings::InitAsDefaultInstance() { + ::flyteidl::admin::_Settings_default_instance_._instance.get_mutable()->global_ = const_cast< ::flyteidl::admin::SettingsCollection*>( + ::flyteidl::admin::SettingsCollection::internal_default_instance()); +} +class Settings::HasBitSetters { + public: + static const ::flyteidl::admin::SettingsCollection& global(const Settings* msg); +}; + +const ::flyteidl::admin::SettingsCollection& +Settings::HasBitSetters::global(const Settings* msg) { + return *msg->global_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int Settings::kGlobalFieldNumber; +const int Settings::kProjectSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +Settings::Settings() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.Settings) +} +Settings::Settings(const Settings& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + project_settings_.MergeFrom(from.project_settings_); + if (from.has_global()) { + global_ = new ::flyteidl::admin::SettingsCollection(*from.global_); + } else { + global_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.Settings) +} + +void Settings::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_Settings_flyteidl_2fadmin_2fsettings_2eproto.base); + global_ = nullptr; +} + +Settings::~Settings() { + // @@protoc_insertion_point(destructor:flyteidl.admin.Settings) + SharedDtor(); +} + +void Settings::SharedDtor() { + if (this != internal_default_instance()) delete global_; +} + +void Settings::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Settings& Settings::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_Settings_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void Settings::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.Settings) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + project_settings_.Clear(); + if (GetArenaNoVirtual() == nullptr && global_ != nullptr) { + delete global_; + } + global_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* Settings::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.admin.SettingsCollection global = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::SettingsCollection::_InternalParse; + object = msg->mutable_global(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // map project_settings = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; + auto parse_map = ::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse::_ParseMap; + ctx->extra_parse_data().payload.clear(); + ctx->extra_parse_data().parse_map = parse_map; + object = &msg->project_settings_; + if (size > end - ptr) goto len_delim_till_end; + auto newend = ptr + size; + GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); + ptr = newend; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 18 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool Settings::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.Settings) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.admin.SettingsCollection global = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_global())); + } else { + goto handle_unusual; + } + break; + } + + // map project_settings = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + Settings_ProjectSettingsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + Settings_ProjectSettingsEntry_DoNotUse, + ::std::string, ::flyteidl::admin::ProjectSettings, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 >, + ::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings > > parser(&project_settings_); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, &parser)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.Settings.ProjectSettingsEntry.key")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.Settings) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.Settings) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void Settings::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.Settings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.SettingsCollection global = 1; + if (this->has_global()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::global(this), output); + } + + // map project_settings = 2; + if (!this->project_settings().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.Settings.ProjectSettingsEntry.key"); + } + }; + + if (output->IsSerializationDeterministic() && + this->project_settings().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->project_settings().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >::const_iterator + it = this->project_settings().begin(); + it != this->project_settings().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(project_settings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(2, *entry, output); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >::const_iterator + it = this->project_settings().begin(); + it != this->project_settings().end(); ++it) { + entry.reset(project_settings_.NewEntryWrapper(it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(2, *entry, output); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.Settings) +} + +::google::protobuf::uint8* Settings::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.Settings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.SettingsCollection global = 1; + if (this->has_global()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::global(this), target); + } + + // map project_settings = 2; + if (!this->project_settings().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.Settings.ProjectSettingsEntry.key"); + } + }; + + if (false && + this->project_settings().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->project_settings().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >::const_iterator + it = this->project_settings().begin(); + it != this->project_settings().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(project_settings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(2, *entry, target); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >::const_iterator + it = this->project_settings().begin(); + it != this->project_settings().end(); ++it) { + entry.reset(project_settings_.NewEntryWrapper(it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(2, *entry, target); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.Settings) + return target; +} + +size_t Settings::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.Settings) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map project_settings = 2; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->project_settings_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >::const_iterator + it = this->project_settings().begin(); + it != this->project_settings().end(); ++it) { + entry.reset(project_settings_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + + // .flyteidl.admin.SettingsCollection global = 1; + if (this->has_global()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *global_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Settings::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.Settings) + GOOGLE_DCHECK_NE(&from, this); + const Settings* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.Settings) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.Settings) + MergeFrom(*source); + } +} + +void Settings::MergeFrom(const Settings& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.Settings) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + project_settings_.MergeFrom(from.project_settings_); + if (from.has_global()) { + mutable_global()->::flyteidl::admin::SettingsCollection::MergeFrom(from.global()); + } +} + +void Settings::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.Settings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Settings::CopyFrom(const Settings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.Settings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Settings::IsInitialized() const { + return true; +} + +void Settings::Swap(Settings* other) { + if (other == this) return; + InternalSwap(other); +} +void Settings::InternalSwap(Settings* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + project_settings_.Swap(&other->project_settings_); + swap(global_, other->global_); +} + +::google::protobuf::Metadata Settings::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +ProjectSettings_DomainSettingsEntry_DoNotUse::ProjectSettings_DomainSettingsEntry_DoNotUse() {} +ProjectSettings_DomainSettingsEntry_DoNotUse::ProjectSettings_DomainSettingsEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena) {} +void ProjectSettings_DomainSettingsEntry_DoNotUse::MergeFrom(const ProjectSettings_DomainSettingsEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::google::protobuf::Metadata ProjectSettings_DomainSettingsEntry_DoNotUse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[3]; +} +void ProjectSettings_DomainSettingsEntry_DoNotUse::MergeFrom( + const ::google::protobuf::Message& other) { + ::google::protobuf::Message::MergeFrom(other); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ProjectSettings_DomainSettingsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { + using MF = ::google::protobuf::internal::MapField< + ProjectSettings_DomainSettingsEntry_DoNotUse, EntryKeyType, EntryValueType, + kEntryKeyFieldType, kEntryValueFieldType, + kEntryDefaultEnumValue>; + auto mf = static_cast(object); + Parser> parser(mf); +#define DO_(x) if (!(x)) return false + DO_(parser.ParseMap(begin, end)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.ProjectSettings.DomainSettingsEntry.key")); +#undef DO_ + return true; +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + + +// =================================================================== + +void ProjectSettings::InitAsDefaultInstance() { + ::flyteidl::admin::_ProjectSettings_default_instance_._instance.get_mutable()->settings_ = const_cast< ::flyteidl::admin::SettingsCollection*>( + ::flyteidl::admin::SettingsCollection::internal_default_instance()); +} +class ProjectSettings::HasBitSetters { + public: + static const ::flyteidl::admin::SettingsCollection& settings(const ProjectSettings* msg); +}; + +const ::flyteidl::admin::SettingsCollection& +ProjectSettings::HasBitSetters::settings(const ProjectSettings* msg) { + return *msg->settings_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ProjectSettings::kProjectFieldNumber; +const int ProjectSettings::kSettingsFieldNumber; +const int ProjectSettings::kDomainSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ProjectSettings::ProjectSettings() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectSettings) +} +ProjectSettings::ProjectSettings(const ProjectSettings& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + domain_settings_.MergeFrom(from.domain_settings_); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.project().size() > 0) { + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + if (from.has_settings()) { + settings_ = new ::flyteidl::admin::SettingsCollection(*from.settings_); + } else { + settings_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectSettings) +} + +void ProjectSettings::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ProjectSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + settings_ = nullptr; +} + +ProjectSettings::~ProjectSettings() { + // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectSettings) + SharedDtor(); +} + +void ProjectSettings::SharedDtor() { + project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete settings_; +} + +void ProjectSettings::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ProjectSettings& ProjectSettings::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ProjectSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void ProjectSettings::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + domain_settings_.Clear(); + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ProjectSettings::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string project = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectSettings.project"); + object = msg->mutable_project(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.admin.SettingsCollection settings = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::SettingsCollection::_InternalParse; + object = msg->mutable_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // map domain_settings = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; + auto parse_map = ::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse::_ParseMap; + ctx->extra_parse_data().payload.clear(); + ctx->extra_parse_data().parse_map = parse_map; + object = &msg->domain_settings_; + if (size > end - ptr) goto len_delim_till_end; + auto newend = ptr + size; + GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); + ptr = newend; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ProjectSettings::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectSettings) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string project = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_project())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.ProjectSettings.project")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.SettingsCollection settings = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_settings())); + } else { + goto handle_unusual; + } + break; + } + + // map domain_settings = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + ProjectSettings_DomainSettingsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + ProjectSettings_DomainSettingsEntry_DoNotUse, + ::std::string, ::flyteidl::admin::DomainSettings, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 >, + ::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings > > parser(&domain_settings_); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, &parser)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.ProjectSettings.DomainSettingsEntry.key")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectSettings) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectSettings) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ProjectSettings::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ProjectSettings.project"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->project(), output); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::settings(this), output); + } + + // map domain_settings = 3; + if (!this->domain_settings().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ProjectSettings.DomainSettingsEntry.key"); + } + }; + + if (output->IsSerializationDeterministic() && + this->domain_settings().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->domain_settings().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >::const_iterator + it = this->domain_settings().begin(); + it != this->domain_settings().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(domain_settings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >::const_iterator + it = this->domain_settings().begin(); + it != this->domain_settings().end(); ++it) { + entry.reset(domain_settings_.NewEntryWrapper(it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectSettings) +} + +::google::protobuf::uint8* ProjectSettings::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ProjectSettings.project"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->project(), target); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::settings(this), target); + } + + // map domain_settings = 3; + if (!this->domain_settings().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ProjectSettings.DomainSettingsEntry.key"); + } + }; + + if (false && + this->domain_settings().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->domain_settings().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >::const_iterator + it = this->domain_settings().begin(); + it != this->domain_settings().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(domain_settings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >::const_iterator + it = this->domain_settings().begin(); + it != this->domain_settings().end(); ++it) { + entry.reset(domain_settings_.NewEntryWrapper(it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectSettings) + return target; +} + +size_t ProjectSettings::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectSettings) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map domain_settings = 3; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->domain_settings_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >::const_iterator + it = this->domain_settings().begin(); + it != this->domain_settings().end(); ++it) { + entry.reset(domain_settings_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + + // string project = 1; + if (this->project().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->project()); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *settings_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ProjectSettings::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectSettings) + GOOGLE_DCHECK_NE(&from, this); + const ProjectSettings* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectSettings) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectSettings) + MergeFrom(*source); + } +} + +void ProjectSettings::MergeFrom(const ProjectSettings& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectSettings) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + domain_settings_.MergeFrom(from.domain_settings_); + if (from.project().size() > 0) { + + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + if (from.has_settings()) { + mutable_settings()->::flyteidl::admin::SettingsCollection::MergeFrom(from.settings()); + } +} + +void ProjectSettings::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ProjectSettings::CopyFrom(const ProjectSettings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProjectSettings::IsInitialized() const { + return true; +} + +void ProjectSettings::Swap(ProjectSettings* other) { + if (other == this) return; + InternalSwap(other); +} +void ProjectSettings::InternalSwap(ProjectSettings* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + domain_settings_.Swap(&other->domain_settings_); + project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(settings_, other->settings_); +} + +::google::protobuf::Metadata ProjectSettings::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +DomainSettings_WorkflowSettingsEntry_DoNotUse::DomainSettings_WorkflowSettingsEntry_DoNotUse() {} +DomainSettings_WorkflowSettingsEntry_DoNotUse::DomainSettings_WorkflowSettingsEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena) {} +void DomainSettings_WorkflowSettingsEntry_DoNotUse::MergeFrom(const DomainSettings_WorkflowSettingsEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::google::protobuf::Metadata DomainSettings_WorkflowSettingsEntry_DoNotUse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[5]; +} +void DomainSettings_WorkflowSettingsEntry_DoNotUse::MergeFrom( + const ::google::protobuf::Message& other) { + ::google::protobuf::Message::MergeFrom(other); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DomainSettings_WorkflowSettingsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { + using MF = ::google::protobuf::internal::MapField< + DomainSettings_WorkflowSettingsEntry_DoNotUse, EntryKeyType, EntryValueType, + kEntryKeyFieldType, kEntryValueFieldType, + kEntryDefaultEnumValue>; + auto mf = static_cast(object); + Parser> parser(mf); +#define DO_(x) if (!(x)) return false + DO_(parser.ParseMap(begin, end)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.DomainSettings.WorkflowSettingsEntry.key")); +#undef DO_ + return true; +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + + +// =================================================================== + +void DomainSettings::InitAsDefaultInstance() { + ::flyteidl::admin::_DomainSettings_default_instance_._instance.get_mutable()->settings_ = const_cast< ::flyteidl::admin::SettingsCollection*>( + ::flyteidl::admin::SettingsCollection::internal_default_instance()); +} +class DomainSettings::HasBitSetters { + public: + static const ::flyteidl::admin::SettingsCollection& settings(const DomainSettings* msg); +}; + +const ::flyteidl::admin::SettingsCollection& +DomainSettings::HasBitSetters::settings(const DomainSettings* msg) { + return *msg->settings_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DomainSettings::kDomainFieldNumber; +const int DomainSettings::kSettingsFieldNumber; +const int DomainSettings::kWorkflowSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DomainSettings::DomainSettings() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.DomainSettings) +} +DomainSettings::DomainSettings(const DomainSettings& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + workflow_settings_.MergeFrom(from.workflow_settings_); + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.domain().size() > 0) { + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + if (from.has_settings()) { + settings_ = new ::flyteidl::admin::SettingsCollection(*from.settings_); + } else { + settings_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.DomainSettings) +} + +void DomainSettings::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DomainSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + settings_ = nullptr; +} + +DomainSettings::~DomainSettings() { + // @@protoc_insertion_point(destructor:flyteidl.admin.DomainSettings) + SharedDtor(); +} + +void DomainSettings::SharedDtor() { + domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete settings_; +} + +void DomainSettings::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DomainSettings& DomainSettings::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DomainSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void DomainSettings::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.DomainSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + workflow_settings_.Clear(); + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DomainSettings::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string domain = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.DomainSettings.domain"); + object = msg->mutable_domain(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.admin.SettingsCollection settings = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::SettingsCollection::_InternalParse; + object = msg->mutable_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // map workflow_settings = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; + auto parse_map = ::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse::_ParseMap; + ctx->extra_parse_data().payload.clear(); + ctx->extra_parse_data().parse_map = parse_map; + object = &msg->workflow_settings_; + if (size > end - ptr) goto len_delim_till_end; + auto newend = ptr + size; + GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); + ptr = newend; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DomainSettings::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.DomainSettings) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string domain = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_domain())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.DomainSettings.domain")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.SettingsCollection settings = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_settings())); + } else { + goto handle_unusual; + } + break; + } + + // map workflow_settings = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DomainSettings_WorkflowSettingsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + DomainSettings_WorkflowSettingsEntry_DoNotUse, + ::std::string, ::flyteidl::admin::WorkflowSettings, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 >, + ::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings > > parser(&workflow_settings_); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, &parser)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.DomainSettings.WorkflowSettingsEntry.key")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.DomainSettings) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.DomainSettings) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DomainSettings::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.DomainSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string domain = 1; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DomainSettings.domain"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->domain(), output); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::settings(this), output); + } + + // map workflow_settings = 3; + if (!this->workflow_settings().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DomainSettings.WorkflowSettingsEntry.key"); + } + }; + + if (output->IsSerializationDeterministic() && + this->workflow_settings().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->workflow_settings().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >::const_iterator + it = this->workflow_settings().begin(); + it != this->workflow_settings().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(workflow_settings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >::const_iterator + it = this->workflow_settings().begin(); + it != this->workflow_settings().end(); ++it) { + entry.reset(workflow_settings_.NewEntryWrapper(it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.DomainSettings) +} + +::google::protobuf::uint8* DomainSettings::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.DomainSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string domain = 1; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DomainSettings.domain"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->domain(), target); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::settings(this), target); + } + + // map workflow_settings = 3; + if (!this->workflow_settings().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DomainSettings.WorkflowSettingsEntry.key"); + } + }; + + if (false && + this->workflow_settings().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->workflow_settings().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >::const_iterator + it = this->workflow_settings().begin(); + it != this->workflow_settings().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(workflow_settings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >::const_iterator + it = this->workflow_settings().begin(); + it != this->workflow_settings().end(); ++it) { + entry.reset(workflow_settings_.NewEntryWrapper(it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.DomainSettings) + return target; +} + +size_t DomainSettings::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.DomainSettings) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map workflow_settings = 3; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->workflow_settings_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >::const_iterator + it = this->workflow_settings().begin(); + it != this->workflow_settings().end(); ++it) { + entry.reset(workflow_settings_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + + // string domain = 1; + if (this->domain().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->domain()); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *settings_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DomainSettings::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.DomainSettings) + GOOGLE_DCHECK_NE(&from, this); + const DomainSettings* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.DomainSettings) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.DomainSettings) + MergeFrom(*source); + } +} + +void DomainSettings::MergeFrom(const DomainSettings& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.DomainSettings) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + workflow_settings_.MergeFrom(from.workflow_settings_); + if (from.domain().size() > 0) { + + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + if (from.has_settings()) { + mutable_settings()->::flyteidl::admin::SettingsCollection::MergeFrom(from.settings()); + } +} + +void DomainSettings::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.DomainSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DomainSettings::CopyFrom(const DomainSettings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.DomainSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DomainSettings::IsInitialized() const { + return true; +} + +void DomainSettings::Swap(DomainSettings* other) { + if (other == this) return; + InternalSwap(other); +} +void DomainSettings::InternalSwap(DomainSettings* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + workflow_settings_.Swap(&other->workflow_settings_); + domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(settings_, other->settings_); +} + +::google::protobuf::Metadata DomainSettings::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +WorkflowSettings_LaunchplanSettingsEntry_DoNotUse::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse() {} +WorkflowSettings_LaunchplanSettingsEntry_DoNotUse::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena) {} +void WorkflowSettings_LaunchplanSettingsEntry_DoNotUse::MergeFrom(const WorkflowSettings_LaunchplanSettingsEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::google::protobuf::Metadata WorkflowSettings_LaunchplanSettingsEntry_DoNotUse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[7]; +} +void WorkflowSettings_LaunchplanSettingsEntry_DoNotUse::MergeFrom( + const ::google::protobuf::Message& other) { + ::google::protobuf::Message::MergeFrom(other); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool WorkflowSettings_LaunchplanSettingsEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { + using MF = ::google::protobuf::internal::MapField< + WorkflowSettings_LaunchplanSettingsEntry_DoNotUse, EntryKeyType, EntryValueType, + kEntryKeyFieldType, kEntryValueFieldType, + kEntryDefaultEnumValue>; + auto mf = static_cast(object); + Parser> parser(mf); +#define DO_(x) if (!(x)) return false + DO_(parser.ParseMap(begin, end)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry.key")); +#undef DO_ + return true; +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + + +// =================================================================== + +void WorkflowSettings::InitAsDefaultInstance() { + ::flyteidl::admin::_WorkflowSettings_default_instance_._instance.get_mutable()->settings_ = const_cast< ::flyteidl::admin::SettingsCollection*>( + ::flyteidl::admin::SettingsCollection::internal_default_instance()); +} +class WorkflowSettings::HasBitSetters { + public: + static const ::flyteidl::admin::SettingsCollection& settings(const WorkflowSettings* msg); +}; + +const ::flyteidl::admin::SettingsCollection& +WorkflowSettings::HasBitSetters::settings(const WorkflowSettings* msg) { + return *msg->settings_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int WorkflowSettings::kWorkflowFieldNumber; +const int WorkflowSettings::kSettingsFieldNumber; +const int WorkflowSettings::kLaunchplanSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +WorkflowSettings::WorkflowSettings() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowSettings) +} +WorkflowSettings::WorkflowSettings(const WorkflowSettings& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + launchplan_settings_.MergeFrom(from.launchplan_settings_); + workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.workflow().size() > 0) { + workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); + } + if (from.has_settings()) { + settings_ = new ::flyteidl::admin::SettingsCollection(*from.settings_); + } else { + settings_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowSettings) +} + +void WorkflowSettings::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_WorkflowSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + settings_ = nullptr; +} + +WorkflowSettings::~WorkflowSettings() { + // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowSettings) + SharedDtor(); +} + +void WorkflowSettings::SharedDtor() { + workflow_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete settings_; +} + +void WorkflowSettings::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const WorkflowSettings& WorkflowSettings::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void WorkflowSettings::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + launchplan_settings_.Clear(); + workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* WorkflowSettings::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string workflow = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowSettings.workflow"); + object = msg->mutable_workflow(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.admin.SettingsCollection settings = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::SettingsCollection::_InternalParse; + object = msg->mutable_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // map launchplan_settings = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::google::protobuf::internal::SlowMapEntryParser; + auto parse_map = ::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse::_ParseMap; + ctx->extra_parse_data().payload.clear(); + ctx->extra_parse_data().parse_map = parse_map; + object = &msg->launchplan_settings_; + if (size > end - ptr) goto len_delim_till_end; + auto newend = ptr + size; + GOOGLE_PROTOBUF_PARSER_ASSERT(parse_map(ptr, newend, object, ctx)); + ptr = newend; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 26 && (ptr += 1)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool WorkflowSettings::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowSettings) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string workflow = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_workflow())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->workflow().data(), static_cast(this->workflow().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.WorkflowSettings.workflow")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.SettingsCollection settings = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_settings())); + } else { + goto handle_unusual; + } + break; + } + + // map launchplan_settings = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + WorkflowSettings_LaunchplanSettingsEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + WorkflowSettings_LaunchplanSettingsEntry_DoNotUse, + ::std::string, ::flyteidl::admin::LaunchplanSettings, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 >, + ::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings > > parser(&launchplan_settings_); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( + input, &parser)); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.key().data(), static_cast(parser.key().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry.key")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowSettings) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowSettings) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void WorkflowSettings::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string workflow = 1; + if (this->workflow().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->workflow().data(), static_cast(this->workflow().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowSettings.workflow"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->workflow(), output); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::settings(this), output); + } + + // map launchplan_settings = 3; + if (!this->launchplan_settings().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry.key"); + } + }; + + if (output->IsSerializationDeterministic() && + this->launchplan_settings().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->launchplan_settings().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >::const_iterator + it = this->launchplan_settings().begin(); + it != this->launchplan_settings().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(launchplan_settings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >::const_iterator + it = this->launchplan_settings().begin(); + it != this->launchplan_settings().end(); ++it) { + entry.reset(launchplan_settings_.NewEntryWrapper(it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowSettings) +} + +::google::protobuf::uint8* WorkflowSettings::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string workflow = 1; + if (this->workflow().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->workflow().data(), static_cast(this->workflow().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowSettings.workflow"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->workflow(), target); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::settings(this), target); + } + + // map launchplan_settings = 3; + if (!this->launchplan_settings().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >::const_pointer + ConstPtr; + typedef ConstPtr SortItem; + typedef ::google::protobuf::internal::CompareByDerefFirst Less; + struct Utf8Check { + static void Check(ConstPtr p) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->first.data(), static_cast(p->first.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry.key"); + } + }; + + if (false && + this->launchplan_settings().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->launchplan_settings().size()]); + typedef ::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >::const_iterator + it = this->launchplan_settings().begin(); + it != this->launchplan_settings().end(); ++it, ++n) { + items[static_cast(n)] = SortItem(&*it); + } + ::std::sort(&items[0], &items[static_cast(n)], Less()); + ::std::unique_ptr entry; + for (size_type i = 0; i < n; i++) { + entry.reset(launchplan_settings_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >::const_iterator + it = this->launchplan_settings().begin(); + it != this->launchplan_settings().end(); ++it) { + entry.reset(launchplan_settings_.NewEntryWrapper(it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); + Utf8Check::Check(&(*it)); + } + } + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowSettings) + return target; +} + +size_t WorkflowSettings::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowSettings) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // map launchplan_settings = 3; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->launchplan_settings_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >::const_iterator + it = this->launchplan_settings().begin(); + it != this->launchplan_settings().end(); ++it) { + entry.reset(launchplan_settings_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + + // string workflow = 1; + if (this->workflow().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->workflow()); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *settings_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void WorkflowSettings::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowSettings) + GOOGLE_DCHECK_NE(&from, this); + const WorkflowSettings* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowSettings) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowSettings) + MergeFrom(*source); + } +} + +void WorkflowSettings::MergeFrom(const WorkflowSettings& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowSettings) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + launchplan_settings_.MergeFrom(from.launchplan_settings_); + if (from.workflow().size() > 0) { + + workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); + } + if (from.has_settings()) { + mutable_settings()->::flyteidl::admin::SettingsCollection::MergeFrom(from.settings()); + } +} + +void WorkflowSettings::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void WorkflowSettings::CopyFrom(const WorkflowSettings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WorkflowSettings::IsInitialized() const { + return true; +} + +void WorkflowSettings::Swap(WorkflowSettings* other) { + if (other == this) return; + InternalSwap(other); +} +void WorkflowSettings::InternalSwap(WorkflowSettings* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + launchplan_settings_.Swap(&other->launchplan_settings_); + workflow_.Swap(&other->workflow_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(settings_, other->settings_); +} + +::google::protobuf::Metadata WorkflowSettings::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void LaunchplanSettings::InitAsDefaultInstance() { + ::flyteidl::admin::_LaunchplanSettings_default_instance_._instance.get_mutable()->settings_ = const_cast< ::flyteidl::admin::SettingsCollection*>( + ::flyteidl::admin::SettingsCollection::internal_default_instance()); +} +class LaunchplanSettings::HasBitSetters { + public: + static const ::flyteidl::admin::SettingsCollection& settings(const LaunchplanSettings* msg); +}; + +const ::flyteidl::admin::SettingsCollection& +LaunchplanSettings::HasBitSetters::settings(const LaunchplanSettings* msg) { + return *msg->settings_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int LaunchplanSettings::kLaunchplanFieldNumber; +const int LaunchplanSettings::kSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +LaunchplanSettings::LaunchplanSettings() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchplanSettings) +} +LaunchplanSettings::LaunchplanSettings(const LaunchplanSettings& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + launchplan_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.launchplan().size() > 0) { + launchplan_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.launchplan_); + } + if (from.has_settings()) { + settings_ = new ::flyteidl::admin::SettingsCollection(*from.settings_); + } else { + settings_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchplanSettings) +} + +void LaunchplanSettings::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_LaunchplanSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + launchplan_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + settings_ = nullptr; +} + +LaunchplanSettings::~LaunchplanSettings() { + // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchplanSettings) + SharedDtor(); +} + +void LaunchplanSettings::SharedDtor() { + launchplan_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete settings_; +} + +void LaunchplanSettings::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const LaunchplanSettings& LaunchplanSettings::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_LaunchplanSettings_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void LaunchplanSettings::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchplanSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + launchplan_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* LaunchplanSettings::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string launchplan = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.LaunchplanSettings.launchplan"); + object = msg->mutable_launchplan(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // .flyteidl.admin.SettingsCollection settings = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::SettingsCollection::_InternalParse; + object = msg->mutable_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool LaunchplanSettings::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchplanSettings) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string launchplan = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_launchplan())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->launchplan().data(), static_cast(this->launchplan().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.LaunchplanSettings.launchplan")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.SettingsCollection settings = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_settings())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchplanSettings) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchplanSettings) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void LaunchplanSettings::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchplanSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string launchplan = 1; + if (this->launchplan().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->launchplan().data(), static_cast(this->launchplan().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanSettings.launchplan"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->launchplan(), output); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::settings(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchplanSettings) +} + +::google::protobuf::uint8* LaunchplanSettings::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchplanSettings) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string launchplan = 1; + if (this->launchplan().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->launchplan().data(), static_cast(this->launchplan().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanSettings.launchplan"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->launchplan(), target); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::settings(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchplanSettings) + return target; +} + +size_t LaunchplanSettings::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchplanSettings) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string launchplan = 1; + if (this->launchplan().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->launchplan()); + } + + // .flyteidl.admin.SettingsCollection settings = 2; + if (this->has_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *settings_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void LaunchplanSettings::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchplanSettings) + GOOGLE_DCHECK_NE(&from, this); + const LaunchplanSettings* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchplanSettings) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchplanSettings) + MergeFrom(*source); + } +} + +void LaunchplanSettings::MergeFrom(const LaunchplanSettings& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchplanSettings) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.launchplan().size() > 0) { + + launchplan_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.launchplan_); + } + if (from.has_settings()) { + mutable_settings()->::flyteidl::admin::SettingsCollection::MergeFrom(from.settings()); + } +} + +void LaunchplanSettings::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchplanSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void LaunchplanSettings::CopyFrom(const LaunchplanSettings& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchplanSettings) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool LaunchplanSettings::IsInitialized() const { + return true; +} + +void LaunchplanSettings::Swap(LaunchplanSettings* other) { + if (other == this) return; + InternalSwap(other); +} +void LaunchplanSettings::InternalSwap(LaunchplanSettings* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + launchplan_.Swap(&other->launchplan_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(settings_, other->settings_); +} + +::google::protobuf::Metadata LaunchplanSettings::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void GlobalLevel::InitAsDefaultInstance() { +} +class GlobalLevel::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +GlobalLevel::GlobalLevel() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.GlobalLevel) +} +GlobalLevel::GlobalLevel(const GlobalLevel& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.GlobalLevel) +} + +void GlobalLevel::SharedCtor() { +} + +GlobalLevel::~GlobalLevel() { + // @@protoc_insertion_point(destructor:flyteidl.admin.GlobalLevel) + SharedDtor(); +} + +void GlobalLevel::SharedDtor() { +} + +void GlobalLevel::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GlobalLevel& GlobalLevel::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void GlobalLevel::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.GlobalLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GlobalLevel::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + default: { + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GlobalLevel::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.GlobalLevel) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.GlobalLevel) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.GlobalLevel) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GlobalLevel::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.GlobalLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.GlobalLevel) +} + +::google::protobuf::uint8* GlobalLevel::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.GlobalLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.GlobalLevel) + return target; +} + +size_t GlobalLevel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.GlobalLevel) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GlobalLevel::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.GlobalLevel) + GOOGLE_DCHECK_NE(&from, this); + const GlobalLevel* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.GlobalLevel) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.GlobalLevel) + MergeFrom(*source); + } +} + +void GlobalLevel::MergeFrom(const GlobalLevel& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.GlobalLevel) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void GlobalLevel::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.GlobalLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GlobalLevel::CopyFrom(const GlobalLevel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.GlobalLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GlobalLevel::IsInitialized() const { + return true; +} + +void GlobalLevel::Swap(GlobalLevel* other) { + if (other == this) return; + InternalSwap(other); +} +void GlobalLevel::InternalSwap(GlobalLevel* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata GlobalLevel::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ProjectLevel::InitAsDefaultInstance() { +} +class ProjectLevel::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ProjectLevel::kProjectFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ProjectLevel::ProjectLevel() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectLevel) +} +ProjectLevel::ProjectLevel(const ProjectLevel& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.project().size() > 0) { + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectLevel) +} + +void ProjectLevel::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +ProjectLevel::~ProjectLevel() { + // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectLevel) + SharedDtor(); +} + +void ProjectLevel::SharedDtor() { + project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void ProjectLevel::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ProjectLevel& ProjectLevel::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ProjectLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void ProjectLevel::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ProjectLevel::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string project = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.ProjectLevel.project"); + object = msg->mutable_project(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ProjectLevel::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.ProjectLevel) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string project = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_project())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.ProjectLevel.project")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.ProjectLevel) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectLevel) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ProjectLevel::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ProjectLevel.project"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->project(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.ProjectLevel) +} + +::google::protobuf::uint8* ProjectLevel::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ProjectLevel.project"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->project(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.ProjectLevel) + return target; +} + +size_t ProjectLevel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectLevel) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->project()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ProjectLevel::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectLevel) + GOOGLE_DCHECK_NE(&from, this); + const ProjectLevel* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectLevel) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectLevel) + MergeFrom(*source); + } +} + +void ProjectLevel::MergeFrom(const ProjectLevel& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectLevel) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.project().size() > 0) { + + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } +} + +void ProjectLevel::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ProjectLevel::CopyFrom(const ProjectLevel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProjectLevel::IsInitialized() const { + return true; +} + +void ProjectLevel::Swap(ProjectLevel* other) { + if (other == this) return; + InternalSwap(other); +} +void ProjectLevel::InternalSwap(ProjectLevel* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata ProjectLevel::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void DomainLevel::InitAsDefaultInstance() { +} +class DomainLevel::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int DomainLevel::kProjectFieldNumber; +const int DomainLevel::kDomainFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +DomainLevel::DomainLevel() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.DomainLevel) +} +DomainLevel::DomainLevel(const DomainLevel& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.project().size() > 0) { + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.domain().size() > 0) { + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.DomainLevel) +} + +void DomainLevel::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +DomainLevel::~DomainLevel() { + // @@protoc_insertion_point(destructor:flyteidl.admin.DomainLevel) + SharedDtor(); +} + +void DomainLevel::SharedDtor() { + project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void DomainLevel::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const DomainLevel& DomainLevel::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void DomainLevel::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.DomainLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* DomainLevel::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string project = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.DomainLevel.project"); + object = msg->mutable_project(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string domain = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.DomainLevel.domain"); + object = msg->mutable_domain(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool DomainLevel::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.DomainLevel) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string project = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_project())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.DomainLevel.project")); + } else { + goto handle_unusual; + } + break; + } + + // string domain = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_domain())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.DomainLevel.domain")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.DomainLevel) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.DomainLevel) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void DomainLevel::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.DomainLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DomainLevel.project"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->project(), output); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DomainLevel.domain"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->domain(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.DomainLevel) +} + +::google::protobuf::uint8* DomainLevel::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.DomainLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DomainLevel.project"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->project(), target); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.DomainLevel.domain"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->domain(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.DomainLevel) + return target; +} + +size_t DomainLevel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.DomainLevel) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->project()); + } + + // string domain = 2; + if (this->domain().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->domain()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void DomainLevel::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.DomainLevel) + GOOGLE_DCHECK_NE(&from, this); + const DomainLevel* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.DomainLevel) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.DomainLevel) + MergeFrom(*source); + } +} + +void DomainLevel::MergeFrom(const DomainLevel& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.DomainLevel) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.project().size() > 0) { + + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + if (from.domain().size() > 0) { + + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } +} + +void DomainLevel::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.DomainLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void DomainLevel::CopyFrom(const DomainLevel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.DomainLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool DomainLevel::IsInitialized() const { + return true; +} + +void DomainLevel::Swap(DomainLevel* other) { + if (other == this) return; + InternalSwap(other); +} +void DomainLevel::InternalSwap(DomainLevel* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata DomainLevel::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void WorkflowLevel::InitAsDefaultInstance() { +} +class WorkflowLevel::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int WorkflowLevel::kProjectFieldNumber; +const int WorkflowLevel::kDomainFieldNumber; +const int WorkflowLevel::kWorkflowFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +WorkflowLevel::WorkflowLevel() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowLevel) +} +WorkflowLevel::WorkflowLevel(const WorkflowLevel& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.project().size() > 0) { + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.domain().size() > 0) { + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.workflow().size() > 0) { + workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowLevel) +} + +void WorkflowLevel::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +WorkflowLevel::~WorkflowLevel() { + // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowLevel) + SharedDtor(); +} + +void WorkflowLevel::SharedDtor() { + project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + workflow_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void WorkflowLevel::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const WorkflowLevel& WorkflowLevel::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void WorkflowLevel::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* WorkflowLevel::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string project = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowLevel.project"); + object = msg->mutable_project(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string domain = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowLevel.domain"); + object = msg->mutable_domain(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string workflow = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.WorkflowLevel.workflow"); + object = msg->mutable_workflow(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool WorkflowLevel::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.WorkflowLevel) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string project = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_project())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.WorkflowLevel.project")); + } else { + goto handle_unusual; + } + break; + } + + // string domain = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_domain())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.WorkflowLevel.domain")); + } else { + goto handle_unusual; + } + break; + } + + // string workflow = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_workflow())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->workflow().data(), static_cast(this->workflow().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.WorkflowLevel.workflow")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.WorkflowLevel) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowLevel) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void WorkflowLevel::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowLevel.project"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->project(), output); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowLevel.domain"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->domain(), output); + } + + // string workflow = 3; + if (this->workflow().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->workflow().data(), static_cast(this->workflow().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowLevel.workflow"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->workflow(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.WorkflowLevel) +} + +::google::protobuf::uint8* WorkflowLevel::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowLevel.project"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->project(), target); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowLevel.domain"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->domain(), target); + } + + // string workflow = 3; + if (this->workflow().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->workflow().data(), static_cast(this->workflow().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.WorkflowLevel.workflow"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->workflow(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.WorkflowLevel) + return target; +} + +size_t WorkflowLevel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowLevel) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->project()); + } + + // string domain = 2; + if (this->domain().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->domain()); + } + + // string workflow = 3; + if (this->workflow().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->workflow()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void WorkflowLevel::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowLevel) + GOOGLE_DCHECK_NE(&from, this); + const WorkflowLevel* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowLevel) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowLevel) + MergeFrom(*source); + } +} + +void WorkflowLevel::MergeFrom(const WorkflowLevel& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowLevel) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.project().size() > 0) { + + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + if (from.domain().size() > 0) { + + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + if (from.workflow().size() > 0) { + + workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); + } +} + +void WorkflowLevel::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void WorkflowLevel::CopyFrom(const WorkflowLevel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WorkflowLevel::IsInitialized() const { + return true; +} + +void WorkflowLevel::Swap(WorkflowLevel* other) { + if (other == this) return; + InternalSwap(other); +} +void WorkflowLevel::InternalSwap(WorkflowLevel* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + workflow_.Swap(&other->workflow_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata WorkflowLevel::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void LaunchplanLevel::InitAsDefaultInstance() { +} +class LaunchplanLevel::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int LaunchplanLevel::kProjectFieldNumber; +const int LaunchplanLevel::kDomainFieldNumber; +const int LaunchplanLevel::kWorkflowFieldNumber; +const int LaunchplanLevel::kLaunchplanFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +LaunchplanLevel::LaunchplanLevel() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.LaunchplanLevel) +} +LaunchplanLevel::LaunchplanLevel(const LaunchplanLevel& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.project().size() > 0) { + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.domain().size() > 0) { + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.workflow().size() > 0) { + workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); + } + launchplan_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.launchplan().size() > 0) { + launchplan_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.launchplan_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.LaunchplanLevel) +} + +void LaunchplanLevel::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + launchplan_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +LaunchplanLevel::~LaunchplanLevel() { + // @@protoc_insertion_point(destructor:flyteidl.admin.LaunchplanLevel) + SharedDtor(); +} + +void LaunchplanLevel::SharedDtor() { + project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + workflow_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + launchplan_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void LaunchplanLevel::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const LaunchplanLevel& LaunchplanLevel::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void LaunchplanLevel::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.LaunchplanLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + launchplan_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* LaunchplanLevel::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // string project = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.LaunchplanLevel.project"); + object = msg->mutable_project(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string domain = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.LaunchplanLevel.domain"); + object = msg->mutable_domain(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string workflow = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.LaunchplanLevel.workflow"); + object = msg->mutable_workflow(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + // string launchplan = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.LaunchplanLevel.launchplan"); + object = msg->mutable_launchplan(); + if (size > end - ptr + ::google::protobuf::internal::ParseContext::kSlopBytes) { + parser_till_end = ::google::protobuf::internal::GreedyStringParserUTF8; + goto string_till_end; + } + GOOGLE_PROTOBUF_PARSER_ASSERT(::google::protobuf::internal::StringCheckUTF8(ptr, size, ctx)); + ::google::protobuf::internal::InlineGreedyStringParser(object, ptr, size, ctx); + ptr += size; + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +string_till_end: + static_cast<::std::string*>(object)->clear(); + static_cast<::std::string*>(object)->reserve(size); + goto len_delim_till_end; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool LaunchplanLevel::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.LaunchplanLevel) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // string project = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_project())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.LaunchplanLevel.project")); + } else { + goto handle_unusual; + } + break; + } + + // string domain = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_domain())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.LaunchplanLevel.domain")); + } else { + goto handle_unusual; + } + break; + } + + // string workflow = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_workflow())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->workflow().data(), static_cast(this->workflow().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.LaunchplanLevel.workflow")); + } else { + goto handle_unusual; + } + break; + } + + // string launchplan = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_launchplan())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->launchplan().data(), static_cast(this->launchplan().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.LaunchplanLevel.launchplan")); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.LaunchplanLevel) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.LaunchplanLevel) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void LaunchplanLevel::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.LaunchplanLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanLevel.project"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->project(), output); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanLevel.domain"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->domain(), output); + } + + // string workflow = 3; + if (this->workflow().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->workflow().data(), static_cast(this->workflow().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanLevel.workflow"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->workflow(), output); + } + + // string launchplan = 4; + if (this->launchplan().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->launchplan().data(), static_cast(this->launchplan().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanLevel.launchplan"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->launchplan(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.LaunchplanLevel) +} + +::google::protobuf::uint8* LaunchplanLevel::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.LaunchplanLevel) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->project().data(), static_cast(this->project().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanLevel.project"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->project(), target); + } + + // string domain = 2; + if (this->domain().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->domain().data(), static_cast(this->domain().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanLevel.domain"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->domain(), target); + } + + // string workflow = 3; + if (this->workflow().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->workflow().data(), static_cast(this->workflow().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanLevel.workflow"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->workflow(), target); + } + + // string launchplan = 4; + if (this->launchplan().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->launchplan().data(), static_cast(this->launchplan().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.LaunchplanLevel.launchplan"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->launchplan(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.LaunchplanLevel) + return target; +} + +size_t LaunchplanLevel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.LaunchplanLevel) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string project = 1; + if (this->project().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->project()); + } + + // string domain = 2; + if (this->domain().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->domain()); + } + + // string workflow = 3; + if (this->workflow().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->workflow()); + } + + // string launchplan = 4; + if (this->launchplan().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->launchplan()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void LaunchplanLevel::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.LaunchplanLevel) + GOOGLE_DCHECK_NE(&from, this); + const LaunchplanLevel* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.LaunchplanLevel) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.LaunchplanLevel) + MergeFrom(*source); + } +} + +void LaunchplanLevel::MergeFrom(const LaunchplanLevel& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.LaunchplanLevel) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.project().size() > 0) { + + project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); + } + if (from.domain().size() > 0) { + + domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); + } + if (from.workflow().size() > 0) { + + workflow_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.workflow_); + } + if (from.launchplan().size() > 0) { + + launchplan_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.launchplan_); + } +} + +void LaunchplanLevel::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.LaunchplanLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void LaunchplanLevel::CopyFrom(const LaunchplanLevel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.LaunchplanLevel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool LaunchplanLevel::IsInitialized() const { + return true; +} + +void LaunchplanLevel::Swap(LaunchplanLevel* other) { + if (other == this) return; + InternalSwap(other); +} +void LaunchplanLevel::InternalSwap(LaunchplanLevel* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + workflow_.Swap(&other->workflow_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + launchplan_.Swap(&other->launchplan_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata LaunchplanLevel::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void SettingsUpdateRequest::InitAsDefaultInstance() { + ::flyteidl::admin::_SettingsUpdateRequest_default_instance_.global_level_ = const_cast< ::flyteidl::admin::GlobalLevel*>( + ::flyteidl::admin::GlobalLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsUpdateRequest_default_instance_.project_level_ = const_cast< ::flyteidl::admin::ProjectLevel*>( + ::flyteidl::admin::ProjectLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsUpdateRequest_default_instance_.domain_level_ = const_cast< ::flyteidl::admin::DomainLevel*>( + ::flyteidl::admin::DomainLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsUpdateRequest_default_instance_.workflow_level_ = const_cast< ::flyteidl::admin::WorkflowLevel*>( + ::flyteidl::admin::WorkflowLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsUpdateRequest_default_instance_.launchplan_level_ = const_cast< ::flyteidl::admin::LaunchplanLevel*>( + ::flyteidl::admin::LaunchplanLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsUpdateRequest_default_instance_._instance.get_mutable()->settings_ = const_cast< ::flyteidl::admin::SettingsCollection*>( + ::flyteidl::admin::SettingsCollection::internal_default_instance()); +} +class SettingsUpdateRequest::HasBitSetters { + public: + static const ::flyteidl::admin::GlobalLevel& global_level(const SettingsUpdateRequest* msg); + static const ::flyteidl::admin::ProjectLevel& project_level(const SettingsUpdateRequest* msg); + static const ::flyteidl::admin::DomainLevel& domain_level(const SettingsUpdateRequest* msg); + static const ::flyteidl::admin::WorkflowLevel& workflow_level(const SettingsUpdateRequest* msg); + static const ::flyteidl::admin::LaunchplanLevel& launchplan_level(const SettingsUpdateRequest* msg); + static const ::flyteidl::admin::SettingsCollection& settings(const SettingsUpdateRequest* msg); +}; + +const ::flyteidl::admin::GlobalLevel& +SettingsUpdateRequest::HasBitSetters::global_level(const SettingsUpdateRequest* msg) { + return *msg->level_.global_level_; +} +const ::flyteidl::admin::ProjectLevel& +SettingsUpdateRequest::HasBitSetters::project_level(const SettingsUpdateRequest* msg) { + return *msg->level_.project_level_; +} +const ::flyteidl::admin::DomainLevel& +SettingsUpdateRequest::HasBitSetters::domain_level(const SettingsUpdateRequest* msg) { + return *msg->level_.domain_level_; +} +const ::flyteidl::admin::WorkflowLevel& +SettingsUpdateRequest::HasBitSetters::workflow_level(const SettingsUpdateRequest* msg) { + return *msg->level_.workflow_level_; +} +const ::flyteidl::admin::LaunchplanLevel& +SettingsUpdateRequest::HasBitSetters::launchplan_level(const SettingsUpdateRequest* msg) { + return *msg->level_.launchplan_level_; +} +const ::flyteidl::admin::SettingsCollection& +SettingsUpdateRequest::HasBitSetters::settings(const SettingsUpdateRequest* msg) { + return *msg->settings_; +} +void SettingsUpdateRequest::set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (global_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + global_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, global_level, submessage_arena); + } + set_has_global_level(); + level_.global_level_ = global_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsUpdateRequest.global_level) +} +void SettingsUpdateRequest::set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (project_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + project_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, project_level, submessage_arena); + } + set_has_project_level(); + level_.project_level_ = project_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsUpdateRequest.project_level) +} +void SettingsUpdateRequest::set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (domain_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + domain_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, domain_level, submessage_arena); + } + set_has_domain_level(); + level_.domain_level_ = domain_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsUpdateRequest.domain_level) +} +void SettingsUpdateRequest::set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (workflow_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_level, submessage_arena); + } + set_has_workflow_level(); + level_.workflow_level_ = workflow_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsUpdateRequest.workflow_level) +} +void SettingsUpdateRequest::set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (launchplan_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + launchplan_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, launchplan_level, submessage_arena); + } + set_has_launchplan_level(); + level_.launchplan_level_ = launchplan_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsUpdateRequest.launchplan_level) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SettingsUpdateRequest::kGlobalLevelFieldNumber; +const int SettingsUpdateRequest::kProjectLevelFieldNumber; +const int SettingsUpdateRequest::kDomainLevelFieldNumber; +const int SettingsUpdateRequest::kWorkflowLevelFieldNumber; +const int SettingsUpdateRequest::kLaunchplanLevelFieldNumber; +const int SettingsUpdateRequest::kSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SettingsUpdateRequest::SettingsUpdateRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.SettingsUpdateRequest) +} +SettingsUpdateRequest::SettingsUpdateRequest(const SettingsUpdateRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_settings()) { + settings_ = new ::flyteidl::admin::SettingsCollection(*from.settings_); + } else { + settings_ = nullptr; + } + clear_has_level(); + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SettingsUpdateRequest) +} + +void SettingsUpdateRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_SettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + settings_ = nullptr; + clear_has_level(); +} + +SettingsUpdateRequest::~SettingsUpdateRequest() { + // @@protoc_insertion_point(destructor:flyteidl.admin.SettingsUpdateRequest) + SharedDtor(); +} + +void SettingsUpdateRequest::SharedDtor() { + if (this != internal_default_instance()) delete settings_; + if (has_level()) { + clear_level(); + } +} + +void SettingsUpdateRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const SettingsUpdateRequest& SettingsUpdateRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_SettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void SettingsUpdateRequest::clear_level() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.SettingsUpdateRequest) + switch (level_case()) { + case kGlobalLevel: { + delete level_.global_level_; + break; + } + case kProjectLevel: { + delete level_.project_level_; + break; + } + case kDomainLevel: { + delete level_.domain_level_; + break; + } + case kWorkflowLevel: { + delete level_.workflow_level_; + break; + } + case kLaunchplanLevel: { + delete level_.launchplan_level_; + break; + } + case LEVEL_NOT_SET: { + break; + } + } + _oneof_case_[0] = LEVEL_NOT_SET; +} + + +void SettingsUpdateRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SettingsUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; + clear_level(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* SettingsUpdateRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::GlobalLevel::_InternalParse; + object = msg->mutable_global_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::ProjectLevel::_InternalParse; + object = msg->mutable_project_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::DomainLevel::_InternalParse; + object = msg->mutable_domain_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::WorkflowLevel::_InternalParse; + object = msg->mutable_workflow_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::LaunchplanLevel::_InternalParse; + object = msg->mutable_launchplan_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.SettingsCollection settings = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::SettingsCollection::_InternalParse; + object = msg->mutable_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool SettingsUpdateRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.SettingsUpdateRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_global_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_project_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_domain_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_launchplan_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.SettingsCollection settings = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_settings())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.SettingsUpdateRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.SettingsUpdateRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void SettingsUpdateRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.SettingsUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::global_level(this), output); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::project_level(this), output); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::domain_level(this), output); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::workflow_level(this), output); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::launchplan_level(this), output); + } + + // .flyteidl.admin.SettingsCollection settings = 6; + if (this->has_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, HasBitSetters::settings(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.SettingsUpdateRequest) +} + +::google::protobuf::uint8* SettingsUpdateRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SettingsUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::global_level(this), target); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::project_level(this), target); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::domain_level(this), target); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::workflow_level(this), target); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::launchplan_level(this), target); + } + + // .flyteidl.admin.SettingsCollection settings = 6; + if (this->has_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, HasBitSetters::settings(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SettingsUpdateRequest) + return target; +} + +size_t SettingsUpdateRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SettingsUpdateRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.admin.SettingsCollection settings = 6; + if (this->has_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *settings_); + } + + switch (level_case()) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case kGlobalLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.global_level_); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case kProjectLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.project_level_); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case kDomainLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.domain_level_); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case kWorkflowLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.workflow_level_); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case kLaunchplanLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.launchplan_level_); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SettingsUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SettingsUpdateRequest) + GOOGLE_DCHECK_NE(&from, this); + const SettingsUpdateRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SettingsUpdateRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SettingsUpdateRequest) + MergeFrom(*source); + } +} + +void SettingsUpdateRequest::MergeFrom(const SettingsUpdateRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SettingsUpdateRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_settings()) { + mutable_settings()->::flyteidl::admin::SettingsCollection::MergeFrom(from.settings()); + } + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } +} + +void SettingsUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SettingsUpdateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SettingsUpdateRequest::CopyFrom(const SettingsUpdateRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SettingsUpdateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SettingsUpdateRequest::IsInitialized() const { + return true; +} + +void SettingsUpdateRequest::Swap(SettingsUpdateRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void SettingsUpdateRequest::InternalSwap(SettingsUpdateRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(settings_, other->settings_); + swap(level_, other->level_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata SettingsUpdateRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void FullSettingsUpdateRequest::InitAsDefaultInstance() { + ::flyteidl::admin::_FullSettingsUpdateRequest_default_instance_.global_level_ = const_cast< ::flyteidl::admin::GlobalLevel*>( + ::flyteidl::admin::GlobalLevel::internal_default_instance()); + ::flyteidl::admin::_FullSettingsUpdateRequest_default_instance_.project_level_ = const_cast< ::flyteidl::admin::ProjectLevel*>( + ::flyteidl::admin::ProjectLevel::internal_default_instance()); + ::flyteidl::admin::_FullSettingsUpdateRequest_default_instance_.domain_level_ = const_cast< ::flyteidl::admin::DomainLevel*>( + ::flyteidl::admin::DomainLevel::internal_default_instance()); + ::flyteidl::admin::_FullSettingsUpdateRequest_default_instance_.workflow_level_ = const_cast< ::flyteidl::admin::WorkflowLevel*>( + ::flyteidl::admin::WorkflowLevel::internal_default_instance()); + ::flyteidl::admin::_FullSettingsUpdateRequest_default_instance_.launchplan_level_ = const_cast< ::flyteidl::admin::LaunchplanLevel*>( + ::flyteidl::admin::LaunchplanLevel::internal_default_instance()); + ::flyteidl::admin::_FullSettingsUpdateRequest_default_instance_._instance.get_mutable()->settings_ = const_cast< ::flyteidl::admin::SettingsCollection*>( + ::flyteidl::admin::SettingsCollection::internal_default_instance()); +} +class FullSettingsUpdateRequest::HasBitSetters { + public: + static const ::flyteidl::admin::GlobalLevel& global_level(const FullSettingsUpdateRequest* msg); + static const ::flyteidl::admin::ProjectLevel& project_level(const FullSettingsUpdateRequest* msg); + static const ::flyteidl::admin::DomainLevel& domain_level(const FullSettingsUpdateRequest* msg); + static const ::flyteidl::admin::WorkflowLevel& workflow_level(const FullSettingsUpdateRequest* msg); + static const ::flyteidl::admin::LaunchplanLevel& launchplan_level(const FullSettingsUpdateRequest* msg); + static const ::flyteidl::admin::SettingsCollection& settings(const FullSettingsUpdateRequest* msg); +}; + +const ::flyteidl::admin::GlobalLevel& +FullSettingsUpdateRequest::HasBitSetters::global_level(const FullSettingsUpdateRequest* msg) { + return *msg->level_.global_level_; +} +const ::flyteidl::admin::ProjectLevel& +FullSettingsUpdateRequest::HasBitSetters::project_level(const FullSettingsUpdateRequest* msg) { + return *msg->level_.project_level_; +} +const ::flyteidl::admin::DomainLevel& +FullSettingsUpdateRequest::HasBitSetters::domain_level(const FullSettingsUpdateRequest* msg) { + return *msg->level_.domain_level_; +} +const ::flyteidl::admin::WorkflowLevel& +FullSettingsUpdateRequest::HasBitSetters::workflow_level(const FullSettingsUpdateRequest* msg) { + return *msg->level_.workflow_level_; +} +const ::flyteidl::admin::LaunchplanLevel& +FullSettingsUpdateRequest::HasBitSetters::launchplan_level(const FullSettingsUpdateRequest* msg) { + return *msg->level_.launchplan_level_; +} +const ::flyteidl::admin::SettingsCollection& +FullSettingsUpdateRequest::HasBitSetters::settings(const FullSettingsUpdateRequest* msg) { + return *msg->settings_; +} +void FullSettingsUpdateRequest::set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (global_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + global_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, global_level, submessage_arena); + } + set_has_global_level(); + level_.global_level_ = global_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FullSettingsUpdateRequest.global_level) +} +void FullSettingsUpdateRequest::set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (project_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + project_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, project_level, submessage_arena); + } + set_has_project_level(); + level_.project_level_ = project_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FullSettingsUpdateRequest.project_level) +} +void FullSettingsUpdateRequest::set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (domain_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + domain_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, domain_level, submessage_arena); + } + set_has_domain_level(); + level_.domain_level_ = domain_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FullSettingsUpdateRequest.domain_level) +} +void FullSettingsUpdateRequest::set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (workflow_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_level, submessage_arena); + } + set_has_workflow_level(); + level_.workflow_level_ = workflow_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FullSettingsUpdateRequest.workflow_level) +} +void FullSettingsUpdateRequest::set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (launchplan_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + launchplan_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, launchplan_level, submessage_arena); + } + set_has_launchplan_level(); + level_.launchplan_level_ = launchplan_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FullSettingsUpdateRequest.launchplan_level) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int FullSettingsUpdateRequest::kGlobalLevelFieldNumber; +const int FullSettingsUpdateRequest::kProjectLevelFieldNumber; +const int FullSettingsUpdateRequest::kDomainLevelFieldNumber; +const int FullSettingsUpdateRequest::kWorkflowLevelFieldNumber; +const int FullSettingsUpdateRequest::kLaunchplanLevelFieldNumber; +const int FullSettingsUpdateRequest::kSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +FullSettingsUpdateRequest::FullSettingsUpdateRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.FullSettingsUpdateRequest) +} +FullSettingsUpdateRequest::FullSettingsUpdateRequest(const FullSettingsUpdateRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_settings()) { + settings_ = new ::flyteidl::admin::SettingsCollection(*from.settings_); + } else { + settings_ = nullptr; + } + clear_has_level(); + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.FullSettingsUpdateRequest) +} + +void FullSettingsUpdateRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_FullSettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + settings_ = nullptr; + clear_has_level(); +} + +FullSettingsUpdateRequest::~FullSettingsUpdateRequest() { + // @@protoc_insertion_point(destructor:flyteidl.admin.FullSettingsUpdateRequest) + SharedDtor(); +} + +void FullSettingsUpdateRequest::SharedDtor() { + if (this != internal_default_instance()) delete settings_; + if (has_level()) { + clear_level(); + } +} + +void FullSettingsUpdateRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const FullSettingsUpdateRequest& FullSettingsUpdateRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_FullSettingsUpdateRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void FullSettingsUpdateRequest::clear_level() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.FullSettingsUpdateRequest) + switch (level_case()) { + case kGlobalLevel: { + delete level_.global_level_; + break; + } + case kProjectLevel: { + delete level_.project_level_; + break; + } + case kDomainLevel: { + delete level_.domain_level_; + break; + } + case kWorkflowLevel: { + delete level_.workflow_level_; + break; + } + case kLaunchplanLevel: { + delete level_.launchplan_level_; + break; + } + case LEVEL_NOT_SET: { + break; + } + } + _oneof_case_[0] = LEVEL_NOT_SET; +} + + +void FullSettingsUpdateRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.FullSettingsUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; + clear_level(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* FullSettingsUpdateRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::GlobalLevel::_InternalParse; + object = msg->mutable_global_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::ProjectLevel::_InternalParse; + object = msg->mutable_project_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::DomainLevel::_InternalParse; + object = msg->mutable_domain_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::WorkflowLevel::_InternalParse; + object = msg->mutable_workflow_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::LaunchplanLevel::_InternalParse; + object = msg->mutable_launchplan_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.SettingsCollection settings = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::SettingsCollection::_InternalParse; + object = msg->mutable_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool FullSettingsUpdateRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.FullSettingsUpdateRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_global_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_project_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_domain_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_launchplan_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.SettingsCollection settings = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_settings())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.FullSettingsUpdateRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.FullSettingsUpdateRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void FullSettingsUpdateRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.FullSettingsUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::global_level(this), output); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::project_level(this), output); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::domain_level(this), output); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::workflow_level(this), output); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::launchplan_level(this), output); + } + + // .flyteidl.admin.SettingsCollection settings = 6; + if (this->has_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, HasBitSetters::settings(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.FullSettingsUpdateRequest) +} + +::google::protobuf::uint8* FullSettingsUpdateRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.FullSettingsUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::global_level(this), target); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::project_level(this), target); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::domain_level(this), target); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::workflow_level(this), target); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::launchplan_level(this), target); + } + + // .flyteidl.admin.SettingsCollection settings = 6; + if (this->has_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, HasBitSetters::settings(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.FullSettingsUpdateRequest) + return target; +} + +size_t FullSettingsUpdateRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.FullSettingsUpdateRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.admin.SettingsCollection settings = 6; + if (this->has_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *settings_); + } + + switch (level_case()) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case kGlobalLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.global_level_); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case kProjectLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.project_level_); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case kDomainLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.domain_level_); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case kWorkflowLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.workflow_level_); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case kLaunchplanLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.launchplan_level_); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void FullSettingsUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.FullSettingsUpdateRequest) + GOOGLE_DCHECK_NE(&from, this); + const FullSettingsUpdateRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.FullSettingsUpdateRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.FullSettingsUpdateRequest) + MergeFrom(*source); + } +} + +void FullSettingsUpdateRequest::MergeFrom(const FullSettingsUpdateRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.FullSettingsUpdateRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_settings()) { + mutable_settings()->::flyteidl::admin::SettingsCollection::MergeFrom(from.settings()); + } + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } +} + +void FullSettingsUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.FullSettingsUpdateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void FullSettingsUpdateRequest::CopyFrom(const FullSettingsUpdateRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.FullSettingsUpdateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool FullSettingsUpdateRequest::IsInitialized() const { + return true; +} + +void FullSettingsUpdateRequest::Swap(FullSettingsUpdateRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void FullSettingsUpdateRequest::InternalSwap(FullSettingsUpdateRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(settings_, other->settings_); + swap(level_, other->level_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata FullSettingsUpdateRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void FullSettingsUpdateResponse::InitAsDefaultInstance() { +} +class FullSettingsUpdateResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +FullSettingsUpdateResponse::FullSettingsUpdateResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.FullSettingsUpdateResponse) +} +FullSettingsUpdateResponse::FullSettingsUpdateResponse(const FullSettingsUpdateResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.FullSettingsUpdateResponse) +} + +void FullSettingsUpdateResponse::SharedCtor() { +} + +FullSettingsUpdateResponse::~FullSettingsUpdateResponse() { + // @@protoc_insertion_point(destructor:flyteidl.admin.FullSettingsUpdateResponse) + SharedDtor(); +} + +void FullSettingsUpdateResponse::SharedDtor() { +} + +void FullSettingsUpdateResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const FullSettingsUpdateResponse& FullSettingsUpdateResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_FullSettingsUpdateResponse_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void FullSettingsUpdateResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.FullSettingsUpdateResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* FullSettingsUpdateResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + default: { + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool FullSettingsUpdateResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.FullSettingsUpdateResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.FullSettingsUpdateResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.FullSettingsUpdateResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void FullSettingsUpdateResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.FullSettingsUpdateResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.FullSettingsUpdateResponse) +} + +::google::protobuf::uint8* FullSettingsUpdateResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.FullSettingsUpdateResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.FullSettingsUpdateResponse) + return target; +} + +size_t FullSettingsUpdateResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.FullSettingsUpdateResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void FullSettingsUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.FullSettingsUpdateResponse) + GOOGLE_DCHECK_NE(&from, this); + const FullSettingsUpdateResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.FullSettingsUpdateResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.FullSettingsUpdateResponse) + MergeFrom(*source); + } +} + +void FullSettingsUpdateResponse::MergeFrom(const FullSettingsUpdateResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.FullSettingsUpdateResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void FullSettingsUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.FullSettingsUpdateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void FullSettingsUpdateResponse::CopyFrom(const FullSettingsUpdateResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.FullSettingsUpdateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool FullSettingsUpdateResponse::IsInitialized() const { + return true; +} + +void FullSettingsUpdateResponse::Swap(FullSettingsUpdateResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void FullSettingsUpdateResponse::InternalSwap(FullSettingsUpdateResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata FullSettingsUpdateResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void SettingsGetRequest::InitAsDefaultInstance() { + ::flyteidl::admin::_SettingsGetRequest_default_instance_.global_level_ = const_cast< ::flyteidl::admin::GlobalLevel*>( + ::flyteidl::admin::GlobalLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsGetRequest_default_instance_.project_level_ = const_cast< ::flyteidl::admin::ProjectLevel*>( + ::flyteidl::admin::ProjectLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsGetRequest_default_instance_.domain_level_ = const_cast< ::flyteidl::admin::DomainLevel*>( + ::flyteidl::admin::DomainLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsGetRequest_default_instance_.workflow_level_ = const_cast< ::flyteidl::admin::WorkflowLevel*>( + ::flyteidl::admin::WorkflowLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsGetRequest_default_instance_.launchplan_level_ = const_cast< ::flyteidl::admin::LaunchplanLevel*>( + ::flyteidl::admin::LaunchplanLevel::internal_default_instance()); +} +class SettingsGetRequest::HasBitSetters { + public: + static const ::flyteidl::admin::GlobalLevel& global_level(const SettingsGetRequest* msg); + static const ::flyteidl::admin::ProjectLevel& project_level(const SettingsGetRequest* msg); + static const ::flyteidl::admin::DomainLevel& domain_level(const SettingsGetRequest* msg); + static const ::flyteidl::admin::WorkflowLevel& workflow_level(const SettingsGetRequest* msg); + static const ::flyteidl::admin::LaunchplanLevel& launchplan_level(const SettingsGetRequest* msg); +}; + +const ::flyteidl::admin::GlobalLevel& +SettingsGetRequest::HasBitSetters::global_level(const SettingsGetRequest* msg) { + return *msg->level_.global_level_; +} +const ::flyteidl::admin::ProjectLevel& +SettingsGetRequest::HasBitSetters::project_level(const SettingsGetRequest* msg) { + return *msg->level_.project_level_; +} +const ::flyteidl::admin::DomainLevel& +SettingsGetRequest::HasBitSetters::domain_level(const SettingsGetRequest* msg) { + return *msg->level_.domain_level_; +} +const ::flyteidl::admin::WorkflowLevel& +SettingsGetRequest::HasBitSetters::workflow_level(const SettingsGetRequest* msg) { + return *msg->level_.workflow_level_; +} +const ::flyteidl::admin::LaunchplanLevel& +SettingsGetRequest::HasBitSetters::launchplan_level(const SettingsGetRequest* msg) { + return *msg->level_.launchplan_level_; +} +void SettingsGetRequest::set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (global_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + global_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, global_level, submessage_arena); + } + set_has_global_level(); + level_.global_level_ = global_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetRequest.global_level) +} +void SettingsGetRequest::set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (project_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + project_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, project_level, submessage_arena); + } + set_has_project_level(); + level_.project_level_ = project_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetRequest.project_level) +} +void SettingsGetRequest::set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (domain_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + domain_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, domain_level, submessage_arena); + } + set_has_domain_level(); + level_.domain_level_ = domain_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetRequest.domain_level) +} +void SettingsGetRequest::set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (workflow_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_level, submessage_arena); + } + set_has_workflow_level(); + level_.workflow_level_ = workflow_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetRequest.workflow_level) +} +void SettingsGetRequest::set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (launchplan_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + launchplan_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, launchplan_level, submessage_arena); + } + set_has_launchplan_level(); + level_.launchplan_level_ = launchplan_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetRequest.launchplan_level) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SettingsGetRequest::kGlobalLevelFieldNumber; +const int SettingsGetRequest::kProjectLevelFieldNumber; +const int SettingsGetRequest::kDomainLevelFieldNumber; +const int SettingsGetRequest::kWorkflowLevelFieldNumber; +const int SettingsGetRequest::kLaunchplanLevelFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SettingsGetRequest::SettingsGetRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.SettingsGetRequest) +} +SettingsGetRequest::SettingsGetRequest(const SettingsGetRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + clear_has_level(); + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SettingsGetRequest) +} + +void SettingsGetRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_SettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + clear_has_level(); +} + +SettingsGetRequest::~SettingsGetRequest() { + // @@protoc_insertion_point(destructor:flyteidl.admin.SettingsGetRequest) + SharedDtor(); +} + +void SettingsGetRequest::SharedDtor() { + if (has_level()) { + clear_level(); + } +} + +void SettingsGetRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const SettingsGetRequest& SettingsGetRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_SettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void SettingsGetRequest::clear_level() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.SettingsGetRequest) + switch (level_case()) { + case kGlobalLevel: { + delete level_.global_level_; + break; + } + case kProjectLevel: { + delete level_.project_level_; + break; + } + case kDomainLevel: { + delete level_.domain_level_; + break; + } + case kWorkflowLevel: { + delete level_.workflow_level_; + break; + } + case kLaunchplanLevel: { + delete level_.launchplan_level_; + break; + } + case LEVEL_NOT_SET: { + break; + } + } + _oneof_case_[0] = LEVEL_NOT_SET; +} + + +void SettingsGetRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SettingsGetRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_level(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* SettingsGetRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::GlobalLevel::_InternalParse; + object = msg->mutable_global_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::ProjectLevel::_InternalParse; + object = msg->mutable_project_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::DomainLevel::_InternalParse; + object = msg->mutable_domain_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::WorkflowLevel::_InternalParse; + object = msg->mutable_workflow_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::LaunchplanLevel::_InternalParse; + object = msg->mutable_launchplan_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool SettingsGetRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.SettingsGetRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_global_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_project_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_domain_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_launchplan_level())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.SettingsGetRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.SettingsGetRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void SettingsGetRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.SettingsGetRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::global_level(this), output); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::project_level(this), output); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::domain_level(this), output); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::workflow_level(this), output); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::launchplan_level(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.SettingsGetRequest) +} + +::google::protobuf::uint8* SettingsGetRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SettingsGetRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::global_level(this), target); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::project_level(this), target); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::domain_level(this), target); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::workflow_level(this), target); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::launchplan_level(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SettingsGetRequest) + return target; +} + +size_t SettingsGetRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SettingsGetRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch (level_case()) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case kGlobalLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.global_level_); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case kProjectLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.project_level_); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case kDomainLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.domain_level_); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case kWorkflowLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.workflow_level_); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case kLaunchplanLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.launchplan_level_); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SettingsGetRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SettingsGetRequest) + GOOGLE_DCHECK_NE(&from, this); + const SettingsGetRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SettingsGetRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SettingsGetRequest) + MergeFrom(*source); + } +} + +void SettingsGetRequest::MergeFrom(const SettingsGetRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SettingsGetRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } +} + +void SettingsGetRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SettingsGetRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SettingsGetRequest::CopyFrom(const SettingsGetRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SettingsGetRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SettingsGetRequest::IsInitialized() const { + return true; +} + +void SettingsGetRequest::Swap(SettingsGetRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void SettingsGetRequest::InternalSwap(SettingsGetRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(level_, other->level_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata SettingsGetRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void SettingsGetResponse::InitAsDefaultInstance() { + ::flyteidl::admin::_SettingsGetResponse_default_instance_.global_level_ = const_cast< ::flyteidl::admin::GlobalLevel*>( + ::flyteidl::admin::GlobalLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsGetResponse_default_instance_.project_level_ = const_cast< ::flyteidl::admin::ProjectLevel*>( + ::flyteidl::admin::ProjectLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsGetResponse_default_instance_.domain_level_ = const_cast< ::flyteidl::admin::DomainLevel*>( + ::flyteidl::admin::DomainLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsGetResponse_default_instance_.workflow_level_ = const_cast< ::flyteidl::admin::WorkflowLevel*>( + ::flyteidl::admin::WorkflowLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsGetResponse_default_instance_.launchplan_level_ = const_cast< ::flyteidl::admin::LaunchplanLevel*>( + ::flyteidl::admin::LaunchplanLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsGetResponse_default_instance_._instance.get_mutable()->settings_ = const_cast< ::flyteidl::admin::SettingsCollection*>( + ::flyteidl::admin::SettingsCollection::internal_default_instance()); +} +class SettingsGetResponse::HasBitSetters { + public: + static const ::flyteidl::admin::GlobalLevel& global_level(const SettingsGetResponse* msg); + static const ::flyteidl::admin::ProjectLevel& project_level(const SettingsGetResponse* msg); + static const ::flyteidl::admin::DomainLevel& domain_level(const SettingsGetResponse* msg); + static const ::flyteidl::admin::WorkflowLevel& workflow_level(const SettingsGetResponse* msg); + static const ::flyteidl::admin::LaunchplanLevel& launchplan_level(const SettingsGetResponse* msg); + static const ::flyteidl::admin::SettingsCollection& settings(const SettingsGetResponse* msg); +}; + +const ::flyteidl::admin::GlobalLevel& +SettingsGetResponse::HasBitSetters::global_level(const SettingsGetResponse* msg) { + return *msg->level_.global_level_; +} +const ::flyteidl::admin::ProjectLevel& +SettingsGetResponse::HasBitSetters::project_level(const SettingsGetResponse* msg) { + return *msg->level_.project_level_; +} +const ::flyteidl::admin::DomainLevel& +SettingsGetResponse::HasBitSetters::domain_level(const SettingsGetResponse* msg) { + return *msg->level_.domain_level_; +} +const ::flyteidl::admin::WorkflowLevel& +SettingsGetResponse::HasBitSetters::workflow_level(const SettingsGetResponse* msg) { + return *msg->level_.workflow_level_; +} +const ::flyteidl::admin::LaunchplanLevel& +SettingsGetResponse::HasBitSetters::launchplan_level(const SettingsGetResponse* msg) { + return *msg->level_.launchplan_level_; +} +const ::flyteidl::admin::SettingsCollection& +SettingsGetResponse::HasBitSetters::settings(const SettingsGetResponse* msg) { + return *msg->settings_; +} +void SettingsGetResponse::set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (global_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + global_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, global_level, submessage_arena); + } + set_has_global_level(); + level_.global_level_ = global_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetResponse.global_level) +} +void SettingsGetResponse::set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (project_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + project_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, project_level, submessage_arena); + } + set_has_project_level(); + level_.project_level_ = project_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetResponse.project_level) +} +void SettingsGetResponse::set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (domain_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + domain_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, domain_level, submessage_arena); + } + set_has_domain_level(); + level_.domain_level_ = domain_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetResponse.domain_level) +} +void SettingsGetResponse::set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (workflow_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_level, submessage_arena); + } + set_has_workflow_level(); + level_.workflow_level_ = workflow_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetResponse.workflow_level) +} +void SettingsGetResponse::set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (launchplan_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + launchplan_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, launchplan_level, submessage_arena); + } + set_has_launchplan_level(); + level_.launchplan_level_ = launchplan_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetResponse.launchplan_level) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SettingsGetResponse::kGlobalLevelFieldNumber; +const int SettingsGetResponse::kProjectLevelFieldNumber; +const int SettingsGetResponse::kDomainLevelFieldNumber; +const int SettingsGetResponse::kWorkflowLevelFieldNumber; +const int SettingsGetResponse::kLaunchplanLevelFieldNumber; +const int SettingsGetResponse::kSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SettingsGetResponse::SettingsGetResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.SettingsGetResponse) +} +SettingsGetResponse::SettingsGetResponse(const SettingsGetResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_settings()) { + settings_ = new ::flyteidl::admin::SettingsCollection(*from.settings_); + } else { + settings_ = nullptr; + } + clear_has_level(); + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SettingsGetResponse) +} + +void SettingsGetResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_SettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto.base); + settings_ = nullptr; + clear_has_level(); +} + +SettingsGetResponse::~SettingsGetResponse() { + // @@protoc_insertion_point(destructor:flyteidl.admin.SettingsGetResponse) + SharedDtor(); +} + +void SettingsGetResponse::SharedDtor() { + if (this != internal_default_instance()) delete settings_; + if (has_level()) { + clear_level(); + } +} + +void SettingsGetResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const SettingsGetResponse& SettingsGetResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_SettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void SettingsGetResponse::clear_level() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.SettingsGetResponse) + switch (level_case()) { + case kGlobalLevel: { + delete level_.global_level_; + break; + } + case kProjectLevel: { + delete level_.project_level_; + break; + } + case kDomainLevel: { + delete level_.domain_level_; + break; + } + case kWorkflowLevel: { + delete level_.workflow_level_; + break; + } + case kLaunchplanLevel: { + delete level_.launchplan_level_; + break; + } + case LEVEL_NOT_SET: { + break; + } + } + _oneof_case_[0] = LEVEL_NOT_SET; +} + + +void SettingsGetResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SettingsGetResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; + clear_level(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* SettingsGetResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::GlobalLevel::_InternalParse; + object = msg->mutable_global_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::ProjectLevel::_InternalParse; + object = msg->mutable_project_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::DomainLevel::_InternalParse; + object = msg->mutable_domain_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::WorkflowLevel::_InternalParse; + object = msg->mutable_workflow_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::LaunchplanLevel::_InternalParse; + object = msg->mutable_launchplan_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.SettingsCollection settings = 6; + case 6: { + if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::SettingsCollection::_InternalParse; + object = msg->mutable_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool SettingsGetResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.SettingsGetResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_global_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_project_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_domain_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_launchplan_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.SettingsCollection settings = 6; + case 6: { + if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_settings())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.SettingsGetResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.SettingsGetResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void SettingsGetResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.SettingsGetResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::global_level(this), output); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::project_level(this), output); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::domain_level(this), output); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::workflow_level(this), output); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::launchplan_level(this), output); + } + + // .flyteidl.admin.SettingsCollection settings = 6; + if (this->has_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 6, HasBitSetters::settings(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.SettingsGetResponse) +} + +::google::protobuf::uint8* SettingsGetResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SettingsGetResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::global_level(this), target); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::project_level(this), target); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::domain_level(this), target); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::workflow_level(this), target); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::launchplan_level(this), target); + } + + // .flyteidl.admin.SettingsCollection settings = 6; + if (this->has_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, HasBitSetters::settings(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SettingsGetResponse) + return target; +} + +size_t SettingsGetResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SettingsGetResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.admin.SettingsCollection settings = 6; + if (this->has_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *settings_); + } + + switch (level_case()) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case kGlobalLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.global_level_); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case kProjectLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.project_level_); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case kDomainLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.domain_level_); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case kWorkflowLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.workflow_level_); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case kLaunchplanLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.launchplan_level_); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SettingsGetResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SettingsGetResponse) + GOOGLE_DCHECK_NE(&from, this); + const SettingsGetResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SettingsGetResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SettingsGetResponse) + MergeFrom(*source); + } +} + +void SettingsGetResponse::MergeFrom(const SettingsGetResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SettingsGetResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_settings()) { + mutable_settings()->::flyteidl::admin::SettingsCollection::MergeFrom(from.settings()); + } + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } +} + +void SettingsGetResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SettingsGetResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SettingsGetResponse::CopyFrom(const SettingsGetResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SettingsGetResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SettingsGetResponse::IsInitialized() const { + return true; +} + +void SettingsGetResponse::Swap(SettingsGetResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void SettingsGetResponse::InternalSwap(SettingsGetResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(settings_, other->settings_); + swap(level_, other->level_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata SettingsGetResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void FullSettingsGetRequest::InitAsDefaultInstance() { +} +class FullSettingsGetRequest::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +FullSettingsGetRequest::FullSettingsGetRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.FullSettingsGetRequest) +} +FullSettingsGetRequest::FullSettingsGetRequest(const FullSettingsGetRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.FullSettingsGetRequest) +} + +void FullSettingsGetRequest::SharedCtor() { +} + +FullSettingsGetRequest::~FullSettingsGetRequest() { + // @@protoc_insertion_point(destructor:flyteidl.admin.FullSettingsGetRequest) + SharedDtor(); +} + +void FullSettingsGetRequest::SharedDtor() { +} + +void FullSettingsGetRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const FullSettingsGetRequest& FullSettingsGetRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_FullSettingsGetRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void FullSettingsGetRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.FullSettingsGetRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* FullSettingsGetRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + default: { + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool FullSettingsGetRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.FullSettingsGetRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.FullSettingsGetRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.FullSettingsGetRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void FullSettingsGetRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.FullSettingsGetRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.FullSettingsGetRequest) +} + +::google::protobuf::uint8* FullSettingsGetRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.FullSettingsGetRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.FullSettingsGetRequest) + return target; +} + +size_t FullSettingsGetRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.FullSettingsGetRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void FullSettingsGetRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.FullSettingsGetRequest) + GOOGLE_DCHECK_NE(&from, this); + const FullSettingsGetRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.FullSettingsGetRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.FullSettingsGetRequest) + MergeFrom(*source); + } +} + +void FullSettingsGetRequest::MergeFrom(const FullSettingsGetRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.FullSettingsGetRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void FullSettingsGetRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.FullSettingsGetRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void FullSettingsGetRequest::CopyFrom(const FullSettingsGetRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.FullSettingsGetRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool FullSettingsGetRequest::IsInitialized() const { + return true; +} + +void FullSettingsGetRequest::Swap(FullSettingsGetRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void FullSettingsGetRequest::InternalSwap(FullSettingsGetRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata FullSettingsGetRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void FullSettingsGetResponse::InitAsDefaultInstance() { + ::flyteidl::admin::_FullSettingsGetResponse_default_instance_._instance.get_mutable()->settings_ = const_cast< ::flyteidl::admin::Settings*>( + ::flyteidl::admin::Settings::internal_default_instance()); +} +class FullSettingsGetResponse::HasBitSetters { + public: + static const ::flyteidl::admin::Settings& settings(const FullSettingsGetResponse* msg); +}; + +const ::flyteidl::admin::Settings& +FullSettingsGetResponse::HasBitSetters::settings(const FullSettingsGetResponse* msg) { + return *msg->settings_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int FullSettingsGetResponse::kSettingsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +FullSettingsGetResponse::FullSettingsGetResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.FullSettingsGetResponse) +} +FullSettingsGetResponse::FullSettingsGetResponse(const FullSettingsGetResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_settings()) { + settings_ = new ::flyteidl::admin::Settings(*from.settings_); + } else { + settings_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.FullSettingsGetResponse) +} + +void FullSettingsGetResponse::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_FullSettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto.base); + settings_ = nullptr; +} + +FullSettingsGetResponse::~FullSettingsGetResponse() { + // @@protoc_insertion_point(destructor:flyteidl.admin.FullSettingsGetResponse) + SharedDtor(); +} + +void FullSettingsGetResponse::SharedDtor() { + if (this != internal_default_instance()) delete settings_; +} + +void FullSettingsGetResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const FullSettingsGetResponse& FullSettingsGetResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_FullSettingsGetResponse_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void FullSettingsGetResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.FullSettingsGetResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* FullSettingsGetResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.admin.Settings settings = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::Settings::_InternalParse; + object = msg->mutable_settings(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool FullSettingsGetResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.FullSettingsGetResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.admin.Settings settings = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_settings())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.FullSettingsGetResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.FullSettingsGetResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void FullSettingsGetResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.FullSettingsGetResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.Settings settings = 1; + if (this->has_settings()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::settings(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.FullSettingsGetResponse) +} + +::google::protobuf::uint8* FullSettingsGetResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.FullSettingsGetResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.Settings settings = 1; + if (this->has_settings()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::settings(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.FullSettingsGetResponse) + return target; +} + +size_t FullSettingsGetResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.FullSettingsGetResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .flyteidl.admin.Settings settings = 1; + if (this->has_settings()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *settings_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void FullSettingsGetResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.FullSettingsGetResponse) + GOOGLE_DCHECK_NE(&from, this); + const FullSettingsGetResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.FullSettingsGetResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.FullSettingsGetResponse) + MergeFrom(*source); + } +} + +void FullSettingsGetResponse::MergeFrom(const FullSettingsGetResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.FullSettingsGetResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_settings()) { + mutable_settings()->::flyteidl::admin::Settings::MergeFrom(from.settings()); + } +} + +void FullSettingsGetResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.FullSettingsGetResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void FullSettingsGetResponse::CopyFrom(const FullSettingsGetResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.FullSettingsGetResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool FullSettingsGetResponse::IsInitialized() const { + return true; +} + +void FullSettingsGetResponse::Swap(FullSettingsGetResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void FullSettingsGetResponse::InternalSwap(FullSettingsGetResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(settings_, other->settings_); +} + +::google::protobuf::Metadata FullSettingsGetResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void SettingsDeleteRequest::InitAsDefaultInstance() { + ::flyteidl::admin::_SettingsDeleteRequest_default_instance_.global_level_ = const_cast< ::flyteidl::admin::GlobalLevel*>( + ::flyteidl::admin::GlobalLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsDeleteRequest_default_instance_.project_level_ = const_cast< ::flyteidl::admin::ProjectLevel*>( + ::flyteidl::admin::ProjectLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsDeleteRequest_default_instance_.domain_level_ = const_cast< ::flyteidl::admin::DomainLevel*>( + ::flyteidl::admin::DomainLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsDeleteRequest_default_instance_.workflow_level_ = const_cast< ::flyteidl::admin::WorkflowLevel*>( + ::flyteidl::admin::WorkflowLevel::internal_default_instance()); + ::flyteidl::admin::_SettingsDeleteRequest_default_instance_.launchplan_level_ = const_cast< ::flyteidl::admin::LaunchplanLevel*>( + ::flyteidl::admin::LaunchplanLevel::internal_default_instance()); +} +class SettingsDeleteRequest::HasBitSetters { + public: + static const ::flyteidl::admin::GlobalLevel& global_level(const SettingsDeleteRequest* msg); + static const ::flyteidl::admin::ProjectLevel& project_level(const SettingsDeleteRequest* msg); + static const ::flyteidl::admin::DomainLevel& domain_level(const SettingsDeleteRequest* msg); + static const ::flyteidl::admin::WorkflowLevel& workflow_level(const SettingsDeleteRequest* msg); + static const ::flyteidl::admin::LaunchplanLevel& launchplan_level(const SettingsDeleteRequest* msg); +}; + +const ::flyteidl::admin::GlobalLevel& +SettingsDeleteRequest::HasBitSetters::global_level(const SettingsDeleteRequest* msg) { + return *msg->level_.global_level_; +} +const ::flyteidl::admin::ProjectLevel& +SettingsDeleteRequest::HasBitSetters::project_level(const SettingsDeleteRequest* msg) { + return *msg->level_.project_level_; +} +const ::flyteidl::admin::DomainLevel& +SettingsDeleteRequest::HasBitSetters::domain_level(const SettingsDeleteRequest* msg) { + return *msg->level_.domain_level_; +} +const ::flyteidl::admin::WorkflowLevel& +SettingsDeleteRequest::HasBitSetters::workflow_level(const SettingsDeleteRequest* msg) { + return *msg->level_.workflow_level_; +} +const ::flyteidl::admin::LaunchplanLevel& +SettingsDeleteRequest::HasBitSetters::launchplan_level(const SettingsDeleteRequest* msg) { + return *msg->level_.launchplan_level_; +} +void SettingsDeleteRequest::set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (global_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + global_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, global_level, submessage_arena); + } + set_has_global_level(); + level_.global_level_ = global_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsDeleteRequest.global_level) +} +void SettingsDeleteRequest::set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (project_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + project_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, project_level, submessage_arena); + } + set_has_project_level(); + level_.project_level_ = project_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsDeleteRequest.project_level) +} +void SettingsDeleteRequest::set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (domain_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + domain_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, domain_level, submessage_arena); + } + set_has_domain_level(); + level_.domain_level_ = domain_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsDeleteRequest.domain_level) +} +void SettingsDeleteRequest::set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (workflow_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_level, submessage_arena); + } + set_has_workflow_level(); + level_.workflow_level_ = workflow_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsDeleteRequest.workflow_level) +} +void SettingsDeleteRequest::set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_level(); + if (launchplan_level) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + launchplan_level = ::google::protobuf::internal::GetOwnedMessage( + message_arena, launchplan_level, submessage_arena); + } + set_has_launchplan_level(); + level_.launchplan_level_ = launchplan_level; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsDeleteRequest.launchplan_level) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int SettingsDeleteRequest::kGlobalLevelFieldNumber; +const int SettingsDeleteRequest::kProjectLevelFieldNumber; +const int SettingsDeleteRequest::kDomainLevelFieldNumber; +const int SettingsDeleteRequest::kWorkflowLevelFieldNumber; +const int SettingsDeleteRequest::kLaunchplanLevelFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SettingsDeleteRequest::SettingsDeleteRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.SettingsDeleteRequest) +} +SettingsDeleteRequest::SettingsDeleteRequest(const SettingsDeleteRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + clear_has_level(); + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SettingsDeleteRequest) +} + +void SettingsDeleteRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_SettingsDeleteRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + clear_has_level(); +} + +SettingsDeleteRequest::~SettingsDeleteRequest() { + // @@protoc_insertion_point(destructor:flyteidl.admin.SettingsDeleteRequest) + SharedDtor(); +} + +void SettingsDeleteRequest::SharedDtor() { + if (has_level()) { + clear_level(); + } +} + +void SettingsDeleteRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const SettingsDeleteRequest& SettingsDeleteRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_SettingsDeleteRequest_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void SettingsDeleteRequest::clear_level() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.SettingsDeleteRequest) + switch (level_case()) { + case kGlobalLevel: { + delete level_.global_level_; + break; + } + case kProjectLevel: { + delete level_.project_level_; + break; + } + case kDomainLevel: { + delete level_.domain_level_; + break; + } + case kWorkflowLevel: { + delete level_.workflow_level_; + break; + } + case kLaunchplanLevel: { + delete level_.launchplan_level_; + break; + } + case LEVEL_NOT_SET: { + break; + } + } + _oneof_case_[0] = LEVEL_NOT_SET; +} + + +void SettingsDeleteRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SettingsDeleteRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_level(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* SettingsDeleteRequest::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::GlobalLevel::_InternalParse; + object = msg->mutable_global_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::ProjectLevel::_InternalParse; + object = msg->mutable_project_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::DomainLevel::_InternalParse; + object = msg->mutable_domain_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::WorkflowLevel::_InternalParse; + object = msg->mutable_workflow_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::LaunchplanLevel::_InternalParse; + object = msg->mutable_launchplan_level(); + if (size > end - ptr) goto len_delim_till_end; + ptr += size; + GOOGLE_PROTOBUF_PARSER_ASSERT(ctx->ParseExactRange( + {parser_till_end, object}, ptr - size, ptr)); + break; + } + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +len_delim_till_end: + return ctx->StoreAndTailCall(ptr, end, {_InternalParse, msg}, + {parser_till_end, object}, size); +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool SettingsDeleteRequest::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.SettingsDeleteRequest) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_global_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_project_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_domain_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_workflow_level())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case 5: { + if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_launchplan_level())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.SettingsDeleteRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.SettingsDeleteRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void SettingsDeleteRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.SettingsDeleteRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::global_level(this), output); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::project_level(this), output); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::domain_level(this), output); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::workflow_level(this), output); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 5, HasBitSetters::launchplan_level(this), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.SettingsDeleteRequest) +} + +::google::protobuf::uint8* SettingsDeleteRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SettingsDeleteRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.GlobalLevel global_level = 1; + if (has_global_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::global_level(this), target); + } + + // .flyteidl.admin.ProjectLevel project_level = 2; + if (has_project_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::project_level(this), target); + } + + // .flyteidl.admin.DomainLevel domain_level = 3; + if (has_domain_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::domain_level(this), target); + } + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + if (has_workflow_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::workflow_level(this), target); + } + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + if (has_launchplan_level()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, HasBitSetters::launchplan_level(this), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SettingsDeleteRequest) + return target; +} + +size_t SettingsDeleteRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SettingsDeleteRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch (level_case()) { + // .flyteidl.admin.GlobalLevel global_level = 1; + case kGlobalLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.global_level_); + break; + } + // .flyteidl.admin.ProjectLevel project_level = 2; + case kProjectLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.project_level_); + break; + } + // .flyteidl.admin.DomainLevel domain_level = 3; + case kDomainLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.domain_level_); + break; + } + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + case kWorkflowLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.workflow_level_); + break; + } + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + case kLaunchplanLevel: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *level_.launchplan_level_); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SettingsDeleteRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SettingsDeleteRequest) + GOOGLE_DCHECK_NE(&from, this); + const SettingsDeleteRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SettingsDeleteRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SettingsDeleteRequest) + MergeFrom(*source); + } +} + +void SettingsDeleteRequest::MergeFrom(const SettingsDeleteRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SettingsDeleteRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + switch (from.level_case()) { + case kGlobalLevel: { + mutable_global_level()->::flyteidl::admin::GlobalLevel::MergeFrom(from.global_level()); + break; + } + case kProjectLevel: { + mutable_project_level()->::flyteidl::admin::ProjectLevel::MergeFrom(from.project_level()); + break; + } + case kDomainLevel: { + mutable_domain_level()->::flyteidl::admin::DomainLevel::MergeFrom(from.domain_level()); + break; + } + case kWorkflowLevel: { + mutable_workflow_level()->::flyteidl::admin::WorkflowLevel::MergeFrom(from.workflow_level()); + break; + } + case kLaunchplanLevel: { + mutable_launchplan_level()->::flyteidl::admin::LaunchplanLevel::MergeFrom(from.launchplan_level()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } +} + +void SettingsDeleteRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SettingsDeleteRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SettingsDeleteRequest::CopyFrom(const SettingsDeleteRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SettingsDeleteRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SettingsDeleteRequest::IsInitialized() const { + return true; +} + +void SettingsDeleteRequest::Swap(SettingsDeleteRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void SettingsDeleteRequest::InternalSwap(SettingsDeleteRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(level_, other->level_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata SettingsDeleteRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void SettingsDeleteResponse::InitAsDefaultInstance() { +} +class SettingsDeleteResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +SettingsDeleteResponse::SettingsDeleteResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.SettingsDeleteResponse) +} +SettingsDeleteResponse::SettingsDeleteResponse(const SettingsDeleteResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.SettingsDeleteResponse) +} + +void SettingsDeleteResponse::SharedCtor() { +} + +SettingsDeleteResponse::~SettingsDeleteResponse() { + // @@protoc_insertion_point(destructor:flyteidl.admin.SettingsDeleteResponse) + SharedDtor(); +} + +void SettingsDeleteResponse::SharedDtor() { +} + +void SettingsDeleteResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const SettingsDeleteResponse& SettingsDeleteResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_SettingsDeleteResponse_flyteidl_2fadmin_2fsettings_2eproto.base); + return *internal_default_instance(); +} + + +void SettingsDeleteResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.SettingsDeleteResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* SettingsDeleteResponse::_InternalParse(const char* begin, const char* end, void* object, + ::google::protobuf::internal::ParseContext* ctx) { + auto msg = static_cast(object); + ::google::protobuf::int32 size; (void)size; + int depth; (void)depth; + ::google::protobuf::uint32 tag; + ::google::protobuf::internal::ParseFunc parser_till_end; (void)parser_till_end; + auto ptr = begin; + while (ptr < end) { + ptr = ::google::protobuf::io::Parse32(ptr, &tag); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + switch (tag >> 3) { + default: { + if ((tag & 7) == 4 || tag == 0) { + ctx->EndGroup(tag); + return ptr; + } + auto res = UnknownFieldParse(tag, {_InternalParse, msg}, + ptr, end, msg->_internal_metadata_.mutable_unknown_fields(), ctx); + ptr = res.first; + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr != nullptr); + if (res.second) return ptr; + } + } // switch + } // while + return ptr; +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool SettingsDeleteResponse::MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::google::protobuf::uint32 tag; + // @@protoc_insertion_point(parse_start:flyteidl.admin.SettingsDeleteResponse) + for (;;) { + ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::google::protobuf::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + } +success: + // @@protoc_insertion_point(parse_success:flyteidl.admin.SettingsDeleteResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.SettingsDeleteResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void SettingsDeleteResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.SettingsDeleteResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.SettingsDeleteResponse) +} + +::google::protobuf::uint8* SettingsDeleteResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.SettingsDeleteResponse) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (_internal_metadata_.have_unknown_fields()) { + target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:flyteidl.admin.SettingsDeleteResponse) + return target; +} + +size_t SettingsDeleteResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.SettingsDeleteResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void SettingsDeleteResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.SettingsDeleteResponse) + GOOGLE_DCHECK_NE(&from, this); + const SettingsDeleteResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.SettingsDeleteResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.SettingsDeleteResponse) + MergeFrom(*source); + } +} + +void SettingsDeleteResponse::MergeFrom(const SettingsDeleteResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.SettingsDeleteResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void SettingsDeleteResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.SettingsDeleteResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void SettingsDeleteResponse::CopyFrom(const SettingsDeleteResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.SettingsDeleteResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SettingsDeleteResponse::IsInitialized() const { + return true; +} + +void SettingsDeleteResponse::Swap(SettingsDeleteResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void SettingsDeleteResponse::InternalSwap(SettingsDeleteResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata SettingsDeleteResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fsettings_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::admin::SettingsCollection* Arena::CreateMaybeMessage< ::flyteidl::admin::SettingsCollection >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::SettingsCollection >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::Settings* Arena::CreateMaybeMessage< ::flyteidl::admin::Settings >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::Settings >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectSettings* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectSettings >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ProjectSettings >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::DomainSettings* Arena::CreateMaybeMessage< ::flyteidl::admin::DomainSettings >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::DomainSettings >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowSettings* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowSettings >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::WorkflowSettings >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchplanSettings* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchplanSettings >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::LaunchplanSettings >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::GlobalLevel* Arena::CreateMaybeMessage< ::flyteidl::admin::GlobalLevel >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::GlobalLevel >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectLevel* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectLevel >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ProjectLevel >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::DomainLevel* Arena::CreateMaybeMessage< ::flyteidl::admin::DomainLevel >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::DomainLevel >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowLevel* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowLevel >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::WorkflowLevel >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::LaunchplanLevel* Arena::CreateMaybeMessage< ::flyteidl::admin::LaunchplanLevel >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::LaunchplanLevel >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::SettingsUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::SettingsUpdateRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::SettingsUpdateRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::FullSettingsUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::FullSettingsUpdateRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::FullSettingsUpdateRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::FullSettingsUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::FullSettingsUpdateResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::FullSettingsUpdateResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::SettingsGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::SettingsGetRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::SettingsGetRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::SettingsGetResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::SettingsGetResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::SettingsGetResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::FullSettingsGetRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::FullSettingsGetRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::FullSettingsGetRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::FullSettingsGetResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::FullSettingsGetResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::FullSettingsGetResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::SettingsDeleteRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::SettingsDeleteRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::SettingsDeleteRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::SettingsDeleteResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::SettingsDeleteResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::SettingsDeleteResponse >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/gen/pb-cpp/flyteidl/admin/settings.pb.h b/gen/pb-cpp/flyteidl/admin/settings.pb.h new file mode 100644 index 000000000..aea75ba7b --- /dev/null +++ b/gen/pb-cpp/flyteidl/admin/settings.pb.h @@ -0,0 +1,6028 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/settings.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fsettings_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fsettings_2eproto + +#include +#include + +#include +#if PROTOBUF_VERSION < 3007000 +#error This file was generated by a newer version of protoc which is +#error incompatible with your Protocol Buffer headers. Please update +#error your headers. +#endif +#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION +#error This file was generated by an older version of protoc which is +#error incompatible with your Protocol Buffer headers. Please +#error regenerate this file with a newer version of protoc. +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include +#include +#include +#include "flyteidl/admin/matchable_resource.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fadmin_2fsettings_2eproto { + static const ::google::protobuf::internal::ParseTableField entries[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::AuxillaryParseTableField aux[] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::ParseTable schema[24] + PROTOBUF_SECTION_VARIABLE(protodesc_cold); + static const ::google::protobuf::internal::FieldMetadata field_metadata[]; + static const ::google::protobuf::internal::SerializationTable serialization_table[]; + static const ::google::protobuf::uint32 offsets[]; +}; +void AddDescriptors_flyteidl_2fadmin_2fsettings_2eproto(); +namespace flyteidl { +namespace admin { +class DomainLevel; +class DomainLevelDefaultTypeInternal; +extern DomainLevelDefaultTypeInternal _DomainLevel_default_instance_; +class DomainSettings; +class DomainSettingsDefaultTypeInternal; +extern DomainSettingsDefaultTypeInternal _DomainSettings_default_instance_; +class DomainSettings_WorkflowSettingsEntry_DoNotUse; +class DomainSettings_WorkflowSettingsEntry_DoNotUseDefaultTypeInternal; +extern DomainSettings_WorkflowSettingsEntry_DoNotUseDefaultTypeInternal _DomainSettings_WorkflowSettingsEntry_DoNotUse_default_instance_; +class FullSettingsGetRequest; +class FullSettingsGetRequestDefaultTypeInternal; +extern FullSettingsGetRequestDefaultTypeInternal _FullSettingsGetRequest_default_instance_; +class FullSettingsGetResponse; +class FullSettingsGetResponseDefaultTypeInternal; +extern FullSettingsGetResponseDefaultTypeInternal _FullSettingsGetResponse_default_instance_; +class FullSettingsUpdateRequest; +class FullSettingsUpdateRequestDefaultTypeInternal; +extern FullSettingsUpdateRequestDefaultTypeInternal _FullSettingsUpdateRequest_default_instance_; +class FullSettingsUpdateResponse; +class FullSettingsUpdateResponseDefaultTypeInternal; +extern FullSettingsUpdateResponseDefaultTypeInternal _FullSettingsUpdateResponse_default_instance_; +class GlobalLevel; +class GlobalLevelDefaultTypeInternal; +extern GlobalLevelDefaultTypeInternal _GlobalLevel_default_instance_; +class LaunchplanLevel; +class LaunchplanLevelDefaultTypeInternal; +extern LaunchplanLevelDefaultTypeInternal _LaunchplanLevel_default_instance_; +class LaunchplanSettings; +class LaunchplanSettingsDefaultTypeInternal; +extern LaunchplanSettingsDefaultTypeInternal _LaunchplanSettings_default_instance_; +class ProjectLevel; +class ProjectLevelDefaultTypeInternal; +extern ProjectLevelDefaultTypeInternal _ProjectLevel_default_instance_; +class ProjectSettings; +class ProjectSettingsDefaultTypeInternal; +extern ProjectSettingsDefaultTypeInternal _ProjectSettings_default_instance_; +class ProjectSettings_DomainSettingsEntry_DoNotUse; +class ProjectSettings_DomainSettingsEntry_DoNotUseDefaultTypeInternal; +extern ProjectSettings_DomainSettingsEntry_DoNotUseDefaultTypeInternal _ProjectSettings_DomainSettingsEntry_DoNotUse_default_instance_; +class Settings; +class SettingsDefaultTypeInternal; +extern SettingsDefaultTypeInternal _Settings_default_instance_; +class SettingsCollection; +class SettingsCollectionDefaultTypeInternal; +extern SettingsCollectionDefaultTypeInternal _SettingsCollection_default_instance_; +class SettingsDeleteRequest; +class SettingsDeleteRequestDefaultTypeInternal; +extern SettingsDeleteRequestDefaultTypeInternal _SettingsDeleteRequest_default_instance_; +class SettingsDeleteResponse; +class SettingsDeleteResponseDefaultTypeInternal; +extern SettingsDeleteResponseDefaultTypeInternal _SettingsDeleteResponse_default_instance_; +class SettingsGetRequest; +class SettingsGetRequestDefaultTypeInternal; +extern SettingsGetRequestDefaultTypeInternal _SettingsGetRequest_default_instance_; +class SettingsGetResponse; +class SettingsGetResponseDefaultTypeInternal; +extern SettingsGetResponseDefaultTypeInternal _SettingsGetResponse_default_instance_; +class SettingsUpdateRequest; +class SettingsUpdateRequestDefaultTypeInternal; +extern SettingsUpdateRequestDefaultTypeInternal _SettingsUpdateRequest_default_instance_; +class Settings_ProjectSettingsEntry_DoNotUse; +class Settings_ProjectSettingsEntry_DoNotUseDefaultTypeInternal; +extern Settings_ProjectSettingsEntry_DoNotUseDefaultTypeInternal _Settings_ProjectSettingsEntry_DoNotUse_default_instance_; +class WorkflowLevel; +class WorkflowLevelDefaultTypeInternal; +extern WorkflowLevelDefaultTypeInternal _WorkflowLevel_default_instance_; +class WorkflowSettings; +class WorkflowSettingsDefaultTypeInternal; +extern WorkflowSettingsDefaultTypeInternal _WorkflowSettings_default_instance_; +class WorkflowSettings_LaunchplanSettingsEntry_DoNotUse; +class WorkflowSettings_LaunchplanSettingsEntry_DoNotUseDefaultTypeInternal; +extern WorkflowSettings_LaunchplanSettingsEntry_DoNotUseDefaultTypeInternal _WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_default_instance_; +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::admin::DomainLevel* Arena::CreateMaybeMessage<::flyteidl::admin::DomainLevel>(Arena*); +template<> ::flyteidl::admin::DomainSettings* Arena::CreateMaybeMessage<::flyteidl::admin::DomainSettings>(Arena*); +template<> ::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::DomainSettings_WorkflowSettingsEntry_DoNotUse>(Arena*); +template<> ::flyteidl::admin::FullSettingsGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::FullSettingsGetRequest>(Arena*); +template<> ::flyteidl::admin::FullSettingsGetResponse* Arena::CreateMaybeMessage<::flyteidl::admin::FullSettingsGetResponse>(Arena*); +template<> ::flyteidl::admin::FullSettingsUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::FullSettingsUpdateRequest>(Arena*); +template<> ::flyteidl::admin::FullSettingsUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::FullSettingsUpdateResponse>(Arena*); +template<> ::flyteidl::admin::GlobalLevel* Arena::CreateMaybeMessage<::flyteidl::admin::GlobalLevel>(Arena*); +template<> ::flyteidl::admin::LaunchplanLevel* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchplanLevel>(Arena*); +template<> ::flyteidl::admin::LaunchplanSettings* Arena::CreateMaybeMessage<::flyteidl::admin::LaunchplanSettings>(Arena*); +template<> ::flyteidl::admin::ProjectLevel* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectLevel>(Arena*); +template<> ::flyteidl::admin::ProjectSettings* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectSettings>(Arena*); +template<> ::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectSettings_DomainSettingsEntry_DoNotUse>(Arena*); +template<> ::flyteidl::admin::Settings* Arena::CreateMaybeMessage<::flyteidl::admin::Settings>(Arena*); +template<> ::flyteidl::admin::SettingsCollection* Arena::CreateMaybeMessage<::flyteidl::admin::SettingsCollection>(Arena*); +template<> ::flyteidl::admin::SettingsDeleteRequest* Arena::CreateMaybeMessage<::flyteidl::admin::SettingsDeleteRequest>(Arena*); +template<> ::flyteidl::admin::SettingsDeleteResponse* Arena::CreateMaybeMessage<::flyteidl::admin::SettingsDeleteResponse>(Arena*); +template<> ::flyteidl::admin::SettingsGetRequest* Arena::CreateMaybeMessage<::flyteidl::admin::SettingsGetRequest>(Arena*); +template<> ::flyteidl::admin::SettingsGetResponse* Arena::CreateMaybeMessage<::flyteidl::admin::SettingsGetResponse>(Arena*); +template<> ::flyteidl::admin::SettingsUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::SettingsUpdateRequest>(Arena*); +template<> ::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::Settings_ProjectSettingsEntry_DoNotUse>(Arena*); +template<> ::flyteidl::admin::WorkflowLevel* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowLevel>(Arena*); +template<> ::flyteidl::admin::WorkflowSettings* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowSettings>(Arena*); +template<> ::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowSettings_LaunchplanSettingsEntry_DoNotUse>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace admin { + +// =================================================================== + +class SettingsCollection final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SettingsCollection) */ { + public: + SettingsCollection(); + virtual ~SettingsCollection(); + + SettingsCollection(const SettingsCollection& from); + + inline SettingsCollection& operator=(const SettingsCollection& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SettingsCollection(SettingsCollection&& from) noexcept + : SettingsCollection() { + *this = ::std::move(from); + } + + inline SettingsCollection& operator=(SettingsCollection&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const SettingsCollection& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SettingsCollection* internal_default_instance() { + return reinterpret_cast( + &_SettingsCollection_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(SettingsCollection* other); + friend void swap(SettingsCollection& a, SettingsCollection& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SettingsCollection* New() const final { + return CreateMaybeMessage(nullptr); + } + + SettingsCollection* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SettingsCollection& from); + void MergeFrom(const SettingsCollection& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SettingsCollection* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + bool has_task_resource_settings() const; + void clear_task_resource_settings(); + static const int kTaskResourceSettingsFieldNumber = 1; + const ::flyteidl::admin::MatchingAttributes& task_resource_settings() const; + ::flyteidl::admin::MatchingAttributes* release_task_resource_settings(); + ::flyteidl::admin::MatchingAttributes* mutable_task_resource_settings(); + void set_allocated_task_resource_settings(::flyteidl::admin::MatchingAttributes* task_resource_settings); + + // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + bool has_cluster_resource_settings() const; + void clear_cluster_resource_settings(); + static const int kClusterResourceSettingsFieldNumber = 2; + const ::flyteidl::admin::MatchingAttributes& cluster_resource_settings() const; + ::flyteidl::admin::MatchingAttributes* release_cluster_resource_settings(); + ::flyteidl::admin::MatchingAttributes* mutable_cluster_resource_settings(); + void set_allocated_cluster_resource_settings(::flyteidl::admin::MatchingAttributes* cluster_resource_settings); + + // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + bool has_execution_queue_settings() const; + void clear_execution_queue_settings(); + static const int kExecutionQueueSettingsFieldNumber = 3; + const ::flyteidl::admin::MatchingAttributes& execution_queue_settings() const; + ::flyteidl::admin::MatchingAttributes* release_execution_queue_settings(); + ::flyteidl::admin::MatchingAttributes* mutable_execution_queue_settings(); + void set_allocated_execution_queue_settings(::flyteidl::admin::MatchingAttributes* execution_queue_settings); + + // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + bool has_execution_cluster_label_settings() const; + void clear_execution_cluster_label_settings(); + static const int kExecutionClusterLabelSettingsFieldNumber = 4; + const ::flyteidl::admin::MatchingAttributes& execution_cluster_label_settings() const; + ::flyteidl::admin::MatchingAttributes* release_execution_cluster_label_settings(); + ::flyteidl::admin::MatchingAttributes* mutable_execution_cluster_label_settings(); + void set_allocated_execution_cluster_label_settings(::flyteidl::admin::MatchingAttributes* execution_cluster_label_settings); + + // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + bool has_quality_of_service_settings() const; + void clear_quality_of_service_settings(); + static const int kQualityOfServiceSettingsFieldNumber = 5; + const ::flyteidl::admin::MatchingAttributes& quality_of_service_settings() const; + ::flyteidl::admin::MatchingAttributes* release_quality_of_service_settings(); + ::flyteidl::admin::MatchingAttributes* mutable_quality_of_service_settings(); + void set_allocated_quality_of_service_settings(::flyteidl::admin::MatchingAttributes* quality_of_service_settings); + + // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + bool has_plugin_override_settings() const; + void clear_plugin_override_settings(); + static const int kPluginOverrideSettingsFieldNumber = 6; + const ::flyteidl::admin::MatchingAttributes& plugin_override_settings() const; + ::flyteidl::admin::MatchingAttributes* release_plugin_override_settings(); + ::flyteidl::admin::MatchingAttributes* mutable_plugin_override_settings(); + void set_allocated_plugin_override_settings(::flyteidl::admin::MatchingAttributes* plugin_override_settings); + + // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + bool has_workflow_execution_settings() const; + void clear_workflow_execution_settings(); + static const int kWorkflowExecutionSettingsFieldNumber = 7; + const ::flyteidl::admin::MatchingAttributes& workflow_execution_settings() const; + ::flyteidl::admin::MatchingAttributes* release_workflow_execution_settings(); + ::flyteidl::admin::MatchingAttributes* mutable_workflow_execution_settings(); + void set_allocated_workflow_execution_settings(::flyteidl::admin::MatchingAttributes* workflow_execution_settings); + + // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + bool has_cluster_assignment_settings() const; + void clear_cluster_assignment_settings(); + static const int kClusterAssignmentSettingsFieldNumber = 8; + const ::flyteidl::admin::MatchingAttributes& cluster_assignment_settings() const; + ::flyteidl::admin::MatchingAttributes* release_cluster_assignment_settings(); + ::flyteidl::admin::MatchingAttributes* mutable_cluster_assignment_settings(); + void set_allocated_cluster_assignment_settings(::flyteidl::admin::MatchingAttributes* cluster_assignment_settings); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsCollection) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::MatchingAttributes* task_resource_settings_; + ::flyteidl::admin::MatchingAttributes* cluster_resource_settings_; + ::flyteidl::admin::MatchingAttributes* execution_queue_settings_; + ::flyteidl::admin::MatchingAttributes* execution_cluster_label_settings_; + ::flyteidl::admin::MatchingAttributes* quality_of_service_settings_; + ::flyteidl::admin::MatchingAttributes* plugin_override_settings_; + ::flyteidl::admin::MatchingAttributes* workflow_execution_settings_; + ::flyteidl::admin::MatchingAttributes* cluster_assignment_settings_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class Settings_ProjectSettingsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry { +public: +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + typedef ::google::protobuf::internal::MapEntry SuperType; + Settings_ProjectSettingsEntry_DoNotUse(); + Settings_ProjectSettingsEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const Settings_ProjectSettingsEntry_DoNotUse& other); + static const Settings_ProjectSettingsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_Settings_ProjectSettingsEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class Settings final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.Settings) */ { + public: + Settings(); + virtual ~Settings(); + + Settings(const Settings& from); + + inline Settings& operator=(const Settings& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + Settings(Settings&& from) noexcept + : Settings() { + *this = ::std::move(from); + } + + inline Settings& operator=(Settings&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const Settings& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const Settings* internal_default_instance() { + return reinterpret_cast( + &_Settings_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(Settings* other); + friend void swap(Settings& a, Settings& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline Settings* New() const final { + return CreateMaybeMessage(nullptr); + } + + Settings* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const Settings& from); + void MergeFrom(const Settings& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(Settings* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + // map project_settings = 2; + int project_settings_size() const; + void clear_project_settings(); + static const int kProjectSettingsFieldNumber = 2; + const ::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >& + project_settings() const; + ::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >* + mutable_project_settings(); + + // .flyteidl.admin.SettingsCollection global = 1; + bool has_global() const; + void clear_global(); + static const int kGlobalFieldNumber = 1; + const ::flyteidl::admin::SettingsCollection& global() const; + ::flyteidl::admin::SettingsCollection* release_global(); + ::flyteidl::admin::SettingsCollection* mutable_global(); + void set_allocated_global(::flyteidl::admin::SettingsCollection* global); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.Settings) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::MapField< + Settings_ProjectSettingsEntry_DoNotUse, + ::std::string, ::flyteidl::admin::ProjectSettings, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 > project_settings_; + ::flyteidl::admin::SettingsCollection* global_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class ProjectSettings_DomainSettingsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry { +public: +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + typedef ::google::protobuf::internal::MapEntry SuperType; + ProjectSettings_DomainSettingsEntry_DoNotUse(); + ProjectSettings_DomainSettingsEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const ProjectSettings_DomainSettingsEntry_DoNotUse& other); + static const ProjectSettings_DomainSettingsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_ProjectSettings_DomainSettingsEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class ProjectSettings final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectSettings) */ { + public: + ProjectSettings(); + virtual ~ProjectSettings(); + + ProjectSettings(const ProjectSettings& from); + + inline ProjectSettings& operator=(const ProjectSettings& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ProjectSettings(ProjectSettings&& from) noexcept + : ProjectSettings() { + *this = ::std::move(from); + } + + inline ProjectSettings& operator=(ProjectSettings&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ProjectSettings& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ProjectSettings* internal_default_instance() { + return reinterpret_cast( + &_ProjectSettings_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + void Swap(ProjectSettings* other); + friend void swap(ProjectSettings& a, ProjectSettings& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ProjectSettings* New() const final { + return CreateMaybeMessage(nullptr); + } + + ProjectSettings* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ProjectSettings& from); + void MergeFrom(const ProjectSettings& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ProjectSettings* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + // map domain_settings = 3; + int domain_settings_size() const; + void clear_domain_settings(); + static const int kDomainSettingsFieldNumber = 3; + const ::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >& + domain_settings() const; + ::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >* + mutable_domain_settings(); + + // string project = 1; + void clear_project(); + static const int kProjectFieldNumber = 1; + const ::std::string& project() const; + void set_project(const ::std::string& value); + #if LANG_CXX11 + void set_project(::std::string&& value); + #endif + void set_project(const char* value); + void set_project(const char* value, size_t size); + ::std::string* mutable_project(); + ::std::string* release_project(); + void set_allocated_project(::std::string* project); + + // .flyteidl.admin.SettingsCollection settings = 2; + bool has_settings() const; + void clear_settings(); + static const int kSettingsFieldNumber = 2; + const ::flyteidl::admin::SettingsCollection& settings() const; + ::flyteidl::admin::SettingsCollection* release_settings(); + ::flyteidl::admin::SettingsCollection* mutable_settings(); + void set_allocated_settings(::flyteidl::admin::SettingsCollection* settings); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectSettings) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::MapField< + ProjectSettings_DomainSettingsEntry_DoNotUse, + ::std::string, ::flyteidl::admin::DomainSettings, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 > domain_settings_; + ::google::protobuf::internal::ArenaStringPtr project_; + ::flyteidl::admin::SettingsCollection* settings_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class DomainSettings_WorkflowSettingsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry { +public: +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + typedef ::google::protobuf::internal::MapEntry SuperType; + DomainSettings_WorkflowSettingsEntry_DoNotUse(); + DomainSettings_WorkflowSettingsEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const DomainSettings_WorkflowSettingsEntry_DoNotUse& other); + static const DomainSettings_WorkflowSettingsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_DomainSettings_WorkflowSettingsEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class DomainSettings final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.DomainSettings) */ { + public: + DomainSettings(); + virtual ~DomainSettings(); + + DomainSettings(const DomainSettings& from); + + inline DomainSettings& operator=(const DomainSettings& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DomainSettings(DomainSettings&& from) noexcept + : DomainSettings() { + *this = ::std::move(from); + } + + inline DomainSettings& operator=(DomainSettings&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DomainSettings& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DomainSettings* internal_default_instance() { + return reinterpret_cast( + &_DomainSettings_default_instance_); + } + static constexpr int kIndexInFileMessages = + 6; + + void Swap(DomainSettings* other); + friend void swap(DomainSettings& a, DomainSettings& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DomainSettings* New() const final { + return CreateMaybeMessage(nullptr); + } + + DomainSettings* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DomainSettings& from); + void MergeFrom(const DomainSettings& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DomainSettings* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + // map workflow_settings = 3; + int workflow_settings_size() const; + void clear_workflow_settings(); + static const int kWorkflowSettingsFieldNumber = 3; + const ::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >& + workflow_settings() const; + ::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >* + mutable_workflow_settings(); + + // string domain = 1; + void clear_domain(); + static const int kDomainFieldNumber = 1; + const ::std::string& domain() const; + void set_domain(const ::std::string& value); + #if LANG_CXX11 + void set_domain(::std::string&& value); + #endif + void set_domain(const char* value); + void set_domain(const char* value, size_t size); + ::std::string* mutable_domain(); + ::std::string* release_domain(); + void set_allocated_domain(::std::string* domain); + + // .flyteidl.admin.SettingsCollection settings = 2; + bool has_settings() const; + void clear_settings(); + static const int kSettingsFieldNumber = 2; + const ::flyteidl::admin::SettingsCollection& settings() const; + ::flyteidl::admin::SettingsCollection* release_settings(); + ::flyteidl::admin::SettingsCollection* mutable_settings(); + void set_allocated_settings(::flyteidl::admin::SettingsCollection* settings); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.DomainSettings) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::MapField< + DomainSettings_WorkflowSettingsEntry_DoNotUse, + ::std::string, ::flyteidl::admin::WorkflowSettings, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 > workflow_settings_; + ::google::protobuf::internal::ArenaStringPtr domain_; + ::flyteidl::admin::SettingsCollection* settings_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class WorkflowSettings_LaunchplanSettingsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry { +public: +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + typedef ::google::protobuf::internal::MapEntry SuperType; + WorkflowSettings_LaunchplanSettingsEntry_DoNotUse(); + WorkflowSettings_LaunchplanSettingsEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const WorkflowSettings_LaunchplanSettingsEntry_DoNotUse& other); + static const WorkflowSettings_LaunchplanSettingsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class WorkflowSettings final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowSettings) */ { + public: + WorkflowSettings(); + virtual ~WorkflowSettings(); + + WorkflowSettings(const WorkflowSettings& from); + + inline WorkflowSettings& operator=(const WorkflowSettings& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + WorkflowSettings(WorkflowSettings&& from) noexcept + : WorkflowSettings() { + *this = ::std::move(from); + } + + inline WorkflowSettings& operator=(WorkflowSettings&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const WorkflowSettings& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const WorkflowSettings* internal_default_instance() { + return reinterpret_cast( + &_WorkflowSettings_default_instance_); + } + static constexpr int kIndexInFileMessages = + 8; + + void Swap(WorkflowSettings* other); + friend void swap(WorkflowSettings& a, WorkflowSettings& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline WorkflowSettings* New() const final { + return CreateMaybeMessage(nullptr); + } + + WorkflowSettings* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const WorkflowSettings& from); + void MergeFrom(const WorkflowSettings& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(WorkflowSettings* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + + // accessors ------------------------------------------------------- + + // map launchplan_settings = 3; + int launchplan_settings_size() const; + void clear_launchplan_settings(); + static const int kLaunchplanSettingsFieldNumber = 3; + const ::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >& + launchplan_settings() const; + ::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >* + mutable_launchplan_settings(); + + // string workflow = 1; + void clear_workflow(); + static const int kWorkflowFieldNumber = 1; + const ::std::string& workflow() const; + void set_workflow(const ::std::string& value); + #if LANG_CXX11 + void set_workflow(::std::string&& value); + #endif + void set_workflow(const char* value); + void set_workflow(const char* value, size_t size); + ::std::string* mutable_workflow(); + ::std::string* release_workflow(); + void set_allocated_workflow(::std::string* workflow); + + // .flyteidl.admin.SettingsCollection settings = 2; + bool has_settings() const; + void clear_settings(); + static const int kSettingsFieldNumber = 2; + const ::flyteidl::admin::SettingsCollection& settings() const; + ::flyteidl::admin::SettingsCollection* release_settings(); + ::flyteidl::admin::SettingsCollection* mutable_settings(); + void set_allocated_settings(::flyteidl::admin::SettingsCollection* settings); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowSettings) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::MapField< + WorkflowSettings_LaunchplanSettingsEntry_DoNotUse, + ::std::string, ::flyteidl::admin::LaunchplanSettings, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE, + 0 > launchplan_settings_; + ::google::protobuf::internal::ArenaStringPtr workflow_; + ::flyteidl::admin::SettingsCollection* settings_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class LaunchplanSettings final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchplanSettings) */ { + public: + LaunchplanSettings(); + virtual ~LaunchplanSettings(); + + LaunchplanSettings(const LaunchplanSettings& from); + + inline LaunchplanSettings& operator=(const LaunchplanSettings& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + LaunchplanSettings(LaunchplanSettings&& from) noexcept + : LaunchplanSettings() { + *this = ::std::move(from); + } + + inline LaunchplanSettings& operator=(LaunchplanSettings&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const LaunchplanSettings& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const LaunchplanSettings* internal_default_instance() { + return reinterpret_cast( + &_LaunchplanSettings_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + void Swap(LaunchplanSettings* other); + friend void swap(LaunchplanSettings& a, LaunchplanSettings& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline LaunchplanSettings* New() const final { + return CreateMaybeMessage(nullptr); + } + + LaunchplanSettings* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const LaunchplanSettings& from); + void MergeFrom(const LaunchplanSettings& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(LaunchplanSettings* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string launchplan = 1; + void clear_launchplan(); + static const int kLaunchplanFieldNumber = 1; + const ::std::string& launchplan() const; + void set_launchplan(const ::std::string& value); + #if LANG_CXX11 + void set_launchplan(::std::string&& value); + #endif + void set_launchplan(const char* value); + void set_launchplan(const char* value, size_t size); + ::std::string* mutable_launchplan(); + ::std::string* release_launchplan(); + void set_allocated_launchplan(::std::string* launchplan); + + // .flyteidl.admin.SettingsCollection settings = 2; + bool has_settings() const; + void clear_settings(); + static const int kSettingsFieldNumber = 2; + const ::flyteidl::admin::SettingsCollection& settings() const; + ::flyteidl::admin::SettingsCollection* release_settings(); + ::flyteidl::admin::SettingsCollection* mutable_settings(); + void set_allocated_settings(::flyteidl::admin::SettingsCollection* settings); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchplanSettings) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr launchplan_; + ::flyteidl::admin::SettingsCollection* settings_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class GlobalLevel final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.GlobalLevel) */ { + public: + GlobalLevel(); + virtual ~GlobalLevel(); + + GlobalLevel(const GlobalLevel& from); + + inline GlobalLevel& operator=(const GlobalLevel& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + GlobalLevel(GlobalLevel&& from) noexcept + : GlobalLevel() { + *this = ::std::move(from); + } + + inline GlobalLevel& operator=(GlobalLevel&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const GlobalLevel& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GlobalLevel* internal_default_instance() { + return reinterpret_cast( + &_GlobalLevel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + void Swap(GlobalLevel* other); + friend void swap(GlobalLevel& a, GlobalLevel& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline GlobalLevel* New() const final { + return CreateMaybeMessage(nullptr); + } + + GlobalLevel* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const GlobalLevel& from); + void MergeFrom(const GlobalLevel& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GlobalLevel* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:flyteidl.admin.GlobalLevel) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class ProjectLevel final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectLevel) */ { + public: + ProjectLevel(); + virtual ~ProjectLevel(); + + ProjectLevel(const ProjectLevel& from); + + inline ProjectLevel& operator=(const ProjectLevel& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ProjectLevel(ProjectLevel&& from) noexcept + : ProjectLevel() { + *this = ::std::move(from); + } + + inline ProjectLevel& operator=(ProjectLevel&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const ProjectLevel& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ProjectLevel* internal_default_instance() { + return reinterpret_cast( + &_ProjectLevel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 11; + + void Swap(ProjectLevel* other); + friend void swap(ProjectLevel& a, ProjectLevel& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ProjectLevel* New() const final { + return CreateMaybeMessage(nullptr); + } + + ProjectLevel* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const ProjectLevel& from); + void MergeFrom(const ProjectLevel& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ProjectLevel* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string project = 1; + void clear_project(); + static const int kProjectFieldNumber = 1; + const ::std::string& project() const; + void set_project(const ::std::string& value); + #if LANG_CXX11 + void set_project(::std::string&& value); + #endif + void set_project(const char* value); + void set_project(const char* value, size_t size); + ::std::string* mutable_project(); + ::std::string* release_project(); + void set_allocated_project(::std::string* project); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectLevel) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr project_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class DomainLevel final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.DomainLevel) */ { + public: + DomainLevel(); + virtual ~DomainLevel(); + + DomainLevel(const DomainLevel& from); + + inline DomainLevel& operator=(const DomainLevel& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + DomainLevel(DomainLevel&& from) noexcept + : DomainLevel() { + *this = ::std::move(from); + } + + inline DomainLevel& operator=(DomainLevel&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const DomainLevel& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const DomainLevel* internal_default_instance() { + return reinterpret_cast( + &_DomainLevel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 12; + + void Swap(DomainLevel* other); + friend void swap(DomainLevel& a, DomainLevel& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline DomainLevel* New() const final { + return CreateMaybeMessage(nullptr); + } + + DomainLevel* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const DomainLevel& from); + void MergeFrom(const DomainLevel& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(DomainLevel* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string project = 1; + void clear_project(); + static const int kProjectFieldNumber = 1; + const ::std::string& project() const; + void set_project(const ::std::string& value); + #if LANG_CXX11 + void set_project(::std::string&& value); + #endif + void set_project(const char* value); + void set_project(const char* value, size_t size); + ::std::string* mutable_project(); + ::std::string* release_project(); + void set_allocated_project(::std::string* project); + + // string domain = 2; + void clear_domain(); + static const int kDomainFieldNumber = 2; + const ::std::string& domain() const; + void set_domain(const ::std::string& value); + #if LANG_CXX11 + void set_domain(::std::string&& value); + #endif + void set_domain(const char* value); + void set_domain(const char* value, size_t size); + ::std::string* mutable_domain(); + ::std::string* release_domain(); + void set_allocated_domain(::std::string* domain); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.DomainLevel) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr project_; + ::google::protobuf::internal::ArenaStringPtr domain_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class WorkflowLevel final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowLevel) */ { + public: + WorkflowLevel(); + virtual ~WorkflowLevel(); + + WorkflowLevel(const WorkflowLevel& from); + + inline WorkflowLevel& operator=(const WorkflowLevel& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + WorkflowLevel(WorkflowLevel&& from) noexcept + : WorkflowLevel() { + *this = ::std::move(from); + } + + inline WorkflowLevel& operator=(WorkflowLevel&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const WorkflowLevel& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const WorkflowLevel* internal_default_instance() { + return reinterpret_cast( + &_WorkflowLevel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 13; + + void Swap(WorkflowLevel* other); + friend void swap(WorkflowLevel& a, WorkflowLevel& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline WorkflowLevel* New() const final { + return CreateMaybeMessage(nullptr); + } + + WorkflowLevel* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const WorkflowLevel& from); + void MergeFrom(const WorkflowLevel& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(WorkflowLevel* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string project = 1; + void clear_project(); + static const int kProjectFieldNumber = 1; + const ::std::string& project() const; + void set_project(const ::std::string& value); + #if LANG_CXX11 + void set_project(::std::string&& value); + #endif + void set_project(const char* value); + void set_project(const char* value, size_t size); + ::std::string* mutable_project(); + ::std::string* release_project(); + void set_allocated_project(::std::string* project); + + // string domain = 2; + void clear_domain(); + static const int kDomainFieldNumber = 2; + const ::std::string& domain() const; + void set_domain(const ::std::string& value); + #if LANG_CXX11 + void set_domain(::std::string&& value); + #endif + void set_domain(const char* value); + void set_domain(const char* value, size_t size); + ::std::string* mutable_domain(); + ::std::string* release_domain(); + void set_allocated_domain(::std::string* domain); + + // string workflow = 3; + void clear_workflow(); + static const int kWorkflowFieldNumber = 3; + const ::std::string& workflow() const; + void set_workflow(const ::std::string& value); + #if LANG_CXX11 + void set_workflow(::std::string&& value); + #endif + void set_workflow(const char* value); + void set_workflow(const char* value, size_t size); + ::std::string* mutable_workflow(); + ::std::string* release_workflow(); + void set_allocated_workflow(::std::string* workflow); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowLevel) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr project_; + ::google::protobuf::internal::ArenaStringPtr domain_; + ::google::protobuf::internal::ArenaStringPtr workflow_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class LaunchplanLevel final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.LaunchplanLevel) */ { + public: + LaunchplanLevel(); + virtual ~LaunchplanLevel(); + + LaunchplanLevel(const LaunchplanLevel& from); + + inline LaunchplanLevel& operator=(const LaunchplanLevel& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + LaunchplanLevel(LaunchplanLevel&& from) noexcept + : LaunchplanLevel() { + *this = ::std::move(from); + } + + inline LaunchplanLevel& operator=(LaunchplanLevel&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const LaunchplanLevel& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const LaunchplanLevel* internal_default_instance() { + return reinterpret_cast( + &_LaunchplanLevel_default_instance_); + } + static constexpr int kIndexInFileMessages = + 14; + + void Swap(LaunchplanLevel* other); + friend void swap(LaunchplanLevel& a, LaunchplanLevel& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline LaunchplanLevel* New() const final { + return CreateMaybeMessage(nullptr); + } + + LaunchplanLevel* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const LaunchplanLevel& from); + void MergeFrom(const LaunchplanLevel& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(LaunchplanLevel* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // string project = 1; + void clear_project(); + static const int kProjectFieldNumber = 1; + const ::std::string& project() const; + void set_project(const ::std::string& value); + #if LANG_CXX11 + void set_project(::std::string&& value); + #endif + void set_project(const char* value); + void set_project(const char* value, size_t size); + ::std::string* mutable_project(); + ::std::string* release_project(); + void set_allocated_project(::std::string* project); + + // string domain = 2; + void clear_domain(); + static const int kDomainFieldNumber = 2; + const ::std::string& domain() const; + void set_domain(const ::std::string& value); + #if LANG_CXX11 + void set_domain(::std::string&& value); + #endif + void set_domain(const char* value); + void set_domain(const char* value, size_t size); + ::std::string* mutable_domain(); + ::std::string* release_domain(); + void set_allocated_domain(::std::string* domain); + + // string workflow = 3; + void clear_workflow(); + static const int kWorkflowFieldNumber = 3; + const ::std::string& workflow() const; + void set_workflow(const ::std::string& value); + #if LANG_CXX11 + void set_workflow(::std::string&& value); + #endif + void set_workflow(const char* value); + void set_workflow(const char* value, size_t size); + ::std::string* mutable_workflow(); + ::std::string* release_workflow(); + void set_allocated_workflow(::std::string* workflow); + + // string launchplan = 4; + void clear_launchplan(); + static const int kLaunchplanFieldNumber = 4; + const ::std::string& launchplan() const; + void set_launchplan(const ::std::string& value); + #if LANG_CXX11 + void set_launchplan(::std::string&& value); + #endif + void set_launchplan(const char* value); + void set_launchplan(const char* value, size_t size); + ::std::string* mutable_launchplan(); + ::std::string* release_launchplan(); + void set_allocated_launchplan(::std::string* launchplan); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchplanLevel) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr project_; + ::google::protobuf::internal::ArenaStringPtr domain_; + ::google::protobuf::internal::ArenaStringPtr workflow_; + ::google::protobuf::internal::ArenaStringPtr launchplan_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class SettingsUpdateRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SettingsUpdateRequest) */ { + public: + SettingsUpdateRequest(); + virtual ~SettingsUpdateRequest(); + + SettingsUpdateRequest(const SettingsUpdateRequest& from); + + inline SettingsUpdateRequest& operator=(const SettingsUpdateRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SettingsUpdateRequest(SettingsUpdateRequest&& from) noexcept + : SettingsUpdateRequest() { + *this = ::std::move(from); + } + + inline SettingsUpdateRequest& operator=(SettingsUpdateRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const SettingsUpdateRequest& default_instance(); + + enum LevelCase { + kGlobalLevel = 1, + kProjectLevel = 2, + kDomainLevel = 3, + kWorkflowLevel = 4, + kLaunchplanLevel = 5, + LEVEL_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SettingsUpdateRequest* internal_default_instance() { + return reinterpret_cast( + &_SettingsUpdateRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + void Swap(SettingsUpdateRequest* other); + friend void swap(SettingsUpdateRequest& a, SettingsUpdateRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SettingsUpdateRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + SettingsUpdateRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SettingsUpdateRequest& from); + void MergeFrom(const SettingsUpdateRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SettingsUpdateRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.admin.SettingsCollection settings = 6; + bool has_settings() const; + void clear_settings(); + static const int kSettingsFieldNumber = 6; + const ::flyteidl::admin::SettingsCollection& settings() const; + ::flyteidl::admin::SettingsCollection* release_settings(); + ::flyteidl::admin::SettingsCollection* mutable_settings(); + void set_allocated_settings(::flyteidl::admin::SettingsCollection* settings); + + // .flyteidl.admin.GlobalLevel global_level = 1; + bool has_global_level() const; + void clear_global_level(); + static const int kGlobalLevelFieldNumber = 1; + const ::flyteidl::admin::GlobalLevel& global_level() const; + ::flyteidl::admin::GlobalLevel* release_global_level(); + ::flyteidl::admin::GlobalLevel* mutable_global_level(); + void set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level); + + // .flyteidl.admin.ProjectLevel project_level = 2; + bool has_project_level() const; + void clear_project_level(); + static const int kProjectLevelFieldNumber = 2; + const ::flyteidl::admin::ProjectLevel& project_level() const; + ::flyteidl::admin::ProjectLevel* release_project_level(); + ::flyteidl::admin::ProjectLevel* mutable_project_level(); + void set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level); + + // .flyteidl.admin.DomainLevel domain_level = 3; + bool has_domain_level() const; + void clear_domain_level(); + static const int kDomainLevelFieldNumber = 3; + const ::flyteidl::admin::DomainLevel& domain_level() const; + ::flyteidl::admin::DomainLevel* release_domain_level(); + ::flyteidl::admin::DomainLevel* mutable_domain_level(); + void set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level); + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + bool has_workflow_level() const; + void clear_workflow_level(); + static const int kWorkflowLevelFieldNumber = 4; + const ::flyteidl::admin::WorkflowLevel& workflow_level() const; + ::flyteidl::admin::WorkflowLevel* release_workflow_level(); + ::flyteidl::admin::WorkflowLevel* mutable_workflow_level(); + void set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level); + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + bool has_launchplan_level() const; + void clear_launchplan_level(); + static const int kLaunchplanLevelFieldNumber = 5; + const ::flyteidl::admin::LaunchplanLevel& launchplan_level() const; + ::flyteidl::admin::LaunchplanLevel* release_launchplan_level(); + ::flyteidl::admin::LaunchplanLevel* mutable_launchplan_level(); + void set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level); + + void clear_level(); + LevelCase level_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsUpdateRequest) + private: + class HasBitSetters; + void set_has_global_level(); + void set_has_project_level(); + void set_has_domain_level(); + void set_has_workflow_level(); + void set_has_launchplan_level(); + + inline bool has_level() const; + inline void clear_has_level(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::SettingsCollection* settings_; + union LevelUnion { + LevelUnion() {} + ::flyteidl::admin::GlobalLevel* global_level_; + ::flyteidl::admin::ProjectLevel* project_level_; + ::flyteidl::admin::DomainLevel* domain_level_; + ::flyteidl::admin::WorkflowLevel* workflow_level_; + ::flyteidl::admin::LaunchplanLevel* launchplan_level_; + } level_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class FullSettingsUpdateRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.FullSettingsUpdateRequest) */ { + public: + FullSettingsUpdateRequest(); + virtual ~FullSettingsUpdateRequest(); + + FullSettingsUpdateRequest(const FullSettingsUpdateRequest& from); + + inline FullSettingsUpdateRequest& operator=(const FullSettingsUpdateRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + FullSettingsUpdateRequest(FullSettingsUpdateRequest&& from) noexcept + : FullSettingsUpdateRequest() { + *this = ::std::move(from); + } + + inline FullSettingsUpdateRequest& operator=(FullSettingsUpdateRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const FullSettingsUpdateRequest& default_instance(); + + enum LevelCase { + kGlobalLevel = 1, + kProjectLevel = 2, + kDomainLevel = 3, + kWorkflowLevel = 4, + kLaunchplanLevel = 5, + LEVEL_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const FullSettingsUpdateRequest* internal_default_instance() { + return reinterpret_cast( + &_FullSettingsUpdateRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + void Swap(FullSettingsUpdateRequest* other); + friend void swap(FullSettingsUpdateRequest& a, FullSettingsUpdateRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline FullSettingsUpdateRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + FullSettingsUpdateRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const FullSettingsUpdateRequest& from); + void MergeFrom(const FullSettingsUpdateRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FullSettingsUpdateRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.admin.SettingsCollection settings = 6; + bool has_settings() const; + void clear_settings(); + static const int kSettingsFieldNumber = 6; + const ::flyteidl::admin::SettingsCollection& settings() const; + ::flyteidl::admin::SettingsCollection* release_settings(); + ::flyteidl::admin::SettingsCollection* mutable_settings(); + void set_allocated_settings(::flyteidl::admin::SettingsCollection* settings); + + // .flyteidl.admin.GlobalLevel global_level = 1; + bool has_global_level() const; + void clear_global_level(); + static const int kGlobalLevelFieldNumber = 1; + const ::flyteidl::admin::GlobalLevel& global_level() const; + ::flyteidl::admin::GlobalLevel* release_global_level(); + ::flyteidl::admin::GlobalLevel* mutable_global_level(); + void set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level); + + // .flyteidl.admin.ProjectLevel project_level = 2; + bool has_project_level() const; + void clear_project_level(); + static const int kProjectLevelFieldNumber = 2; + const ::flyteidl::admin::ProjectLevel& project_level() const; + ::flyteidl::admin::ProjectLevel* release_project_level(); + ::flyteidl::admin::ProjectLevel* mutable_project_level(); + void set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level); + + // .flyteidl.admin.DomainLevel domain_level = 3; + bool has_domain_level() const; + void clear_domain_level(); + static const int kDomainLevelFieldNumber = 3; + const ::flyteidl::admin::DomainLevel& domain_level() const; + ::flyteidl::admin::DomainLevel* release_domain_level(); + ::flyteidl::admin::DomainLevel* mutable_domain_level(); + void set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level); + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + bool has_workflow_level() const; + void clear_workflow_level(); + static const int kWorkflowLevelFieldNumber = 4; + const ::flyteidl::admin::WorkflowLevel& workflow_level() const; + ::flyteidl::admin::WorkflowLevel* release_workflow_level(); + ::flyteidl::admin::WorkflowLevel* mutable_workflow_level(); + void set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level); + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + bool has_launchplan_level() const; + void clear_launchplan_level(); + static const int kLaunchplanLevelFieldNumber = 5; + const ::flyteidl::admin::LaunchplanLevel& launchplan_level() const; + ::flyteidl::admin::LaunchplanLevel* release_launchplan_level(); + ::flyteidl::admin::LaunchplanLevel* mutable_launchplan_level(); + void set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level); + + void clear_level(); + LevelCase level_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsUpdateRequest) + private: + class HasBitSetters; + void set_has_global_level(); + void set_has_project_level(); + void set_has_domain_level(); + void set_has_workflow_level(); + void set_has_launchplan_level(); + + inline bool has_level() const; + inline void clear_has_level(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::SettingsCollection* settings_; + union LevelUnion { + LevelUnion() {} + ::flyteidl::admin::GlobalLevel* global_level_; + ::flyteidl::admin::ProjectLevel* project_level_; + ::flyteidl::admin::DomainLevel* domain_level_; + ::flyteidl::admin::WorkflowLevel* workflow_level_; + ::flyteidl::admin::LaunchplanLevel* launchplan_level_; + } level_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class FullSettingsUpdateResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.FullSettingsUpdateResponse) */ { + public: + FullSettingsUpdateResponse(); + virtual ~FullSettingsUpdateResponse(); + + FullSettingsUpdateResponse(const FullSettingsUpdateResponse& from); + + inline FullSettingsUpdateResponse& operator=(const FullSettingsUpdateResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + FullSettingsUpdateResponse(FullSettingsUpdateResponse&& from) noexcept + : FullSettingsUpdateResponse() { + *this = ::std::move(from); + } + + inline FullSettingsUpdateResponse& operator=(FullSettingsUpdateResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const FullSettingsUpdateResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const FullSettingsUpdateResponse* internal_default_instance() { + return reinterpret_cast( + &_FullSettingsUpdateResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + void Swap(FullSettingsUpdateResponse* other); + friend void swap(FullSettingsUpdateResponse& a, FullSettingsUpdateResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline FullSettingsUpdateResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + FullSettingsUpdateResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const FullSettingsUpdateResponse& from); + void MergeFrom(const FullSettingsUpdateResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FullSettingsUpdateResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsUpdateResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class SettingsGetRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SettingsGetRequest) */ { + public: + SettingsGetRequest(); + virtual ~SettingsGetRequest(); + + SettingsGetRequest(const SettingsGetRequest& from); + + inline SettingsGetRequest& operator=(const SettingsGetRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SettingsGetRequest(SettingsGetRequest&& from) noexcept + : SettingsGetRequest() { + *this = ::std::move(from); + } + + inline SettingsGetRequest& operator=(SettingsGetRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const SettingsGetRequest& default_instance(); + + enum LevelCase { + kGlobalLevel = 1, + kProjectLevel = 2, + kDomainLevel = 3, + kWorkflowLevel = 4, + kLaunchplanLevel = 5, + LEVEL_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SettingsGetRequest* internal_default_instance() { + return reinterpret_cast( + &_SettingsGetRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 18; + + void Swap(SettingsGetRequest* other); + friend void swap(SettingsGetRequest& a, SettingsGetRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SettingsGetRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + SettingsGetRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SettingsGetRequest& from); + void MergeFrom(const SettingsGetRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SettingsGetRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.admin.GlobalLevel global_level = 1; + bool has_global_level() const; + void clear_global_level(); + static const int kGlobalLevelFieldNumber = 1; + const ::flyteidl::admin::GlobalLevel& global_level() const; + ::flyteidl::admin::GlobalLevel* release_global_level(); + ::flyteidl::admin::GlobalLevel* mutable_global_level(); + void set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level); + + // .flyteidl.admin.ProjectLevel project_level = 2; + bool has_project_level() const; + void clear_project_level(); + static const int kProjectLevelFieldNumber = 2; + const ::flyteidl::admin::ProjectLevel& project_level() const; + ::flyteidl::admin::ProjectLevel* release_project_level(); + ::flyteidl::admin::ProjectLevel* mutable_project_level(); + void set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level); + + // .flyteidl.admin.DomainLevel domain_level = 3; + bool has_domain_level() const; + void clear_domain_level(); + static const int kDomainLevelFieldNumber = 3; + const ::flyteidl::admin::DomainLevel& domain_level() const; + ::flyteidl::admin::DomainLevel* release_domain_level(); + ::flyteidl::admin::DomainLevel* mutable_domain_level(); + void set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level); + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + bool has_workflow_level() const; + void clear_workflow_level(); + static const int kWorkflowLevelFieldNumber = 4; + const ::flyteidl::admin::WorkflowLevel& workflow_level() const; + ::flyteidl::admin::WorkflowLevel* release_workflow_level(); + ::flyteidl::admin::WorkflowLevel* mutable_workflow_level(); + void set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level); + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + bool has_launchplan_level() const; + void clear_launchplan_level(); + static const int kLaunchplanLevelFieldNumber = 5; + const ::flyteidl::admin::LaunchplanLevel& launchplan_level() const; + ::flyteidl::admin::LaunchplanLevel* release_launchplan_level(); + ::flyteidl::admin::LaunchplanLevel* mutable_launchplan_level(); + void set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level); + + void clear_level(); + LevelCase level_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsGetRequest) + private: + class HasBitSetters; + void set_has_global_level(); + void set_has_project_level(); + void set_has_domain_level(); + void set_has_workflow_level(); + void set_has_launchplan_level(); + + inline bool has_level() const; + inline void clear_has_level(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union LevelUnion { + LevelUnion() {} + ::flyteidl::admin::GlobalLevel* global_level_; + ::flyteidl::admin::ProjectLevel* project_level_; + ::flyteidl::admin::DomainLevel* domain_level_; + ::flyteidl::admin::WorkflowLevel* workflow_level_; + ::flyteidl::admin::LaunchplanLevel* launchplan_level_; + } level_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class SettingsGetResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SettingsGetResponse) */ { + public: + SettingsGetResponse(); + virtual ~SettingsGetResponse(); + + SettingsGetResponse(const SettingsGetResponse& from); + + inline SettingsGetResponse& operator=(const SettingsGetResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SettingsGetResponse(SettingsGetResponse&& from) noexcept + : SettingsGetResponse() { + *this = ::std::move(from); + } + + inline SettingsGetResponse& operator=(SettingsGetResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const SettingsGetResponse& default_instance(); + + enum LevelCase { + kGlobalLevel = 1, + kProjectLevel = 2, + kDomainLevel = 3, + kWorkflowLevel = 4, + kLaunchplanLevel = 5, + LEVEL_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SettingsGetResponse* internal_default_instance() { + return reinterpret_cast( + &_SettingsGetResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 19; + + void Swap(SettingsGetResponse* other); + friend void swap(SettingsGetResponse& a, SettingsGetResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SettingsGetResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + SettingsGetResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SettingsGetResponse& from); + void MergeFrom(const SettingsGetResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SettingsGetResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.admin.SettingsCollection settings = 6; + bool has_settings() const; + void clear_settings(); + static const int kSettingsFieldNumber = 6; + const ::flyteidl::admin::SettingsCollection& settings() const; + ::flyteidl::admin::SettingsCollection* release_settings(); + ::flyteidl::admin::SettingsCollection* mutable_settings(); + void set_allocated_settings(::flyteidl::admin::SettingsCollection* settings); + + // .flyteidl.admin.GlobalLevel global_level = 1; + bool has_global_level() const; + void clear_global_level(); + static const int kGlobalLevelFieldNumber = 1; + const ::flyteidl::admin::GlobalLevel& global_level() const; + ::flyteidl::admin::GlobalLevel* release_global_level(); + ::flyteidl::admin::GlobalLevel* mutable_global_level(); + void set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level); + + // .flyteidl.admin.ProjectLevel project_level = 2; + bool has_project_level() const; + void clear_project_level(); + static const int kProjectLevelFieldNumber = 2; + const ::flyteidl::admin::ProjectLevel& project_level() const; + ::flyteidl::admin::ProjectLevel* release_project_level(); + ::flyteidl::admin::ProjectLevel* mutable_project_level(); + void set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level); + + // .flyteidl.admin.DomainLevel domain_level = 3; + bool has_domain_level() const; + void clear_domain_level(); + static const int kDomainLevelFieldNumber = 3; + const ::flyteidl::admin::DomainLevel& domain_level() const; + ::flyteidl::admin::DomainLevel* release_domain_level(); + ::flyteidl::admin::DomainLevel* mutable_domain_level(); + void set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level); + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + bool has_workflow_level() const; + void clear_workflow_level(); + static const int kWorkflowLevelFieldNumber = 4; + const ::flyteidl::admin::WorkflowLevel& workflow_level() const; + ::flyteidl::admin::WorkflowLevel* release_workflow_level(); + ::flyteidl::admin::WorkflowLevel* mutable_workflow_level(); + void set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level); + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + bool has_launchplan_level() const; + void clear_launchplan_level(); + static const int kLaunchplanLevelFieldNumber = 5; + const ::flyteidl::admin::LaunchplanLevel& launchplan_level() const; + ::flyteidl::admin::LaunchplanLevel* release_launchplan_level(); + ::flyteidl::admin::LaunchplanLevel* mutable_launchplan_level(); + void set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level); + + void clear_level(); + LevelCase level_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsGetResponse) + private: + class HasBitSetters; + void set_has_global_level(); + void set_has_project_level(); + void set_has_domain_level(); + void set_has_workflow_level(); + void set_has_launchplan_level(); + + inline bool has_level() const; + inline void clear_has_level(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::SettingsCollection* settings_; + union LevelUnion { + LevelUnion() {} + ::flyteidl::admin::GlobalLevel* global_level_; + ::flyteidl::admin::ProjectLevel* project_level_; + ::flyteidl::admin::DomainLevel* domain_level_; + ::flyteidl::admin::WorkflowLevel* workflow_level_; + ::flyteidl::admin::LaunchplanLevel* launchplan_level_; + } level_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class FullSettingsGetRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.FullSettingsGetRequest) */ { + public: + FullSettingsGetRequest(); + virtual ~FullSettingsGetRequest(); + + FullSettingsGetRequest(const FullSettingsGetRequest& from); + + inline FullSettingsGetRequest& operator=(const FullSettingsGetRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + FullSettingsGetRequest(FullSettingsGetRequest&& from) noexcept + : FullSettingsGetRequest() { + *this = ::std::move(from); + } + + inline FullSettingsGetRequest& operator=(FullSettingsGetRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const FullSettingsGetRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const FullSettingsGetRequest* internal_default_instance() { + return reinterpret_cast( + &_FullSettingsGetRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 20; + + void Swap(FullSettingsGetRequest* other); + friend void swap(FullSettingsGetRequest& a, FullSettingsGetRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline FullSettingsGetRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + FullSettingsGetRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const FullSettingsGetRequest& from); + void MergeFrom(const FullSettingsGetRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FullSettingsGetRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsGetRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class FullSettingsGetResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.FullSettingsGetResponse) */ { + public: + FullSettingsGetResponse(); + virtual ~FullSettingsGetResponse(); + + FullSettingsGetResponse(const FullSettingsGetResponse& from); + + inline FullSettingsGetResponse& operator=(const FullSettingsGetResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + FullSettingsGetResponse(FullSettingsGetResponse&& from) noexcept + : FullSettingsGetResponse() { + *this = ::std::move(from); + } + + inline FullSettingsGetResponse& operator=(FullSettingsGetResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const FullSettingsGetResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const FullSettingsGetResponse* internal_default_instance() { + return reinterpret_cast( + &_FullSettingsGetResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 21; + + void Swap(FullSettingsGetResponse* other); + friend void swap(FullSettingsGetResponse& a, FullSettingsGetResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline FullSettingsGetResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + FullSettingsGetResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const FullSettingsGetResponse& from); + void MergeFrom(const FullSettingsGetResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(FullSettingsGetResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.admin.Settings settings = 1; + bool has_settings() const; + void clear_settings(); + static const int kSettingsFieldNumber = 1; + const ::flyteidl::admin::Settings& settings() const; + ::flyteidl::admin::Settings* release_settings(); + ::flyteidl::admin::Settings* mutable_settings(); + void set_allocated_settings(::flyteidl::admin::Settings* settings); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsGetResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::Settings* settings_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class SettingsDeleteRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SettingsDeleteRequest) */ { + public: + SettingsDeleteRequest(); + virtual ~SettingsDeleteRequest(); + + SettingsDeleteRequest(const SettingsDeleteRequest& from); + + inline SettingsDeleteRequest& operator=(const SettingsDeleteRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SettingsDeleteRequest(SettingsDeleteRequest&& from) noexcept + : SettingsDeleteRequest() { + *this = ::std::move(from); + } + + inline SettingsDeleteRequest& operator=(SettingsDeleteRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const SettingsDeleteRequest& default_instance(); + + enum LevelCase { + kGlobalLevel = 1, + kProjectLevel = 2, + kDomainLevel = 3, + kWorkflowLevel = 4, + kLaunchplanLevel = 5, + LEVEL_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SettingsDeleteRequest* internal_default_instance() { + return reinterpret_cast( + &_SettingsDeleteRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 22; + + void Swap(SettingsDeleteRequest* other); + friend void swap(SettingsDeleteRequest& a, SettingsDeleteRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SettingsDeleteRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + SettingsDeleteRequest* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SettingsDeleteRequest& from); + void MergeFrom(const SettingsDeleteRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SettingsDeleteRequest* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // .flyteidl.admin.GlobalLevel global_level = 1; + bool has_global_level() const; + void clear_global_level(); + static const int kGlobalLevelFieldNumber = 1; + const ::flyteidl::admin::GlobalLevel& global_level() const; + ::flyteidl::admin::GlobalLevel* release_global_level(); + ::flyteidl::admin::GlobalLevel* mutable_global_level(); + void set_allocated_global_level(::flyteidl::admin::GlobalLevel* global_level); + + // .flyteidl.admin.ProjectLevel project_level = 2; + bool has_project_level() const; + void clear_project_level(); + static const int kProjectLevelFieldNumber = 2; + const ::flyteidl::admin::ProjectLevel& project_level() const; + ::flyteidl::admin::ProjectLevel* release_project_level(); + ::flyteidl::admin::ProjectLevel* mutable_project_level(); + void set_allocated_project_level(::flyteidl::admin::ProjectLevel* project_level); + + // .flyteidl.admin.DomainLevel domain_level = 3; + bool has_domain_level() const; + void clear_domain_level(); + static const int kDomainLevelFieldNumber = 3; + const ::flyteidl::admin::DomainLevel& domain_level() const; + ::flyteidl::admin::DomainLevel* release_domain_level(); + ::flyteidl::admin::DomainLevel* mutable_domain_level(); + void set_allocated_domain_level(::flyteidl::admin::DomainLevel* domain_level); + + // .flyteidl.admin.WorkflowLevel workflow_level = 4; + bool has_workflow_level() const; + void clear_workflow_level(); + static const int kWorkflowLevelFieldNumber = 4; + const ::flyteidl::admin::WorkflowLevel& workflow_level() const; + ::flyteidl::admin::WorkflowLevel* release_workflow_level(); + ::flyteidl::admin::WorkflowLevel* mutable_workflow_level(); + void set_allocated_workflow_level(::flyteidl::admin::WorkflowLevel* workflow_level); + + // .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + bool has_launchplan_level() const; + void clear_launchplan_level(); + static const int kLaunchplanLevelFieldNumber = 5; + const ::flyteidl::admin::LaunchplanLevel& launchplan_level() const; + ::flyteidl::admin::LaunchplanLevel* release_launchplan_level(); + ::flyteidl::admin::LaunchplanLevel* mutable_launchplan_level(); + void set_allocated_launchplan_level(::flyteidl::admin::LaunchplanLevel* launchplan_level); + + void clear_level(); + LevelCase level_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsDeleteRequest) + private: + class HasBitSetters; + void set_has_global_level(); + void set_has_project_level(); + void set_has_domain_level(); + void set_has_workflow_level(); + void set_has_launchplan_level(); + + inline bool has_level() const; + inline void clear_has_level(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union LevelUnion { + LevelUnion() {} + ::flyteidl::admin::GlobalLevel* global_level_; + ::flyteidl::admin::ProjectLevel* project_level_; + ::flyteidl::admin::DomainLevel* domain_level_; + ::flyteidl::admin::WorkflowLevel* workflow_level_; + ::flyteidl::admin::LaunchplanLevel* launchplan_level_; + } level_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// ------------------------------------------------------------------- + +class SettingsDeleteResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.SettingsDeleteResponse) */ { + public: + SettingsDeleteResponse(); + virtual ~SettingsDeleteResponse(); + + SettingsDeleteResponse(const SettingsDeleteResponse& from); + + inline SettingsDeleteResponse& operator=(const SettingsDeleteResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + SettingsDeleteResponse(SettingsDeleteResponse&& from) noexcept + : SettingsDeleteResponse() { + *this = ::std::move(from); + } + + inline SettingsDeleteResponse& operator=(SettingsDeleteResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + #endif + static const ::google::protobuf::Descriptor* descriptor() { + return default_instance().GetDescriptor(); + } + static const SettingsDeleteResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const SettingsDeleteResponse* internal_default_instance() { + return reinterpret_cast( + &_SettingsDeleteResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 23; + + void Swap(SettingsDeleteResponse* other); + friend void swap(SettingsDeleteResponse& a, SettingsDeleteResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline SettingsDeleteResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + SettingsDeleteResponse* New(::google::protobuf::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::google::protobuf::Message& from) final; + void MergeFrom(const ::google::protobuf::Message& from) final; + void CopyFrom(const SettingsDeleteResponse& from); + void MergeFrom(const SettingsDeleteResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx); + ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; } + #else + bool MergePartialFromCodedStream( + ::google::protobuf::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const final; + ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + void SharedCtor(); + void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(SettingsDeleteResponse* other); + private: + inline ::google::protobuf::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::google::protobuf::Metadata GetMetadata() const final; + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsDeleteResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// SettingsCollection + +// .flyteidl.admin.MatchingAttributes task_resource_settings = 1; +inline bool SettingsCollection::has_task_resource_settings() const { + return this != internal_default_instance() && task_resource_settings_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::task_resource_settings() const { + const ::flyteidl::admin::MatchingAttributes* p = task_resource_settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.task_resource_settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_task_resource_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.task_resource_settings) + + ::flyteidl::admin::MatchingAttributes* temp = task_resource_settings_; + task_resource_settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_task_resource_settings() { + + if (task_resource_settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + task_resource_settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.task_resource_settings) + return task_resource_settings_; +} +inline void SettingsCollection::set_allocated_task_resource_settings(::flyteidl::admin::MatchingAttributes* task_resource_settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(task_resource_settings_); + } + if (task_resource_settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + task_resource_settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, task_resource_settings, submessage_arena); + } + + } else { + + } + task_resource_settings_ = task_resource_settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.task_resource_settings) +} + +// .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; +inline bool SettingsCollection::has_cluster_resource_settings() const { + return this != internal_default_instance() && cluster_resource_settings_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::cluster_resource_settings() const { + const ::flyteidl::admin::MatchingAttributes* p = cluster_resource_settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.cluster_resource_settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_cluster_resource_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.cluster_resource_settings) + + ::flyteidl::admin::MatchingAttributes* temp = cluster_resource_settings_; + cluster_resource_settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_cluster_resource_settings() { + + if (cluster_resource_settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + cluster_resource_settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.cluster_resource_settings) + return cluster_resource_settings_; +} +inline void SettingsCollection::set_allocated_cluster_resource_settings(::flyteidl::admin::MatchingAttributes* cluster_resource_settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(cluster_resource_settings_); + } + if (cluster_resource_settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + cluster_resource_settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, cluster_resource_settings, submessage_arena); + } + + } else { + + } + cluster_resource_settings_ = cluster_resource_settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.cluster_resource_settings) +} + +// .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; +inline bool SettingsCollection::has_execution_queue_settings() const { + return this != internal_default_instance() && execution_queue_settings_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::execution_queue_settings() const { + const ::flyteidl::admin::MatchingAttributes* p = execution_queue_settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.execution_queue_settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_execution_queue_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.execution_queue_settings) + + ::flyteidl::admin::MatchingAttributes* temp = execution_queue_settings_; + execution_queue_settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_execution_queue_settings() { + + if (execution_queue_settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + execution_queue_settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.execution_queue_settings) + return execution_queue_settings_; +} +inline void SettingsCollection::set_allocated_execution_queue_settings(::flyteidl::admin::MatchingAttributes* execution_queue_settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_queue_settings_); + } + if (execution_queue_settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + execution_queue_settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, execution_queue_settings, submessage_arena); + } + + } else { + + } + execution_queue_settings_ = execution_queue_settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.execution_queue_settings) +} + +// .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; +inline bool SettingsCollection::has_execution_cluster_label_settings() const { + return this != internal_default_instance() && execution_cluster_label_settings_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::execution_cluster_label_settings() const { + const ::flyteidl::admin::MatchingAttributes* p = execution_cluster_label_settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.execution_cluster_label_settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_execution_cluster_label_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.execution_cluster_label_settings) + + ::flyteidl::admin::MatchingAttributes* temp = execution_cluster_label_settings_; + execution_cluster_label_settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_execution_cluster_label_settings() { + + if (execution_cluster_label_settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + execution_cluster_label_settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.execution_cluster_label_settings) + return execution_cluster_label_settings_; +} +inline void SettingsCollection::set_allocated_execution_cluster_label_settings(::flyteidl::admin::MatchingAttributes* execution_cluster_label_settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_cluster_label_settings_); + } + if (execution_cluster_label_settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + execution_cluster_label_settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, execution_cluster_label_settings, submessage_arena); + } + + } else { + + } + execution_cluster_label_settings_ = execution_cluster_label_settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.execution_cluster_label_settings) +} + +// .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; +inline bool SettingsCollection::has_quality_of_service_settings() const { + return this != internal_default_instance() && quality_of_service_settings_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::quality_of_service_settings() const { + const ::flyteidl::admin::MatchingAttributes* p = quality_of_service_settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.quality_of_service_settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_quality_of_service_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.quality_of_service_settings) + + ::flyteidl::admin::MatchingAttributes* temp = quality_of_service_settings_; + quality_of_service_settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_quality_of_service_settings() { + + if (quality_of_service_settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + quality_of_service_settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.quality_of_service_settings) + return quality_of_service_settings_; +} +inline void SettingsCollection::set_allocated_quality_of_service_settings(::flyteidl::admin::MatchingAttributes* quality_of_service_settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(quality_of_service_settings_); + } + if (quality_of_service_settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + quality_of_service_settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, quality_of_service_settings, submessage_arena); + } + + } else { + + } + quality_of_service_settings_ = quality_of_service_settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.quality_of_service_settings) +} + +// .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; +inline bool SettingsCollection::has_plugin_override_settings() const { + return this != internal_default_instance() && plugin_override_settings_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::plugin_override_settings() const { + const ::flyteidl::admin::MatchingAttributes* p = plugin_override_settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.plugin_override_settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_plugin_override_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.plugin_override_settings) + + ::flyteidl::admin::MatchingAttributes* temp = plugin_override_settings_; + plugin_override_settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_plugin_override_settings() { + + if (plugin_override_settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + plugin_override_settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.plugin_override_settings) + return plugin_override_settings_; +} +inline void SettingsCollection::set_allocated_plugin_override_settings(::flyteidl::admin::MatchingAttributes* plugin_override_settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(plugin_override_settings_); + } + if (plugin_override_settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + plugin_override_settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, plugin_override_settings, submessage_arena); + } + + } else { + + } + plugin_override_settings_ = plugin_override_settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.plugin_override_settings) +} + +// .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; +inline bool SettingsCollection::has_workflow_execution_settings() const { + return this != internal_default_instance() && workflow_execution_settings_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::workflow_execution_settings() const { + const ::flyteidl::admin::MatchingAttributes* p = workflow_execution_settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.workflow_execution_settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_workflow_execution_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.workflow_execution_settings) + + ::flyteidl::admin::MatchingAttributes* temp = workflow_execution_settings_; + workflow_execution_settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_workflow_execution_settings() { + + if (workflow_execution_settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + workflow_execution_settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.workflow_execution_settings) + return workflow_execution_settings_; +} +inline void SettingsCollection::set_allocated_workflow_execution_settings(::flyteidl::admin::MatchingAttributes* workflow_execution_settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(workflow_execution_settings_); + } + if (workflow_execution_settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + workflow_execution_settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, workflow_execution_settings, submessage_arena); + } + + } else { + + } + workflow_execution_settings_ = workflow_execution_settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.workflow_execution_settings) +} + +// .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; +inline bool SettingsCollection::has_cluster_assignment_settings() const { + return this != internal_default_instance() && cluster_assignment_settings_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::cluster_assignment_settings() const { + const ::flyteidl::admin::MatchingAttributes* p = cluster_assignment_settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.cluster_assignment_settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_cluster_assignment_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.cluster_assignment_settings) + + ::flyteidl::admin::MatchingAttributes* temp = cluster_assignment_settings_; + cluster_assignment_settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_cluster_assignment_settings() { + + if (cluster_assignment_settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + cluster_assignment_settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.cluster_assignment_settings) + return cluster_assignment_settings_; +} +inline void SettingsCollection::set_allocated_cluster_assignment_settings(::flyteidl::admin::MatchingAttributes* cluster_assignment_settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(cluster_assignment_settings_); + } + if (cluster_assignment_settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + cluster_assignment_settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, cluster_assignment_settings, submessage_arena); + } + + } else { + + } + cluster_assignment_settings_ = cluster_assignment_settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.cluster_assignment_settings) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// Settings + +// .flyteidl.admin.SettingsCollection global = 1; +inline bool Settings::has_global() const { + return this != internal_default_instance() && global_ != nullptr; +} +inline void Settings::clear_global() { + if (GetArenaNoVirtual() == nullptr && global_ != nullptr) { + delete global_; + } + global_ = nullptr; +} +inline const ::flyteidl::admin::SettingsCollection& Settings::global() const { + const ::flyteidl::admin::SettingsCollection* p = global_; + // @@protoc_insertion_point(field_get:flyteidl.admin.Settings.global) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_SettingsCollection_default_instance_); +} +inline ::flyteidl::admin::SettingsCollection* Settings::release_global() { + // @@protoc_insertion_point(field_release:flyteidl.admin.Settings.global) + + ::flyteidl::admin::SettingsCollection* temp = global_; + global_ = nullptr; + return temp; +} +inline ::flyteidl::admin::SettingsCollection* Settings::mutable_global() { + + if (global_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::SettingsCollection>(GetArenaNoVirtual()); + global_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.Settings.global) + return global_; +} +inline void Settings::set_allocated_global(::flyteidl::admin::SettingsCollection* global) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete global_; + } + if (global) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + global = ::google::protobuf::internal::GetOwnedMessage( + message_arena, global, submessage_arena); + } + + } else { + + } + global_ = global; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.Settings.global) +} + +// map project_settings = 2; +inline int Settings::project_settings_size() const { + return project_settings_.size(); +} +inline void Settings::clear_project_settings() { + project_settings_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >& +Settings::project_settings() const { + // @@protoc_insertion_point(field_map:flyteidl.admin.Settings.project_settings) + return project_settings_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::flyteidl::admin::ProjectSettings >* +Settings::mutable_project_settings() { + // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.Settings.project_settings) + return project_settings_.MutableMap(); +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ProjectSettings + +// string project = 1; +inline void ProjectSettings::clear_project() { + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ProjectSettings::project() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectSettings.project) + return project_.GetNoArena(); +} +inline void ProjectSettings::set_project(const ::std::string& value) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectSettings.project) +} +#if LANG_CXX11 +inline void ProjectSettings::set_project(::std::string&& value) { + + project_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectSettings.project) +} +#endif +inline void ProjectSettings::set_project(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectSettings.project) +} +inline void ProjectSettings::set_project(const char* value, size_t size) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectSettings.project) +} +inline ::std::string* ProjectSettings::mutable_project() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectSettings.project) + return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ProjectSettings::release_project() { + // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectSettings.project) + + return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ProjectSettings::set_allocated_project(::std::string* project) { + if (project != nullptr) { + + } else { + + } + project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectSettings.project) +} + +// .flyteidl.admin.SettingsCollection settings = 2; +inline bool ProjectSettings::has_settings() const { + return this != internal_default_instance() && settings_ != nullptr; +} +inline void ProjectSettings::clear_settings() { + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; +} +inline const ::flyteidl::admin::SettingsCollection& ProjectSettings::settings() const { + const ::flyteidl::admin::SettingsCollection* p = settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectSettings.settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_SettingsCollection_default_instance_); +} +inline ::flyteidl::admin::SettingsCollection* ProjectSettings::release_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectSettings.settings) + + ::flyteidl::admin::SettingsCollection* temp = settings_; + settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::SettingsCollection* ProjectSettings::mutable_settings() { + + if (settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::SettingsCollection>(GetArenaNoVirtual()); + settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectSettings.settings) + return settings_; +} +inline void ProjectSettings::set_allocated_settings(::flyteidl::admin::SettingsCollection* settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete settings_; + } + if (settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, settings, submessage_arena); + } + + } else { + + } + settings_ = settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectSettings.settings) +} + +// map domain_settings = 3; +inline int ProjectSettings::domain_settings_size() const { + return domain_settings_.size(); +} +inline void ProjectSettings::clear_domain_settings() { + domain_settings_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >& +ProjectSettings::domain_settings() const { + // @@protoc_insertion_point(field_map:flyteidl.admin.ProjectSettings.domain_settings) + return domain_settings_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::flyteidl::admin::DomainSettings >* +ProjectSettings::mutable_domain_settings() { + // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.ProjectSettings.domain_settings) + return domain_settings_.MutableMap(); +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// DomainSettings + +// string domain = 1; +inline void DomainSettings::clear_domain() { + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DomainSettings::domain() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.DomainSettings.domain) + return domain_.GetNoArena(); +} +inline void DomainSettings::set_domain(const ::std::string& value) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.DomainSettings.domain) +} +#if LANG_CXX11 +inline void DomainSettings::set_domain(::std::string&& value) { + + domain_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DomainSettings.domain) +} +#endif +inline void DomainSettings::set_domain(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.DomainSettings.domain) +} +inline void DomainSettings::set_domain(const char* value, size_t size) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DomainSettings.domain) +} +inline ::std::string* DomainSettings::mutable_domain() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.DomainSettings.domain) + return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DomainSettings::release_domain() { + // @@protoc_insertion_point(field_release:flyteidl.admin.DomainSettings.domain) + + return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DomainSettings::set_allocated_domain(::std::string* domain) { + if (domain != nullptr) { + + } else { + + } + domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DomainSettings.domain) +} + +// .flyteidl.admin.SettingsCollection settings = 2; +inline bool DomainSettings::has_settings() const { + return this != internal_default_instance() && settings_ != nullptr; +} +inline void DomainSettings::clear_settings() { + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; +} +inline const ::flyteidl::admin::SettingsCollection& DomainSettings::settings() const { + const ::flyteidl::admin::SettingsCollection* p = settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.DomainSettings.settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_SettingsCollection_default_instance_); +} +inline ::flyteidl::admin::SettingsCollection* DomainSettings::release_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.DomainSettings.settings) + + ::flyteidl::admin::SettingsCollection* temp = settings_; + settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::SettingsCollection* DomainSettings::mutable_settings() { + + if (settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::SettingsCollection>(GetArenaNoVirtual()); + settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.DomainSettings.settings) + return settings_; +} +inline void DomainSettings::set_allocated_settings(::flyteidl::admin::SettingsCollection* settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete settings_; + } + if (settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, settings, submessage_arena); + } + + } else { + + } + settings_ = settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DomainSettings.settings) +} + +// map workflow_settings = 3; +inline int DomainSettings::workflow_settings_size() const { + return workflow_settings_.size(); +} +inline void DomainSettings::clear_workflow_settings() { + workflow_settings_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >& +DomainSettings::workflow_settings() const { + // @@protoc_insertion_point(field_map:flyteidl.admin.DomainSettings.workflow_settings) + return workflow_settings_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::flyteidl::admin::WorkflowSettings >* +DomainSettings::mutable_workflow_settings() { + // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.DomainSettings.workflow_settings) + return workflow_settings_.MutableMap(); +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// WorkflowSettings + +// string workflow = 1; +inline void WorkflowSettings::clear_workflow() { + workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& WorkflowSettings::workflow() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowSettings.workflow) + return workflow_.GetNoArena(); +} +inline void WorkflowSettings::set_workflow(const ::std::string& value) { + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowSettings.workflow) +} +#if LANG_CXX11 +inline void WorkflowSettings::set_workflow(::std::string&& value) { + + workflow_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowSettings.workflow) +} +#endif +inline void WorkflowSettings::set_workflow(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowSettings.workflow) +} +inline void WorkflowSettings::set_workflow(const char* value, size_t size) { + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowSettings.workflow) +} +inline ::std::string* WorkflowSettings::mutable_workflow() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowSettings.workflow) + return workflow_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* WorkflowSettings::release_workflow() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowSettings.workflow) + + return workflow_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void WorkflowSettings::set_allocated_workflow(::std::string* workflow) { + if (workflow != nullptr) { + + } else { + + } + workflow_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), workflow); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowSettings.workflow) +} + +// .flyteidl.admin.SettingsCollection settings = 2; +inline bool WorkflowSettings::has_settings() const { + return this != internal_default_instance() && settings_ != nullptr; +} +inline void WorkflowSettings::clear_settings() { + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; +} +inline const ::flyteidl::admin::SettingsCollection& WorkflowSettings::settings() const { + const ::flyteidl::admin::SettingsCollection* p = settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowSettings.settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_SettingsCollection_default_instance_); +} +inline ::flyteidl::admin::SettingsCollection* WorkflowSettings::release_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowSettings.settings) + + ::flyteidl::admin::SettingsCollection* temp = settings_; + settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::SettingsCollection* WorkflowSettings::mutable_settings() { + + if (settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::SettingsCollection>(GetArenaNoVirtual()); + settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowSettings.settings) + return settings_; +} +inline void WorkflowSettings::set_allocated_settings(::flyteidl::admin::SettingsCollection* settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete settings_; + } + if (settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, settings, submessage_arena); + } + + } else { + + } + settings_ = settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowSettings.settings) +} + +// map launchplan_settings = 3; +inline int WorkflowSettings::launchplan_settings_size() const { + return launchplan_settings_.size(); +} +inline void WorkflowSettings::clear_launchplan_settings() { + launchplan_settings_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >& +WorkflowSettings::launchplan_settings() const { + // @@protoc_insertion_point(field_map:flyteidl.admin.WorkflowSettings.launchplan_settings) + return launchplan_settings_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::flyteidl::admin::LaunchplanSettings >* +WorkflowSettings::mutable_launchplan_settings() { + // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.WorkflowSettings.launchplan_settings) + return launchplan_settings_.MutableMap(); +} + +// ------------------------------------------------------------------- + +// LaunchplanSettings + +// string launchplan = 1; +inline void LaunchplanSettings::clear_launchplan() { + launchplan_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& LaunchplanSettings::launchplan() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchplanSettings.launchplan) + return launchplan_.GetNoArena(); +} +inline void LaunchplanSettings::set_launchplan(const ::std::string& value) { + + launchplan_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchplanSettings.launchplan) +} +#if LANG_CXX11 +inline void LaunchplanSettings::set_launchplan(::std::string&& value) { + + launchplan_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.LaunchplanSettings.launchplan) +} +#endif +inline void LaunchplanSettings::set_launchplan(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + launchplan_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.LaunchplanSettings.launchplan) +} +inline void LaunchplanSettings::set_launchplan(const char* value, size_t size) { + + launchplan_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.LaunchplanSettings.launchplan) +} +inline ::std::string* LaunchplanSettings::mutable_launchplan() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchplanSettings.launchplan) + return launchplan_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LaunchplanSettings::release_launchplan() { + // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchplanSettings.launchplan) + + return launchplan_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void LaunchplanSettings::set_allocated_launchplan(::std::string* launchplan) { + if (launchplan != nullptr) { + + } else { + + } + launchplan_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), launchplan); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchplanSettings.launchplan) +} + +// .flyteidl.admin.SettingsCollection settings = 2; +inline bool LaunchplanSettings::has_settings() const { + return this != internal_default_instance() && settings_ != nullptr; +} +inline void LaunchplanSettings::clear_settings() { + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; +} +inline const ::flyteidl::admin::SettingsCollection& LaunchplanSettings::settings() const { + const ::flyteidl::admin::SettingsCollection* p = settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchplanSettings.settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_SettingsCollection_default_instance_); +} +inline ::flyteidl::admin::SettingsCollection* LaunchplanSettings::release_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchplanSettings.settings) + + ::flyteidl::admin::SettingsCollection* temp = settings_; + settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::SettingsCollection* LaunchplanSettings::mutable_settings() { + + if (settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::SettingsCollection>(GetArenaNoVirtual()); + settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchplanSettings.settings) + return settings_; +} +inline void LaunchplanSettings::set_allocated_settings(::flyteidl::admin::SettingsCollection* settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete settings_; + } + if (settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, settings, submessage_arena); + } + + } else { + + } + settings_ = settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchplanSettings.settings) +} + +// ------------------------------------------------------------------- + +// GlobalLevel + +// ------------------------------------------------------------------- + +// ProjectLevel + +// string project = 1; +inline void ProjectLevel::clear_project() { + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ProjectLevel::project() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectLevel.project) + return project_.GetNoArena(); +} +inline void ProjectLevel::set_project(const ::std::string& value) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectLevel.project) +} +#if LANG_CXX11 +inline void ProjectLevel::set_project(::std::string&& value) { + + project_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectLevel.project) +} +#endif +inline void ProjectLevel::set_project(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.ProjectLevel.project) +} +inline void ProjectLevel::set_project(const char* value, size_t size) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ProjectLevel.project) +} +inline ::std::string* ProjectLevel::mutable_project() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectLevel.project) + return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ProjectLevel::release_project() { + // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectLevel.project) + + return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ProjectLevel::set_allocated_project(::std::string* project) { + if (project != nullptr) { + + } else { + + } + project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectLevel.project) +} + +// ------------------------------------------------------------------- + +// DomainLevel + +// string project = 1; +inline void DomainLevel::clear_project() { + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DomainLevel::project() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.DomainLevel.project) + return project_.GetNoArena(); +} +inline void DomainLevel::set_project(const ::std::string& value) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.DomainLevel.project) +} +#if LANG_CXX11 +inline void DomainLevel::set_project(::std::string&& value) { + + project_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DomainLevel.project) +} +#endif +inline void DomainLevel::set_project(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.DomainLevel.project) +} +inline void DomainLevel::set_project(const char* value, size_t size) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DomainLevel.project) +} +inline ::std::string* DomainLevel::mutable_project() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.DomainLevel.project) + return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DomainLevel::release_project() { + // @@protoc_insertion_point(field_release:flyteidl.admin.DomainLevel.project) + + return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DomainLevel::set_allocated_project(::std::string* project) { + if (project != nullptr) { + + } else { + + } + project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DomainLevel.project) +} + +// string domain = 2; +inline void DomainLevel::clear_domain() { + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& DomainLevel::domain() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.DomainLevel.domain) + return domain_.GetNoArena(); +} +inline void DomainLevel::set_domain(const ::std::string& value) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.DomainLevel.domain) +} +#if LANG_CXX11 +inline void DomainLevel::set_domain(::std::string&& value) { + + domain_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.DomainLevel.domain) +} +#endif +inline void DomainLevel::set_domain(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.DomainLevel.domain) +} +inline void DomainLevel::set_domain(const char* value, size_t size) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.DomainLevel.domain) +} +inline ::std::string* DomainLevel::mutable_domain() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.DomainLevel.domain) + return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* DomainLevel::release_domain() { + // @@protoc_insertion_point(field_release:flyteidl.admin.DomainLevel.domain) + + return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void DomainLevel::set_allocated_domain(::std::string* domain) { + if (domain != nullptr) { + + } else { + + } + domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.DomainLevel.domain) +} + +// ------------------------------------------------------------------- + +// WorkflowLevel + +// string project = 1; +inline void WorkflowLevel::clear_project() { + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& WorkflowLevel::project() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowLevel.project) + return project_.GetNoArena(); +} +inline void WorkflowLevel::set_project(const ::std::string& value) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowLevel.project) +} +#if LANG_CXX11 +inline void WorkflowLevel::set_project(::std::string&& value) { + + project_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowLevel.project) +} +#endif +inline void WorkflowLevel::set_project(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowLevel.project) +} +inline void WorkflowLevel::set_project(const char* value, size_t size) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowLevel.project) +} +inline ::std::string* WorkflowLevel::mutable_project() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowLevel.project) + return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* WorkflowLevel::release_project() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowLevel.project) + + return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void WorkflowLevel::set_allocated_project(::std::string* project) { + if (project != nullptr) { + + } else { + + } + project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowLevel.project) +} + +// string domain = 2; +inline void WorkflowLevel::clear_domain() { + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& WorkflowLevel::domain() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowLevel.domain) + return domain_.GetNoArena(); +} +inline void WorkflowLevel::set_domain(const ::std::string& value) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowLevel.domain) +} +#if LANG_CXX11 +inline void WorkflowLevel::set_domain(::std::string&& value) { + + domain_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowLevel.domain) +} +#endif +inline void WorkflowLevel::set_domain(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowLevel.domain) +} +inline void WorkflowLevel::set_domain(const char* value, size_t size) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowLevel.domain) +} +inline ::std::string* WorkflowLevel::mutable_domain() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowLevel.domain) + return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* WorkflowLevel::release_domain() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowLevel.domain) + + return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void WorkflowLevel::set_allocated_domain(::std::string* domain) { + if (domain != nullptr) { + + } else { + + } + domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowLevel.domain) +} + +// string workflow = 3; +inline void WorkflowLevel::clear_workflow() { + workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& WorkflowLevel::workflow() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowLevel.workflow) + return workflow_.GetNoArena(); +} +inline void WorkflowLevel::set_workflow(const ::std::string& value) { + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowLevel.workflow) +} +#if LANG_CXX11 +inline void WorkflowLevel::set_workflow(::std::string&& value) { + + workflow_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowLevel.workflow) +} +#endif +inline void WorkflowLevel::set_workflow(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.WorkflowLevel.workflow) +} +inline void WorkflowLevel::set_workflow(const char* value, size_t size) { + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.WorkflowLevel.workflow) +} +inline ::std::string* WorkflowLevel::mutable_workflow() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowLevel.workflow) + return workflow_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* WorkflowLevel::release_workflow() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowLevel.workflow) + + return workflow_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void WorkflowLevel::set_allocated_workflow(::std::string* workflow) { + if (workflow != nullptr) { + + } else { + + } + workflow_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), workflow); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowLevel.workflow) +} + +// ------------------------------------------------------------------- + +// LaunchplanLevel + +// string project = 1; +inline void LaunchplanLevel::clear_project() { + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& LaunchplanLevel::project() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchplanLevel.project) + return project_.GetNoArena(); +} +inline void LaunchplanLevel::set_project(const ::std::string& value) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchplanLevel.project) +} +#if LANG_CXX11 +inline void LaunchplanLevel::set_project(::std::string&& value) { + + project_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.LaunchplanLevel.project) +} +#endif +inline void LaunchplanLevel::set_project(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.LaunchplanLevel.project) +} +inline void LaunchplanLevel::set_project(const char* value, size_t size) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.LaunchplanLevel.project) +} +inline ::std::string* LaunchplanLevel::mutable_project() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchplanLevel.project) + return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LaunchplanLevel::release_project() { + // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchplanLevel.project) + + return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void LaunchplanLevel::set_allocated_project(::std::string* project) { + if (project != nullptr) { + + } else { + + } + project_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), project); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchplanLevel.project) +} + +// string domain = 2; +inline void LaunchplanLevel::clear_domain() { + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& LaunchplanLevel::domain() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchplanLevel.domain) + return domain_.GetNoArena(); +} +inline void LaunchplanLevel::set_domain(const ::std::string& value) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchplanLevel.domain) +} +#if LANG_CXX11 +inline void LaunchplanLevel::set_domain(::std::string&& value) { + + domain_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.LaunchplanLevel.domain) +} +#endif +inline void LaunchplanLevel::set_domain(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.LaunchplanLevel.domain) +} +inline void LaunchplanLevel::set_domain(const char* value, size_t size) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.LaunchplanLevel.domain) +} +inline ::std::string* LaunchplanLevel::mutable_domain() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchplanLevel.domain) + return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LaunchplanLevel::release_domain() { + // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchplanLevel.domain) + + return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void LaunchplanLevel::set_allocated_domain(::std::string* domain) { + if (domain != nullptr) { + + } else { + + } + domain_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domain); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchplanLevel.domain) +} + +// string workflow = 3; +inline void LaunchplanLevel::clear_workflow() { + workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& LaunchplanLevel::workflow() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchplanLevel.workflow) + return workflow_.GetNoArena(); +} +inline void LaunchplanLevel::set_workflow(const ::std::string& value) { + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchplanLevel.workflow) +} +#if LANG_CXX11 +inline void LaunchplanLevel::set_workflow(::std::string&& value) { + + workflow_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.LaunchplanLevel.workflow) +} +#endif +inline void LaunchplanLevel::set_workflow(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.LaunchplanLevel.workflow) +} +inline void LaunchplanLevel::set_workflow(const char* value, size_t size) { + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.LaunchplanLevel.workflow) +} +inline ::std::string* LaunchplanLevel::mutable_workflow() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchplanLevel.workflow) + return workflow_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LaunchplanLevel::release_workflow() { + // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchplanLevel.workflow) + + return workflow_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void LaunchplanLevel::set_allocated_workflow(::std::string* workflow) { + if (workflow != nullptr) { + + } else { + + } + workflow_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), workflow); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchplanLevel.workflow) +} + +// string launchplan = 4; +inline void LaunchplanLevel::clear_launchplan() { + launchplan_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& LaunchplanLevel::launchplan() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.LaunchplanLevel.launchplan) + return launchplan_.GetNoArena(); +} +inline void LaunchplanLevel::set_launchplan(const ::std::string& value) { + + launchplan_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.LaunchplanLevel.launchplan) +} +#if LANG_CXX11 +inline void LaunchplanLevel::set_launchplan(::std::string&& value) { + + launchplan_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.LaunchplanLevel.launchplan) +} +#endif +inline void LaunchplanLevel::set_launchplan(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + launchplan_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.LaunchplanLevel.launchplan) +} +inline void LaunchplanLevel::set_launchplan(const char* value, size_t size) { + + launchplan_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.LaunchplanLevel.launchplan) +} +inline ::std::string* LaunchplanLevel::mutable_launchplan() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.LaunchplanLevel.launchplan) + return launchplan_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* LaunchplanLevel::release_launchplan() { + // @@protoc_insertion_point(field_release:flyteidl.admin.LaunchplanLevel.launchplan) + + return launchplan_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void LaunchplanLevel::set_allocated_launchplan(::std::string* launchplan) { + if (launchplan != nullptr) { + + } else { + + } + launchplan_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), launchplan); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.LaunchplanLevel.launchplan) +} + +// ------------------------------------------------------------------- + +// SettingsUpdateRequest + +// .flyteidl.admin.GlobalLevel global_level = 1; +inline bool SettingsUpdateRequest::has_global_level() const { + return level_case() == kGlobalLevel; +} +inline void SettingsUpdateRequest::set_has_global_level() { + _oneof_case_[0] = kGlobalLevel; +} +inline void SettingsUpdateRequest::clear_global_level() { + if (has_global_level()) { + delete level_.global_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::GlobalLevel* SettingsUpdateRequest::release_global_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsUpdateRequest.global_level) + if (has_global_level()) { + clear_has_level(); + ::flyteidl::admin::GlobalLevel* temp = level_.global_level_; + level_.global_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::GlobalLevel& SettingsUpdateRequest::global_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsUpdateRequest.global_level) + return has_global_level() + ? *level_.global_level_ + : *reinterpret_cast< ::flyteidl::admin::GlobalLevel*>(&::flyteidl::admin::_GlobalLevel_default_instance_); +} +inline ::flyteidl::admin::GlobalLevel* SettingsUpdateRequest::mutable_global_level() { + if (!has_global_level()) { + clear_level(); + set_has_global_level(); + level_.global_level_ = CreateMaybeMessage< ::flyteidl::admin::GlobalLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsUpdateRequest.global_level) + return level_.global_level_; +} + +// .flyteidl.admin.ProjectLevel project_level = 2; +inline bool SettingsUpdateRequest::has_project_level() const { + return level_case() == kProjectLevel; +} +inline void SettingsUpdateRequest::set_has_project_level() { + _oneof_case_[0] = kProjectLevel; +} +inline void SettingsUpdateRequest::clear_project_level() { + if (has_project_level()) { + delete level_.project_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::ProjectLevel* SettingsUpdateRequest::release_project_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsUpdateRequest.project_level) + if (has_project_level()) { + clear_has_level(); + ::flyteidl::admin::ProjectLevel* temp = level_.project_level_; + level_.project_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::ProjectLevel& SettingsUpdateRequest::project_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsUpdateRequest.project_level) + return has_project_level() + ? *level_.project_level_ + : *reinterpret_cast< ::flyteidl::admin::ProjectLevel*>(&::flyteidl::admin::_ProjectLevel_default_instance_); +} +inline ::flyteidl::admin::ProjectLevel* SettingsUpdateRequest::mutable_project_level() { + if (!has_project_level()) { + clear_level(); + set_has_project_level(); + level_.project_level_ = CreateMaybeMessage< ::flyteidl::admin::ProjectLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsUpdateRequest.project_level) + return level_.project_level_; +} + +// .flyteidl.admin.DomainLevel domain_level = 3; +inline bool SettingsUpdateRequest::has_domain_level() const { + return level_case() == kDomainLevel; +} +inline void SettingsUpdateRequest::set_has_domain_level() { + _oneof_case_[0] = kDomainLevel; +} +inline void SettingsUpdateRequest::clear_domain_level() { + if (has_domain_level()) { + delete level_.domain_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::DomainLevel* SettingsUpdateRequest::release_domain_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsUpdateRequest.domain_level) + if (has_domain_level()) { + clear_has_level(); + ::flyteidl::admin::DomainLevel* temp = level_.domain_level_; + level_.domain_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::DomainLevel& SettingsUpdateRequest::domain_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsUpdateRequest.domain_level) + return has_domain_level() + ? *level_.domain_level_ + : *reinterpret_cast< ::flyteidl::admin::DomainLevel*>(&::flyteidl::admin::_DomainLevel_default_instance_); +} +inline ::flyteidl::admin::DomainLevel* SettingsUpdateRequest::mutable_domain_level() { + if (!has_domain_level()) { + clear_level(); + set_has_domain_level(); + level_.domain_level_ = CreateMaybeMessage< ::flyteidl::admin::DomainLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsUpdateRequest.domain_level) + return level_.domain_level_; +} + +// .flyteidl.admin.WorkflowLevel workflow_level = 4; +inline bool SettingsUpdateRequest::has_workflow_level() const { + return level_case() == kWorkflowLevel; +} +inline void SettingsUpdateRequest::set_has_workflow_level() { + _oneof_case_[0] = kWorkflowLevel; +} +inline void SettingsUpdateRequest::clear_workflow_level() { + if (has_workflow_level()) { + delete level_.workflow_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::WorkflowLevel* SettingsUpdateRequest::release_workflow_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsUpdateRequest.workflow_level) + if (has_workflow_level()) { + clear_has_level(); + ::flyteidl::admin::WorkflowLevel* temp = level_.workflow_level_; + level_.workflow_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::WorkflowLevel& SettingsUpdateRequest::workflow_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsUpdateRequest.workflow_level) + return has_workflow_level() + ? *level_.workflow_level_ + : *reinterpret_cast< ::flyteidl::admin::WorkflowLevel*>(&::flyteidl::admin::_WorkflowLevel_default_instance_); +} +inline ::flyteidl::admin::WorkflowLevel* SettingsUpdateRequest::mutable_workflow_level() { + if (!has_workflow_level()) { + clear_level(); + set_has_workflow_level(); + level_.workflow_level_ = CreateMaybeMessage< ::flyteidl::admin::WorkflowLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsUpdateRequest.workflow_level) + return level_.workflow_level_; +} + +// .flyteidl.admin.LaunchplanLevel launchplan_level = 5; +inline bool SettingsUpdateRequest::has_launchplan_level() const { + return level_case() == kLaunchplanLevel; +} +inline void SettingsUpdateRequest::set_has_launchplan_level() { + _oneof_case_[0] = kLaunchplanLevel; +} +inline void SettingsUpdateRequest::clear_launchplan_level() { + if (has_launchplan_level()) { + delete level_.launchplan_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::LaunchplanLevel* SettingsUpdateRequest::release_launchplan_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsUpdateRequest.launchplan_level) + if (has_launchplan_level()) { + clear_has_level(); + ::flyteidl::admin::LaunchplanLevel* temp = level_.launchplan_level_; + level_.launchplan_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::LaunchplanLevel& SettingsUpdateRequest::launchplan_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsUpdateRequest.launchplan_level) + return has_launchplan_level() + ? *level_.launchplan_level_ + : *reinterpret_cast< ::flyteidl::admin::LaunchplanLevel*>(&::flyteidl::admin::_LaunchplanLevel_default_instance_); +} +inline ::flyteidl::admin::LaunchplanLevel* SettingsUpdateRequest::mutable_launchplan_level() { + if (!has_launchplan_level()) { + clear_level(); + set_has_launchplan_level(); + level_.launchplan_level_ = CreateMaybeMessage< ::flyteidl::admin::LaunchplanLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsUpdateRequest.launchplan_level) + return level_.launchplan_level_; +} + +// .flyteidl.admin.SettingsCollection settings = 6; +inline bool SettingsUpdateRequest::has_settings() const { + return this != internal_default_instance() && settings_ != nullptr; +} +inline void SettingsUpdateRequest::clear_settings() { + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; +} +inline const ::flyteidl::admin::SettingsCollection& SettingsUpdateRequest::settings() const { + const ::flyteidl::admin::SettingsCollection* p = settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsUpdateRequest.settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_SettingsCollection_default_instance_); +} +inline ::flyteidl::admin::SettingsCollection* SettingsUpdateRequest::release_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsUpdateRequest.settings) + + ::flyteidl::admin::SettingsCollection* temp = settings_; + settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::SettingsCollection* SettingsUpdateRequest::mutable_settings() { + + if (settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::SettingsCollection>(GetArenaNoVirtual()); + settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsUpdateRequest.settings) + return settings_; +} +inline void SettingsUpdateRequest::set_allocated_settings(::flyteidl::admin::SettingsCollection* settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete settings_; + } + if (settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, settings, submessage_arena); + } + + } else { + + } + settings_ = settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsUpdateRequest.settings) +} + +inline bool SettingsUpdateRequest::has_level() const { + return level_case() != LEVEL_NOT_SET; +} +inline void SettingsUpdateRequest::clear_has_level() { + _oneof_case_[0] = LEVEL_NOT_SET; +} +inline SettingsUpdateRequest::LevelCase SettingsUpdateRequest::level_case() const { + return SettingsUpdateRequest::LevelCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// FullSettingsUpdateRequest + +// .flyteidl.admin.GlobalLevel global_level = 1; +inline bool FullSettingsUpdateRequest::has_global_level() const { + return level_case() == kGlobalLevel; +} +inline void FullSettingsUpdateRequest::set_has_global_level() { + _oneof_case_[0] = kGlobalLevel; +} +inline void FullSettingsUpdateRequest::clear_global_level() { + if (has_global_level()) { + delete level_.global_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::GlobalLevel* FullSettingsUpdateRequest::release_global_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FullSettingsUpdateRequest.global_level) + if (has_global_level()) { + clear_has_level(); + ::flyteidl::admin::GlobalLevel* temp = level_.global_level_; + level_.global_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::GlobalLevel& FullSettingsUpdateRequest::global_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.FullSettingsUpdateRequest.global_level) + return has_global_level() + ? *level_.global_level_ + : *reinterpret_cast< ::flyteidl::admin::GlobalLevel*>(&::flyteidl::admin::_GlobalLevel_default_instance_); +} +inline ::flyteidl::admin::GlobalLevel* FullSettingsUpdateRequest::mutable_global_level() { + if (!has_global_level()) { + clear_level(); + set_has_global_level(); + level_.global_level_ = CreateMaybeMessage< ::flyteidl::admin::GlobalLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FullSettingsUpdateRequest.global_level) + return level_.global_level_; +} + +// .flyteidl.admin.ProjectLevel project_level = 2; +inline bool FullSettingsUpdateRequest::has_project_level() const { + return level_case() == kProjectLevel; +} +inline void FullSettingsUpdateRequest::set_has_project_level() { + _oneof_case_[0] = kProjectLevel; +} +inline void FullSettingsUpdateRequest::clear_project_level() { + if (has_project_level()) { + delete level_.project_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::ProjectLevel* FullSettingsUpdateRequest::release_project_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FullSettingsUpdateRequest.project_level) + if (has_project_level()) { + clear_has_level(); + ::flyteidl::admin::ProjectLevel* temp = level_.project_level_; + level_.project_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::ProjectLevel& FullSettingsUpdateRequest::project_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.FullSettingsUpdateRequest.project_level) + return has_project_level() + ? *level_.project_level_ + : *reinterpret_cast< ::flyteidl::admin::ProjectLevel*>(&::flyteidl::admin::_ProjectLevel_default_instance_); +} +inline ::flyteidl::admin::ProjectLevel* FullSettingsUpdateRequest::mutable_project_level() { + if (!has_project_level()) { + clear_level(); + set_has_project_level(); + level_.project_level_ = CreateMaybeMessage< ::flyteidl::admin::ProjectLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FullSettingsUpdateRequest.project_level) + return level_.project_level_; +} + +// .flyteidl.admin.DomainLevel domain_level = 3; +inline bool FullSettingsUpdateRequest::has_domain_level() const { + return level_case() == kDomainLevel; +} +inline void FullSettingsUpdateRequest::set_has_domain_level() { + _oneof_case_[0] = kDomainLevel; +} +inline void FullSettingsUpdateRequest::clear_domain_level() { + if (has_domain_level()) { + delete level_.domain_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::DomainLevel* FullSettingsUpdateRequest::release_domain_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FullSettingsUpdateRequest.domain_level) + if (has_domain_level()) { + clear_has_level(); + ::flyteidl::admin::DomainLevel* temp = level_.domain_level_; + level_.domain_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::DomainLevel& FullSettingsUpdateRequest::domain_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.FullSettingsUpdateRequest.domain_level) + return has_domain_level() + ? *level_.domain_level_ + : *reinterpret_cast< ::flyteidl::admin::DomainLevel*>(&::flyteidl::admin::_DomainLevel_default_instance_); +} +inline ::flyteidl::admin::DomainLevel* FullSettingsUpdateRequest::mutable_domain_level() { + if (!has_domain_level()) { + clear_level(); + set_has_domain_level(); + level_.domain_level_ = CreateMaybeMessage< ::flyteidl::admin::DomainLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FullSettingsUpdateRequest.domain_level) + return level_.domain_level_; +} + +// .flyteidl.admin.WorkflowLevel workflow_level = 4; +inline bool FullSettingsUpdateRequest::has_workflow_level() const { + return level_case() == kWorkflowLevel; +} +inline void FullSettingsUpdateRequest::set_has_workflow_level() { + _oneof_case_[0] = kWorkflowLevel; +} +inline void FullSettingsUpdateRequest::clear_workflow_level() { + if (has_workflow_level()) { + delete level_.workflow_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::WorkflowLevel* FullSettingsUpdateRequest::release_workflow_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FullSettingsUpdateRequest.workflow_level) + if (has_workflow_level()) { + clear_has_level(); + ::flyteidl::admin::WorkflowLevel* temp = level_.workflow_level_; + level_.workflow_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::WorkflowLevel& FullSettingsUpdateRequest::workflow_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.FullSettingsUpdateRequest.workflow_level) + return has_workflow_level() + ? *level_.workflow_level_ + : *reinterpret_cast< ::flyteidl::admin::WorkflowLevel*>(&::flyteidl::admin::_WorkflowLevel_default_instance_); +} +inline ::flyteidl::admin::WorkflowLevel* FullSettingsUpdateRequest::mutable_workflow_level() { + if (!has_workflow_level()) { + clear_level(); + set_has_workflow_level(); + level_.workflow_level_ = CreateMaybeMessage< ::flyteidl::admin::WorkflowLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FullSettingsUpdateRequest.workflow_level) + return level_.workflow_level_; +} + +// .flyteidl.admin.LaunchplanLevel launchplan_level = 5; +inline bool FullSettingsUpdateRequest::has_launchplan_level() const { + return level_case() == kLaunchplanLevel; +} +inline void FullSettingsUpdateRequest::set_has_launchplan_level() { + _oneof_case_[0] = kLaunchplanLevel; +} +inline void FullSettingsUpdateRequest::clear_launchplan_level() { + if (has_launchplan_level()) { + delete level_.launchplan_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::LaunchplanLevel* FullSettingsUpdateRequest::release_launchplan_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FullSettingsUpdateRequest.launchplan_level) + if (has_launchplan_level()) { + clear_has_level(); + ::flyteidl::admin::LaunchplanLevel* temp = level_.launchplan_level_; + level_.launchplan_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::LaunchplanLevel& FullSettingsUpdateRequest::launchplan_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.FullSettingsUpdateRequest.launchplan_level) + return has_launchplan_level() + ? *level_.launchplan_level_ + : *reinterpret_cast< ::flyteidl::admin::LaunchplanLevel*>(&::flyteidl::admin::_LaunchplanLevel_default_instance_); +} +inline ::flyteidl::admin::LaunchplanLevel* FullSettingsUpdateRequest::mutable_launchplan_level() { + if (!has_launchplan_level()) { + clear_level(); + set_has_launchplan_level(); + level_.launchplan_level_ = CreateMaybeMessage< ::flyteidl::admin::LaunchplanLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FullSettingsUpdateRequest.launchplan_level) + return level_.launchplan_level_; +} + +// .flyteidl.admin.SettingsCollection settings = 6; +inline bool FullSettingsUpdateRequest::has_settings() const { + return this != internal_default_instance() && settings_ != nullptr; +} +inline void FullSettingsUpdateRequest::clear_settings() { + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; +} +inline const ::flyteidl::admin::SettingsCollection& FullSettingsUpdateRequest::settings() const { + const ::flyteidl::admin::SettingsCollection* p = settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.FullSettingsUpdateRequest.settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_SettingsCollection_default_instance_); +} +inline ::flyteidl::admin::SettingsCollection* FullSettingsUpdateRequest::release_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FullSettingsUpdateRequest.settings) + + ::flyteidl::admin::SettingsCollection* temp = settings_; + settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::SettingsCollection* FullSettingsUpdateRequest::mutable_settings() { + + if (settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::SettingsCollection>(GetArenaNoVirtual()); + settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FullSettingsUpdateRequest.settings) + return settings_; +} +inline void FullSettingsUpdateRequest::set_allocated_settings(::flyteidl::admin::SettingsCollection* settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete settings_; + } + if (settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, settings, submessage_arena); + } + + } else { + + } + settings_ = settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FullSettingsUpdateRequest.settings) +} + +inline bool FullSettingsUpdateRequest::has_level() const { + return level_case() != LEVEL_NOT_SET; +} +inline void FullSettingsUpdateRequest::clear_has_level() { + _oneof_case_[0] = LEVEL_NOT_SET; +} +inline FullSettingsUpdateRequest::LevelCase FullSettingsUpdateRequest::level_case() const { + return FullSettingsUpdateRequest::LevelCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// FullSettingsUpdateResponse + +// ------------------------------------------------------------------- + +// SettingsGetRequest + +// .flyteidl.admin.GlobalLevel global_level = 1; +inline bool SettingsGetRequest::has_global_level() const { + return level_case() == kGlobalLevel; +} +inline void SettingsGetRequest::set_has_global_level() { + _oneof_case_[0] = kGlobalLevel; +} +inline void SettingsGetRequest::clear_global_level() { + if (has_global_level()) { + delete level_.global_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::GlobalLevel* SettingsGetRequest::release_global_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetRequest.global_level) + if (has_global_level()) { + clear_has_level(); + ::flyteidl::admin::GlobalLevel* temp = level_.global_level_; + level_.global_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::GlobalLevel& SettingsGetRequest::global_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetRequest.global_level) + return has_global_level() + ? *level_.global_level_ + : *reinterpret_cast< ::flyteidl::admin::GlobalLevel*>(&::flyteidl::admin::_GlobalLevel_default_instance_); +} +inline ::flyteidl::admin::GlobalLevel* SettingsGetRequest::mutable_global_level() { + if (!has_global_level()) { + clear_level(); + set_has_global_level(); + level_.global_level_ = CreateMaybeMessage< ::flyteidl::admin::GlobalLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetRequest.global_level) + return level_.global_level_; +} + +// .flyteidl.admin.ProjectLevel project_level = 2; +inline bool SettingsGetRequest::has_project_level() const { + return level_case() == kProjectLevel; +} +inline void SettingsGetRequest::set_has_project_level() { + _oneof_case_[0] = kProjectLevel; +} +inline void SettingsGetRequest::clear_project_level() { + if (has_project_level()) { + delete level_.project_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::ProjectLevel* SettingsGetRequest::release_project_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetRequest.project_level) + if (has_project_level()) { + clear_has_level(); + ::flyteidl::admin::ProjectLevel* temp = level_.project_level_; + level_.project_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::ProjectLevel& SettingsGetRequest::project_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetRequest.project_level) + return has_project_level() + ? *level_.project_level_ + : *reinterpret_cast< ::flyteidl::admin::ProjectLevel*>(&::flyteidl::admin::_ProjectLevel_default_instance_); +} +inline ::flyteidl::admin::ProjectLevel* SettingsGetRequest::mutable_project_level() { + if (!has_project_level()) { + clear_level(); + set_has_project_level(); + level_.project_level_ = CreateMaybeMessage< ::flyteidl::admin::ProjectLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetRequest.project_level) + return level_.project_level_; +} + +// .flyteidl.admin.DomainLevel domain_level = 3; +inline bool SettingsGetRequest::has_domain_level() const { + return level_case() == kDomainLevel; +} +inline void SettingsGetRequest::set_has_domain_level() { + _oneof_case_[0] = kDomainLevel; +} +inline void SettingsGetRequest::clear_domain_level() { + if (has_domain_level()) { + delete level_.domain_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::DomainLevel* SettingsGetRequest::release_domain_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetRequest.domain_level) + if (has_domain_level()) { + clear_has_level(); + ::flyteidl::admin::DomainLevel* temp = level_.domain_level_; + level_.domain_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::DomainLevel& SettingsGetRequest::domain_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetRequest.domain_level) + return has_domain_level() + ? *level_.domain_level_ + : *reinterpret_cast< ::flyteidl::admin::DomainLevel*>(&::flyteidl::admin::_DomainLevel_default_instance_); +} +inline ::flyteidl::admin::DomainLevel* SettingsGetRequest::mutable_domain_level() { + if (!has_domain_level()) { + clear_level(); + set_has_domain_level(); + level_.domain_level_ = CreateMaybeMessage< ::flyteidl::admin::DomainLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetRequest.domain_level) + return level_.domain_level_; +} + +// .flyteidl.admin.WorkflowLevel workflow_level = 4; +inline bool SettingsGetRequest::has_workflow_level() const { + return level_case() == kWorkflowLevel; +} +inline void SettingsGetRequest::set_has_workflow_level() { + _oneof_case_[0] = kWorkflowLevel; +} +inline void SettingsGetRequest::clear_workflow_level() { + if (has_workflow_level()) { + delete level_.workflow_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::WorkflowLevel* SettingsGetRequest::release_workflow_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetRequest.workflow_level) + if (has_workflow_level()) { + clear_has_level(); + ::flyteidl::admin::WorkflowLevel* temp = level_.workflow_level_; + level_.workflow_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::WorkflowLevel& SettingsGetRequest::workflow_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetRequest.workflow_level) + return has_workflow_level() + ? *level_.workflow_level_ + : *reinterpret_cast< ::flyteidl::admin::WorkflowLevel*>(&::flyteidl::admin::_WorkflowLevel_default_instance_); +} +inline ::flyteidl::admin::WorkflowLevel* SettingsGetRequest::mutable_workflow_level() { + if (!has_workflow_level()) { + clear_level(); + set_has_workflow_level(); + level_.workflow_level_ = CreateMaybeMessage< ::flyteidl::admin::WorkflowLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetRequest.workflow_level) + return level_.workflow_level_; +} + +// .flyteidl.admin.LaunchplanLevel launchplan_level = 5; +inline bool SettingsGetRequest::has_launchplan_level() const { + return level_case() == kLaunchplanLevel; +} +inline void SettingsGetRequest::set_has_launchplan_level() { + _oneof_case_[0] = kLaunchplanLevel; +} +inline void SettingsGetRequest::clear_launchplan_level() { + if (has_launchplan_level()) { + delete level_.launchplan_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::LaunchplanLevel* SettingsGetRequest::release_launchplan_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetRequest.launchplan_level) + if (has_launchplan_level()) { + clear_has_level(); + ::flyteidl::admin::LaunchplanLevel* temp = level_.launchplan_level_; + level_.launchplan_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::LaunchplanLevel& SettingsGetRequest::launchplan_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetRequest.launchplan_level) + return has_launchplan_level() + ? *level_.launchplan_level_ + : *reinterpret_cast< ::flyteidl::admin::LaunchplanLevel*>(&::flyteidl::admin::_LaunchplanLevel_default_instance_); +} +inline ::flyteidl::admin::LaunchplanLevel* SettingsGetRequest::mutable_launchplan_level() { + if (!has_launchplan_level()) { + clear_level(); + set_has_launchplan_level(); + level_.launchplan_level_ = CreateMaybeMessage< ::flyteidl::admin::LaunchplanLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetRequest.launchplan_level) + return level_.launchplan_level_; +} + +inline bool SettingsGetRequest::has_level() const { + return level_case() != LEVEL_NOT_SET; +} +inline void SettingsGetRequest::clear_has_level() { + _oneof_case_[0] = LEVEL_NOT_SET; +} +inline SettingsGetRequest::LevelCase SettingsGetRequest::level_case() const { + return SettingsGetRequest::LevelCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// SettingsGetResponse + +// .flyteidl.admin.GlobalLevel global_level = 1; +inline bool SettingsGetResponse::has_global_level() const { + return level_case() == kGlobalLevel; +} +inline void SettingsGetResponse::set_has_global_level() { + _oneof_case_[0] = kGlobalLevel; +} +inline void SettingsGetResponse::clear_global_level() { + if (has_global_level()) { + delete level_.global_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::GlobalLevel* SettingsGetResponse::release_global_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetResponse.global_level) + if (has_global_level()) { + clear_has_level(); + ::flyteidl::admin::GlobalLevel* temp = level_.global_level_; + level_.global_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::GlobalLevel& SettingsGetResponse::global_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetResponse.global_level) + return has_global_level() + ? *level_.global_level_ + : *reinterpret_cast< ::flyteidl::admin::GlobalLevel*>(&::flyteidl::admin::_GlobalLevel_default_instance_); +} +inline ::flyteidl::admin::GlobalLevel* SettingsGetResponse::mutable_global_level() { + if (!has_global_level()) { + clear_level(); + set_has_global_level(); + level_.global_level_ = CreateMaybeMessage< ::flyteidl::admin::GlobalLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetResponse.global_level) + return level_.global_level_; +} + +// .flyteidl.admin.ProjectLevel project_level = 2; +inline bool SettingsGetResponse::has_project_level() const { + return level_case() == kProjectLevel; +} +inline void SettingsGetResponse::set_has_project_level() { + _oneof_case_[0] = kProjectLevel; +} +inline void SettingsGetResponse::clear_project_level() { + if (has_project_level()) { + delete level_.project_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::ProjectLevel* SettingsGetResponse::release_project_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetResponse.project_level) + if (has_project_level()) { + clear_has_level(); + ::flyteidl::admin::ProjectLevel* temp = level_.project_level_; + level_.project_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::ProjectLevel& SettingsGetResponse::project_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetResponse.project_level) + return has_project_level() + ? *level_.project_level_ + : *reinterpret_cast< ::flyteidl::admin::ProjectLevel*>(&::flyteidl::admin::_ProjectLevel_default_instance_); +} +inline ::flyteidl::admin::ProjectLevel* SettingsGetResponse::mutable_project_level() { + if (!has_project_level()) { + clear_level(); + set_has_project_level(); + level_.project_level_ = CreateMaybeMessage< ::flyteidl::admin::ProjectLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetResponse.project_level) + return level_.project_level_; +} + +// .flyteidl.admin.DomainLevel domain_level = 3; +inline bool SettingsGetResponse::has_domain_level() const { + return level_case() == kDomainLevel; +} +inline void SettingsGetResponse::set_has_domain_level() { + _oneof_case_[0] = kDomainLevel; +} +inline void SettingsGetResponse::clear_domain_level() { + if (has_domain_level()) { + delete level_.domain_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::DomainLevel* SettingsGetResponse::release_domain_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetResponse.domain_level) + if (has_domain_level()) { + clear_has_level(); + ::flyteidl::admin::DomainLevel* temp = level_.domain_level_; + level_.domain_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::DomainLevel& SettingsGetResponse::domain_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetResponse.domain_level) + return has_domain_level() + ? *level_.domain_level_ + : *reinterpret_cast< ::flyteidl::admin::DomainLevel*>(&::flyteidl::admin::_DomainLevel_default_instance_); +} +inline ::flyteidl::admin::DomainLevel* SettingsGetResponse::mutable_domain_level() { + if (!has_domain_level()) { + clear_level(); + set_has_domain_level(); + level_.domain_level_ = CreateMaybeMessage< ::flyteidl::admin::DomainLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetResponse.domain_level) + return level_.domain_level_; +} + +// .flyteidl.admin.WorkflowLevel workflow_level = 4; +inline bool SettingsGetResponse::has_workflow_level() const { + return level_case() == kWorkflowLevel; +} +inline void SettingsGetResponse::set_has_workflow_level() { + _oneof_case_[0] = kWorkflowLevel; +} +inline void SettingsGetResponse::clear_workflow_level() { + if (has_workflow_level()) { + delete level_.workflow_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::WorkflowLevel* SettingsGetResponse::release_workflow_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetResponse.workflow_level) + if (has_workflow_level()) { + clear_has_level(); + ::flyteidl::admin::WorkflowLevel* temp = level_.workflow_level_; + level_.workflow_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::WorkflowLevel& SettingsGetResponse::workflow_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetResponse.workflow_level) + return has_workflow_level() + ? *level_.workflow_level_ + : *reinterpret_cast< ::flyteidl::admin::WorkflowLevel*>(&::flyteidl::admin::_WorkflowLevel_default_instance_); +} +inline ::flyteidl::admin::WorkflowLevel* SettingsGetResponse::mutable_workflow_level() { + if (!has_workflow_level()) { + clear_level(); + set_has_workflow_level(); + level_.workflow_level_ = CreateMaybeMessage< ::flyteidl::admin::WorkflowLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetResponse.workflow_level) + return level_.workflow_level_; +} + +// .flyteidl.admin.LaunchplanLevel launchplan_level = 5; +inline bool SettingsGetResponse::has_launchplan_level() const { + return level_case() == kLaunchplanLevel; +} +inline void SettingsGetResponse::set_has_launchplan_level() { + _oneof_case_[0] = kLaunchplanLevel; +} +inline void SettingsGetResponse::clear_launchplan_level() { + if (has_launchplan_level()) { + delete level_.launchplan_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::LaunchplanLevel* SettingsGetResponse::release_launchplan_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetResponse.launchplan_level) + if (has_launchplan_level()) { + clear_has_level(); + ::flyteidl::admin::LaunchplanLevel* temp = level_.launchplan_level_; + level_.launchplan_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::LaunchplanLevel& SettingsGetResponse::launchplan_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetResponse.launchplan_level) + return has_launchplan_level() + ? *level_.launchplan_level_ + : *reinterpret_cast< ::flyteidl::admin::LaunchplanLevel*>(&::flyteidl::admin::_LaunchplanLevel_default_instance_); +} +inline ::flyteidl::admin::LaunchplanLevel* SettingsGetResponse::mutable_launchplan_level() { + if (!has_launchplan_level()) { + clear_level(); + set_has_launchplan_level(); + level_.launchplan_level_ = CreateMaybeMessage< ::flyteidl::admin::LaunchplanLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetResponse.launchplan_level) + return level_.launchplan_level_; +} + +// .flyteidl.admin.SettingsCollection settings = 6; +inline bool SettingsGetResponse::has_settings() const { + return this != internal_default_instance() && settings_ != nullptr; +} +inline void SettingsGetResponse::clear_settings() { + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; +} +inline const ::flyteidl::admin::SettingsCollection& SettingsGetResponse::settings() const { + const ::flyteidl::admin::SettingsCollection* p = settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsGetResponse.settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_SettingsCollection_default_instance_); +} +inline ::flyteidl::admin::SettingsCollection* SettingsGetResponse::release_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsGetResponse.settings) + + ::flyteidl::admin::SettingsCollection* temp = settings_; + settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::SettingsCollection* SettingsGetResponse::mutable_settings() { + + if (settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::SettingsCollection>(GetArenaNoVirtual()); + settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsGetResponse.settings) + return settings_; +} +inline void SettingsGetResponse::set_allocated_settings(::flyteidl::admin::SettingsCollection* settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete settings_; + } + if (settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, settings, submessage_arena); + } + + } else { + + } + settings_ = settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsGetResponse.settings) +} + +inline bool SettingsGetResponse::has_level() const { + return level_case() != LEVEL_NOT_SET; +} +inline void SettingsGetResponse::clear_has_level() { + _oneof_case_[0] = LEVEL_NOT_SET; +} +inline SettingsGetResponse::LevelCase SettingsGetResponse::level_case() const { + return SettingsGetResponse::LevelCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// FullSettingsGetRequest + +// ------------------------------------------------------------------- + +// FullSettingsGetResponse + +// .flyteidl.admin.Settings settings = 1; +inline bool FullSettingsGetResponse::has_settings() const { + return this != internal_default_instance() && settings_ != nullptr; +} +inline void FullSettingsGetResponse::clear_settings() { + if (GetArenaNoVirtual() == nullptr && settings_ != nullptr) { + delete settings_; + } + settings_ = nullptr; +} +inline const ::flyteidl::admin::Settings& FullSettingsGetResponse::settings() const { + const ::flyteidl::admin::Settings* p = settings_; + // @@protoc_insertion_point(field_get:flyteidl.admin.FullSettingsGetResponse.settings) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_Settings_default_instance_); +} +inline ::flyteidl::admin::Settings* FullSettingsGetResponse::release_settings() { + // @@protoc_insertion_point(field_release:flyteidl.admin.FullSettingsGetResponse.settings) + + ::flyteidl::admin::Settings* temp = settings_; + settings_ = nullptr; + return temp; +} +inline ::flyteidl::admin::Settings* FullSettingsGetResponse::mutable_settings() { + + if (settings_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::Settings>(GetArenaNoVirtual()); + settings_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.FullSettingsGetResponse.settings) + return settings_; +} +inline void FullSettingsGetResponse::set_allocated_settings(::flyteidl::admin::Settings* settings) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete settings_; + } + if (settings) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + settings = ::google::protobuf::internal::GetOwnedMessage( + message_arena, settings, submessage_arena); + } + + } else { + + } + settings_ = settings; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.FullSettingsGetResponse.settings) +} + +// ------------------------------------------------------------------- + +// SettingsDeleteRequest + +// .flyteidl.admin.GlobalLevel global_level = 1; +inline bool SettingsDeleteRequest::has_global_level() const { + return level_case() == kGlobalLevel; +} +inline void SettingsDeleteRequest::set_has_global_level() { + _oneof_case_[0] = kGlobalLevel; +} +inline void SettingsDeleteRequest::clear_global_level() { + if (has_global_level()) { + delete level_.global_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::GlobalLevel* SettingsDeleteRequest::release_global_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsDeleteRequest.global_level) + if (has_global_level()) { + clear_has_level(); + ::flyteidl::admin::GlobalLevel* temp = level_.global_level_; + level_.global_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::GlobalLevel& SettingsDeleteRequest::global_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsDeleteRequest.global_level) + return has_global_level() + ? *level_.global_level_ + : *reinterpret_cast< ::flyteidl::admin::GlobalLevel*>(&::flyteidl::admin::_GlobalLevel_default_instance_); +} +inline ::flyteidl::admin::GlobalLevel* SettingsDeleteRequest::mutable_global_level() { + if (!has_global_level()) { + clear_level(); + set_has_global_level(); + level_.global_level_ = CreateMaybeMessage< ::flyteidl::admin::GlobalLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsDeleteRequest.global_level) + return level_.global_level_; +} + +// .flyteidl.admin.ProjectLevel project_level = 2; +inline bool SettingsDeleteRequest::has_project_level() const { + return level_case() == kProjectLevel; +} +inline void SettingsDeleteRequest::set_has_project_level() { + _oneof_case_[0] = kProjectLevel; +} +inline void SettingsDeleteRequest::clear_project_level() { + if (has_project_level()) { + delete level_.project_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::ProjectLevel* SettingsDeleteRequest::release_project_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsDeleteRequest.project_level) + if (has_project_level()) { + clear_has_level(); + ::flyteidl::admin::ProjectLevel* temp = level_.project_level_; + level_.project_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::ProjectLevel& SettingsDeleteRequest::project_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsDeleteRequest.project_level) + return has_project_level() + ? *level_.project_level_ + : *reinterpret_cast< ::flyteidl::admin::ProjectLevel*>(&::flyteidl::admin::_ProjectLevel_default_instance_); +} +inline ::flyteidl::admin::ProjectLevel* SettingsDeleteRequest::mutable_project_level() { + if (!has_project_level()) { + clear_level(); + set_has_project_level(); + level_.project_level_ = CreateMaybeMessage< ::flyteidl::admin::ProjectLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsDeleteRequest.project_level) + return level_.project_level_; +} + +// .flyteidl.admin.DomainLevel domain_level = 3; +inline bool SettingsDeleteRequest::has_domain_level() const { + return level_case() == kDomainLevel; +} +inline void SettingsDeleteRequest::set_has_domain_level() { + _oneof_case_[0] = kDomainLevel; +} +inline void SettingsDeleteRequest::clear_domain_level() { + if (has_domain_level()) { + delete level_.domain_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::DomainLevel* SettingsDeleteRequest::release_domain_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsDeleteRequest.domain_level) + if (has_domain_level()) { + clear_has_level(); + ::flyteidl::admin::DomainLevel* temp = level_.domain_level_; + level_.domain_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::DomainLevel& SettingsDeleteRequest::domain_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsDeleteRequest.domain_level) + return has_domain_level() + ? *level_.domain_level_ + : *reinterpret_cast< ::flyteidl::admin::DomainLevel*>(&::flyteidl::admin::_DomainLevel_default_instance_); +} +inline ::flyteidl::admin::DomainLevel* SettingsDeleteRequest::mutable_domain_level() { + if (!has_domain_level()) { + clear_level(); + set_has_domain_level(); + level_.domain_level_ = CreateMaybeMessage< ::flyteidl::admin::DomainLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsDeleteRequest.domain_level) + return level_.domain_level_; +} + +// .flyteidl.admin.WorkflowLevel workflow_level = 4; +inline bool SettingsDeleteRequest::has_workflow_level() const { + return level_case() == kWorkflowLevel; +} +inline void SettingsDeleteRequest::set_has_workflow_level() { + _oneof_case_[0] = kWorkflowLevel; +} +inline void SettingsDeleteRequest::clear_workflow_level() { + if (has_workflow_level()) { + delete level_.workflow_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::WorkflowLevel* SettingsDeleteRequest::release_workflow_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsDeleteRequest.workflow_level) + if (has_workflow_level()) { + clear_has_level(); + ::flyteidl::admin::WorkflowLevel* temp = level_.workflow_level_; + level_.workflow_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::WorkflowLevel& SettingsDeleteRequest::workflow_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsDeleteRequest.workflow_level) + return has_workflow_level() + ? *level_.workflow_level_ + : *reinterpret_cast< ::flyteidl::admin::WorkflowLevel*>(&::flyteidl::admin::_WorkflowLevel_default_instance_); +} +inline ::flyteidl::admin::WorkflowLevel* SettingsDeleteRequest::mutable_workflow_level() { + if (!has_workflow_level()) { + clear_level(); + set_has_workflow_level(); + level_.workflow_level_ = CreateMaybeMessage< ::flyteidl::admin::WorkflowLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsDeleteRequest.workflow_level) + return level_.workflow_level_; +} + +// .flyteidl.admin.LaunchplanLevel launchplan_level = 5; +inline bool SettingsDeleteRequest::has_launchplan_level() const { + return level_case() == kLaunchplanLevel; +} +inline void SettingsDeleteRequest::set_has_launchplan_level() { + _oneof_case_[0] = kLaunchplanLevel; +} +inline void SettingsDeleteRequest::clear_launchplan_level() { + if (has_launchplan_level()) { + delete level_.launchplan_level_; + clear_has_level(); + } +} +inline ::flyteidl::admin::LaunchplanLevel* SettingsDeleteRequest::release_launchplan_level() { + // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsDeleteRequest.launchplan_level) + if (has_launchplan_level()) { + clear_has_level(); + ::flyteidl::admin::LaunchplanLevel* temp = level_.launchplan_level_; + level_.launchplan_level_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::LaunchplanLevel& SettingsDeleteRequest::launchplan_level() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsDeleteRequest.launchplan_level) + return has_launchplan_level() + ? *level_.launchplan_level_ + : *reinterpret_cast< ::flyteidl::admin::LaunchplanLevel*>(&::flyteidl::admin::_LaunchplanLevel_default_instance_); +} +inline ::flyteidl::admin::LaunchplanLevel* SettingsDeleteRequest::mutable_launchplan_level() { + if (!has_launchplan_level()) { + clear_level(); + set_has_launchplan_level(); + level_.launchplan_level_ = CreateMaybeMessage< ::flyteidl::admin::LaunchplanLevel >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsDeleteRequest.launchplan_level) + return level_.launchplan_level_; +} + +inline bool SettingsDeleteRequest::has_level() const { + return level_case() != LEVEL_NOT_SET; +} +inline void SettingsDeleteRequest::clear_has_level() { + _oneof_case_[0] = LEVEL_NOT_SET; +} +inline SettingsDeleteRequest::LevelCase SettingsDeleteRequest::level_case() const { + return SettingsDeleteRequest::LevelCase(_oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// SettingsDeleteResponse + +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace admin +} // namespace flyteidl + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fsettings_2eproto diff --git a/gen/pb-go/flyteidl/admin/settings.pb.go b/gen/pb-go/flyteidl/admin/settings.pb.go new file mode 100644 index 000000000..6d8485ae8 --- /dev/null +++ b/gen/pb-go/flyteidl/admin/settings.pb.go @@ -0,0 +1,1532 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/admin/settings.proto + +package admin + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// Defines settings collection for flyte resources +type SettingsCollection struct { + TaskResourceSettings *MatchingAttributes `protobuf:"bytes,1,opt,name=task_resource_settings,json=taskResourceSettings,proto3" json:"task_resource_settings,omitempty"` + ClusterResourceSettings *MatchingAttributes `protobuf:"bytes,2,opt,name=cluster_resource_settings,json=clusterResourceSettings,proto3" json:"cluster_resource_settings,omitempty"` + ExecutionQueueSettings *MatchingAttributes `protobuf:"bytes,3,opt,name=execution_queue_settings,json=executionQueueSettings,proto3" json:"execution_queue_settings,omitempty"` + ExecutionClusterLabelSettings *MatchingAttributes `protobuf:"bytes,4,opt,name=execution_cluster_label_settings,json=executionClusterLabelSettings,proto3" json:"execution_cluster_label_settings,omitempty"` + QualityOfServiceSettings *MatchingAttributes `protobuf:"bytes,5,opt,name=quality_of_service_settings,json=qualityOfServiceSettings,proto3" json:"quality_of_service_settings,omitempty"` + PluginOverrideSettings *MatchingAttributes `protobuf:"bytes,6,opt,name=plugin_override_settings,json=pluginOverrideSettings,proto3" json:"plugin_override_settings,omitempty"` + WorkflowExecutionSettings *MatchingAttributes `protobuf:"bytes,7,opt,name=workflow_execution_settings,json=workflowExecutionSettings,proto3" json:"workflow_execution_settings,omitempty"` + ClusterAssignmentSettings *MatchingAttributes `protobuf:"bytes,8,opt,name=cluster_assignment_settings,json=clusterAssignmentSettings,proto3" json:"cluster_assignment_settings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SettingsCollection) Reset() { *m = SettingsCollection{} } +func (m *SettingsCollection) String() string { return proto.CompactTextString(m) } +func (*SettingsCollection) ProtoMessage() {} +func (*SettingsCollection) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{0} +} + +func (m *SettingsCollection) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SettingsCollection.Unmarshal(m, b) +} +func (m *SettingsCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SettingsCollection.Marshal(b, m, deterministic) +} +func (m *SettingsCollection) XXX_Merge(src proto.Message) { + xxx_messageInfo_SettingsCollection.Merge(m, src) +} +func (m *SettingsCollection) XXX_Size() int { + return xxx_messageInfo_SettingsCollection.Size(m) +} +func (m *SettingsCollection) XXX_DiscardUnknown() { + xxx_messageInfo_SettingsCollection.DiscardUnknown(m) +} + +var xxx_messageInfo_SettingsCollection proto.InternalMessageInfo + +func (m *SettingsCollection) GetTaskResourceSettings() *MatchingAttributes { + if m != nil { + return m.TaskResourceSettings + } + return nil +} + +func (m *SettingsCollection) GetClusterResourceSettings() *MatchingAttributes { + if m != nil { + return m.ClusterResourceSettings + } + return nil +} + +func (m *SettingsCollection) GetExecutionQueueSettings() *MatchingAttributes { + if m != nil { + return m.ExecutionQueueSettings + } + return nil +} + +func (m *SettingsCollection) GetExecutionClusterLabelSettings() *MatchingAttributes { + if m != nil { + return m.ExecutionClusterLabelSettings + } + return nil +} + +func (m *SettingsCollection) GetQualityOfServiceSettings() *MatchingAttributes { + if m != nil { + return m.QualityOfServiceSettings + } + return nil +} + +func (m *SettingsCollection) GetPluginOverrideSettings() *MatchingAttributes { + if m != nil { + return m.PluginOverrideSettings + } + return nil +} + +func (m *SettingsCollection) GetWorkflowExecutionSettings() *MatchingAttributes { + if m != nil { + return m.WorkflowExecutionSettings + } + return nil +} + +func (m *SettingsCollection) GetClusterAssignmentSettings() *MatchingAttributes { + if m != nil { + return m.ClusterAssignmentSettings + } + return nil +} + +// Defines settings at various levels +// Global : These are global settings which apply if no overrides are defined. +// Project : These are project level settings which get applied if they exist and no overrides exist at domain level +// Domain : These are domain level settings which get applied if they exist and no overrides exist at workflow level +// Workflow : These are workflow level settings which get applied if they exist +// Launchplan : These are launchplan level settings which get applied if they exist and no overrides exist at launchplan level +type Settings struct { + // Global settings applicable for all projects + Global *SettingsCollection `protobuf:"bytes,1,opt,name=global,proto3" json:"global,omitempty"` + // All project settings keyed on there name + ProjectSettings map[string]*ProjectSettings `protobuf:"bytes,2,rep,name=project_settings,json=projectSettings,proto3" json:"project_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Settings) Reset() { *m = Settings{} } +func (m *Settings) String() string { return proto.CompactTextString(m) } +func (*Settings) ProtoMessage() {} +func (*Settings) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{1} +} + +func (m *Settings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Settings.Unmarshal(m, b) +} +func (m *Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Settings.Marshal(b, m, deterministic) +} +func (m *Settings) XXX_Merge(src proto.Message) { + xxx_messageInfo_Settings.Merge(m, src) +} +func (m *Settings) XXX_Size() int { + return xxx_messageInfo_Settings.Size(m) +} +func (m *Settings) XXX_DiscardUnknown() { + xxx_messageInfo_Settings.DiscardUnknown(m) +} + +var xxx_messageInfo_Settings proto.InternalMessageInfo + +func (m *Settings) GetGlobal() *SettingsCollection { + if m != nil { + return m.Global + } + return nil +} + +func (m *Settings) GetProjectSettings() map[string]*ProjectSettings { + if m != nil { + return m.ProjectSettings + } + return nil +} + +// Defines Project level setting which contains it own settings and all the domain settings registered project +type ProjectSettings struct { + // Unique project id for which these settings are defined + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + // Project settings applicable for current project + Settings *SettingsCollection `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` + // All domain settings keyed on there name + DomainSettings map[string]*DomainSettings `protobuf:"bytes,3,rep,name=domain_settings,json=domainSettings,proto3" json:"domain_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProjectSettings) Reset() { *m = ProjectSettings{} } +func (m *ProjectSettings) String() string { return proto.CompactTextString(m) } +func (*ProjectSettings) ProtoMessage() {} +func (*ProjectSettings) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{2} +} + +func (m *ProjectSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProjectSettings.Unmarshal(m, b) +} +func (m *ProjectSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProjectSettings.Marshal(b, m, deterministic) +} +func (m *ProjectSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProjectSettings.Merge(m, src) +} +func (m *ProjectSettings) XXX_Size() int { + return xxx_messageInfo_ProjectSettings.Size(m) +} +func (m *ProjectSettings) XXX_DiscardUnknown() { + xxx_messageInfo_ProjectSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_ProjectSettings proto.InternalMessageInfo + +func (m *ProjectSettings) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +func (m *ProjectSettings) GetSettings() *SettingsCollection { + if m != nil { + return m.Settings + } + return nil +} + +func (m *ProjectSettings) GetDomainSettings() map[string]*DomainSettings { + if m != nil { + return m.DomainSettings + } + return nil +} + +// Defines a domain level settings which contains it own settings and all the workflow settings registered in that domain +type DomainSettings struct { + // Unique domain id for which these settings are defined in project + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + // Domain settings applicable for current project domain + Settings *SettingsCollection `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` + // All workflow settings keyed on there name + WorkflowSettings map[string]*WorkflowSettings `protobuf:"bytes,3,rep,name=workflow_settings,json=workflowSettings,proto3" json:"workflow_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DomainSettings) Reset() { *m = DomainSettings{} } +func (m *DomainSettings) String() string { return proto.CompactTextString(m) } +func (*DomainSettings) ProtoMessage() {} +func (*DomainSettings) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{3} +} + +func (m *DomainSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DomainSettings.Unmarshal(m, b) +} +func (m *DomainSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DomainSettings.Marshal(b, m, deterministic) +} +func (m *DomainSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_DomainSettings.Merge(m, src) +} +func (m *DomainSettings) XXX_Size() int { + return xxx_messageInfo_DomainSettings.Size(m) +} +func (m *DomainSettings) XXX_DiscardUnknown() { + xxx_messageInfo_DomainSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_DomainSettings proto.InternalMessageInfo + +func (m *DomainSettings) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *DomainSettings) GetSettings() *SettingsCollection { + if m != nil { + return m.Settings + } + return nil +} + +func (m *DomainSettings) GetWorkflowSettings() map[string]*WorkflowSettings { + if m != nil { + return m.WorkflowSettings + } + return nil +} + +// Defines a workflow level settings which contains it own settings and all the launchplan settings registered in that domain +type WorkflowSettings struct { + // Workflow name for which these settings are defined in the project domain. + Workflow string `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"` + // Workflow settings applicable for current project domain workflow + Settings *SettingsCollection `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` + // All launchplan settings keyed on there name + LaunchplanSettings map[string]*LaunchplanSettings `protobuf:"bytes,3,rep,name=launchplan_settings,json=launchplanSettings,proto3" json:"launchplan_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowSettings) Reset() { *m = WorkflowSettings{} } +func (m *WorkflowSettings) String() string { return proto.CompactTextString(m) } +func (*WorkflowSettings) ProtoMessage() {} +func (*WorkflowSettings) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{4} +} + +func (m *WorkflowSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowSettings.Unmarshal(m, b) +} +func (m *WorkflowSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowSettings.Marshal(b, m, deterministic) +} +func (m *WorkflowSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowSettings.Merge(m, src) +} +func (m *WorkflowSettings) XXX_Size() int { + return xxx_messageInfo_WorkflowSettings.Size(m) +} +func (m *WorkflowSettings) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowSettings proto.InternalMessageInfo + +func (m *WorkflowSettings) GetWorkflow() string { + if m != nil { + return m.Workflow + } + return "" +} + +func (m *WorkflowSettings) GetSettings() *SettingsCollection { + if m != nil { + return m.Settings + } + return nil +} + +func (m *WorkflowSettings) GetLaunchplanSettings() map[string]*LaunchplanSettings { + if m != nil { + return m.LaunchplanSettings + } + return nil +} + +// Defines a launchplan level settings which contains it own settings +type LaunchplanSettings struct { + // Launchplan name for which these settings are defined in the project domain workflow. + Launchplan string `protobuf:"bytes,1,opt,name=launchplan,proto3" json:"launchplan,omitempty"` + Settings *SettingsCollection `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LaunchplanSettings) Reset() { *m = LaunchplanSettings{} } +func (m *LaunchplanSettings) String() string { return proto.CompactTextString(m) } +func (*LaunchplanSettings) ProtoMessage() {} +func (*LaunchplanSettings) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{5} +} + +func (m *LaunchplanSettings) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LaunchplanSettings.Unmarshal(m, b) +} +func (m *LaunchplanSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LaunchplanSettings.Marshal(b, m, deterministic) +} +func (m *LaunchplanSettings) XXX_Merge(src proto.Message) { + xxx_messageInfo_LaunchplanSettings.Merge(m, src) +} +func (m *LaunchplanSettings) XXX_Size() int { + return xxx_messageInfo_LaunchplanSettings.Size(m) +} +func (m *LaunchplanSettings) XXX_DiscardUnknown() { + xxx_messageInfo_LaunchplanSettings.DiscardUnknown(m) +} + +var xxx_messageInfo_LaunchplanSettings proto.InternalMessageInfo + +func (m *LaunchplanSettings) GetLaunchplan() string { + if m != nil { + return m.Launchplan + } + return "" +} + +func (m *LaunchplanSettings) GetSettings() *SettingsCollection { + if m != nil { + return m.Settings + } + return nil +} + +// Defines global level +type GlobalLevel struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GlobalLevel) Reset() { *m = GlobalLevel{} } +func (m *GlobalLevel) String() string { return proto.CompactTextString(m) } +func (*GlobalLevel) ProtoMessage() {} +func (*GlobalLevel) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{6} +} + +func (m *GlobalLevel) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GlobalLevel.Unmarshal(m, b) +} +func (m *GlobalLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GlobalLevel.Marshal(b, m, deterministic) +} +func (m *GlobalLevel) XXX_Merge(src proto.Message) { + xxx_messageInfo_GlobalLevel.Merge(m, src) +} +func (m *GlobalLevel) XXX_Size() int { + return xxx_messageInfo_GlobalLevel.Size(m) +} +func (m *GlobalLevel) XXX_DiscardUnknown() { + xxx_messageInfo_GlobalLevel.DiscardUnknown(m) +} + +var xxx_messageInfo_GlobalLevel proto.InternalMessageInfo + +// Defines project level +type ProjectLevel struct { + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProjectLevel) Reset() { *m = ProjectLevel{} } +func (m *ProjectLevel) String() string { return proto.CompactTextString(m) } +func (*ProjectLevel) ProtoMessage() {} +func (*ProjectLevel) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{7} +} + +func (m *ProjectLevel) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProjectLevel.Unmarshal(m, b) +} +func (m *ProjectLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProjectLevel.Marshal(b, m, deterministic) +} +func (m *ProjectLevel) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProjectLevel.Merge(m, src) +} +func (m *ProjectLevel) XXX_Size() int { + return xxx_messageInfo_ProjectLevel.Size(m) +} +func (m *ProjectLevel) XXX_DiscardUnknown() { + xxx_messageInfo_ProjectLevel.DiscardUnknown(m) +} + +var xxx_messageInfo_ProjectLevel proto.InternalMessageInfo + +func (m *ProjectLevel) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +// Defines domain level +type DomainLevel struct { + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DomainLevel) Reset() { *m = DomainLevel{} } +func (m *DomainLevel) String() string { return proto.CompactTextString(m) } +func (*DomainLevel) ProtoMessage() {} +func (*DomainLevel) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{8} +} + +func (m *DomainLevel) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DomainLevel.Unmarshal(m, b) +} +func (m *DomainLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DomainLevel.Marshal(b, m, deterministic) +} +func (m *DomainLevel) XXX_Merge(src proto.Message) { + xxx_messageInfo_DomainLevel.Merge(m, src) +} +func (m *DomainLevel) XXX_Size() int { + return xxx_messageInfo_DomainLevel.Size(m) +} +func (m *DomainLevel) XXX_DiscardUnknown() { + xxx_messageInfo_DomainLevel.DiscardUnknown(m) +} + +var xxx_messageInfo_DomainLevel proto.InternalMessageInfo + +func (m *DomainLevel) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +func (m *DomainLevel) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +// Defines workflow level +type WorkflowLevel struct { + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowLevel) Reset() { *m = WorkflowLevel{} } +func (m *WorkflowLevel) String() string { return proto.CompactTextString(m) } +func (*WorkflowLevel) ProtoMessage() {} +func (*WorkflowLevel) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{9} +} + +func (m *WorkflowLevel) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowLevel.Unmarshal(m, b) +} +func (m *WorkflowLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowLevel.Marshal(b, m, deterministic) +} +func (m *WorkflowLevel) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowLevel.Merge(m, src) +} +func (m *WorkflowLevel) XXX_Size() int { + return xxx_messageInfo_WorkflowLevel.Size(m) +} +func (m *WorkflowLevel) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowLevel.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowLevel proto.InternalMessageInfo + +func (m *WorkflowLevel) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +func (m *WorkflowLevel) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *WorkflowLevel) GetWorkflow() string { + if m != nil { + return m.Workflow + } + return "" +} + +// Defines launchplan level +type LaunchplanLevel struct { + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` + Launchplan string `protobuf:"bytes,4,opt,name=launchplan,proto3" json:"launchplan,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LaunchplanLevel) Reset() { *m = LaunchplanLevel{} } +func (m *LaunchplanLevel) String() string { return proto.CompactTextString(m) } +func (*LaunchplanLevel) ProtoMessage() {} +func (*LaunchplanLevel) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{10} +} + +func (m *LaunchplanLevel) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LaunchplanLevel.Unmarshal(m, b) +} +func (m *LaunchplanLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LaunchplanLevel.Marshal(b, m, deterministic) +} +func (m *LaunchplanLevel) XXX_Merge(src proto.Message) { + xxx_messageInfo_LaunchplanLevel.Merge(m, src) +} +func (m *LaunchplanLevel) XXX_Size() int { + return xxx_messageInfo_LaunchplanLevel.Size(m) +} +func (m *LaunchplanLevel) XXX_DiscardUnknown() { + xxx_messageInfo_LaunchplanLevel.DiscardUnknown(m) +} + +var xxx_messageInfo_LaunchplanLevel proto.InternalMessageInfo + +func (m *LaunchplanLevel) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +func (m *LaunchplanLevel) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *LaunchplanLevel) GetWorkflow() string { + if m != nil { + return m.Workflow + } + return "" +} + +func (m *LaunchplanLevel) GetLaunchplan() string { + if m != nil { + return m.Launchplan + } + return "" +} + +// Defines the settings update with level at which settings need to be applied. +type SettingsUpdateRequest struct { + // +required + // + // Types that are valid to be assigned to Level: + // *SettingsUpdateRequest_GlobalLevel + // *SettingsUpdateRequest_ProjectLevel + // *SettingsUpdateRequest_DomainLevel + // *SettingsUpdateRequest_WorkflowLevel + // *SettingsUpdateRequest_LaunchplanLevel + Level isSettingsUpdateRequest_Level `protobuf_oneof:"level"` + Settings *SettingsCollection `protobuf:"bytes,6,opt,name=settings,proto3" json:"settings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SettingsUpdateRequest) Reset() { *m = SettingsUpdateRequest{} } +func (m *SettingsUpdateRequest) String() string { return proto.CompactTextString(m) } +func (*SettingsUpdateRequest) ProtoMessage() {} +func (*SettingsUpdateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{11} +} + +func (m *SettingsUpdateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SettingsUpdateRequest.Unmarshal(m, b) +} +func (m *SettingsUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SettingsUpdateRequest.Marshal(b, m, deterministic) +} +func (m *SettingsUpdateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SettingsUpdateRequest.Merge(m, src) +} +func (m *SettingsUpdateRequest) XXX_Size() int { + return xxx_messageInfo_SettingsUpdateRequest.Size(m) +} +func (m *SettingsUpdateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SettingsUpdateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SettingsUpdateRequest proto.InternalMessageInfo + +type isSettingsUpdateRequest_Level interface { + isSettingsUpdateRequest_Level() +} + +type SettingsUpdateRequest_GlobalLevel struct { + GlobalLevel *GlobalLevel `protobuf:"bytes,1,opt,name=global_level,json=globalLevel,proto3,oneof"` +} + +type SettingsUpdateRequest_ProjectLevel struct { + ProjectLevel *ProjectLevel `protobuf:"bytes,2,opt,name=project_level,json=projectLevel,proto3,oneof"` +} + +type SettingsUpdateRequest_DomainLevel struct { + DomainLevel *DomainLevel `protobuf:"bytes,3,opt,name=domain_level,json=domainLevel,proto3,oneof"` +} + +type SettingsUpdateRequest_WorkflowLevel struct { + WorkflowLevel *WorkflowLevel `protobuf:"bytes,4,opt,name=workflow_level,json=workflowLevel,proto3,oneof"` +} + +type SettingsUpdateRequest_LaunchplanLevel struct { + LaunchplanLevel *LaunchplanLevel `protobuf:"bytes,5,opt,name=launchplan_level,json=launchplanLevel,proto3,oneof"` +} + +func (*SettingsUpdateRequest_GlobalLevel) isSettingsUpdateRequest_Level() {} + +func (*SettingsUpdateRequest_ProjectLevel) isSettingsUpdateRequest_Level() {} + +func (*SettingsUpdateRequest_DomainLevel) isSettingsUpdateRequest_Level() {} + +func (*SettingsUpdateRequest_WorkflowLevel) isSettingsUpdateRequest_Level() {} + +func (*SettingsUpdateRequest_LaunchplanLevel) isSettingsUpdateRequest_Level() {} + +func (m *SettingsUpdateRequest) GetLevel() isSettingsUpdateRequest_Level { + if m != nil { + return m.Level + } + return nil +} + +func (m *SettingsUpdateRequest) GetGlobalLevel() *GlobalLevel { + if x, ok := m.GetLevel().(*SettingsUpdateRequest_GlobalLevel); ok { + return x.GlobalLevel + } + return nil +} + +func (m *SettingsUpdateRequest) GetProjectLevel() *ProjectLevel { + if x, ok := m.GetLevel().(*SettingsUpdateRequest_ProjectLevel); ok { + return x.ProjectLevel + } + return nil +} + +func (m *SettingsUpdateRequest) GetDomainLevel() *DomainLevel { + if x, ok := m.GetLevel().(*SettingsUpdateRequest_DomainLevel); ok { + return x.DomainLevel + } + return nil +} + +func (m *SettingsUpdateRequest) GetWorkflowLevel() *WorkflowLevel { + if x, ok := m.GetLevel().(*SettingsUpdateRequest_WorkflowLevel); ok { + return x.WorkflowLevel + } + return nil +} + +func (m *SettingsUpdateRequest) GetLaunchplanLevel() *LaunchplanLevel { + if x, ok := m.GetLevel().(*SettingsUpdateRequest_LaunchplanLevel); ok { + return x.LaunchplanLevel + } + return nil +} + +func (m *SettingsUpdateRequest) GetSettings() *SettingsCollection { + if m != nil { + return m.Settings + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*SettingsUpdateRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*SettingsUpdateRequest_GlobalLevel)(nil), + (*SettingsUpdateRequest_ProjectLevel)(nil), + (*SettingsUpdateRequest_DomainLevel)(nil), + (*SettingsUpdateRequest_WorkflowLevel)(nil), + (*SettingsUpdateRequest_LaunchplanLevel)(nil), + } +} + +// Defines the full settings update request to be applied. +type FullSettingsUpdateRequest struct { + // +required + // + // Types that are valid to be assigned to Level: + // *FullSettingsUpdateRequest_GlobalLevel + // *FullSettingsUpdateRequest_ProjectLevel + // *FullSettingsUpdateRequest_DomainLevel + // *FullSettingsUpdateRequest_WorkflowLevel + // *FullSettingsUpdateRequest_LaunchplanLevel + Level isFullSettingsUpdateRequest_Level `protobuf_oneof:"level"` + Settings *SettingsCollection `protobuf:"bytes,6,opt,name=settings,proto3" json:"settings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FullSettingsUpdateRequest) Reset() { *m = FullSettingsUpdateRequest{} } +func (m *FullSettingsUpdateRequest) String() string { return proto.CompactTextString(m) } +func (*FullSettingsUpdateRequest) ProtoMessage() {} +func (*FullSettingsUpdateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{12} +} + +func (m *FullSettingsUpdateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FullSettingsUpdateRequest.Unmarshal(m, b) +} +func (m *FullSettingsUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FullSettingsUpdateRequest.Marshal(b, m, deterministic) +} +func (m *FullSettingsUpdateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FullSettingsUpdateRequest.Merge(m, src) +} +func (m *FullSettingsUpdateRequest) XXX_Size() int { + return xxx_messageInfo_FullSettingsUpdateRequest.Size(m) +} +func (m *FullSettingsUpdateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FullSettingsUpdateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FullSettingsUpdateRequest proto.InternalMessageInfo + +type isFullSettingsUpdateRequest_Level interface { + isFullSettingsUpdateRequest_Level() +} + +type FullSettingsUpdateRequest_GlobalLevel struct { + GlobalLevel *GlobalLevel `protobuf:"bytes,1,opt,name=global_level,json=globalLevel,proto3,oneof"` +} + +type FullSettingsUpdateRequest_ProjectLevel struct { + ProjectLevel *ProjectLevel `protobuf:"bytes,2,opt,name=project_level,json=projectLevel,proto3,oneof"` +} + +type FullSettingsUpdateRequest_DomainLevel struct { + DomainLevel *DomainLevel `protobuf:"bytes,3,opt,name=domain_level,json=domainLevel,proto3,oneof"` +} + +type FullSettingsUpdateRequest_WorkflowLevel struct { + WorkflowLevel *WorkflowLevel `protobuf:"bytes,4,opt,name=workflow_level,json=workflowLevel,proto3,oneof"` +} + +type FullSettingsUpdateRequest_LaunchplanLevel struct { + LaunchplanLevel *LaunchplanLevel `protobuf:"bytes,5,opt,name=launchplan_level,json=launchplanLevel,proto3,oneof"` +} + +func (*FullSettingsUpdateRequest_GlobalLevel) isFullSettingsUpdateRequest_Level() {} + +func (*FullSettingsUpdateRequest_ProjectLevel) isFullSettingsUpdateRequest_Level() {} + +func (*FullSettingsUpdateRequest_DomainLevel) isFullSettingsUpdateRequest_Level() {} + +func (*FullSettingsUpdateRequest_WorkflowLevel) isFullSettingsUpdateRequest_Level() {} + +func (*FullSettingsUpdateRequest_LaunchplanLevel) isFullSettingsUpdateRequest_Level() {} + +func (m *FullSettingsUpdateRequest) GetLevel() isFullSettingsUpdateRequest_Level { + if m != nil { + return m.Level + } + return nil +} + +func (m *FullSettingsUpdateRequest) GetGlobalLevel() *GlobalLevel { + if x, ok := m.GetLevel().(*FullSettingsUpdateRequest_GlobalLevel); ok { + return x.GlobalLevel + } + return nil +} + +func (m *FullSettingsUpdateRequest) GetProjectLevel() *ProjectLevel { + if x, ok := m.GetLevel().(*FullSettingsUpdateRequest_ProjectLevel); ok { + return x.ProjectLevel + } + return nil +} + +func (m *FullSettingsUpdateRequest) GetDomainLevel() *DomainLevel { + if x, ok := m.GetLevel().(*FullSettingsUpdateRequest_DomainLevel); ok { + return x.DomainLevel + } + return nil +} + +func (m *FullSettingsUpdateRequest) GetWorkflowLevel() *WorkflowLevel { + if x, ok := m.GetLevel().(*FullSettingsUpdateRequest_WorkflowLevel); ok { + return x.WorkflowLevel + } + return nil +} + +func (m *FullSettingsUpdateRequest) GetLaunchplanLevel() *LaunchplanLevel { + if x, ok := m.GetLevel().(*FullSettingsUpdateRequest_LaunchplanLevel); ok { + return x.LaunchplanLevel + } + return nil +} + +func (m *FullSettingsUpdateRequest) GetSettings() *SettingsCollection { + if m != nil { + return m.Settings + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*FullSettingsUpdateRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*FullSettingsUpdateRequest_GlobalLevel)(nil), + (*FullSettingsUpdateRequest_ProjectLevel)(nil), + (*FullSettingsUpdateRequest_DomainLevel)(nil), + (*FullSettingsUpdateRequest_WorkflowLevel)(nil), + (*FullSettingsUpdateRequest_LaunchplanLevel)(nil), + } +} + +// Purposefully empty, may be populated in the future. +type FullSettingsUpdateResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FullSettingsUpdateResponse) Reset() { *m = FullSettingsUpdateResponse{} } +func (m *FullSettingsUpdateResponse) String() string { return proto.CompactTextString(m) } +func (*FullSettingsUpdateResponse) ProtoMessage() {} +func (*FullSettingsUpdateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{13} +} + +func (m *FullSettingsUpdateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FullSettingsUpdateResponse.Unmarshal(m, b) +} +func (m *FullSettingsUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FullSettingsUpdateResponse.Marshal(b, m, deterministic) +} +func (m *FullSettingsUpdateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FullSettingsUpdateResponse.Merge(m, src) +} +func (m *FullSettingsUpdateResponse) XXX_Size() int { + return xxx_messageInfo_FullSettingsUpdateResponse.Size(m) +} +func (m *FullSettingsUpdateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FullSettingsUpdateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FullSettingsUpdateResponse proto.InternalMessageInfo + +// Defines the settings get request. +type SettingsGetRequest struct { + // +required + // + // Types that are valid to be assigned to Level: + // *SettingsGetRequest_GlobalLevel + // *SettingsGetRequest_ProjectLevel + // *SettingsGetRequest_DomainLevel + // *SettingsGetRequest_WorkflowLevel + // *SettingsGetRequest_LaunchplanLevel + Level isSettingsGetRequest_Level `protobuf_oneof:"level"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SettingsGetRequest) Reset() { *m = SettingsGetRequest{} } +func (m *SettingsGetRequest) String() string { return proto.CompactTextString(m) } +func (*SettingsGetRequest) ProtoMessage() {} +func (*SettingsGetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{14} +} + +func (m *SettingsGetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SettingsGetRequest.Unmarshal(m, b) +} +func (m *SettingsGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SettingsGetRequest.Marshal(b, m, deterministic) +} +func (m *SettingsGetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SettingsGetRequest.Merge(m, src) +} +func (m *SettingsGetRequest) XXX_Size() int { + return xxx_messageInfo_SettingsGetRequest.Size(m) +} +func (m *SettingsGetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SettingsGetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SettingsGetRequest proto.InternalMessageInfo + +type isSettingsGetRequest_Level interface { + isSettingsGetRequest_Level() +} + +type SettingsGetRequest_GlobalLevel struct { + GlobalLevel *GlobalLevel `protobuf:"bytes,1,opt,name=global_level,json=globalLevel,proto3,oneof"` +} + +type SettingsGetRequest_ProjectLevel struct { + ProjectLevel *ProjectLevel `protobuf:"bytes,2,opt,name=project_level,json=projectLevel,proto3,oneof"` +} + +type SettingsGetRequest_DomainLevel struct { + DomainLevel *DomainLevel `protobuf:"bytes,3,opt,name=domain_level,json=domainLevel,proto3,oneof"` +} + +type SettingsGetRequest_WorkflowLevel struct { + WorkflowLevel *WorkflowLevel `protobuf:"bytes,4,opt,name=workflow_level,json=workflowLevel,proto3,oneof"` +} + +type SettingsGetRequest_LaunchplanLevel struct { + LaunchplanLevel *LaunchplanLevel `protobuf:"bytes,5,opt,name=launchplan_level,json=launchplanLevel,proto3,oneof"` +} + +func (*SettingsGetRequest_GlobalLevel) isSettingsGetRequest_Level() {} + +func (*SettingsGetRequest_ProjectLevel) isSettingsGetRequest_Level() {} + +func (*SettingsGetRequest_DomainLevel) isSettingsGetRequest_Level() {} + +func (*SettingsGetRequest_WorkflowLevel) isSettingsGetRequest_Level() {} + +func (*SettingsGetRequest_LaunchplanLevel) isSettingsGetRequest_Level() {} + +func (m *SettingsGetRequest) GetLevel() isSettingsGetRequest_Level { + if m != nil { + return m.Level + } + return nil +} + +func (m *SettingsGetRequest) GetGlobalLevel() *GlobalLevel { + if x, ok := m.GetLevel().(*SettingsGetRequest_GlobalLevel); ok { + return x.GlobalLevel + } + return nil +} + +func (m *SettingsGetRequest) GetProjectLevel() *ProjectLevel { + if x, ok := m.GetLevel().(*SettingsGetRequest_ProjectLevel); ok { + return x.ProjectLevel + } + return nil +} + +func (m *SettingsGetRequest) GetDomainLevel() *DomainLevel { + if x, ok := m.GetLevel().(*SettingsGetRequest_DomainLevel); ok { + return x.DomainLevel + } + return nil +} + +func (m *SettingsGetRequest) GetWorkflowLevel() *WorkflowLevel { + if x, ok := m.GetLevel().(*SettingsGetRequest_WorkflowLevel); ok { + return x.WorkflowLevel + } + return nil +} + +func (m *SettingsGetRequest) GetLaunchplanLevel() *LaunchplanLevel { + if x, ok := m.GetLevel().(*SettingsGetRequest_LaunchplanLevel); ok { + return x.LaunchplanLevel + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*SettingsGetRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*SettingsGetRequest_GlobalLevel)(nil), + (*SettingsGetRequest_ProjectLevel)(nil), + (*SettingsGetRequest_DomainLevel)(nil), + (*SettingsGetRequest_WorkflowLevel)(nil), + (*SettingsGetRequest_LaunchplanLevel)(nil), + } +} + +// Returns the settings for the provided level in SettingsGetRequest. +type SettingsGetResponse struct { + // +required + // + // Types that are valid to be assigned to Level: + // *SettingsGetResponse_GlobalLevel + // *SettingsGetResponse_ProjectLevel + // *SettingsGetResponse_DomainLevel + // *SettingsGetResponse_WorkflowLevel + // *SettingsGetResponse_LaunchplanLevel + Level isSettingsGetResponse_Level `protobuf_oneof:"level"` + Settings *SettingsCollection `protobuf:"bytes,6,opt,name=settings,proto3" json:"settings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SettingsGetResponse) Reset() { *m = SettingsGetResponse{} } +func (m *SettingsGetResponse) String() string { return proto.CompactTextString(m) } +func (*SettingsGetResponse) ProtoMessage() {} +func (*SettingsGetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{15} +} + +func (m *SettingsGetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SettingsGetResponse.Unmarshal(m, b) +} +func (m *SettingsGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SettingsGetResponse.Marshal(b, m, deterministic) +} +func (m *SettingsGetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SettingsGetResponse.Merge(m, src) +} +func (m *SettingsGetResponse) XXX_Size() int { + return xxx_messageInfo_SettingsGetResponse.Size(m) +} +func (m *SettingsGetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SettingsGetResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SettingsGetResponse proto.InternalMessageInfo + +type isSettingsGetResponse_Level interface { + isSettingsGetResponse_Level() +} + +type SettingsGetResponse_GlobalLevel struct { + GlobalLevel *GlobalLevel `protobuf:"bytes,1,opt,name=global_level,json=globalLevel,proto3,oneof"` +} + +type SettingsGetResponse_ProjectLevel struct { + ProjectLevel *ProjectLevel `protobuf:"bytes,2,opt,name=project_level,json=projectLevel,proto3,oneof"` +} + +type SettingsGetResponse_DomainLevel struct { + DomainLevel *DomainLevel `protobuf:"bytes,3,opt,name=domain_level,json=domainLevel,proto3,oneof"` +} + +type SettingsGetResponse_WorkflowLevel struct { + WorkflowLevel *WorkflowLevel `protobuf:"bytes,4,opt,name=workflow_level,json=workflowLevel,proto3,oneof"` +} + +type SettingsGetResponse_LaunchplanLevel struct { + LaunchplanLevel *LaunchplanLevel `protobuf:"bytes,5,opt,name=launchplan_level,json=launchplanLevel,proto3,oneof"` +} + +func (*SettingsGetResponse_GlobalLevel) isSettingsGetResponse_Level() {} + +func (*SettingsGetResponse_ProjectLevel) isSettingsGetResponse_Level() {} + +func (*SettingsGetResponse_DomainLevel) isSettingsGetResponse_Level() {} + +func (*SettingsGetResponse_WorkflowLevel) isSettingsGetResponse_Level() {} + +func (*SettingsGetResponse_LaunchplanLevel) isSettingsGetResponse_Level() {} + +func (m *SettingsGetResponse) GetLevel() isSettingsGetResponse_Level { + if m != nil { + return m.Level + } + return nil +} + +func (m *SettingsGetResponse) GetGlobalLevel() *GlobalLevel { + if x, ok := m.GetLevel().(*SettingsGetResponse_GlobalLevel); ok { + return x.GlobalLevel + } + return nil +} + +func (m *SettingsGetResponse) GetProjectLevel() *ProjectLevel { + if x, ok := m.GetLevel().(*SettingsGetResponse_ProjectLevel); ok { + return x.ProjectLevel + } + return nil +} + +func (m *SettingsGetResponse) GetDomainLevel() *DomainLevel { + if x, ok := m.GetLevel().(*SettingsGetResponse_DomainLevel); ok { + return x.DomainLevel + } + return nil +} + +func (m *SettingsGetResponse) GetWorkflowLevel() *WorkflowLevel { + if x, ok := m.GetLevel().(*SettingsGetResponse_WorkflowLevel); ok { + return x.WorkflowLevel + } + return nil +} + +func (m *SettingsGetResponse) GetLaunchplanLevel() *LaunchplanLevel { + if x, ok := m.GetLevel().(*SettingsGetResponse_LaunchplanLevel); ok { + return x.LaunchplanLevel + } + return nil +} + +func (m *SettingsGetResponse) GetSettings() *SettingsCollection { + if m != nil { + return m.Settings + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*SettingsGetResponse) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*SettingsGetResponse_GlobalLevel)(nil), + (*SettingsGetResponse_ProjectLevel)(nil), + (*SettingsGetResponse_DomainLevel)(nil), + (*SettingsGetResponse_WorkflowLevel)(nil), + (*SettingsGetResponse_LaunchplanLevel)(nil), + } +} + +// Defines the full settings get request. +type FullSettingsGetRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FullSettingsGetRequest) Reset() { *m = FullSettingsGetRequest{} } +func (m *FullSettingsGetRequest) String() string { return proto.CompactTextString(m) } +func (*FullSettingsGetRequest) ProtoMessage() {} +func (*FullSettingsGetRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{16} +} + +func (m *FullSettingsGetRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FullSettingsGetRequest.Unmarshal(m, b) +} +func (m *FullSettingsGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FullSettingsGetRequest.Marshal(b, m, deterministic) +} +func (m *FullSettingsGetRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FullSettingsGetRequest.Merge(m, src) +} +func (m *FullSettingsGetRequest) XXX_Size() int { + return xxx_messageInfo_FullSettingsGetRequest.Size(m) +} +func (m *FullSettingsGetRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FullSettingsGetRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FullSettingsGetRequest proto.InternalMessageInfo + +// Returns the full settings. +type FullSettingsGetResponse struct { + Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FullSettingsGetResponse) Reset() { *m = FullSettingsGetResponse{} } +func (m *FullSettingsGetResponse) String() string { return proto.CompactTextString(m) } +func (*FullSettingsGetResponse) ProtoMessage() {} +func (*FullSettingsGetResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{17} +} + +func (m *FullSettingsGetResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FullSettingsGetResponse.Unmarshal(m, b) +} +func (m *FullSettingsGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FullSettingsGetResponse.Marshal(b, m, deterministic) +} +func (m *FullSettingsGetResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FullSettingsGetResponse.Merge(m, src) +} +func (m *FullSettingsGetResponse) XXX_Size() int { + return xxx_messageInfo_FullSettingsGetResponse.Size(m) +} +func (m *FullSettingsGetResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FullSettingsGetResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FullSettingsGetResponse proto.InternalMessageInfo + +func (m *FullSettingsGetResponse) GetSettings() *Settings { + if m != nil { + return m.Settings + } + return nil +} + +// Defines the settings delete request. +type SettingsDeleteRequest struct { + // +required + // + // Types that are valid to be assigned to Level: + // *SettingsDeleteRequest_GlobalLevel + // *SettingsDeleteRequest_ProjectLevel + // *SettingsDeleteRequest_DomainLevel + // *SettingsDeleteRequest_WorkflowLevel + // *SettingsDeleteRequest_LaunchplanLevel + Level isSettingsDeleteRequest_Level `protobuf_oneof:"level"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SettingsDeleteRequest) Reset() { *m = SettingsDeleteRequest{} } +func (m *SettingsDeleteRequest) String() string { return proto.CompactTextString(m) } +func (*SettingsDeleteRequest) ProtoMessage() {} +func (*SettingsDeleteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{18} +} + +func (m *SettingsDeleteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SettingsDeleteRequest.Unmarshal(m, b) +} +func (m *SettingsDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SettingsDeleteRequest.Marshal(b, m, deterministic) +} +func (m *SettingsDeleteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SettingsDeleteRequest.Merge(m, src) +} +func (m *SettingsDeleteRequest) XXX_Size() int { + return xxx_messageInfo_SettingsDeleteRequest.Size(m) +} +func (m *SettingsDeleteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SettingsDeleteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SettingsDeleteRequest proto.InternalMessageInfo + +type isSettingsDeleteRequest_Level interface { + isSettingsDeleteRequest_Level() +} + +type SettingsDeleteRequest_GlobalLevel struct { + GlobalLevel *GlobalLevel `protobuf:"bytes,1,opt,name=global_level,json=globalLevel,proto3,oneof"` +} + +type SettingsDeleteRequest_ProjectLevel struct { + ProjectLevel *ProjectLevel `protobuf:"bytes,2,opt,name=project_level,json=projectLevel,proto3,oneof"` +} + +type SettingsDeleteRequest_DomainLevel struct { + DomainLevel *DomainLevel `protobuf:"bytes,3,opt,name=domain_level,json=domainLevel,proto3,oneof"` +} + +type SettingsDeleteRequest_WorkflowLevel struct { + WorkflowLevel *WorkflowLevel `protobuf:"bytes,4,opt,name=workflow_level,json=workflowLevel,proto3,oneof"` +} + +type SettingsDeleteRequest_LaunchplanLevel struct { + LaunchplanLevel *LaunchplanLevel `protobuf:"bytes,5,opt,name=launchplan_level,json=launchplanLevel,proto3,oneof"` +} + +func (*SettingsDeleteRequest_GlobalLevel) isSettingsDeleteRequest_Level() {} + +func (*SettingsDeleteRequest_ProjectLevel) isSettingsDeleteRequest_Level() {} + +func (*SettingsDeleteRequest_DomainLevel) isSettingsDeleteRequest_Level() {} + +func (*SettingsDeleteRequest_WorkflowLevel) isSettingsDeleteRequest_Level() {} + +func (*SettingsDeleteRequest_LaunchplanLevel) isSettingsDeleteRequest_Level() {} + +func (m *SettingsDeleteRequest) GetLevel() isSettingsDeleteRequest_Level { + if m != nil { + return m.Level + } + return nil +} + +func (m *SettingsDeleteRequest) GetGlobalLevel() *GlobalLevel { + if x, ok := m.GetLevel().(*SettingsDeleteRequest_GlobalLevel); ok { + return x.GlobalLevel + } + return nil +} + +func (m *SettingsDeleteRequest) GetProjectLevel() *ProjectLevel { + if x, ok := m.GetLevel().(*SettingsDeleteRequest_ProjectLevel); ok { + return x.ProjectLevel + } + return nil +} + +func (m *SettingsDeleteRequest) GetDomainLevel() *DomainLevel { + if x, ok := m.GetLevel().(*SettingsDeleteRequest_DomainLevel); ok { + return x.DomainLevel + } + return nil +} + +func (m *SettingsDeleteRequest) GetWorkflowLevel() *WorkflowLevel { + if x, ok := m.GetLevel().(*SettingsDeleteRequest_WorkflowLevel); ok { + return x.WorkflowLevel + } + return nil +} + +func (m *SettingsDeleteRequest) GetLaunchplanLevel() *LaunchplanLevel { + if x, ok := m.GetLevel().(*SettingsDeleteRequest_LaunchplanLevel); ok { + return x.LaunchplanLevel + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*SettingsDeleteRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*SettingsDeleteRequest_GlobalLevel)(nil), + (*SettingsDeleteRequest_ProjectLevel)(nil), + (*SettingsDeleteRequest_DomainLevel)(nil), + (*SettingsDeleteRequest_WorkflowLevel)(nil), + (*SettingsDeleteRequest_LaunchplanLevel)(nil), + } +} + +// Purposefully empty, may be populated in the future. +type SettingsDeleteResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SettingsDeleteResponse) Reset() { *m = SettingsDeleteResponse{} } +func (m *SettingsDeleteResponse) String() string { return proto.CompactTextString(m) } +func (*SettingsDeleteResponse) ProtoMessage() {} +func (*SettingsDeleteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_fd75bca4e926ab1f, []int{19} +} + +func (m *SettingsDeleteResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SettingsDeleteResponse.Unmarshal(m, b) +} +func (m *SettingsDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SettingsDeleteResponse.Marshal(b, m, deterministic) +} +func (m *SettingsDeleteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SettingsDeleteResponse.Merge(m, src) +} +func (m *SettingsDeleteResponse) XXX_Size() int { + return xxx_messageInfo_SettingsDeleteResponse.Size(m) +} +func (m *SettingsDeleteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SettingsDeleteResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SettingsDeleteResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*SettingsCollection)(nil), "flyteidl.admin.SettingsCollection") + proto.RegisterType((*Settings)(nil), "flyteidl.admin.Settings") + proto.RegisterMapType((map[string]*ProjectSettings)(nil), "flyteidl.admin.Settings.ProjectSettingsEntry") + proto.RegisterType((*ProjectSettings)(nil), "flyteidl.admin.ProjectSettings") + proto.RegisterMapType((map[string]*DomainSettings)(nil), "flyteidl.admin.ProjectSettings.DomainSettingsEntry") + proto.RegisterType((*DomainSettings)(nil), "flyteidl.admin.DomainSettings") + proto.RegisterMapType((map[string]*WorkflowSettings)(nil), "flyteidl.admin.DomainSettings.WorkflowSettingsEntry") + proto.RegisterType((*WorkflowSettings)(nil), "flyteidl.admin.WorkflowSettings") + proto.RegisterMapType((map[string]*LaunchplanSettings)(nil), "flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry") + proto.RegisterType((*LaunchplanSettings)(nil), "flyteidl.admin.LaunchplanSettings") + proto.RegisterType((*GlobalLevel)(nil), "flyteidl.admin.GlobalLevel") + proto.RegisterType((*ProjectLevel)(nil), "flyteidl.admin.ProjectLevel") + proto.RegisterType((*DomainLevel)(nil), "flyteidl.admin.DomainLevel") + proto.RegisterType((*WorkflowLevel)(nil), "flyteidl.admin.WorkflowLevel") + proto.RegisterType((*LaunchplanLevel)(nil), "flyteidl.admin.LaunchplanLevel") + proto.RegisterType((*SettingsUpdateRequest)(nil), "flyteidl.admin.SettingsUpdateRequest") + proto.RegisterType((*FullSettingsUpdateRequest)(nil), "flyteidl.admin.FullSettingsUpdateRequest") + proto.RegisterType((*FullSettingsUpdateResponse)(nil), "flyteidl.admin.FullSettingsUpdateResponse") + proto.RegisterType((*SettingsGetRequest)(nil), "flyteidl.admin.SettingsGetRequest") + proto.RegisterType((*SettingsGetResponse)(nil), "flyteidl.admin.SettingsGetResponse") + proto.RegisterType((*FullSettingsGetRequest)(nil), "flyteidl.admin.FullSettingsGetRequest") + proto.RegisterType((*FullSettingsGetResponse)(nil), "flyteidl.admin.FullSettingsGetResponse") + proto.RegisterType((*SettingsDeleteRequest)(nil), "flyteidl.admin.SettingsDeleteRequest") + proto.RegisterType((*SettingsDeleteResponse)(nil), "flyteidl.admin.SettingsDeleteResponse") +} + +func init() { proto.RegisterFile("flyteidl/admin/settings.proto", fileDescriptor_fd75bca4e926ab1f) } + +var fileDescriptor_fd75bca4e926ab1f = []byte{ + // 972 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x98, 0x4f, 0x6f, 0xdc, 0x44, + 0x18, 0xc6, 0x1b, 0x6f, 0xb3, 0x09, 0xef, 0x26, 0xd9, 0x65, 0xd2, 0x6e, 0x36, 0x9b, 0xa6, 0x44, + 0xbe, 0x90, 0x4b, 0xbd, 0x52, 0x9b, 0x42, 0xd4, 0x03, 0xb4, 0x4d, 0xff, 0x1d, 0x82, 0x02, 0xae, + 0x10, 0x15, 0x2a, 0xac, 0xbc, 0xde, 0x89, 0x63, 0x32, 0xeb, 0x71, 0xec, 0x71, 0x42, 0x4e, 0x9c, + 0xf8, 0x22, 0x9c, 0x39, 0x71, 0x47, 0x1c, 0xe0, 0x63, 0x21, 0x81, 0xbc, 0x33, 0x63, 0xcf, 0xcc, + 0x7a, 0xc9, 0x42, 0x44, 0xa5, 0x48, 0xb9, 0x65, 0x3c, 0x33, 0xbf, 0xe7, 0xf5, 0xf3, 0xf8, 0x1d, + 0x6f, 0x0c, 0x9b, 0x87, 0xe4, 0x9c, 0xe1, 0x70, 0x48, 0x7a, 0xde, 0x70, 0x14, 0x46, 0xbd, 0x14, + 0x33, 0x16, 0x46, 0x41, 0xea, 0xc4, 0x09, 0x65, 0x14, 0xad, 0xc8, 0x69, 0x67, 0x3c, 0xdd, 0xfd, + 0xd0, 0x58, 0x3e, 0xf2, 0x98, 0x7f, 0xe4, 0x0d, 0x08, 0xee, 0x27, 0x38, 0xa5, 0x59, 0xe2, 0x63, + 0xbe, 0xd1, 0xfe, 0xa9, 0x0e, 0xe8, 0xb5, 0x60, 0xed, 0x51, 0x42, 0xb0, 0xcf, 0x42, 0x1a, 0xa1, + 0x37, 0xd0, 0x66, 0x5e, 0x7a, 0x5c, 0xac, 0xee, 0x4b, 0xbd, 0xce, 0xdc, 0xd6, 0xdc, 0x76, 0xe3, + 0xbe, 0xed, 0xe8, 0x82, 0xce, 0x67, 0xb9, 0x40, 0x18, 0x05, 0x4f, 0x18, 0x4b, 0xc2, 0x41, 0xc6, + 0x70, 0xea, 0xde, 0xca, 0x09, 0xae, 0x00, 0x48, 0x0d, 0xf4, 0x2d, 0xac, 0xfb, 0x24, 0x4b, 0x19, + 0x4e, 0x2a, 0xe0, 0xd6, 0xcc, 0xf0, 0x35, 0x01, 0x99, 0xe0, 0xbf, 0x85, 0x0e, 0xfe, 0x1e, 0xfb, + 0x59, 0x7e, 0x1b, 0xfd, 0x93, 0x0c, 0x67, 0x0a, 0xbe, 0x36, 0x33, 0xbe, 0x5d, 0x30, 0xbe, 0xc8, + 0x11, 0x05, 0xfd, 0x18, 0xb6, 0x4a, 0xba, 0xbc, 0x0f, 0xe2, 0x0d, 0x30, 0x29, 0x55, 0x6e, 0xce, + 0xac, 0xb2, 0x59, 0xb0, 0xf6, 0x38, 0x6a, 0x3f, 0x27, 0x15, 0x62, 0x1e, 0x6c, 0x9c, 0x64, 0x1e, + 0x09, 0xd9, 0x79, 0x9f, 0x1e, 0xf6, 0x53, 0x9c, 0x9c, 0x86, 0xaa, 0x59, 0xf3, 0x33, 0xeb, 0x74, + 0x04, 0xe6, 0xe0, 0xf0, 0x35, 0x87, 0xa8, 0x6e, 0xc5, 0x24, 0x0b, 0xc2, 0xa8, 0x4f, 0x4f, 0x71, + 0x92, 0x84, 0x43, 0x85, 0x5f, 0x9f, 0xdd, 0x2d, 0xce, 0x38, 0x10, 0x88, 0x82, 0x3e, 0x80, 0x8d, + 0x33, 0x9a, 0x1c, 0x1f, 0x12, 0x7a, 0xd6, 0x2f, 0x6d, 0x2b, 0x04, 0x16, 0x66, 0x16, 0x58, 0x97, + 0x98, 0xe7, 0x92, 0xa2, 0x6a, 0xc8, 0x1c, 0xbc, 0x34, 0x0d, 0x83, 0x68, 0x84, 0x23, 0x56, 0x6a, + 0x2c, 0xce, 0xae, 0x21, 0x30, 0x4f, 0x0a, 0x8a, 0xd4, 0xb0, 0x7f, 0xb4, 0x60, 0xb1, 0x10, 0x7c, + 0x04, 0xf5, 0x80, 0xd0, 0x81, 0x47, 0xa6, 0xb5, 0xc2, 0x64, 0x3b, 0xb9, 0x62, 0x07, 0x7a, 0x03, + 0xad, 0x38, 0xa1, 0xdf, 0x61, 0x9f, 0xa9, 0xcf, 0x7c, 0x6d, 0xbb, 0x71, 0xff, 0xde, 0x34, 0x8a, + 0xf3, 0x39, 0xdf, 0x20, 0xc7, 0xcf, 0x23, 0x96, 0x9c, 0xbb, 0xcd, 0x58, 0xbf, 0xda, 0xf5, 0xe1, + 0x56, 0xd5, 0x42, 0xd4, 0x82, 0xda, 0x31, 0x3e, 0x1f, 0x97, 0xfa, 0x9e, 0x9b, 0xff, 0x89, 0x1e, + 0xc2, 0xfc, 0xa9, 0x47, 0x32, 0x2c, 0x9a, 0xed, 0x03, 0x53, 0xd8, 0xc0, 0xb8, 0x7c, 0xf5, 0x23, + 0x6b, 0x77, 0xce, 0xfe, 0xd9, 0x82, 0xa6, 0x31, 0x8d, 0x3a, 0xb0, 0x20, 0x6a, 0x11, 0x22, 0x72, + 0x88, 0x3e, 0x81, 0xc5, 0x8b, 0x1a, 0xbb, 0xc2, 0xaa, 0x62, 0x0f, 0x7a, 0x0b, 0xcd, 0x21, 0x1d, + 0x79, 0x61, 0xa4, 0x36, 0x70, 0xee, 0xd5, 0x83, 0x0b, 0x4a, 0x76, 0x9e, 0x8d, 0xb7, 0xe9, 0x8e, + 0xad, 0x0c, 0xb5, 0x8b, 0x5d, 0x0f, 0x56, 0x2b, 0x96, 0x55, 0xf8, 0xb5, 0xa3, 0xfb, 0x75, 0xd7, + 0x14, 0xd7, 0x29, 0xaa, 0x5d, 0xbf, 0x58, 0xb0, 0xa2, 0xcf, 0xa2, 0x36, 0xd4, 0x79, 0x1d, 0x42, + 0x41, 0x8c, 0x2e, 0xed, 0x95, 0x07, 0xef, 0x17, 0x9d, 0x66, 0xb8, 0xb5, 0xf3, 0xcf, 0x05, 0x3b, + 0x5f, 0x89, 0x7d, 0xba, 0x5d, 0xad, 0x33, 0xe3, 0x72, 0x17, 0xc3, 0xed, 0xca, 0xa5, 0x15, 0x96, + 0x7d, 0xa4, 0x5b, 0xb6, 0x65, 0x56, 0x60, 0x72, 0x54, 0xd3, 0xfe, 0xb0, 0xa0, 0x65, 0xce, 0xa3, + 0x2e, 0x2c, 0xca, 0x7a, 0x84, 0x4e, 0x31, 0xbe, 0xb4, 0x75, 0x21, 0xac, 0x12, 0x2f, 0x8b, 0xfc, + 0xa3, 0x98, 0x78, 0x13, 0x8f, 0xda, 0xee, 0x45, 0xa5, 0x3b, 0xfb, 0xc5, 0x5e, 0xdd, 0x40, 0x44, + 0x26, 0x26, 0xba, 0x21, 0xac, 0x4d, 0x59, 0x5e, 0x61, 0xe2, 0xae, 0x6e, 0xe2, 0xc4, 0x4d, 0x4d, + 0x92, 0x54, 0x1b, 0x19, 0xa0, 0xc9, 0x05, 0xe8, 0x2e, 0x40, 0x59, 0x96, 0x10, 0x53, 0xae, 0x5c, + 0xd6, 0x4b, 0x7b, 0x19, 0x1a, 0x2f, 0xc7, 0x27, 0xdd, 0x3e, 0x3e, 0xc5, 0xc4, 0xde, 0x86, 0x25, + 0xd1, 0x9a, 0xe3, 0xf1, 0xf4, 0xb3, 0xc2, 0xfe, 0x14, 0x1a, 0xfc, 0xb1, 0xbc, 0x60, 0xa1, 0xd2, + 0x40, 0x96, 0xda, 0x40, 0xf6, 0x37, 0xb0, 0x2c, 0xa3, 0xf9, 0x8f, 0x08, 0xed, 0x21, 0xab, 0xe9, + 0x0f, 0x99, 0xfd, 0x03, 0x34, 0x4b, 0x3b, 0xff, 0x07, 0x01, 0x23, 0x99, 0x9b, 0x66, 0x32, 0xf6, + 0x6f, 0x35, 0xb8, 0x2d, 0xad, 0xff, 0x32, 0x1e, 0x7a, 0x0c, 0xbb, 0xf8, 0x24, 0xc3, 0x29, 0x43, + 0x8f, 0x61, 0x89, 0xbf, 0x5d, 0xfa, 0x24, 0xaf, 0x4b, 0xbc, 0x95, 0x36, 0xcc, 0xdc, 0x94, 0x5c, + 0x5e, 0xdd, 0x70, 0x1b, 0x41, 0x39, 0x44, 0x7b, 0xb0, 0x2c, 0xdf, 0x4a, 0x1c, 0xc1, 0xa3, 0xbf, + 0x33, 0xe5, 0x98, 0x95, 0x8c, 0xa5, 0x58, 0xcd, 0xf6, 0x31, 0x2c, 0x89, 0xd3, 0x9a, 0x33, 0x6a, + 0xd5, 0x65, 0x28, 0x29, 0xe7, 0x65, 0x0c, 0x95, 0xd0, 0x5f, 0xc0, 0x4a, 0x71, 0x86, 0x71, 0x06, + 0xff, 0x25, 0xb5, 0x39, 0xad, 0x07, 0x25, 0x65, 0xf9, 0x4c, 0x4b, 0x7e, 0x1f, 0x5a, 0x4a, 0x43, + 0x73, 0xd2, 0x7c, 0xf5, 0xbb, 0xce, 0xc8, 0xf4, 0xd5, 0x0d, 0xb7, 0x49, 0x8c, 0x98, 0xd5, 0x96, + 0xa8, 0xff, 0xfb, 0x96, 0x78, 0xba, 0x00, 0xf3, 0xe3, 0x12, 0xec, 0xdf, 0x6b, 0xb0, 0xfe, 0x22, + 0x23, 0xe4, 0x3a, 0xc5, 0xab, 0x9c, 0xe2, 0x1d, 0xe8, 0x56, 0x85, 0x98, 0xc6, 0x34, 0x4a, 0xb1, + 0xfd, 0xa7, 0x55, 0xfe, 0x37, 0xf5, 0x12, 0xb3, 0xeb, 0x70, 0xdf, 0x45, 0xb8, 0x65, 0x38, 0xbf, + 0xd6, 0x60, 0x55, 0xb3, 0x9f, 0xc7, 0x72, 0xed, 0xff, 0x15, 0x69, 0xae, 0x0e, 0xb4, 0xd5, 0xe6, + 0x2a, 0x3b, 0xc8, 0x3e, 0x80, 0xb5, 0x89, 0x19, 0x11, 0xee, 0x8e, 0xa2, 0xce, 0x83, 0xed, 0x4c, + 0x53, 0x57, 0x7e, 0xa9, 0xfc, 0x65, 0x95, 0xef, 0xd3, 0x67, 0x98, 0xe0, 0xeb, 0x93, 0xf8, 0x5d, + 0x37, 0x6b, 0x07, 0xda, 0x66, 0x00, 0x3c, 0xd1, 0xa7, 0x1f, 0x7f, 0xfd, 0x30, 0x08, 0xd9, 0x51, + 0x36, 0x70, 0x7c, 0x3a, 0xea, 0x8d, 0x25, 0x68, 0x12, 0xf4, 0x8a, 0x4f, 0x5a, 0x01, 0x8e, 0x7a, + 0xf1, 0xe0, 0x5e, 0x40, 0x7b, 0xfa, 0x57, 0xae, 0x41, 0x7d, 0xfc, 0x4d, 0xeb, 0xc1, 0xdf, 0x01, + 0x00, 0x00, 0xff, 0xff, 0x46, 0x88, 0xd4, 0x20, 0x2d, 0x13, 0x00, 0x00, +} diff --git a/gen/pb-go/flyteidl/admin/settings.pb.validate.go b/gen/pb-go/flyteidl/admin/settings.pb.validate.go new file mode 100644 index 000000000..86e423a68 --- /dev/null +++ b/gen/pb-go/flyteidl/admin/settings.pb.validate.go @@ -0,0 +1,1944 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/admin/settings.proto + +package admin + +import ( + "bytes" + "errors" + "fmt" + "net" + "net/mail" + "net/url" + "regexp" + "strings" + "time" + "unicode/utf8" + + "github.com/golang/protobuf/ptypes" +) + +// ensure the imports are used +var ( + _ = bytes.MinRead + _ = errors.New("") + _ = fmt.Print + _ = utf8.UTFMax + _ = (*regexp.Regexp)(nil) + _ = (*strings.Reader)(nil) + _ = net.IPv4len + _ = time.Duration(0) + _ = (*url.URL)(nil) + _ = (*mail.Address)(nil) + _ = ptypes.DynamicAny{} +) + +// define the regex for a UUID once up-front +var _settings_uuidPattern = regexp.MustCompile("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + +// Validate checks the field values on SettingsCollection with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *SettingsCollection) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetTaskResourceSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsCollectionValidationError{ + field: "TaskResourceSettings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetClusterResourceSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsCollectionValidationError{ + field: "ClusterResourceSettings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetExecutionQueueSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsCollectionValidationError{ + field: "ExecutionQueueSettings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetExecutionClusterLabelSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsCollectionValidationError{ + field: "ExecutionClusterLabelSettings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetQualityOfServiceSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsCollectionValidationError{ + field: "QualityOfServiceSettings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetPluginOverrideSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsCollectionValidationError{ + field: "PluginOverrideSettings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetWorkflowExecutionSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsCollectionValidationError{ + field: "WorkflowExecutionSettings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetClusterAssignmentSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsCollectionValidationError{ + field: "ClusterAssignmentSettings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// SettingsCollectionValidationError is the validation error returned by +// SettingsCollection.Validate if the designated constraints aren't met. +type SettingsCollectionValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SettingsCollectionValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SettingsCollectionValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SettingsCollectionValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SettingsCollectionValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SettingsCollectionValidationError) ErrorName() string { + return "SettingsCollectionValidationError" +} + +// Error satisfies the builtin error interface +func (e SettingsCollectionValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSettingsCollection.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SettingsCollectionValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SettingsCollectionValidationError{} + +// Validate checks the field values on Settings with the rules defined in the +// proto definition for this message. If any rules are violated, an error is returned. +func (m *Settings) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetGlobal()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsValidationError{ + field: "Global", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for key, val := range m.GetProjectSettings() { + _ = val + + // no validation rules for ProjectSettings[key] + + if v, ok := interface{}(val).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsValidationError{ + field: fmt.Sprintf("ProjectSettings[%v]", key), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// SettingsValidationError is the validation error returned by +// Settings.Validate if the designated constraints aren't met. +type SettingsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SettingsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SettingsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SettingsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SettingsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SettingsValidationError) ErrorName() string { return "SettingsValidationError" } + +// Error satisfies the builtin error interface +func (e SettingsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSettings.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SettingsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SettingsValidationError{} + +// Validate checks the field values on ProjectSettings with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *ProjectSettings) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + if v, ok := interface{}(m.GetSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ProjectSettingsValidationError{ + field: "Settings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for key, val := range m.GetDomainSettings() { + _ = val + + // no validation rules for DomainSettings[key] + + if v, ok := interface{}(val).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ProjectSettingsValidationError{ + field: fmt.Sprintf("DomainSettings[%v]", key), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// ProjectSettingsValidationError is the validation error returned by +// ProjectSettings.Validate if the designated constraints aren't met. +type ProjectSettingsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ProjectSettingsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ProjectSettingsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ProjectSettingsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ProjectSettingsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ProjectSettingsValidationError) ErrorName() string { return "ProjectSettingsValidationError" } + +// Error satisfies the builtin error interface +func (e ProjectSettingsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sProjectSettings.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ProjectSettingsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ProjectSettingsValidationError{} + +// Validate checks the field values on DomainSettings with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *DomainSettings) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Domain + + if v, ok := interface{}(m.GetSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DomainSettingsValidationError{ + field: "Settings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for key, val := range m.GetWorkflowSettings() { + _ = val + + // no validation rules for WorkflowSettings[key] + + if v, ok := interface{}(val).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return DomainSettingsValidationError{ + field: fmt.Sprintf("WorkflowSettings[%v]", key), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// DomainSettingsValidationError is the validation error returned by +// DomainSettings.Validate if the designated constraints aren't met. +type DomainSettingsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DomainSettingsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DomainSettingsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DomainSettingsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DomainSettingsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DomainSettingsValidationError) ErrorName() string { return "DomainSettingsValidationError" } + +// Error satisfies the builtin error interface +func (e DomainSettingsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDomainSettings.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DomainSettingsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DomainSettingsValidationError{} + +// Validate checks the field values on WorkflowSettings with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *WorkflowSettings) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Workflow + + if v, ok := interface{}(m.GetSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return WorkflowSettingsValidationError{ + field: "Settings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + for key, val := range m.GetLaunchplanSettings() { + _ = val + + // no validation rules for LaunchplanSettings[key] + + if v, ok := interface{}(val).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return WorkflowSettingsValidationError{ + field: fmt.Sprintf("LaunchplanSettings[%v]", key), + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// WorkflowSettingsValidationError is the validation error returned by +// WorkflowSettings.Validate if the designated constraints aren't met. +type WorkflowSettingsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e WorkflowSettingsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e WorkflowSettingsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e WorkflowSettingsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e WorkflowSettingsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e WorkflowSettingsValidationError) ErrorName() string { return "WorkflowSettingsValidationError" } + +// Error satisfies the builtin error interface +func (e WorkflowSettingsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sWorkflowSettings.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = WorkflowSettingsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = WorkflowSettingsValidationError{} + +// Validate checks the field values on LaunchplanSettings with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *LaunchplanSettings) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Launchplan + + if v, ok := interface{}(m.GetSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return LaunchplanSettingsValidationError{ + field: "Settings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// LaunchplanSettingsValidationError is the validation error returned by +// LaunchplanSettings.Validate if the designated constraints aren't met. +type LaunchplanSettingsValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e LaunchplanSettingsValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e LaunchplanSettingsValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e LaunchplanSettingsValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e LaunchplanSettingsValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e LaunchplanSettingsValidationError) ErrorName() string { + return "LaunchplanSettingsValidationError" +} + +// Error satisfies the builtin error interface +func (e LaunchplanSettingsValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sLaunchplanSettings.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = LaunchplanSettingsValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = LaunchplanSettingsValidationError{} + +// Validate checks the field values on GlobalLevel with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *GlobalLevel) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// GlobalLevelValidationError is the validation error returned by +// GlobalLevel.Validate if the designated constraints aren't met. +type GlobalLevelValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e GlobalLevelValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e GlobalLevelValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e GlobalLevelValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e GlobalLevelValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e GlobalLevelValidationError) ErrorName() string { return "GlobalLevelValidationError" } + +// Error satisfies the builtin error interface +func (e GlobalLevelValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sGlobalLevel.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = GlobalLevelValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = GlobalLevelValidationError{} + +// Validate checks the field values on ProjectLevel with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *ProjectLevel) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + return nil +} + +// ProjectLevelValidationError is the validation error returned by +// ProjectLevel.Validate if the designated constraints aren't met. +type ProjectLevelValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ProjectLevelValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ProjectLevelValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ProjectLevelValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ProjectLevelValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ProjectLevelValidationError) ErrorName() string { return "ProjectLevelValidationError" } + +// Error satisfies the builtin error interface +func (e ProjectLevelValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sProjectLevel.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ProjectLevelValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ProjectLevelValidationError{} + +// Validate checks the field values on DomainLevel with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *DomainLevel) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + // no validation rules for Domain + + return nil +} + +// DomainLevelValidationError is the validation error returned by +// DomainLevel.Validate if the designated constraints aren't met. +type DomainLevelValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e DomainLevelValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e DomainLevelValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e DomainLevelValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e DomainLevelValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e DomainLevelValidationError) ErrorName() string { return "DomainLevelValidationError" } + +// Error satisfies the builtin error interface +func (e DomainLevelValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sDomainLevel.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = DomainLevelValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = DomainLevelValidationError{} + +// Validate checks the field values on WorkflowLevel with the rules defined in +// the proto definition for this message. If any rules are violated, an error +// is returned. +func (m *WorkflowLevel) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + // no validation rules for Domain + + // no validation rules for Workflow + + return nil +} + +// WorkflowLevelValidationError is the validation error returned by +// WorkflowLevel.Validate if the designated constraints aren't met. +type WorkflowLevelValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e WorkflowLevelValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e WorkflowLevelValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e WorkflowLevelValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e WorkflowLevelValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e WorkflowLevelValidationError) ErrorName() string { return "WorkflowLevelValidationError" } + +// Error satisfies the builtin error interface +func (e WorkflowLevelValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sWorkflowLevel.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = WorkflowLevelValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = WorkflowLevelValidationError{} + +// Validate checks the field values on LaunchplanLevel with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *LaunchplanLevel) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + // no validation rules for Domain + + // no validation rules for Workflow + + // no validation rules for Launchplan + + return nil +} + +// LaunchplanLevelValidationError is the validation error returned by +// LaunchplanLevel.Validate if the designated constraints aren't met. +type LaunchplanLevelValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e LaunchplanLevelValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e LaunchplanLevelValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e LaunchplanLevelValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e LaunchplanLevelValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e LaunchplanLevelValidationError) ErrorName() string { return "LaunchplanLevelValidationError" } + +// Error satisfies the builtin error interface +func (e LaunchplanLevelValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sLaunchplanLevel.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = LaunchplanLevelValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = LaunchplanLevelValidationError{} + +// Validate checks the field values on SettingsUpdateRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *SettingsUpdateRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsUpdateRequestValidationError{ + field: "Settings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + switch m.Level.(type) { + + case *SettingsUpdateRequest_GlobalLevel: + + if v, ok := interface{}(m.GetGlobalLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsUpdateRequestValidationError{ + field: "GlobalLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsUpdateRequest_ProjectLevel: + + if v, ok := interface{}(m.GetProjectLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsUpdateRequestValidationError{ + field: "ProjectLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsUpdateRequest_DomainLevel: + + if v, ok := interface{}(m.GetDomainLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsUpdateRequestValidationError{ + field: "DomainLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsUpdateRequest_WorkflowLevel: + + if v, ok := interface{}(m.GetWorkflowLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsUpdateRequestValidationError{ + field: "WorkflowLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsUpdateRequest_LaunchplanLevel: + + if v, ok := interface{}(m.GetLaunchplanLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsUpdateRequestValidationError{ + field: "LaunchplanLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// SettingsUpdateRequestValidationError is the validation error returned by +// SettingsUpdateRequest.Validate if the designated constraints aren't met. +type SettingsUpdateRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SettingsUpdateRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SettingsUpdateRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SettingsUpdateRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SettingsUpdateRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SettingsUpdateRequestValidationError) ErrorName() string { + return "SettingsUpdateRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e SettingsUpdateRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSettingsUpdateRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SettingsUpdateRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SettingsUpdateRequestValidationError{} + +// Validate checks the field values on FullSettingsUpdateRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *FullSettingsUpdateRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return FullSettingsUpdateRequestValidationError{ + field: "Settings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + switch m.Level.(type) { + + case *FullSettingsUpdateRequest_GlobalLevel: + + if v, ok := interface{}(m.GetGlobalLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return FullSettingsUpdateRequestValidationError{ + field: "GlobalLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *FullSettingsUpdateRequest_ProjectLevel: + + if v, ok := interface{}(m.GetProjectLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return FullSettingsUpdateRequestValidationError{ + field: "ProjectLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *FullSettingsUpdateRequest_DomainLevel: + + if v, ok := interface{}(m.GetDomainLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return FullSettingsUpdateRequestValidationError{ + field: "DomainLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *FullSettingsUpdateRequest_WorkflowLevel: + + if v, ok := interface{}(m.GetWorkflowLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return FullSettingsUpdateRequestValidationError{ + field: "WorkflowLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *FullSettingsUpdateRequest_LaunchplanLevel: + + if v, ok := interface{}(m.GetLaunchplanLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return FullSettingsUpdateRequestValidationError{ + field: "LaunchplanLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// FullSettingsUpdateRequestValidationError is the validation error returned by +// FullSettingsUpdateRequest.Validate if the designated constraints aren't met. +type FullSettingsUpdateRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e FullSettingsUpdateRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e FullSettingsUpdateRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e FullSettingsUpdateRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e FullSettingsUpdateRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e FullSettingsUpdateRequestValidationError) ErrorName() string { + return "FullSettingsUpdateRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e FullSettingsUpdateRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sFullSettingsUpdateRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = FullSettingsUpdateRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = FullSettingsUpdateRequestValidationError{} + +// Validate checks the field values on FullSettingsUpdateResponse with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *FullSettingsUpdateResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// FullSettingsUpdateResponseValidationError is the validation error returned +// by FullSettingsUpdateResponse.Validate if the designated constraints aren't met. +type FullSettingsUpdateResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e FullSettingsUpdateResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e FullSettingsUpdateResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e FullSettingsUpdateResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e FullSettingsUpdateResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e FullSettingsUpdateResponseValidationError) ErrorName() string { + return "FullSettingsUpdateResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e FullSettingsUpdateResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sFullSettingsUpdateResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = FullSettingsUpdateResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = FullSettingsUpdateResponseValidationError{} + +// Validate checks the field values on SettingsGetRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *SettingsGetRequest) Validate() error { + if m == nil { + return nil + } + + switch m.Level.(type) { + + case *SettingsGetRequest_GlobalLevel: + + if v, ok := interface{}(m.GetGlobalLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetRequestValidationError{ + field: "GlobalLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsGetRequest_ProjectLevel: + + if v, ok := interface{}(m.GetProjectLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetRequestValidationError{ + field: "ProjectLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsGetRequest_DomainLevel: + + if v, ok := interface{}(m.GetDomainLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetRequestValidationError{ + field: "DomainLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsGetRequest_WorkflowLevel: + + if v, ok := interface{}(m.GetWorkflowLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetRequestValidationError{ + field: "WorkflowLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsGetRequest_LaunchplanLevel: + + if v, ok := interface{}(m.GetLaunchplanLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetRequestValidationError{ + field: "LaunchplanLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// SettingsGetRequestValidationError is the validation error returned by +// SettingsGetRequest.Validate if the designated constraints aren't met. +type SettingsGetRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SettingsGetRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SettingsGetRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SettingsGetRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SettingsGetRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SettingsGetRequestValidationError) ErrorName() string { + return "SettingsGetRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e SettingsGetRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSettingsGetRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SettingsGetRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SettingsGetRequestValidationError{} + +// Validate checks the field values on SettingsGetResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *SettingsGetResponse) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetResponseValidationError{ + field: "Settings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + switch m.Level.(type) { + + case *SettingsGetResponse_GlobalLevel: + + if v, ok := interface{}(m.GetGlobalLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetResponseValidationError{ + field: "GlobalLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsGetResponse_ProjectLevel: + + if v, ok := interface{}(m.GetProjectLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetResponseValidationError{ + field: "ProjectLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsGetResponse_DomainLevel: + + if v, ok := interface{}(m.GetDomainLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetResponseValidationError{ + field: "DomainLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsGetResponse_WorkflowLevel: + + if v, ok := interface{}(m.GetWorkflowLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetResponseValidationError{ + field: "WorkflowLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsGetResponse_LaunchplanLevel: + + if v, ok := interface{}(m.GetLaunchplanLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsGetResponseValidationError{ + field: "LaunchplanLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// SettingsGetResponseValidationError is the validation error returned by +// SettingsGetResponse.Validate if the designated constraints aren't met. +type SettingsGetResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SettingsGetResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SettingsGetResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SettingsGetResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SettingsGetResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SettingsGetResponseValidationError) ErrorName() string { + return "SettingsGetResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e SettingsGetResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSettingsGetResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SettingsGetResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SettingsGetResponseValidationError{} + +// Validate checks the field values on FullSettingsGetRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *FullSettingsGetRequest) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// FullSettingsGetRequestValidationError is the validation error returned by +// FullSettingsGetRequest.Validate if the designated constraints aren't met. +type FullSettingsGetRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e FullSettingsGetRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e FullSettingsGetRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e FullSettingsGetRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e FullSettingsGetRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e FullSettingsGetRequestValidationError) ErrorName() string { + return "FullSettingsGetRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e FullSettingsGetRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sFullSettingsGetRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = FullSettingsGetRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = FullSettingsGetRequestValidationError{} + +// Validate checks the field values on FullSettingsGetResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *FullSettingsGetResponse) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetSettings()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return FullSettingsGetResponseValidationError{ + field: "Settings", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// FullSettingsGetResponseValidationError is the validation error returned by +// FullSettingsGetResponse.Validate if the designated constraints aren't met. +type FullSettingsGetResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e FullSettingsGetResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e FullSettingsGetResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e FullSettingsGetResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e FullSettingsGetResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e FullSettingsGetResponseValidationError) ErrorName() string { + return "FullSettingsGetResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e FullSettingsGetResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sFullSettingsGetResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = FullSettingsGetResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = FullSettingsGetResponseValidationError{} + +// Validate checks the field values on SettingsDeleteRequest with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *SettingsDeleteRequest) Validate() error { + if m == nil { + return nil + } + + switch m.Level.(type) { + + case *SettingsDeleteRequest_GlobalLevel: + + if v, ok := interface{}(m.GetGlobalLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsDeleteRequestValidationError{ + field: "GlobalLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsDeleteRequest_ProjectLevel: + + if v, ok := interface{}(m.GetProjectLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsDeleteRequestValidationError{ + field: "ProjectLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsDeleteRequest_DomainLevel: + + if v, ok := interface{}(m.GetDomainLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsDeleteRequestValidationError{ + field: "DomainLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsDeleteRequest_WorkflowLevel: + + if v, ok := interface{}(m.GetWorkflowLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsDeleteRequestValidationError{ + field: "WorkflowLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *SettingsDeleteRequest_LaunchplanLevel: + + if v, ok := interface{}(m.GetLaunchplanLevel()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return SettingsDeleteRequestValidationError{ + field: "LaunchplanLevel", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// SettingsDeleteRequestValidationError is the validation error returned by +// SettingsDeleteRequest.Validate if the designated constraints aren't met. +type SettingsDeleteRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SettingsDeleteRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SettingsDeleteRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SettingsDeleteRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SettingsDeleteRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SettingsDeleteRequestValidationError) ErrorName() string { + return "SettingsDeleteRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e SettingsDeleteRequestValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSettingsDeleteRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SettingsDeleteRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SettingsDeleteRequestValidationError{} + +// Validate checks the field values on SettingsDeleteResponse with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *SettingsDeleteResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// SettingsDeleteResponseValidationError is the validation error returned by +// SettingsDeleteResponse.Validate if the designated constraints aren't met. +type SettingsDeleteResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e SettingsDeleteResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e SettingsDeleteResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e SettingsDeleteResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e SettingsDeleteResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e SettingsDeleteResponseValidationError) ErrorName() string { + return "SettingsDeleteResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e SettingsDeleteResponseValidationError) Error() string { + cause := "" + if e.cause != nil { + cause = fmt.Sprintf(" | caused by: %v", e.cause) + } + + key := "" + if e.key { + key = "key for " + } + + return fmt.Sprintf( + "invalid %sSettingsDeleteResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = SettingsDeleteResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = SettingsDeleteResponseValidationError{} diff --git a/gen/pb-go/flyteidl/admin/settings.swagger.json b/gen/pb-go/flyteidl/admin/settings.swagger.json new file mode 100644 index 000000000..14b163d31 --- /dev/null +++ b/gen/pb-go/flyteidl/admin/settings.swagger.json @@ -0,0 +1,19 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/settings.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": {} +} diff --git a/gen/pb-java/flyteidl/admin/SettingsOuterClass.java b/gen/pb-java/flyteidl/admin/SettingsOuterClass.java new file mode 100644 index 000000000..24569bad1 --- /dev/null +++ b/gen/pb-java/flyteidl/admin/SettingsOuterClass.java @@ -0,0 +1,21684 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/settings.proto + +package flyteidl.admin; + +public final class SettingsOuterClass { + private SettingsOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface SettingsCollectionOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.SettingsCollection) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + boolean hasTaskResourceSettings(); + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getTaskResourceSettings(); + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getTaskResourceSettingsOrBuilder(); + + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + boolean hasClusterResourceSettings(); + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterResourceSettings(); + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterResourceSettingsOrBuilder(); + + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + boolean hasExecutionQueueSettings(); + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionQueueSettings(); + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionQueueSettingsOrBuilder(); + + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + boolean hasExecutionClusterLabelSettings(); + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionClusterLabelSettings(); + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionClusterLabelSettingsOrBuilder(); + + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + boolean hasQualityOfServiceSettings(); + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getQualityOfServiceSettings(); + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getQualityOfServiceSettingsOrBuilder(); + + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + boolean hasPluginOverrideSettings(); + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getPluginOverrideSettings(); + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getPluginOverrideSettingsOrBuilder(); + + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + boolean hasWorkflowExecutionSettings(); + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getWorkflowExecutionSettings(); + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getWorkflowExecutionSettingsOrBuilder(); + + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + boolean hasClusterAssignmentSettings(); + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterAssignmentSettings(); + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterAssignmentSettingsOrBuilder(); + } + /** + *
+   * Defines settings collection for flyte resources
+   * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsCollection} + */ + public static final class SettingsCollection extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.SettingsCollection) + SettingsCollectionOrBuilder { + private static final long serialVersionUID = 0L; + // Use SettingsCollection.newBuilder() to construct. + private SettingsCollection(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SettingsCollection() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SettingsCollection( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (taskResourceSettings_ != null) { + subBuilder = taskResourceSettings_.toBuilder(); + } + taskResourceSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(taskResourceSettings_); + taskResourceSettings_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (clusterResourceSettings_ != null) { + subBuilder = clusterResourceSettings_.toBuilder(); + } + clusterResourceSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(clusterResourceSettings_); + clusterResourceSettings_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (executionQueueSettings_ != null) { + subBuilder = executionQueueSettings_.toBuilder(); + } + executionQueueSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(executionQueueSettings_); + executionQueueSettings_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (executionClusterLabelSettings_ != null) { + subBuilder = executionClusterLabelSettings_.toBuilder(); + } + executionClusterLabelSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(executionClusterLabelSettings_); + executionClusterLabelSettings_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (qualityOfServiceSettings_ != null) { + subBuilder = qualityOfServiceSettings_.toBuilder(); + } + qualityOfServiceSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(qualityOfServiceSettings_); + qualityOfServiceSettings_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (pluginOverrideSettings_ != null) { + subBuilder = pluginOverrideSettings_.toBuilder(); + } + pluginOverrideSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pluginOverrideSettings_); + pluginOverrideSettings_ = subBuilder.buildPartial(); + } + + break; + } + case 58: { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (workflowExecutionSettings_ != null) { + subBuilder = workflowExecutionSettings_.toBuilder(); + } + workflowExecutionSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workflowExecutionSettings_); + workflowExecutionSettings_ = subBuilder.buildPartial(); + } + + break; + } + case 66: { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (clusterAssignmentSettings_ != null) { + subBuilder = clusterAssignmentSettings_.toBuilder(); + } + clusterAssignmentSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(clusterAssignmentSettings_); + clusterAssignmentSettings_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsCollection_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsCollection_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsCollection.class, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder.class); + } + + public static final int TASK_RESOURCE_SETTINGS_FIELD_NUMBER = 1; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes taskResourceSettings_; + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public boolean hasTaskResourceSettings() { + return taskResourceSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getTaskResourceSettings() { + return taskResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : taskResourceSettings_; + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getTaskResourceSettingsOrBuilder() { + return getTaskResourceSettings(); + } + + public static final int CLUSTER_RESOURCE_SETTINGS_FIELD_NUMBER = 2; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes clusterResourceSettings_; + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public boolean hasClusterResourceSettings() { + return clusterResourceSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterResourceSettings() { + return clusterResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterResourceSettings_; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterResourceSettingsOrBuilder() { + return getClusterResourceSettings(); + } + + public static final int EXECUTION_QUEUE_SETTINGS_FIELD_NUMBER = 3; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes executionQueueSettings_; + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public boolean hasExecutionQueueSettings() { + return executionQueueSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionQueueSettings() { + return executionQueueSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionQueueSettings_; + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionQueueSettingsOrBuilder() { + return getExecutionQueueSettings(); + } + + public static final int EXECUTION_CLUSTER_LABEL_SETTINGS_FIELD_NUMBER = 4; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes executionClusterLabelSettings_; + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public boolean hasExecutionClusterLabelSettings() { + return executionClusterLabelSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionClusterLabelSettings() { + return executionClusterLabelSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionClusterLabelSettings_; + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionClusterLabelSettingsOrBuilder() { + return getExecutionClusterLabelSettings(); + } + + public static final int QUALITY_OF_SERVICE_SETTINGS_FIELD_NUMBER = 5; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes qualityOfServiceSettings_; + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public boolean hasQualityOfServiceSettings() { + return qualityOfServiceSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getQualityOfServiceSettings() { + return qualityOfServiceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : qualityOfServiceSettings_; + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getQualityOfServiceSettingsOrBuilder() { + return getQualityOfServiceSettings(); + } + + public static final int PLUGIN_OVERRIDE_SETTINGS_FIELD_NUMBER = 6; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes pluginOverrideSettings_; + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public boolean hasPluginOverrideSettings() { + return pluginOverrideSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getPluginOverrideSettings() { + return pluginOverrideSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : pluginOverrideSettings_; + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getPluginOverrideSettingsOrBuilder() { + return getPluginOverrideSettings(); + } + + public static final int WORKFLOW_EXECUTION_SETTINGS_FIELD_NUMBER = 7; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes workflowExecutionSettings_; + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public boolean hasWorkflowExecutionSettings() { + return workflowExecutionSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getWorkflowExecutionSettings() { + return workflowExecutionSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : workflowExecutionSettings_; + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getWorkflowExecutionSettingsOrBuilder() { + return getWorkflowExecutionSettings(); + } + + public static final int CLUSTER_ASSIGNMENT_SETTINGS_FIELD_NUMBER = 8; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes clusterAssignmentSettings_; + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public boolean hasClusterAssignmentSettings() { + return clusterAssignmentSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterAssignmentSettings() { + return clusterAssignmentSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterAssignmentSettings_; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterAssignmentSettingsOrBuilder() { + return getClusterAssignmentSettings(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (taskResourceSettings_ != null) { + output.writeMessage(1, getTaskResourceSettings()); + } + if (clusterResourceSettings_ != null) { + output.writeMessage(2, getClusterResourceSettings()); + } + if (executionQueueSettings_ != null) { + output.writeMessage(3, getExecutionQueueSettings()); + } + if (executionClusterLabelSettings_ != null) { + output.writeMessage(4, getExecutionClusterLabelSettings()); + } + if (qualityOfServiceSettings_ != null) { + output.writeMessage(5, getQualityOfServiceSettings()); + } + if (pluginOverrideSettings_ != null) { + output.writeMessage(6, getPluginOverrideSettings()); + } + if (workflowExecutionSettings_ != null) { + output.writeMessage(7, getWorkflowExecutionSettings()); + } + if (clusterAssignmentSettings_ != null) { + output.writeMessage(8, getClusterAssignmentSettings()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (taskResourceSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTaskResourceSettings()); + } + if (clusterResourceSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getClusterResourceSettings()); + } + if (executionQueueSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExecutionQueueSettings()); + } + if (executionClusterLabelSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExecutionClusterLabelSettings()); + } + if (qualityOfServiceSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getQualityOfServiceSettings()); + } + if (pluginOverrideSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getPluginOverrideSettings()); + } + if (workflowExecutionSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getWorkflowExecutionSettings()); + } + if (clusterAssignmentSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getClusterAssignmentSettings()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.SettingsCollection)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.SettingsCollection other = (flyteidl.admin.SettingsOuterClass.SettingsCollection) obj; + + if (hasTaskResourceSettings() != other.hasTaskResourceSettings()) return false; + if (hasTaskResourceSettings()) { + if (!getTaskResourceSettings() + .equals(other.getTaskResourceSettings())) return false; + } + if (hasClusterResourceSettings() != other.hasClusterResourceSettings()) return false; + if (hasClusterResourceSettings()) { + if (!getClusterResourceSettings() + .equals(other.getClusterResourceSettings())) return false; + } + if (hasExecutionQueueSettings() != other.hasExecutionQueueSettings()) return false; + if (hasExecutionQueueSettings()) { + if (!getExecutionQueueSettings() + .equals(other.getExecutionQueueSettings())) return false; + } + if (hasExecutionClusterLabelSettings() != other.hasExecutionClusterLabelSettings()) return false; + if (hasExecutionClusterLabelSettings()) { + if (!getExecutionClusterLabelSettings() + .equals(other.getExecutionClusterLabelSettings())) return false; + } + if (hasQualityOfServiceSettings() != other.hasQualityOfServiceSettings()) return false; + if (hasQualityOfServiceSettings()) { + if (!getQualityOfServiceSettings() + .equals(other.getQualityOfServiceSettings())) return false; + } + if (hasPluginOverrideSettings() != other.hasPluginOverrideSettings()) return false; + if (hasPluginOverrideSettings()) { + if (!getPluginOverrideSettings() + .equals(other.getPluginOverrideSettings())) return false; + } + if (hasWorkflowExecutionSettings() != other.hasWorkflowExecutionSettings()) return false; + if (hasWorkflowExecutionSettings()) { + if (!getWorkflowExecutionSettings() + .equals(other.getWorkflowExecutionSettings())) return false; + } + if (hasClusterAssignmentSettings() != other.hasClusterAssignmentSettings()) return false; + if (hasClusterAssignmentSettings()) { + if (!getClusterAssignmentSettings() + .equals(other.getClusterAssignmentSettings())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTaskResourceSettings()) { + hash = (37 * hash) + TASK_RESOURCE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getTaskResourceSettings().hashCode(); + } + if (hasClusterResourceSettings()) { + hash = (37 * hash) + CLUSTER_RESOURCE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getClusterResourceSettings().hashCode(); + } + if (hasExecutionQueueSettings()) { + hash = (37 * hash) + EXECUTION_QUEUE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getExecutionQueueSettings().hashCode(); + } + if (hasExecutionClusterLabelSettings()) { + hash = (37 * hash) + EXECUTION_CLUSTER_LABEL_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getExecutionClusterLabelSettings().hashCode(); + } + if (hasQualityOfServiceSettings()) { + hash = (37 * hash) + QUALITY_OF_SERVICE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getQualityOfServiceSettings().hashCode(); + } + if (hasPluginOverrideSettings()) { + hash = (37 * hash) + PLUGIN_OVERRIDE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getPluginOverrideSettings().hashCode(); + } + if (hasWorkflowExecutionSettings()) { + hash = (37 * hash) + WORKFLOW_EXECUTION_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowExecutionSettings().hashCode(); + } + if (hasClusterAssignmentSettings()) { + hash = (37 * hash) + CLUSTER_ASSIGNMENT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getClusterAssignmentSettings().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsCollection parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.SettingsCollection prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines settings collection for flyte resources
+     * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsCollection} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.SettingsCollection) + flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsCollection_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsCollection_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsCollection.class, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.SettingsCollection.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (taskResourceSettingsBuilder_ == null) { + taskResourceSettings_ = null; + } else { + taskResourceSettings_ = null; + taskResourceSettingsBuilder_ = null; + } + if (clusterResourceSettingsBuilder_ == null) { + clusterResourceSettings_ = null; + } else { + clusterResourceSettings_ = null; + clusterResourceSettingsBuilder_ = null; + } + if (executionQueueSettingsBuilder_ == null) { + executionQueueSettings_ = null; + } else { + executionQueueSettings_ = null; + executionQueueSettingsBuilder_ = null; + } + if (executionClusterLabelSettingsBuilder_ == null) { + executionClusterLabelSettings_ = null; + } else { + executionClusterLabelSettings_ = null; + executionClusterLabelSettingsBuilder_ = null; + } + if (qualityOfServiceSettingsBuilder_ == null) { + qualityOfServiceSettings_ = null; + } else { + qualityOfServiceSettings_ = null; + qualityOfServiceSettingsBuilder_ = null; + } + if (pluginOverrideSettingsBuilder_ == null) { + pluginOverrideSettings_ = null; + } else { + pluginOverrideSettings_ = null; + pluginOverrideSettingsBuilder_ = null; + } + if (workflowExecutionSettingsBuilder_ == null) { + workflowExecutionSettings_ = null; + } else { + workflowExecutionSettings_ = null; + workflowExecutionSettingsBuilder_ = null; + } + if (clusterAssignmentSettingsBuilder_ == null) { + clusterAssignmentSettings_ = null; + } else { + clusterAssignmentSettings_ = null; + clusterAssignmentSettingsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsCollection_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsCollection getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsCollection build() { + flyteidl.admin.SettingsOuterClass.SettingsCollection result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsCollection buildPartial() { + flyteidl.admin.SettingsOuterClass.SettingsCollection result = new flyteidl.admin.SettingsOuterClass.SettingsCollection(this); + if (taskResourceSettingsBuilder_ == null) { + result.taskResourceSettings_ = taskResourceSettings_; + } else { + result.taskResourceSettings_ = taskResourceSettingsBuilder_.build(); + } + if (clusterResourceSettingsBuilder_ == null) { + result.clusterResourceSettings_ = clusterResourceSettings_; + } else { + result.clusterResourceSettings_ = clusterResourceSettingsBuilder_.build(); + } + if (executionQueueSettingsBuilder_ == null) { + result.executionQueueSettings_ = executionQueueSettings_; + } else { + result.executionQueueSettings_ = executionQueueSettingsBuilder_.build(); + } + if (executionClusterLabelSettingsBuilder_ == null) { + result.executionClusterLabelSettings_ = executionClusterLabelSettings_; + } else { + result.executionClusterLabelSettings_ = executionClusterLabelSettingsBuilder_.build(); + } + if (qualityOfServiceSettingsBuilder_ == null) { + result.qualityOfServiceSettings_ = qualityOfServiceSettings_; + } else { + result.qualityOfServiceSettings_ = qualityOfServiceSettingsBuilder_.build(); + } + if (pluginOverrideSettingsBuilder_ == null) { + result.pluginOverrideSettings_ = pluginOverrideSettings_; + } else { + result.pluginOverrideSettings_ = pluginOverrideSettingsBuilder_.build(); + } + if (workflowExecutionSettingsBuilder_ == null) { + result.workflowExecutionSettings_ = workflowExecutionSettings_; + } else { + result.workflowExecutionSettings_ = workflowExecutionSettingsBuilder_.build(); + } + if (clusterAssignmentSettingsBuilder_ == null) { + result.clusterAssignmentSettings_ = clusterAssignmentSettings_; + } else { + result.clusterAssignmentSettings_ = clusterAssignmentSettingsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.SettingsCollection) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.SettingsCollection)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.SettingsCollection other) { + if (other == flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance()) return this; + if (other.hasTaskResourceSettings()) { + mergeTaskResourceSettings(other.getTaskResourceSettings()); + } + if (other.hasClusterResourceSettings()) { + mergeClusterResourceSettings(other.getClusterResourceSettings()); + } + if (other.hasExecutionQueueSettings()) { + mergeExecutionQueueSettings(other.getExecutionQueueSettings()); + } + if (other.hasExecutionClusterLabelSettings()) { + mergeExecutionClusterLabelSettings(other.getExecutionClusterLabelSettings()); + } + if (other.hasQualityOfServiceSettings()) { + mergeQualityOfServiceSettings(other.getQualityOfServiceSettings()); + } + if (other.hasPluginOverrideSettings()) { + mergePluginOverrideSettings(other.getPluginOverrideSettings()); + } + if (other.hasWorkflowExecutionSettings()) { + mergeWorkflowExecutionSettings(other.getWorkflowExecutionSettings()); + } + if (other.hasClusterAssignmentSettings()) { + mergeClusterAssignmentSettings(other.getClusterAssignmentSettings()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.SettingsCollection parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.SettingsCollection) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes taskResourceSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> taskResourceSettingsBuilder_; + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public boolean hasTaskResourceSettings() { + return taskResourceSettingsBuilder_ != null || taskResourceSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getTaskResourceSettings() { + if (taskResourceSettingsBuilder_ == null) { + return taskResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : taskResourceSettings_; + } else { + return taskResourceSettingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public Builder setTaskResourceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (taskResourceSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + taskResourceSettings_ = value; + onChanged(); + } else { + taskResourceSettingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public Builder setTaskResourceSettings( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (taskResourceSettingsBuilder_ == null) { + taskResourceSettings_ = builderForValue.build(); + onChanged(); + } else { + taskResourceSettingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public Builder mergeTaskResourceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (taskResourceSettingsBuilder_ == null) { + if (taskResourceSettings_ != null) { + taskResourceSettings_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(taskResourceSettings_).mergeFrom(value).buildPartial(); + } else { + taskResourceSettings_ = value; + } + onChanged(); + } else { + taskResourceSettingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public Builder clearTaskResourceSettings() { + if (taskResourceSettingsBuilder_ == null) { + taskResourceSettings_ = null; + onChanged(); + } else { + taskResourceSettings_ = null; + taskResourceSettingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getTaskResourceSettingsBuilder() { + + onChanged(); + return getTaskResourceSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getTaskResourceSettingsOrBuilder() { + if (taskResourceSettingsBuilder_ != null) { + return taskResourceSettingsBuilder_.getMessageOrBuilder(); + } else { + return taskResourceSettings_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : taskResourceSettings_; + } + } + /** + * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getTaskResourceSettingsFieldBuilder() { + if (taskResourceSettingsBuilder_ == null) { + taskResourceSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getTaskResourceSettings(), + getParentForChildren(), + isClean()); + taskResourceSettings_ = null; + } + return taskResourceSettingsBuilder_; + } + + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes clusterResourceSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> clusterResourceSettingsBuilder_; + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public boolean hasClusterResourceSettings() { + return clusterResourceSettingsBuilder_ != null || clusterResourceSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterResourceSettings() { + if (clusterResourceSettingsBuilder_ == null) { + return clusterResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterResourceSettings_; + } else { + return clusterResourceSettingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public Builder setClusterResourceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (clusterResourceSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + clusterResourceSettings_ = value; + onChanged(); + } else { + clusterResourceSettingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public Builder setClusterResourceSettings( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (clusterResourceSettingsBuilder_ == null) { + clusterResourceSettings_ = builderForValue.build(); + onChanged(); + } else { + clusterResourceSettingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public Builder mergeClusterResourceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (clusterResourceSettingsBuilder_ == null) { + if (clusterResourceSettings_ != null) { + clusterResourceSettings_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(clusterResourceSettings_).mergeFrom(value).buildPartial(); + } else { + clusterResourceSettings_ = value; + } + onChanged(); + } else { + clusterResourceSettingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public Builder clearClusterResourceSettings() { + if (clusterResourceSettingsBuilder_ == null) { + clusterResourceSettings_ = null; + onChanged(); + } else { + clusterResourceSettings_ = null; + clusterResourceSettingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getClusterResourceSettingsBuilder() { + + onChanged(); + return getClusterResourceSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterResourceSettingsOrBuilder() { + if (clusterResourceSettingsBuilder_ != null) { + return clusterResourceSettingsBuilder_.getMessageOrBuilder(); + } else { + return clusterResourceSettings_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterResourceSettings_; + } + } + /** + * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getClusterResourceSettingsFieldBuilder() { + if (clusterResourceSettingsBuilder_ == null) { + clusterResourceSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getClusterResourceSettings(), + getParentForChildren(), + isClean()); + clusterResourceSettings_ = null; + } + return clusterResourceSettingsBuilder_; + } + + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes executionQueueSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> executionQueueSettingsBuilder_; + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public boolean hasExecutionQueueSettings() { + return executionQueueSettingsBuilder_ != null || executionQueueSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionQueueSettings() { + if (executionQueueSettingsBuilder_ == null) { + return executionQueueSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionQueueSettings_; + } else { + return executionQueueSettingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public Builder setExecutionQueueSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (executionQueueSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + executionQueueSettings_ = value; + onChanged(); + } else { + executionQueueSettingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public Builder setExecutionQueueSettings( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (executionQueueSettingsBuilder_ == null) { + executionQueueSettings_ = builderForValue.build(); + onChanged(); + } else { + executionQueueSettingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public Builder mergeExecutionQueueSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (executionQueueSettingsBuilder_ == null) { + if (executionQueueSettings_ != null) { + executionQueueSettings_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(executionQueueSettings_).mergeFrom(value).buildPartial(); + } else { + executionQueueSettings_ = value; + } + onChanged(); + } else { + executionQueueSettingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public Builder clearExecutionQueueSettings() { + if (executionQueueSettingsBuilder_ == null) { + executionQueueSettings_ = null; + onChanged(); + } else { + executionQueueSettings_ = null; + executionQueueSettingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getExecutionQueueSettingsBuilder() { + + onChanged(); + return getExecutionQueueSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionQueueSettingsOrBuilder() { + if (executionQueueSettingsBuilder_ != null) { + return executionQueueSettingsBuilder_.getMessageOrBuilder(); + } else { + return executionQueueSettings_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionQueueSettings_; + } + } + /** + * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getExecutionQueueSettingsFieldBuilder() { + if (executionQueueSettingsBuilder_ == null) { + executionQueueSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getExecutionQueueSettings(), + getParentForChildren(), + isClean()); + executionQueueSettings_ = null; + } + return executionQueueSettingsBuilder_; + } + + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes executionClusterLabelSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> executionClusterLabelSettingsBuilder_; + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public boolean hasExecutionClusterLabelSettings() { + return executionClusterLabelSettingsBuilder_ != null || executionClusterLabelSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionClusterLabelSettings() { + if (executionClusterLabelSettingsBuilder_ == null) { + return executionClusterLabelSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionClusterLabelSettings_; + } else { + return executionClusterLabelSettingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public Builder setExecutionClusterLabelSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (executionClusterLabelSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + executionClusterLabelSettings_ = value; + onChanged(); + } else { + executionClusterLabelSettingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public Builder setExecutionClusterLabelSettings( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (executionClusterLabelSettingsBuilder_ == null) { + executionClusterLabelSettings_ = builderForValue.build(); + onChanged(); + } else { + executionClusterLabelSettingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public Builder mergeExecutionClusterLabelSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (executionClusterLabelSettingsBuilder_ == null) { + if (executionClusterLabelSettings_ != null) { + executionClusterLabelSettings_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(executionClusterLabelSettings_).mergeFrom(value).buildPartial(); + } else { + executionClusterLabelSettings_ = value; + } + onChanged(); + } else { + executionClusterLabelSettingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public Builder clearExecutionClusterLabelSettings() { + if (executionClusterLabelSettingsBuilder_ == null) { + executionClusterLabelSettings_ = null; + onChanged(); + } else { + executionClusterLabelSettings_ = null; + executionClusterLabelSettingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getExecutionClusterLabelSettingsBuilder() { + + onChanged(); + return getExecutionClusterLabelSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionClusterLabelSettingsOrBuilder() { + if (executionClusterLabelSettingsBuilder_ != null) { + return executionClusterLabelSettingsBuilder_.getMessageOrBuilder(); + } else { + return executionClusterLabelSettings_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionClusterLabelSettings_; + } + } + /** + * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getExecutionClusterLabelSettingsFieldBuilder() { + if (executionClusterLabelSettingsBuilder_ == null) { + executionClusterLabelSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getExecutionClusterLabelSettings(), + getParentForChildren(), + isClean()); + executionClusterLabelSettings_ = null; + } + return executionClusterLabelSettingsBuilder_; + } + + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes qualityOfServiceSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> qualityOfServiceSettingsBuilder_; + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public boolean hasQualityOfServiceSettings() { + return qualityOfServiceSettingsBuilder_ != null || qualityOfServiceSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getQualityOfServiceSettings() { + if (qualityOfServiceSettingsBuilder_ == null) { + return qualityOfServiceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : qualityOfServiceSettings_; + } else { + return qualityOfServiceSettingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public Builder setQualityOfServiceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (qualityOfServiceSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + qualityOfServiceSettings_ = value; + onChanged(); + } else { + qualityOfServiceSettingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public Builder setQualityOfServiceSettings( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (qualityOfServiceSettingsBuilder_ == null) { + qualityOfServiceSettings_ = builderForValue.build(); + onChanged(); + } else { + qualityOfServiceSettingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public Builder mergeQualityOfServiceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (qualityOfServiceSettingsBuilder_ == null) { + if (qualityOfServiceSettings_ != null) { + qualityOfServiceSettings_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(qualityOfServiceSettings_).mergeFrom(value).buildPartial(); + } else { + qualityOfServiceSettings_ = value; + } + onChanged(); + } else { + qualityOfServiceSettingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public Builder clearQualityOfServiceSettings() { + if (qualityOfServiceSettingsBuilder_ == null) { + qualityOfServiceSettings_ = null; + onChanged(); + } else { + qualityOfServiceSettings_ = null; + qualityOfServiceSettingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getQualityOfServiceSettingsBuilder() { + + onChanged(); + return getQualityOfServiceSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getQualityOfServiceSettingsOrBuilder() { + if (qualityOfServiceSettingsBuilder_ != null) { + return qualityOfServiceSettingsBuilder_.getMessageOrBuilder(); + } else { + return qualityOfServiceSettings_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : qualityOfServiceSettings_; + } + } + /** + * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getQualityOfServiceSettingsFieldBuilder() { + if (qualityOfServiceSettingsBuilder_ == null) { + qualityOfServiceSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getQualityOfServiceSettings(), + getParentForChildren(), + isClean()); + qualityOfServiceSettings_ = null; + } + return qualityOfServiceSettingsBuilder_; + } + + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes pluginOverrideSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> pluginOverrideSettingsBuilder_; + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public boolean hasPluginOverrideSettings() { + return pluginOverrideSettingsBuilder_ != null || pluginOverrideSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getPluginOverrideSettings() { + if (pluginOverrideSettingsBuilder_ == null) { + return pluginOverrideSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : pluginOverrideSettings_; + } else { + return pluginOverrideSettingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public Builder setPluginOverrideSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (pluginOverrideSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pluginOverrideSettings_ = value; + onChanged(); + } else { + pluginOverrideSettingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public Builder setPluginOverrideSettings( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (pluginOverrideSettingsBuilder_ == null) { + pluginOverrideSettings_ = builderForValue.build(); + onChanged(); + } else { + pluginOverrideSettingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public Builder mergePluginOverrideSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (pluginOverrideSettingsBuilder_ == null) { + if (pluginOverrideSettings_ != null) { + pluginOverrideSettings_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(pluginOverrideSettings_).mergeFrom(value).buildPartial(); + } else { + pluginOverrideSettings_ = value; + } + onChanged(); + } else { + pluginOverrideSettingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public Builder clearPluginOverrideSettings() { + if (pluginOverrideSettingsBuilder_ == null) { + pluginOverrideSettings_ = null; + onChanged(); + } else { + pluginOverrideSettings_ = null; + pluginOverrideSettingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getPluginOverrideSettingsBuilder() { + + onChanged(); + return getPluginOverrideSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getPluginOverrideSettingsOrBuilder() { + if (pluginOverrideSettingsBuilder_ != null) { + return pluginOverrideSettingsBuilder_.getMessageOrBuilder(); + } else { + return pluginOverrideSettings_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : pluginOverrideSettings_; + } + } + /** + * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getPluginOverrideSettingsFieldBuilder() { + if (pluginOverrideSettingsBuilder_ == null) { + pluginOverrideSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getPluginOverrideSettings(), + getParentForChildren(), + isClean()); + pluginOverrideSettings_ = null; + } + return pluginOverrideSettingsBuilder_; + } + + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes workflowExecutionSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> workflowExecutionSettingsBuilder_; + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public boolean hasWorkflowExecutionSettings() { + return workflowExecutionSettingsBuilder_ != null || workflowExecutionSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getWorkflowExecutionSettings() { + if (workflowExecutionSettingsBuilder_ == null) { + return workflowExecutionSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : workflowExecutionSettings_; + } else { + return workflowExecutionSettingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public Builder setWorkflowExecutionSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (workflowExecutionSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workflowExecutionSettings_ = value; + onChanged(); + } else { + workflowExecutionSettingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public Builder setWorkflowExecutionSettings( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (workflowExecutionSettingsBuilder_ == null) { + workflowExecutionSettings_ = builderForValue.build(); + onChanged(); + } else { + workflowExecutionSettingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public Builder mergeWorkflowExecutionSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (workflowExecutionSettingsBuilder_ == null) { + if (workflowExecutionSettings_ != null) { + workflowExecutionSettings_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(workflowExecutionSettings_).mergeFrom(value).buildPartial(); + } else { + workflowExecutionSettings_ = value; + } + onChanged(); + } else { + workflowExecutionSettingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public Builder clearWorkflowExecutionSettings() { + if (workflowExecutionSettingsBuilder_ == null) { + workflowExecutionSettings_ = null; + onChanged(); + } else { + workflowExecutionSettings_ = null; + workflowExecutionSettingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getWorkflowExecutionSettingsBuilder() { + + onChanged(); + return getWorkflowExecutionSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getWorkflowExecutionSettingsOrBuilder() { + if (workflowExecutionSettingsBuilder_ != null) { + return workflowExecutionSettingsBuilder_.getMessageOrBuilder(); + } else { + return workflowExecutionSettings_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : workflowExecutionSettings_; + } + } + /** + * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getWorkflowExecutionSettingsFieldBuilder() { + if (workflowExecutionSettingsBuilder_ == null) { + workflowExecutionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getWorkflowExecutionSettings(), + getParentForChildren(), + isClean()); + workflowExecutionSettings_ = null; + } + return workflowExecutionSettingsBuilder_; + } + + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes clusterAssignmentSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> clusterAssignmentSettingsBuilder_; + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public boolean hasClusterAssignmentSettings() { + return clusterAssignmentSettingsBuilder_ != null || clusterAssignmentSettings_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterAssignmentSettings() { + if (clusterAssignmentSettingsBuilder_ == null) { + return clusterAssignmentSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterAssignmentSettings_; + } else { + return clusterAssignmentSettingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public Builder setClusterAssignmentSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (clusterAssignmentSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + clusterAssignmentSettings_ = value; + onChanged(); + } else { + clusterAssignmentSettingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public Builder setClusterAssignmentSettings( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (clusterAssignmentSettingsBuilder_ == null) { + clusterAssignmentSettings_ = builderForValue.build(); + onChanged(); + } else { + clusterAssignmentSettingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public Builder mergeClusterAssignmentSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (clusterAssignmentSettingsBuilder_ == null) { + if (clusterAssignmentSettings_ != null) { + clusterAssignmentSettings_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(clusterAssignmentSettings_).mergeFrom(value).buildPartial(); + } else { + clusterAssignmentSettings_ = value; + } + onChanged(); + } else { + clusterAssignmentSettingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public Builder clearClusterAssignmentSettings() { + if (clusterAssignmentSettingsBuilder_ == null) { + clusterAssignmentSettings_ = null; + onChanged(); + } else { + clusterAssignmentSettings_ = null; + clusterAssignmentSettingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getClusterAssignmentSettingsBuilder() { + + onChanged(); + return getClusterAssignmentSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterAssignmentSettingsOrBuilder() { + if (clusterAssignmentSettingsBuilder_ != null) { + return clusterAssignmentSettingsBuilder_.getMessageOrBuilder(); + } else { + return clusterAssignmentSettings_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterAssignmentSettings_; + } + } + /** + * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getClusterAssignmentSettingsFieldBuilder() { + if (clusterAssignmentSettingsBuilder_ == null) { + clusterAssignmentSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getClusterAssignmentSettings(), + getParentForChildren(), + isClean()); + clusterAssignmentSettings_ = null; + } + return clusterAssignmentSettingsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.SettingsCollection) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsCollection) + private static final flyteidl.admin.SettingsOuterClass.SettingsCollection DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.SettingsCollection(); + } + + public static flyteidl.admin.SettingsOuterClass.SettingsCollection getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SettingsCollection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SettingsCollection(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsCollection getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.Settings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Global settings applicable for all projects
+     * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + boolean hasGlobal(); + /** + *
+     * Global settings applicable for all projects
+     * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollection getGlobal(); + /** + *
+     * Global settings applicable for all projects
+     * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getGlobalOrBuilder(); + + /** + *
+     * All project settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + int getProjectSettingsCount(); + /** + *
+     * All project settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + boolean containsProjectSettings( + java.lang.String key); + /** + * Use {@link #getProjectSettingsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getProjectSettings(); + /** + *
+     * All project settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + java.util.Map + getProjectSettingsMap(); + /** + *
+     * All project settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + flyteidl.admin.SettingsOuterClass.ProjectSettings getProjectSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.ProjectSettings defaultValue); + /** + *
+     * All project settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + flyteidl.admin.SettingsOuterClass.ProjectSettings getProjectSettingsOrThrow( + java.lang.String key); + } + /** + *
+   * Defines settings at various levels
+   * Global : These are global settings which apply if no overrides are defined.
+   * Project : These are project level settings which get applied if they exist and no overrides exist at domain level
+   * Domain : These are domain level settings which get applied if they exist and no overrides exist at workflow level
+   * Workflow : These are workflow level settings which get applied if they exist
+   * Launchplan : These are launchplan level settings which get applied if they exist and no overrides exist at launchplan level
+   * 
+ * + * Protobuf type {@code flyteidl.admin.Settings} + */ + public static final class Settings extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.Settings) + SettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use Settings.newBuilder() to construct. + private Settings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Settings() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Settings( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder subBuilder = null; + if (global_ != null) { + subBuilder = global_.toBuilder(); + } + global_ = input.readMessage(flyteidl.admin.SettingsOuterClass.SettingsCollection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(global_); + global_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + projectSettings_ = com.google.protobuf.MapField.newMapField( + ProjectSettingsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry + projectSettings__ = input.readMessage( + ProjectSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + projectSettings_.getMutableMap().put( + projectSettings__.getKey(), projectSettings__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_Settings_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetProjectSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.Settings.class, flyteidl.admin.SettingsOuterClass.Settings.Builder.class); + } + + private int bitField0_; + public static final int GLOBAL_FIELD_NUMBER = 1; + private flyteidl.admin.SettingsOuterClass.SettingsCollection global_; + /** + *
+     * Global settings applicable for all projects
+     * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public boolean hasGlobal() { + return global_ != null; + } + /** + *
+     * Global settings applicable for all projects
+     * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getGlobal() { + return global_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : global_; + } + /** + *
+     * Global settings applicable for all projects
+     * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getGlobalOrBuilder() { + return getGlobal(); + } + + public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; + private static final class ProjectSettingsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, flyteidl.admin.SettingsOuterClass.ProjectSettings> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_Settings_ProjectSettingsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + flyteidl.admin.SettingsOuterClass.ProjectSettings.getDefaultInstance()); + } + private com.google.protobuf.MapField< + java.lang.String, flyteidl.admin.SettingsOuterClass.ProjectSettings> projectSettings_; + private com.google.protobuf.MapField + internalGetProjectSettings() { + if (projectSettings_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ProjectSettingsDefaultEntryHolder.defaultEntry); + } + return projectSettings_; + } + + public int getProjectSettingsCount() { + return internalGetProjectSettings().getMap().size(); + } + /** + *
+     * All project settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public boolean containsProjectSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetProjectSettings().getMap().containsKey(key); + } + /** + * Use {@link #getProjectSettingsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getProjectSettings() { + return getProjectSettingsMap(); + } + /** + *
+     * All project settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public java.util.Map getProjectSettingsMap() { + return internalGetProjectSettings().getMap(); + } + /** + *
+     * All project settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public flyteidl.admin.SettingsOuterClass.ProjectSettings getProjectSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.ProjectSettings defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetProjectSettings().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * All project settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public flyteidl.admin.SettingsOuterClass.ProjectSettings getProjectSettingsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetProjectSettings().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (global_ != null) { + output.writeMessage(1, getGlobal()); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetProjectSettings(), + ProjectSettingsDefaultEntryHolder.defaultEntry, + 2); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (global_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getGlobal()); + } + for (java.util.Map.Entry entry + : internalGetProjectSettings().getMap().entrySet()) { + com.google.protobuf.MapEntry + projectSettings__ = ProjectSettingsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, projectSettings__); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.Settings)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.Settings other = (flyteidl.admin.SettingsOuterClass.Settings) obj; + + if (hasGlobal() != other.hasGlobal()) return false; + if (hasGlobal()) { + if (!getGlobal() + .equals(other.getGlobal())) return false; + } + if (!internalGetProjectSettings().equals( + other.internalGetProjectSettings())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGlobal()) { + hash = (37 * hash) + GLOBAL_FIELD_NUMBER; + hash = (53 * hash) + getGlobal().hashCode(); + } + if (!internalGetProjectSettings().getMap().isEmpty()) { + hash = (37 * hash) + PROJECT_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + internalGetProjectSettings().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.Settings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.Settings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines settings at various levels
+     * Global : These are global settings which apply if no overrides are defined.
+     * Project : These are project level settings which get applied if they exist and no overrides exist at domain level
+     * Domain : These are domain level settings which get applied if they exist and no overrides exist at workflow level
+     * Workflow : These are workflow level settings which get applied if they exist
+     * Launchplan : These are launchplan level settings which get applied if they exist and no overrides exist at launchplan level
+     * 
+ * + * Protobuf type {@code flyteidl.admin.Settings} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.Settings) + flyteidl.admin.SettingsOuterClass.SettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_Settings_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 2: + return internalGetProjectSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 2: + return internalGetMutableProjectSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_Settings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.Settings.class, flyteidl.admin.SettingsOuterClass.Settings.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.Settings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (globalBuilder_ == null) { + global_ = null; + } else { + global_ = null; + globalBuilder_ = null; + } + internalGetMutableProjectSettings().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_Settings_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.Settings getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.Settings.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.Settings build() { + flyteidl.admin.SettingsOuterClass.Settings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.Settings buildPartial() { + flyteidl.admin.SettingsOuterClass.Settings result = new flyteidl.admin.SettingsOuterClass.Settings(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (globalBuilder_ == null) { + result.global_ = global_; + } else { + result.global_ = globalBuilder_.build(); + } + result.projectSettings_ = internalGetProjectSettings(); + result.projectSettings_.makeImmutable(); + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.Settings) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.Settings)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.Settings other) { + if (other == flyteidl.admin.SettingsOuterClass.Settings.getDefaultInstance()) return this; + if (other.hasGlobal()) { + mergeGlobal(other.getGlobal()); + } + internalGetMutableProjectSettings().mergeFrom( + other.internalGetProjectSettings()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.Settings parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.Settings) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private flyteidl.admin.SettingsOuterClass.SettingsCollection global_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> globalBuilder_; + /** + *
+       * Global settings applicable for all projects
+       * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public boolean hasGlobal() { + return globalBuilder_ != null || global_ != null; + } + /** + *
+       * Global settings applicable for all projects
+       * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getGlobal() { + if (globalBuilder_ == null) { + return global_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : global_; + } else { + return globalBuilder_.getMessage(); + } + } + /** + *
+       * Global settings applicable for all projects
+       * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public Builder setGlobal(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (globalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + global_ = value; + onChanged(); + } else { + globalBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Global settings applicable for all projects
+       * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public Builder setGlobal( + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder builderForValue) { + if (globalBuilder_ == null) { + global_ = builderForValue.build(); + onChanged(); + } else { + globalBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Global settings applicable for all projects
+       * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public Builder mergeGlobal(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (globalBuilder_ == null) { + if (global_ != null) { + global_ = + flyteidl.admin.SettingsOuterClass.SettingsCollection.newBuilder(global_).mergeFrom(value).buildPartial(); + } else { + global_ = value; + } + onChanged(); + } else { + globalBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Global settings applicable for all projects
+       * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public Builder clearGlobal() { + if (globalBuilder_ == null) { + global_ = null; + onChanged(); + } else { + global_ = null; + globalBuilder_ = null; + } + + return this; + } + /** + *
+       * Global settings applicable for all projects
+       * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder getGlobalBuilder() { + + onChanged(); + return getGlobalFieldBuilder().getBuilder(); + } + /** + *
+       * Global settings applicable for all projects
+       * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getGlobalOrBuilder() { + if (globalBuilder_ != null) { + return globalBuilder_.getMessageOrBuilder(); + } else { + return global_ == null ? + flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : global_; + } + } + /** + *
+       * Global settings applicable for all projects
+       * 
+ * + * .flyteidl.admin.SettingsCollection global = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> + getGlobalFieldBuilder() { + if (globalBuilder_ == null) { + globalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder>( + getGlobal(), + getParentForChildren(), + isClean()); + global_ = null; + } + return globalBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, flyteidl.admin.SettingsOuterClass.ProjectSettings> projectSettings_; + private com.google.protobuf.MapField + internalGetProjectSettings() { + if (projectSettings_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ProjectSettingsDefaultEntryHolder.defaultEntry); + } + return projectSettings_; + } + private com.google.protobuf.MapField + internalGetMutableProjectSettings() { + onChanged();; + if (projectSettings_ == null) { + projectSettings_ = com.google.protobuf.MapField.newMapField( + ProjectSettingsDefaultEntryHolder.defaultEntry); + } + if (!projectSettings_.isMutable()) { + projectSettings_ = projectSettings_.copy(); + } + return projectSettings_; + } + + public int getProjectSettingsCount() { + return internalGetProjectSettings().getMap().size(); + } + /** + *
+       * All project settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public boolean containsProjectSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetProjectSettings().getMap().containsKey(key); + } + /** + * Use {@link #getProjectSettingsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getProjectSettings() { + return getProjectSettingsMap(); + } + /** + *
+       * All project settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public java.util.Map getProjectSettingsMap() { + return internalGetProjectSettings().getMap(); + } + /** + *
+       * All project settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public flyteidl.admin.SettingsOuterClass.ProjectSettings getProjectSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.ProjectSettings defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetProjectSettings().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * All project settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public flyteidl.admin.SettingsOuterClass.ProjectSettings getProjectSettingsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetProjectSettings().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearProjectSettings() { + internalGetMutableProjectSettings().getMutableMap() + .clear(); + return this; + } + /** + *
+       * All project settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public Builder removeProjectSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableProjectSettings().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableProjectSettings() { + return internalGetMutableProjectSettings().getMutableMap(); + } + /** + *
+       * All project settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + public Builder putProjectSettings( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.ProjectSettings value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableProjectSettings().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * All project settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.ProjectSettings> project_settings = 2; + */ + + public Builder putAllProjectSettings( + java.util.Map values) { + internalGetMutableProjectSettings().getMutableMap() + .putAll(values); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.Settings) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.Settings) + private static final flyteidl.admin.SettingsOuterClass.Settings DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.Settings(); + } + + public static flyteidl.admin.SettingsOuterClass.Settings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Settings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Settings(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.Settings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ProjectSettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectSettings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Unique project id for which these settings are defined
+     * 
+ * + * string project = 1; + */ + java.lang.String getProject(); + /** + *
+     * Unique project id for which these settings are defined
+     * 
+ * + * string project = 1; + */ + com.google.protobuf.ByteString + getProjectBytes(); + + /** + *
+     * Project settings applicable for current project
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + boolean hasSettings(); + /** + *
+     * Project settings applicable for current project
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings(); + /** + *
+     * Project settings applicable for current project
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder(); + + /** + *
+     * All domain settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + int getDomainSettingsCount(); + /** + *
+     * All domain settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + boolean containsDomainSettings( + java.lang.String key); + /** + * Use {@link #getDomainSettingsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getDomainSettings(); + /** + *
+     * All domain settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + java.util.Map + getDomainSettingsMap(); + /** + *
+     * All domain settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + flyteidl.admin.SettingsOuterClass.DomainSettings getDomainSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.DomainSettings defaultValue); + /** + *
+     * All domain settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + flyteidl.admin.SettingsOuterClass.DomainSettings getDomainSettingsOrThrow( + java.lang.String key); + } + /** + *
+   * Defines Project level setting which contains it own settings and all the domain settings registered project
+   * 
+ * + * Protobuf type {@code flyteidl.admin.ProjectSettings} + */ + public static final class ProjectSettings extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectSettings) + ProjectSettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use ProjectSettings.newBuilder() to construct. + private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ProjectSettings() { + project_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ProjectSettings( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 18: { + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(flyteidl.admin.SettingsOuterClass.SettingsCollection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + domainSettings_ = com.google.protobuf.MapField.newMapField( + DomainSettingsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry + domainSettings__ = input.readMessage( + DomainSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + domainSettings_.getMutableMap().put( + domainSettings__.getKey(), domainSettings__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectSettings_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetDomainSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.ProjectSettings.class, flyteidl.admin.SettingsOuterClass.ProjectSettings.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 1; + private volatile java.lang.Object project_; + /** + *
+     * Unique project id for which these settings are defined
+     * 
+ * + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } + } + /** + *
+     * Unique project id for which these settings are defined
+     * 
+ * + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SETTINGS_FIELD_NUMBER = 2; + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + /** + *
+     * Project settings applicable for current project
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public boolean hasSettings() { + return settings_ != null; + } + /** + *
+     * Project settings applicable for current project
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + /** + *
+     * Project settings applicable for current project
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + return getSettings(); + } + + public static final int DOMAIN_SETTINGS_FIELD_NUMBER = 3; + private static final class DomainSettingsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, flyteidl.admin.SettingsOuterClass.DomainSettings> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectSettings_DomainSettingsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + flyteidl.admin.SettingsOuterClass.DomainSettings.getDefaultInstance()); + } + private com.google.protobuf.MapField< + java.lang.String, flyteidl.admin.SettingsOuterClass.DomainSettings> domainSettings_; + private com.google.protobuf.MapField + internalGetDomainSettings() { + if (domainSettings_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DomainSettingsDefaultEntryHolder.defaultEntry); + } + return domainSettings_; + } + + public int getDomainSettingsCount() { + return internalGetDomainSettings().getMap().size(); + } + /** + *
+     * All domain settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public boolean containsDomainSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetDomainSettings().getMap().containsKey(key); + } + /** + * Use {@link #getDomainSettingsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getDomainSettings() { + return getDomainSettingsMap(); + } + /** + *
+     * All domain settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public java.util.Map getDomainSettingsMap() { + return internalGetDomainSettings().getMap(); + } + /** + *
+     * All domain settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.DomainSettings getDomainSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.DomainSettings defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetDomainSettings().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * All domain settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.DomainSettings getDomainSettingsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetDomainSettings().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getProjectBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + } + if (settings_ != null) { + output.writeMessage(2, getSettings()); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetDomainSettings(), + DomainSettingsDefaultEntryHolder.defaultEntry, + 3); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getProjectBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + } + if (settings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSettings()); + } + for (java.util.Map.Entry entry + : internalGetDomainSettings().getMap().entrySet()) { + com.google.protobuf.MapEntry + domainSettings__ = DomainSettingsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, domainSettings__); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.ProjectSettings)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.ProjectSettings other = (flyteidl.admin.SettingsOuterClass.ProjectSettings) obj; + + if (!getProject() + .equals(other.getProject())) return false; + if (hasSettings() != other.hasSettings()) return false; + if (hasSettings()) { + if (!getSettings() + .equals(other.getSettings())) return false; + } + if (!internalGetDomainSettings().equals( + other.internalGetDomainSettings())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasSettings()) { + hash = (37 * hash) + SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSettings().hashCode(); + } + if (!internalGetDomainSettings().getMap().isEmpty()) { + hash = (37 * hash) + DOMAIN_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + internalGetDomainSettings().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.ProjectSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.ProjectSettings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines Project level setting which contains it own settings and all the domain settings registered project
+     * 
+ * + * Protobuf type {@code flyteidl.admin.ProjectSettings} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectSettings) + flyteidl.admin.SettingsOuterClass.ProjectSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectSettings_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetDomainSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 3: + return internalGetMutableDomainSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.ProjectSettings.class, flyteidl.admin.SettingsOuterClass.ProjectSettings.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.ProjectSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + if (settingsBuilder_ == null) { + settings_ = null; + } else { + settings_ = null; + settingsBuilder_ = null; + } + internalGetMutableDomainSettings().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectSettings_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.ProjectSettings getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.ProjectSettings.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.ProjectSettings build() { + flyteidl.admin.SettingsOuterClass.ProjectSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.ProjectSettings buildPartial() { + flyteidl.admin.SettingsOuterClass.ProjectSettings result = new flyteidl.admin.SettingsOuterClass.ProjectSettings(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.project_ = project_; + if (settingsBuilder_ == null) { + result.settings_ = settings_; + } else { + result.settings_ = settingsBuilder_.build(); + } + result.domainSettings_ = internalGetDomainSettings(); + result.domainSettings_.makeImmutable(); + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.ProjectSettings) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.ProjectSettings)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.ProjectSettings other) { + if (other == flyteidl.admin.SettingsOuterClass.ProjectSettings.getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasSettings()) { + mergeSettings(other.getSettings()); + } + internalGetMutableDomainSettings().mergeFrom( + other.internalGetDomainSettings()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.ProjectSettings parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.ProjectSettings) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object project_ = ""; + /** + *
+       * Unique project id for which these settings are defined
+       * 
+ * + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Unique project id for which these settings are defined
+       * 
+ * + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Unique project id for which these settings are defined
+       * 
+ * + * string project = 1; + */ + public Builder setProject( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + project_ = value; + onChanged(); + return this; + } + /** + *
+       * Unique project id for which these settings are defined
+       * 
+ * + * string project = 1; + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + *
+       * Unique project id for which these settings are defined
+       * 
+ * + * string project = 1; + */ + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + project_ = value; + onChanged(); + return this; + } + + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> settingsBuilder_; + /** + *
+       * Project settings applicable for current project
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public boolean hasSettings() { + return settingsBuilder_ != null || settings_ != null; + } + /** + *
+       * Project settings applicable for current project
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + if (settingsBuilder_ == null) { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } else { + return settingsBuilder_.getMessage(); + } + } + /** + *
+       * Project settings applicable for current project
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder setSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + settings_ = value; + onChanged(); + } else { + settingsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Project settings applicable for current project
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder setSettings( + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder builderForValue) { + if (settingsBuilder_ == null) { + settings_ = builderForValue.build(); + onChanged(); + } else { + settingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Project settings applicable for current project
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder mergeSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (settings_ != null) { + settings_ = + flyteidl.admin.SettingsOuterClass.SettingsCollection.newBuilder(settings_).mergeFrom(value).buildPartial(); + } else { + settings_ = value; + } + onChanged(); + } else { + settingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Project settings applicable for current project
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder clearSettings() { + if (settingsBuilder_ == null) { + settings_ = null; + onChanged(); + } else { + settings_ = null; + settingsBuilder_ = null; + } + + return this; + } + /** + *
+       * Project settings applicable for current project
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder getSettingsBuilder() { + + onChanged(); + return getSettingsFieldBuilder().getBuilder(); + } + /** + *
+       * Project settings applicable for current project
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + if (settingsBuilder_ != null) { + return settingsBuilder_.getMessageOrBuilder(); + } else { + return settings_ == null ? + flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + } + /** + *
+       * Project settings applicable for current project
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> + getSettingsFieldBuilder() { + if (settingsBuilder_ == null) { + settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder>( + getSettings(), + getParentForChildren(), + isClean()); + settings_ = null; + } + return settingsBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, flyteidl.admin.SettingsOuterClass.DomainSettings> domainSettings_; + private com.google.protobuf.MapField + internalGetDomainSettings() { + if (domainSettings_ == null) { + return com.google.protobuf.MapField.emptyMapField( + DomainSettingsDefaultEntryHolder.defaultEntry); + } + return domainSettings_; + } + private com.google.protobuf.MapField + internalGetMutableDomainSettings() { + onChanged();; + if (domainSettings_ == null) { + domainSettings_ = com.google.protobuf.MapField.newMapField( + DomainSettingsDefaultEntryHolder.defaultEntry); + } + if (!domainSettings_.isMutable()) { + domainSettings_ = domainSettings_.copy(); + } + return domainSettings_; + } + + public int getDomainSettingsCount() { + return internalGetDomainSettings().getMap().size(); + } + /** + *
+       * All domain settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public boolean containsDomainSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetDomainSettings().getMap().containsKey(key); + } + /** + * Use {@link #getDomainSettingsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getDomainSettings() { + return getDomainSettingsMap(); + } + /** + *
+       * All domain settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public java.util.Map getDomainSettingsMap() { + return internalGetDomainSettings().getMap(); + } + /** + *
+       * All domain settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.DomainSettings getDomainSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.DomainSettings defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetDomainSettings().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * All domain settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.DomainSettings getDomainSettingsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetDomainSettings().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearDomainSettings() { + internalGetMutableDomainSettings().getMutableMap() + .clear(); + return this; + } + /** + *
+       * All domain settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public Builder removeDomainSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableDomainSettings().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableDomainSettings() { + return internalGetMutableDomainSettings().getMutableMap(); + } + /** + *
+       * All domain settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + public Builder putDomainSettings( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.DomainSettings value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableDomainSettings().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * All domain settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.DomainSettings> domain_settings = 3; + */ + + public Builder putAllDomainSettings( + java.util.Map values) { + internalGetMutableDomainSettings().getMutableMap() + .putAll(values); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectSettings) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectSettings) + private static final flyteidl.admin.SettingsOuterClass.ProjectSettings DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.ProjectSettings(); + } + + public static flyteidl.admin.SettingsOuterClass.ProjectSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.ProjectSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DomainSettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.DomainSettings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Unique domain id for which these settings are defined in project
+     * 
+ * + * string domain = 1; + */ + java.lang.String getDomain(); + /** + *
+     * Unique domain id for which these settings are defined in project
+     * 
+ * + * string domain = 1; + */ + com.google.protobuf.ByteString + getDomainBytes(); + + /** + *
+     * Domain settings applicable for current project domain
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + boolean hasSettings(); + /** + *
+     * Domain settings applicable for current project domain
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings(); + /** + *
+     * Domain settings applicable for current project domain
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder(); + + /** + *
+     * All workflow settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + int getWorkflowSettingsCount(); + /** + *
+     * All workflow settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + boolean containsWorkflowSettings( + java.lang.String key); + /** + * Use {@link #getWorkflowSettingsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getWorkflowSettings(); + /** + *
+     * All workflow settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + java.util.Map + getWorkflowSettingsMap(); + /** + *
+     * All workflow settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + flyteidl.admin.SettingsOuterClass.WorkflowSettings getWorkflowSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.WorkflowSettings defaultValue); + /** + *
+     * All workflow settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + flyteidl.admin.SettingsOuterClass.WorkflowSettings getWorkflowSettingsOrThrow( + java.lang.String key); + } + /** + *
+   * Defines a domain level settings which contains it own settings and all the workflow settings registered in that domain
+   * 
+ * + * Protobuf type {@code flyteidl.admin.DomainSettings} + */ + public static final class DomainSettings extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.DomainSettings) + DomainSettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use DomainSettings.newBuilder() to construct. + private DomainSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DomainSettings() { + domain_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DomainSettings( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + domain_ = s; + break; + } + case 18: { + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(flyteidl.admin.SettingsOuterClass.SettingsCollection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + workflowSettings_ = com.google.protobuf.MapField.newMapField( + WorkflowSettingsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry + workflowSettings__ = input.readMessage( + WorkflowSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + workflowSettings_.getMutableMap().put( + workflowSettings__.getKey(), workflowSettings__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainSettings_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetWorkflowSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.DomainSettings.class, flyteidl.admin.SettingsOuterClass.DomainSettings.Builder.class); + } + + private int bitField0_; + public static final int DOMAIN_FIELD_NUMBER = 1; + private volatile java.lang.Object domain_; + /** + *
+     * Unique domain id for which these settings are defined in project
+     * 
+ * + * string domain = 1; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } + } + /** + *
+     * Unique domain id for which these settings are defined in project
+     * 
+ * + * string domain = 1; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SETTINGS_FIELD_NUMBER = 2; + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + /** + *
+     * Domain settings applicable for current project domain
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public boolean hasSettings() { + return settings_ != null; + } + /** + *
+     * Domain settings applicable for current project domain
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + /** + *
+     * Domain settings applicable for current project domain
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + return getSettings(); + } + + public static final int WORKFLOW_SETTINGS_FIELD_NUMBER = 3; + private static final class WorkflowSettingsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, flyteidl.admin.SettingsOuterClass.WorkflowSettings> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainSettings_WorkflowSettingsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + flyteidl.admin.SettingsOuterClass.WorkflowSettings.getDefaultInstance()); + } + private com.google.protobuf.MapField< + java.lang.String, flyteidl.admin.SettingsOuterClass.WorkflowSettings> workflowSettings_; + private com.google.protobuf.MapField + internalGetWorkflowSettings() { + if (workflowSettings_ == null) { + return com.google.protobuf.MapField.emptyMapField( + WorkflowSettingsDefaultEntryHolder.defaultEntry); + } + return workflowSettings_; + } + + public int getWorkflowSettingsCount() { + return internalGetWorkflowSettings().getMap().size(); + } + /** + *
+     * All workflow settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public boolean containsWorkflowSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetWorkflowSettings().getMap().containsKey(key); + } + /** + * Use {@link #getWorkflowSettingsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getWorkflowSettings() { + return getWorkflowSettingsMap(); + } + /** + *
+     * All workflow settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public java.util.Map getWorkflowSettingsMap() { + return internalGetWorkflowSettings().getMap(); + } + /** + *
+     * All workflow settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.WorkflowSettings getWorkflowSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.WorkflowSettings defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetWorkflowSettings().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * All workflow settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.WorkflowSettings getWorkflowSettingsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetWorkflowSettings().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getDomainBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_); + } + if (settings_ != null) { + output.writeMessage(2, getSettings()); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetWorkflowSettings(), + WorkflowSettingsDefaultEntryHolder.defaultEntry, + 3); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getDomainBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domain_); + } + if (settings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSettings()); + } + for (java.util.Map.Entry entry + : internalGetWorkflowSettings().getMap().entrySet()) { + com.google.protobuf.MapEntry + workflowSettings__ = WorkflowSettingsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, workflowSettings__); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.DomainSettings)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.DomainSettings other = (flyteidl.admin.SettingsOuterClass.DomainSettings) obj; + + if (!getDomain() + .equals(other.getDomain())) return false; + if (hasSettings() != other.hasSettings()) return false; + if (hasSettings()) { + if (!getSettings() + .equals(other.getSettings())) return false; + } + if (!internalGetWorkflowSettings().equals( + other.internalGetWorkflowSettings())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DOMAIN_FIELD_NUMBER; + hash = (53 * hash) + getDomain().hashCode(); + if (hasSettings()) { + hash = (37 * hash) + SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSettings().hashCode(); + } + if (!internalGetWorkflowSettings().getMap().isEmpty()) { + hash = (37 * hash) + WORKFLOW_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + internalGetWorkflowSettings().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.DomainSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.DomainSettings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines a domain level settings which contains it own settings and all the workflow settings registered in that domain
+     * 
+ * + * Protobuf type {@code flyteidl.admin.DomainSettings} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.DomainSettings) + flyteidl.admin.SettingsOuterClass.DomainSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainSettings_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetWorkflowSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 3: + return internalGetMutableWorkflowSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.DomainSettings.class, flyteidl.admin.SettingsOuterClass.DomainSettings.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.DomainSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + domain_ = ""; + + if (settingsBuilder_ == null) { + settings_ = null; + } else { + settings_ = null; + settingsBuilder_ = null; + } + internalGetMutableWorkflowSettings().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainSettings_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.DomainSettings getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.DomainSettings.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.DomainSettings build() { + flyteidl.admin.SettingsOuterClass.DomainSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.DomainSettings buildPartial() { + flyteidl.admin.SettingsOuterClass.DomainSettings result = new flyteidl.admin.SettingsOuterClass.DomainSettings(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.domain_ = domain_; + if (settingsBuilder_ == null) { + result.settings_ = settings_; + } else { + result.settings_ = settingsBuilder_.build(); + } + result.workflowSettings_ = internalGetWorkflowSettings(); + result.workflowSettings_.makeImmutable(); + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.DomainSettings) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.DomainSettings)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.DomainSettings other) { + if (other == flyteidl.admin.SettingsOuterClass.DomainSettings.getDefaultInstance()) return this; + if (!other.getDomain().isEmpty()) { + domain_ = other.domain_; + onChanged(); + } + if (other.hasSettings()) { + mergeSettings(other.getSettings()); + } + internalGetMutableWorkflowSettings().mergeFrom( + other.internalGetWorkflowSettings()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.DomainSettings parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.DomainSettings) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object domain_ = ""; + /** + *
+       * Unique domain id for which these settings are defined in project
+       * 
+ * + * string domain = 1; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Unique domain id for which these settings are defined in project
+       * 
+ * + * string domain = 1; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Unique domain id for which these settings are defined in project
+       * 
+ * + * string domain = 1; + */ + public Builder setDomain( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + domain_ = value; + onChanged(); + return this; + } + /** + *
+       * Unique domain id for which these settings are defined in project
+       * 
+ * + * string domain = 1; + */ + public Builder clearDomain() { + + domain_ = getDefaultInstance().getDomain(); + onChanged(); + return this; + } + /** + *
+       * Unique domain id for which these settings are defined in project
+       * 
+ * + * string domain = 1; + */ + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + domain_ = value; + onChanged(); + return this; + } + + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> settingsBuilder_; + /** + *
+       * Domain settings applicable for current project domain
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public boolean hasSettings() { + return settingsBuilder_ != null || settings_ != null; + } + /** + *
+       * Domain settings applicable for current project domain
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + if (settingsBuilder_ == null) { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } else { + return settingsBuilder_.getMessage(); + } + } + /** + *
+       * Domain settings applicable for current project domain
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder setSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + settings_ = value; + onChanged(); + } else { + settingsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Domain settings applicable for current project domain
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder setSettings( + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder builderForValue) { + if (settingsBuilder_ == null) { + settings_ = builderForValue.build(); + onChanged(); + } else { + settingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Domain settings applicable for current project domain
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder mergeSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (settings_ != null) { + settings_ = + flyteidl.admin.SettingsOuterClass.SettingsCollection.newBuilder(settings_).mergeFrom(value).buildPartial(); + } else { + settings_ = value; + } + onChanged(); + } else { + settingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Domain settings applicable for current project domain
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder clearSettings() { + if (settingsBuilder_ == null) { + settings_ = null; + onChanged(); + } else { + settings_ = null; + settingsBuilder_ = null; + } + + return this; + } + /** + *
+       * Domain settings applicable for current project domain
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder getSettingsBuilder() { + + onChanged(); + return getSettingsFieldBuilder().getBuilder(); + } + /** + *
+       * Domain settings applicable for current project domain
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + if (settingsBuilder_ != null) { + return settingsBuilder_.getMessageOrBuilder(); + } else { + return settings_ == null ? + flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + } + /** + *
+       * Domain settings applicable for current project domain
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> + getSettingsFieldBuilder() { + if (settingsBuilder_ == null) { + settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder>( + getSettings(), + getParentForChildren(), + isClean()); + settings_ = null; + } + return settingsBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, flyteidl.admin.SettingsOuterClass.WorkflowSettings> workflowSettings_; + private com.google.protobuf.MapField + internalGetWorkflowSettings() { + if (workflowSettings_ == null) { + return com.google.protobuf.MapField.emptyMapField( + WorkflowSettingsDefaultEntryHolder.defaultEntry); + } + return workflowSettings_; + } + private com.google.protobuf.MapField + internalGetMutableWorkflowSettings() { + onChanged();; + if (workflowSettings_ == null) { + workflowSettings_ = com.google.protobuf.MapField.newMapField( + WorkflowSettingsDefaultEntryHolder.defaultEntry); + } + if (!workflowSettings_.isMutable()) { + workflowSettings_ = workflowSettings_.copy(); + } + return workflowSettings_; + } + + public int getWorkflowSettingsCount() { + return internalGetWorkflowSettings().getMap().size(); + } + /** + *
+       * All workflow settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public boolean containsWorkflowSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetWorkflowSettings().getMap().containsKey(key); + } + /** + * Use {@link #getWorkflowSettingsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getWorkflowSettings() { + return getWorkflowSettingsMap(); + } + /** + *
+       * All workflow settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public java.util.Map getWorkflowSettingsMap() { + return internalGetWorkflowSettings().getMap(); + } + /** + *
+       * All workflow settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.WorkflowSettings getWorkflowSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.WorkflowSettings defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetWorkflowSettings().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * All workflow settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.WorkflowSettings getWorkflowSettingsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetWorkflowSettings().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearWorkflowSettings() { + internalGetMutableWorkflowSettings().getMutableMap() + .clear(); + return this; + } + /** + *
+       * All workflow settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public Builder removeWorkflowSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableWorkflowSettings().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableWorkflowSettings() { + return internalGetMutableWorkflowSettings().getMutableMap(); + } + /** + *
+       * All workflow settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + public Builder putWorkflowSettings( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.WorkflowSettings value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableWorkflowSettings().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * All workflow settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.WorkflowSettings> workflow_settings = 3; + */ + + public Builder putAllWorkflowSettings( + java.util.Map values) { + internalGetMutableWorkflowSettings().getMutableMap() + .putAll(values); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.DomainSettings) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.DomainSettings) + private static final flyteidl.admin.SettingsOuterClass.DomainSettings DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.DomainSettings(); + } + + public static flyteidl.admin.SettingsOuterClass.DomainSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DomainSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DomainSettings(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.DomainSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WorkflowSettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowSettings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Workflow name for which these settings are defined in the project domain.
+     * 
+ * + * string workflow = 1; + */ + java.lang.String getWorkflow(); + /** + *
+     * Workflow name for which these settings are defined in the project domain.
+     * 
+ * + * string workflow = 1; + */ + com.google.protobuf.ByteString + getWorkflowBytes(); + + /** + *
+     * Workflow settings applicable for current project domain workflow
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + boolean hasSettings(); + /** + *
+     * Workflow settings applicable for current project domain workflow
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings(); + /** + *
+     * Workflow settings applicable for current project domain workflow
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder(); + + /** + *
+     * All launchplan settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + int getLaunchplanSettingsCount(); + /** + *
+     * All launchplan settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + boolean containsLaunchplanSettings( + java.lang.String key); + /** + * Use {@link #getLaunchplanSettingsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getLaunchplanSettings(); + /** + *
+     * All launchplan settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + java.util.Map + getLaunchplanSettingsMap(); + /** + *
+     * All launchplan settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + flyteidl.admin.SettingsOuterClass.LaunchplanSettings getLaunchplanSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.LaunchplanSettings defaultValue); + /** + *
+     * All launchplan settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + flyteidl.admin.SettingsOuterClass.LaunchplanSettings getLaunchplanSettingsOrThrow( + java.lang.String key); + } + /** + *
+   * Defines a workflow level settings which contains it own settings and all the launchplan settings registered in that domain
+   * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowSettings} + */ + public static final class WorkflowSettings extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowSettings) + WorkflowSettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use WorkflowSettings.newBuilder() to construct. + private WorkflowSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WorkflowSettings() { + workflow_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WorkflowSettings( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workflow_ = s; + break; + } + case 18: { + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(flyteidl.admin.SettingsOuterClass.SettingsCollection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + launchplanSettings_ = com.google.protobuf.MapField.newMapField( + LaunchplanSettingsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry + launchplanSettings__ = input.readMessage( + LaunchplanSettingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + launchplanSettings_.getMutableMap().put( + launchplanSettings__.getKey(), launchplanSettings__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowSettings_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetLaunchplanSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.WorkflowSettings.class, flyteidl.admin.SettingsOuterClass.WorkflowSettings.Builder.class); + } + + private int bitField0_; + public static final int WORKFLOW_FIELD_NUMBER = 1; + private volatile java.lang.Object workflow_; + /** + *
+     * Workflow name for which these settings are defined in the project domain.
+     * 
+ * + * string workflow = 1; + */ + public java.lang.String getWorkflow() { + java.lang.Object ref = workflow_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workflow_ = s; + return s; + } + } + /** + *
+     * Workflow name for which these settings are defined in the project domain.
+     * 
+ * + * string workflow = 1; + */ + public com.google.protobuf.ByteString + getWorkflowBytes() { + java.lang.Object ref = workflow_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workflow_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SETTINGS_FIELD_NUMBER = 2; + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + /** + *
+     * Workflow settings applicable for current project domain workflow
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public boolean hasSettings() { + return settings_ != null; + } + /** + *
+     * Workflow settings applicable for current project domain workflow
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + /** + *
+     * Workflow settings applicable for current project domain workflow
+     * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + return getSettings(); + } + + public static final int LAUNCHPLAN_SETTINGS_FIELD_NUMBER = 3; + private static final class LaunchplanSettingsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, flyteidl.admin.SettingsOuterClass.LaunchplanSettings> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowSettings_LaunchplanSettingsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + flyteidl.admin.SettingsOuterClass.LaunchplanSettings.getDefaultInstance()); + } + private com.google.protobuf.MapField< + java.lang.String, flyteidl.admin.SettingsOuterClass.LaunchplanSettings> launchplanSettings_; + private com.google.protobuf.MapField + internalGetLaunchplanSettings() { + if (launchplanSettings_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LaunchplanSettingsDefaultEntryHolder.defaultEntry); + } + return launchplanSettings_; + } + + public int getLaunchplanSettingsCount() { + return internalGetLaunchplanSettings().getMap().size(); + } + /** + *
+     * All launchplan settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public boolean containsLaunchplanSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetLaunchplanSettings().getMap().containsKey(key); + } + /** + * Use {@link #getLaunchplanSettingsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getLaunchplanSettings() { + return getLaunchplanSettingsMap(); + } + /** + *
+     * All launchplan settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public java.util.Map getLaunchplanSettingsMap() { + return internalGetLaunchplanSettings().getMap(); + } + /** + *
+     * All launchplan settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.LaunchplanSettings getLaunchplanSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.LaunchplanSettings defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLaunchplanSettings().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * All launchplan settings keyed on there name
+     * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.LaunchplanSettings getLaunchplanSettingsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLaunchplanSettings().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getWorkflowBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workflow_); + } + if (settings_ != null) { + output.writeMessage(2, getSettings()); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLaunchplanSettings(), + LaunchplanSettingsDefaultEntryHolder.defaultEntry, + 3); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getWorkflowBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workflow_); + } + if (settings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSettings()); + } + for (java.util.Map.Entry entry + : internalGetLaunchplanSettings().getMap().entrySet()) { + com.google.protobuf.MapEntry + launchplanSettings__ = LaunchplanSettingsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, launchplanSettings__); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.WorkflowSettings)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.WorkflowSettings other = (flyteidl.admin.SettingsOuterClass.WorkflowSettings) obj; + + if (!getWorkflow() + .equals(other.getWorkflow())) return false; + if (hasSettings() != other.hasSettings()) return false; + if (hasSettings()) { + if (!getSettings() + .equals(other.getSettings())) return false; + } + if (!internalGetLaunchplanSettings().equals( + other.internalGetLaunchplanSettings())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKFLOW_FIELD_NUMBER; + hash = (53 * hash) + getWorkflow().hashCode(); + if (hasSettings()) { + hash = (37 * hash) + SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSettings().hashCode(); + } + if (!internalGetLaunchplanSettings().getMap().isEmpty()) { + hash = (37 * hash) + LAUNCHPLAN_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLaunchplanSettings().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.WorkflowSettings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines a workflow level settings which contains it own settings and all the launchplan settings registered in that domain
+     * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowSettings} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowSettings) + flyteidl.admin.SettingsOuterClass.WorkflowSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowSettings_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetLaunchplanSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 3: + return internalGetMutableLaunchplanSettings(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.WorkflowSettings.class, flyteidl.admin.SettingsOuterClass.WorkflowSettings.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.WorkflowSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workflow_ = ""; + + if (settingsBuilder_ == null) { + settings_ = null; + } else { + settings_ = null; + settingsBuilder_ = null; + } + internalGetMutableLaunchplanSettings().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowSettings_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.WorkflowSettings getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.WorkflowSettings.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.WorkflowSettings build() { + flyteidl.admin.SettingsOuterClass.WorkflowSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.WorkflowSettings buildPartial() { + flyteidl.admin.SettingsOuterClass.WorkflowSettings result = new flyteidl.admin.SettingsOuterClass.WorkflowSettings(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.workflow_ = workflow_; + if (settingsBuilder_ == null) { + result.settings_ = settings_; + } else { + result.settings_ = settingsBuilder_.build(); + } + result.launchplanSettings_ = internalGetLaunchplanSettings(); + result.launchplanSettings_.makeImmutable(); + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.WorkflowSettings) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.WorkflowSettings)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.WorkflowSettings other) { + if (other == flyteidl.admin.SettingsOuterClass.WorkflowSettings.getDefaultInstance()) return this; + if (!other.getWorkflow().isEmpty()) { + workflow_ = other.workflow_; + onChanged(); + } + if (other.hasSettings()) { + mergeSettings(other.getSettings()); + } + internalGetMutableLaunchplanSettings().mergeFrom( + other.internalGetLaunchplanSettings()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.WorkflowSettings parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.WorkflowSettings) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object workflow_ = ""; + /** + *
+       * Workflow name for which these settings are defined in the project domain.
+       * 
+ * + * string workflow = 1; + */ + public java.lang.String getWorkflow() { + java.lang.Object ref = workflow_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workflow_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Workflow name for which these settings are defined in the project domain.
+       * 
+ * + * string workflow = 1; + */ + public com.google.protobuf.ByteString + getWorkflowBytes() { + java.lang.Object ref = workflow_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workflow_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Workflow name for which these settings are defined in the project domain.
+       * 
+ * + * string workflow = 1; + */ + public Builder setWorkflow( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workflow_ = value; + onChanged(); + return this; + } + /** + *
+       * Workflow name for which these settings are defined in the project domain.
+       * 
+ * + * string workflow = 1; + */ + public Builder clearWorkflow() { + + workflow_ = getDefaultInstance().getWorkflow(); + onChanged(); + return this; + } + /** + *
+       * Workflow name for which these settings are defined in the project domain.
+       * 
+ * + * string workflow = 1; + */ + public Builder setWorkflowBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workflow_ = value; + onChanged(); + return this; + } + + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> settingsBuilder_; + /** + *
+       * Workflow settings applicable for current project domain workflow
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public boolean hasSettings() { + return settingsBuilder_ != null || settings_ != null; + } + /** + *
+       * Workflow settings applicable for current project domain workflow
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + if (settingsBuilder_ == null) { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } else { + return settingsBuilder_.getMessage(); + } + } + /** + *
+       * Workflow settings applicable for current project domain workflow
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder setSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + settings_ = value; + onChanged(); + } else { + settingsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Workflow settings applicable for current project domain workflow
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder setSettings( + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder builderForValue) { + if (settingsBuilder_ == null) { + settings_ = builderForValue.build(); + onChanged(); + } else { + settingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Workflow settings applicable for current project domain workflow
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder mergeSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (settings_ != null) { + settings_ = + flyteidl.admin.SettingsOuterClass.SettingsCollection.newBuilder(settings_).mergeFrom(value).buildPartial(); + } else { + settings_ = value; + } + onChanged(); + } else { + settingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Workflow settings applicable for current project domain workflow
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder clearSettings() { + if (settingsBuilder_ == null) { + settings_ = null; + onChanged(); + } else { + settings_ = null; + settingsBuilder_ = null; + } + + return this; + } + /** + *
+       * Workflow settings applicable for current project domain workflow
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder getSettingsBuilder() { + + onChanged(); + return getSettingsFieldBuilder().getBuilder(); + } + /** + *
+       * Workflow settings applicable for current project domain workflow
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + if (settingsBuilder_ != null) { + return settingsBuilder_.getMessageOrBuilder(); + } else { + return settings_ == null ? + flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + } + /** + *
+       * Workflow settings applicable for current project domain workflow
+       * 
+ * + * .flyteidl.admin.SettingsCollection settings = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> + getSettingsFieldBuilder() { + if (settingsBuilder_ == null) { + settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder>( + getSettings(), + getParentForChildren(), + isClean()); + settings_ = null; + } + return settingsBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, flyteidl.admin.SettingsOuterClass.LaunchplanSettings> launchplanSettings_; + private com.google.protobuf.MapField + internalGetLaunchplanSettings() { + if (launchplanSettings_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LaunchplanSettingsDefaultEntryHolder.defaultEntry); + } + return launchplanSettings_; + } + private com.google.protobuf.MapField + internalGetMutableLaunchplanSettings() { + onChanged();; + if (launchplanSettings_ == null) { + launchplanSettings_ = com.google.protobuf.MapField.newMapField( + LaunchplanSettingsDefaultEntryHolder.defaultEntry); + } + if (!launchplanSettings_.isMutable()) { + launchplanSettings_ = launchplanSettings_.copy(); + } + return launchplanSettings_; + } + + public int getLaunchplanSettingsCount() { + return internalGetLaunchplanSettings().getMap().size(); + } + /** + *
+       * All launchplan settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public boolean containsLaunchplanSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetLaunchplanSettings().getMap().containsKey(key); + } + /** + * Use {@link #getLaunchplanSettingsMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getLaunchplanSettings() { + return getLaunchplanSettingsMap(); + } + /** + *
+       * All launchplan settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public java.util.Map getLaunchplanSettingsMap() { + return internalGetLaunchplanSettings().getMap(); + } + /** + *
+       * All launchplan settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.LaunchplanSettings getLaunchplanSettingsOrDefault( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.LaunchplanSettings defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLaunchplanSettings().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * All launchplan settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public flyteidl.admin.SettingsOuterClass.LaunchplanSettings getLaunchplanSettingsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLaunchplanSettings().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearLaunchplanSettings() { + internalGetMutableLaunchplanSettings().getMutableMap() + .clear(); + return this; + } + /** + *
+       * All launchplan settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public Builder removeLaunchplanSettings( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableLaunchplanSettings().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableLaunchplanSettings() { + return internalGetMutableLaunchplanSettings().getMutableMap(); + } + /** + *
+       * All launchplan settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + public Builder putLaunchplanSettings( + java.lang.String key, + flyteidl.admin.SettingsOuterClass.LaunchplanSettings value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableLaunchplanSettings().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * All launchplan settings keyed on there name
+       * 
+ * + * map<string, .flyteidl.admin.LaunchplanSettings> launchplan_settings = 3; + */ + + public Builder putAllLaunchplanSettings( + java.util.Map values) { + internalGetMutableLaunchplanSettings().getMutableMap() + .putAll(values); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowSettings) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowSettings) + private static final flyteidl.admin.SettingsOuterClass.WorkflowSettings DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.WorkflowSettings(); + } + + public static flyteidl.admin.SettingsOuterClass.WorkflowSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowSettings(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.WorkflowSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface LaunchplanSettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchplanSettings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Launchplan name for which these settings are defined in the project domain workflow.
+     * 
+ * + * string launchplan = 1; + */ + java.lang.String getLaunchplan(); + /** + *
+     * Launchplan name for which these settings are defined in the project domain workflow.
+     * 
+ * + * string launchplan = 1; + */ + com.google.protobuf.ByteString + getLaunchplanBytes(); + + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + boolean hasSettings(); + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings(); + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder(); + } + /** + *
+   * Defines a launchplan level settings which contains it own settings
+   * 
+ * + * Protobuf type {@code flyteidl.admin.LaunchplanSettings} + */ + public static final class LaunchplanSettings extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchplanSettings) + LaunchplanSettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use LaunchplanSettings.newBuilder() to construct. + private LaunchplanSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LaunchplanSettings() { + launchplan_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private LaunchplanSettings( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + launchplan_ = s; + break; + } + case 18: { + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(flyteidl.admin.SettingsOuterClass.SettingsCollection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.LaunchplanSettings.class, flyteidl.admin.SettingsOuterClass.LaunchplanSettings.Builder.class); + } + + public static final int LAUNCHPLAN_FIELD_NUMBER = 1; + private volatile java.lang.Object launchplan_; + /** + *
+     * Launchplan name for which these settings are defined in the project domain workflow.
+     * 
+ * + * string launchplan = 1; + */ + public java.lang.String getLaunchplan() { + java.lang.Object ref = launchplan_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + launchplan_ = s; + return s; + } + } + /** + *
+     * Launchplan name for which these settings are defined in the project domain workflow.
+     * 
+ * + * string launchplan = 1; + */ + public com.google.protobuf.ByteString + getLaunchplanBytes() { + java.lang.Object ref = launchplan_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + launchplan_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SETTINGS_FIELD_NUMBER = 2; + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public boolean hasSettings() { + return settings_ != null; + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + return getSettings(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getLaunchplanBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, launchplan_); + } + if (settings_ != null) { + output.writeMessage(2, getSettings()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getLaunchplanBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, launchplan_); + } + if (settings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSettings()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.LaunchplanSettings)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.LaunchplanSettings other = (flyteidl.admin.SettingsOuterClass.LaunchplanSettings) obj; + + if (!getLaunchplan() + .equals(other.getLaunchplan())) return false; + if (hasSettings() != other.hasSettings()) return false; + if (hasSettings()) { + if (!getSettings() + .equals(other.getSettings())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LAUNCHPLAN_FIELD_NUMBER; + hash = (53 * hash) + getLaunchplan().hashCode(); + if (hasSettings()) { + hash = (37 * hash) + SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSettings().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.LaunchplanSettings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines a launchplan level settings which contains it own settings
+     * 
+ * + * Protobuf type {@code flyteidl.admin.LaunchplanSettings} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchplanSettings) + flyteidl.admin.SettingsOuterClass.LaunchplanSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.LaunchplanSettings.class, flyteidl.admin.SettingsOuterClass.LaunchplanSettings.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.LaunchplanSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + launchplan_ = ""; + + if (settingsBuilder_ == null) { + settings_ = null; + } else { + settings_ = null; + settingsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanSettings_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.LaunchplanSettings getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.LaunchplanSettings.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.LaunchplanSettings build() { + flyteidl.admin.SettingsOuterClass.LaunchplanSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.LaunchplanSettings buildPartial() { + flyteidl.admin.SettingsOuterClass.LaunchplanSettings result = new flyteidl.admin.SettingsOuterClass.LaunchplanSettings(this); + result.launchplan_ = launchplan_; + if (settingsBuilder_ == null) { + result.settings_ = settings_; + } else { + result.settings_ = settingsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.LaunchplanSettings) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.LaunchplanSettings)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.LaunchplanSettings other) { + if (other == flyteidl.admin.SettingsOuterClass.LaunchplanSettings.getDefaultInstance()) return this; + if (!other.getLaunchplan().isEmpty()) { + launchplan_ = other.launchplan_; + onChanged(); + } + if (other.hasSettings()) { + mergeSettings(other.getSettings()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.LaunchplanSettings parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.LaunchplanSettings) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object launchplan_ = ""; + /** + *
+       * Launchplan name for which these settings are defined in the project domain workflow.
+       * 
+ * + * string launchplan = 1; + */ + public java.lang.String getLaunchplan() { + java.lang.Object ref = launchplan_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + launchplan_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Launchplan name for which these settings are defined in the project domain workflow.
+       * 
+ * + * string launchplan = 1; + */ + public com.google.protobuf.ByteString + getLaunchplanBytes() { + java.lang.Object ref = launchplan_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + launchplan_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Launchplan name for which these settings are defined in the project domain workflow.
+       * 
+ * + * string launchplan = 1; + */ + public Builder setLaunchplan( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + launchplan_ = value; + onChanged(); + return this; + } + /** + *
+       * Launchplan name for which these settings are defined in the project domain workflow.
+       * 
+ * + * string launchplan = 1; + */ + public Builder clearLaunchplan() { + + launchplan_ = getDefaultInstance().getLaunchplan(); + onChanged(); + return this; + } + /** + *
+       * Launchplan name for which these settings are defined in the project domain workflow.
+       * 
+ * + * string launchplan = 1; + */ + public Builder setLaunchplanBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + launchplan_ = value; + onChanged(); + return this; + } + + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> settingsBuilder_; + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public boolean hasSettings() { + return settingsBuilder_ != null || settings_ != null; + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + if (settingsBuilder_ == null) { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } else { + return settingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder setSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + settings_ = value; + onChanged(); + } else { + settingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder setSettings( + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder builderForValue) { + if (settingsBuilder_ == null) { + settings_ = builderForValue.build(); + onChanged(); + } else { + settingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder mergeSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (settings_ != null) { + settings_ = + flyteidl.admin.SettingsOuterClass.SettingsCollection.newBuilder(settings_).mergeFrom(value).buildPartial(); + } else { + settings_ = value; + } + onChanged(); + } else { + settingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public Builder clearSettings() { + if (settingsBuilder_ == null) { + settings_ = null; + onChanged(); + } else { + settings_ = null; + settingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder getSettingsBuilder() { + + onChanged(); + return getSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + if (settingsBuilder_ != null) { + return settingsBuilder_.getMessageOrBuilder(); + } else { + return settings_ == null ? + flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + } + /** + * .flyteidl.admin.SettingsCollection settings = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> + getSettingsFieldBuilder() { + if (settingsBuilder_ == null) { + settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder>( + getSettings(), + getParentForChildren(), + isClean()); + settings_ = null; + } + return settingsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchplanSettings) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchplanSettings) + private static final flyteidl.admin.SettingsOuterClass.LaunchplanSettings DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.LaunchplanSettings(); + } + + public static flyteidl.admin.SettingsOuterClass.LaunchplanSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LaunchplanSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LaunchplanSettings(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.LaunchplanSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface GlobalLevelOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.GlobalLevel) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Defines global level
+   * 
+ * + * Protobuf type {@code flyteidl.admin.GlobalLevel} + */ + public static final class GlobalLevel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.GlobalLevel) + GlobalLevelOrBuilder { + private static final long serialVersionUID = 0L; + // Use GlobalLevel.newBuilder() to construct. + private GlobalLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GlobalLevel() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GlobalLevel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_GlobalLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_GlobalLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.GlobalLevel.class, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.GlobalLevel)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.GlobalLevel other = (flyteidl.admin.SettingsOuterClass.GlobalLevel) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.GlobalLevel parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.GlobalLevel prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines global level
+     * 
+ * + * Protobuf type {@code flyteidl.admin.GlobalLevel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.GlobalLevel) + flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_GlobalLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_GlobalLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.GlobalLevel.class, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.GlobalLevel.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_GlobalLevel_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.GlobalLevel getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.GlobalLevel build() { + flyteidl.admin.SettingsOuterClass.GlobalLevel result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.GlobalLevel buildPartial() { + flyteidl.admin.SettingsOuterClass.GlobalLevel result = new flyteidl.admin.SettingsOuterClass.GlobalLevel(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.GlobalLevel) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.GlobalLevel)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.GlobalLevel other) { + if (other == flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.GlobalLevel parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.GlobalLevel) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.GlobalLevel) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.GlobalLevel) + private static final flyteidl.admin.SettingsOuterClass.GlobalLevel DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.GlobalLevel(); + } + + public static flyteidl.admin.SettingsOuterClass.GlobalLevel getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GlobalLevel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GlobalLevel(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.GlobalLevel getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ProjectLevelOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectLevel) + com.google.protobuf.MessageOrBuilder { + + /** + * string project = 1; + */ + java.lang.String getProject(); + /** + * string project = 1; + */ + com.google.protobuf.ByteString + getProjectBytes(); + } + /** + *
+   * Defines project level
+   * 
+ * + * Protobuf type {@code flyteidl.admin.ProjectLevel} + */ + public static final class ProjectLevel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectLevel) + ProjectLevelOrBuilder { + private static final long serialVersionUID = 0L; + // Use ProjectLevel.newBuilder() to construct. + private ProjectLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ProjectLevel() { + project_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ProjectLevel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.ProjectLevel.class, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 1; + private volatile java.lang.Object project_; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getProjectBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getProjectBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.ProjectLevel)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.ProjectLevel other = (flyteidl.admin.SettingsOuterClass.ProjectLevel) obj; + + if (!getProject() + .equals(other.getProject())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.ProjectLevel parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.ProjectLevel prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines project level
+     * 
+ * + * Protobuf type {@code flyteidl.admin.ProjectLevel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectLevel) + flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.ProjectLevel.class, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.ProjectLevel.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_ProjectLevel_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.ProjectLevel getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.ProjectLevel build() { + flyteidl.admin.SettingsOuterClass.ProjectLevel result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.ProjectLevel buildPartial() { + flyteidl.admin.SettingsOuterClass.ProjectLevel result = new flyteidl.admin.SettingsOuterClass.ProjectLevel(this); + result.project_ = project_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.ProjectLevel) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.ProjectLevel)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.ProjectLevel other) { + if (other == flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.ProjectLevel parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.ProjectLevel) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object project_ = ""; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string project = 1; + */ + public Builder setProject( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + project_ = value; + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + project_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.ProjectLevel) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectLevel) + private static final flyteidl.admin.SettingsOuterClass.ProjectLevel DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.ProjectLevel(); + } + + public static flyteidl.admin.SettingsOuterClass.ProjectLevel getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectLevel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectLevel(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.ProjectLevel getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DomainLevelOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.DomainLevel) + com.google.protobuf.MessageOrBuilder { + + /** + * string project = 1; + */ + java.lang.String getProject(); + /** + * string project = 1; + */ + com.google.protobuf.ByteString + getProjectBytes(); + + /** + * string domain = 2; + */ + java.lang.String getDomain(); + /** + * string domain = 2; + */ + com.google.protobuf.ByteString + getDomainBytes(); + } + /** + *
+   * Defines domain level
+   * 
+ * + * Protobuf type {@code flyteidl.admin.DomainLevel} + */ + public static final class DomainLevel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.DomainLevel) + DomainLevelOrBuilder { + private static final long serialVersionUID = 0L; + // Use DomainLevel.newBuilder() to construct. + private DomainLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DomainLevel() { + project_ = ""; + domain_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DomainLevel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + domain_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.DomainLevel.class, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 1; + private volatile java.lang.Object project_; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DOMAIN_FIELD_NUMBER = 2; + private volatile java.lang.Object domain_; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getProjectBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + } + if (!getDomainBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getProjectBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + } + if (!getDomainBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.DomainLevel)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.DomainLevel other = (flyteidl.admin.SettingsOuterClass.DomainLevel) obj; + + if (!getProject() + .equals(other.getProject())) return false; + if (!getDomain() + .equals(other.getDomain())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + DOMAIN_FIELD_NUMBER; + hash = (53 * hash) + getDomain().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.DomainLevel parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.DomainLevel prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines domain level
+     * 
+ * + * Protobuf type {@code flyteidl.admin.DomainLevel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.DomainLevel) + flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.DomainLevel.class, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.DomainLevel.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + domain_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_DomainLevel_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.DomainLevel getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.DomainLevel build() { + flyteidl.admin.SettingsOuterClass.DomainLevel result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.DomainLevel buildPartial() { + flyteidl.admin.SettingsOuterClass.DomainLevel result = new flyteidl.admin.SettingsOuterClass.DomainLevel(this); + result.project_ = project_; + result.domain_ = domain_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.DomainLevel) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.DomainLevel)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.DomainLevel other) { + if (other == flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getDomain().isEmpty()) { + domain_ = other.domain_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.DomainLevel parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.DomainLevel) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object project_ = ""; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string project = 1; + */ + public Builder setProject( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + project_ = value; + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + project_ = value; + onChanged(); + return this; + } + + private java.lang.Object domain_ = ""; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string domain = 2; + */ + public Builder setDomain( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + domain_ = value; + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder clearDomain() { + + domain_ = getDefaultInstance().getDomain(); + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + domain_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.DomainLevel) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.DomainLevel) + private static final flyteidl.admin.SettingsOuterClass.DomainLevel DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.DomainLevel(); + } + + public static flyteidl.admin.SettingsOuterClass.DomainLevel getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DomainLevel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DomainLevel(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.DomainLevel getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WorkflowLevelOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowLevel) + com.google.protobuf.MessageOrBuilder { + + /** + * string project = 1; + */ + java.lang.String getProject(); + /** + * string project = 1; + */ + com.google.protobuf.ByteString + getProjectBytes(); + + /** + * string domain = 2; + */ + java.lang.String getDomain(); + /** + * string domain = 2; + */ + com.google.protobuf.ByteString + getDomainBytes(); + + /** + * string workflow = 3; + */ + java.lang.String getWorkflow(); + /** + * string workflow = 3; + */ + com.google.protobuf.ByteString + getWorkflowBytes(); + } + /** + *
+   * Defines workflow level
+   * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowLevel} + */ + public static final class WorkflowLevel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowLevel) + WorkflowLevelOrBuilder { + private static final long serialVersionUID = 0L; + // Use WorkflowLevel.newBuilder() to construct. + private WorkflowLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WorkflowLevel() { + project_ = ""; + domain_ = ""; + workflow_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WorkflowLevel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + domain_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + workflow_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.WorkflowLevel.class, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 1; + private volatile java.lang.Object project_; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DOMAIN_FIELD_NUMBER = 2; + private volatile java.lang.Object domain_; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WORKFLOW_FIELD_NUMBER = 3; + private volatile java.lang.Object workflow_; + /** + * string workflow = 3; + */ + public java.lang.String getWorkflow() { + java.lang.Object ref = workflow_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workflow_ = s; + return s; + } + } + /** + * string workflow = 3; + */ + public com.google.protobuf.ByteString + getWorkflowBytes() { + java.lang.Object ref = workflow_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workflow_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getProjectBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + } + if (!getDomainBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); + } + if (!getWorkflowBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workflow_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getProjectBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + } + if (!getDomainBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); + } + if (!getWorkflowBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workflow_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.WorkflowLevel)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.WorkflowLevel other = (flyteidl.admin.SettingsOuterClass.WorkflowLevel) obj; + + if (!getProject() + .equals(other.getProject())) return false; + if (!getDomain() + .equals(other.getDomain())) return false; + if (!getWorkflow() + .equals(other.getWorkflow())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + DOMAIN_FIELD_NUMBER; + hash = (53 * hash) + getDomain().hashCode(); + hash = (37 * hash) + WORKFLOW_FIELD_NUMBER; + hash = (53 * hash) + getWorkflow().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.WorkflowLevel prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines workflow level
+     * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowLevel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowLevel) + flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.WorkflowLevel.class, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.WorkflowLevel.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + domain_ = ""; + + workflow_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_WorkflowLevel_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.WorkflowLevel build() { + flyteidl.admin.SettingsOuterClass.WorkflowLevel result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.WorkflowLevel buildPartial() { + flyteidl.admin.SettingsOuterClass.WorkflowLevel result = new flyteidl.admin.SettingsOuterClass.WorkflowLevel(this); + result.project_ = project_; + result.domain_ = domain_; + result.workflow_ = workflow_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.WorkflowLevel) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.WorkflowLevel)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.WorkflowLevel other) { + if (other == flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getDomain().isEmpty()) { + domain_ = other.domain_; + onChanged(); + } + if (!other.getWorkflow().isEmpty()) { + workflow_ = other.workflow_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.WorkflowLevel parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.WorkflowLevel) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object project_ = ""; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string project = 1; + */ + public Builder setProject( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + project_ = value; + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + project_ = value; + onChanged(); + return this; + } + + private java.lang.Object domain_ = ""; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string domain = 2; + */ + public Builder setDomain( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + domain_ = value; + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder clearDomain() { + + domain_ = getDefaultInstance().getDomain(); + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + domain_ = value; + onChanged(); + return this; + } + + private java.lang.Object workflow_ = ""; + /** + * string workflow = 3; + */ + public java.lang.String getWorkflow() { + java.lang.Object ref = workflow_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workflow_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string workflow = 3; + */ + public com.google.protobuf.ByteString + getWorkflowBytes() { + java.lang.Object ref = workflow_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workflow_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string workflow = 3; + */ + public Builder setWorkflow( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workflow_ = value; + onChanged(); + return this; + } + /** + * string workflow = 3; + */ + public Builder clearWorkflow() { + + workflow_ = getDefaultInstance().getWorkflow(); + onChanged(); + return this; + } + /** + * string workflow = 3; + */ + public Builder setWorkflowBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workflow_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.WorkflowLevel) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowLevel) + private static final flyteidl.admin.SettingsOuterClass.WorkflowLevel DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.WorkflowLevel(); + } + + public static flyteidl.admin.SettingsOuterClass.WorkflowLevel getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowLevel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowLevel(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface LaunchplanLevelOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.LaunchplanLevel) + com.google.protobuf.MessageOrBuilder { + + /** + * string project = 1; + */ + java.lang.String getProject(); + /** + * string project = 1; + */ + com.google.protobuf.ByteString + getProjectBytes(); + + /** + * string domain = 2; + */ + java.lang.String getDomain(); + /** + * string domain = 2; + */ + com.google.protobuf.ByteString + getDomainBytes(); + + /** + * string workflow = 3; + */ + java.lang.String getWorkflow(); + /** + * string workflow = 3; + */ + com.google.protobuf.ByteString + getWorkflowBytes(); + + /** + * string launchplan = 4; + */ + java.lang.String getLaunchplan(); + /** + * string launchplan = 4; + */ + com.google.protobuf.ByteString + getLaunchplanBytes(); + } + /** + *
+   * Defines launchplan level
+   * 
+ * + * Protobuf type {@code flyteidl.admin.LaunchplanLevel} + */ + public static final class LaunchplanLevel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.LaunchplanLevel) + LaunchplanLevelOrBuilder { + private static final long serialVersionUID = 0L; + // Use LaunchplanLevel.newBuilder() to construct. + private LaunchplanLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LaunchplanLevel() { + project_ = ""; + domain_ = ""; + workflow_ = ""; + launchplan_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private LaunchplanLevel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + domain_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + workflow_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + launchplan_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.class, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 1; + private volatile java.lang.Object project_; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DOMAIN_FIELD_NUMBER = 2; + private volatile java.lang.Object domain_; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WORKFLOW_FIELD_NUMBER = 3; + private volatile java.lang.Object workflow_; + /** + * string workflow = 3; + */ + public java.lang.String getWorkflow() { + java.lang.Object ref = workflow_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workflow_ = s; + return s; + } + } + /** + * string workflow = 3; + */ + public com.google.protobuf.ByteString + getWorkflowBytes() { + java.lang.Object ref = workflow_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workflow_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int LAUNCHPLAN_FIELD_NUMBER = 4; + private volatile java.lang.Object launchplan_; + /** + * string launchplan = 4; + */ + public java.lang.String getLaunchplan() { + java.lang.Object ref = launchplan_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + launchplan_ = s; + return s; + } + } + /** + * string launchplan = 4; + */ + public com.google.protobuf.ByteString + getLaunchplanBytes() { + java.lang.Object ref = launchplan_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + launchplan_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getProjectBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, project_); + } + if (!getDomainBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); + } + if (!getWorkflowBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workflow_); + } + if (!getLaunchplanBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, launchplan_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getProjectBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, project_); + } + if (!getDomainBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); + } + if (!getWorkflowBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workflow_); + } + if (!getLaunchplanBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, launchplan_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.LaunchplanLevel)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.LaunchplanLevel other = (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) obj; + + if (!getProject() + .equals(other.getProject())) return false; + if (!getDomain() + .equals(other.getDomain())) return false; + if (!getWorkflow() + .equals(other.getWorkflow())) return false; + if (!getLaunchplan() + .equals(other.getLaunchplan())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + DOMAIN_FIELD_NUMBER; + hash = (53 * hash) + getDomain().hashCode(); + hash = (37 * hash) + WORKFLOW_FIELD_NUMBER; + hash = (53 * hash) + getWorkflow().hashCode(); + hash = (37 * hash) + LAUNCHPLAN_FIELD_NUMBER; + hash = (53 * hash) + getLaunchplan().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.LaunchplanLevel prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines launchplan level
+     * 
+ * + * Protobuf type {@code flyteidl.admin.LaunchplanLevel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.LaunchplanLevel) + flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanLevel_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.class, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.LaunchplanLevel.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + domain_ = ""; + + workflow_ = ""; + + launchplan_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_LaunchplanLevel_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel build() { + flyteidl.admin.SettingsOuterClass.LaunchplanLevel result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel buildPartial() { + flyteidl.admin.SettingsOuterClass.LaunchplanLevel result = new flyteidl.admin.SettingsOuterClass.LaunchplanLevel(this); + result.project_ = project_; + result.domain_ = domain_; + result.workflow_ = workflow_; + result.launchplan_ = launchplan_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.LaunchplanLevel) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.LaunchplanLevel)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.LaunchplanLevel other) { + if (other == flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getDomain().isEmpty()) { + domain_ = other.domain_; + onChanged(); + } + if (!other.getWorkflow().isEmpty()) { + workflow_ = other.workflow_; + onChanged(); + } + if (!other.getLaunchplan().isEmpty()) { + launchplan_ = other.launchplan_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.LaunchplanLevel parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object project_ = ""; + /** + * string project = 1; + */ + public java.lang.String getProject() { + java.lang.Object ref = project_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + project_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string project = 1; + */ + public com.google.protobuf.ByteString + getProjectBytes() { + java.lang.Object ref = project_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + project_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string project = 1; + */ + public Builder setProject( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + project_ = value; + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + * string project = 1; + */ + public Builder setProjectBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + project_ = value; + onChanged(); + return this; + } + + private java.lang.Object domain_ = ""; + /** + * string domain = 2; + */ + public java.lang.String getDomain() { + java.lang.Object ref = domain_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + domain_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string domain = 2; + */ + public com.google.protobuf.ByteString + getDomainBytes() { + java.lang.Object ref = domain_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + domain_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string domain = 2; + */ + public Builder setDomain( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + domain_ = value; + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder clearDomain() { + + domain_ = getDefaultInstance().getDomain(); + onChanged(); + return this; + } + /** + * string domain = 2; + */ + public Builder setDomainBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + domain_ = value; + onChanged(); + return this; + } + + private java.lang.Object workflow_ = ""; + /** + * string workflow = 3; + */ + public java.lang.String getWorkflow() { + java.lang.Object ref = workflow_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workflow_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string workflow = 3; + */ + public com.google.protobuf.ByteString + getWorkflowBytes() { + java.lang.Object ref = workflow_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workflow_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string workflow = 3; + */ + public Builder setWorkflow( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workflow_ = value; + onChanged(); + return this; + } + /** + * string workflow = 3; + */ + public Builder clearWorkflow() { + + workflow_ = getDefaultInstance().getWorkflow(); + onChanged(); + return this; + } + /** + * string workflow = 3; + */ + public Builder setWorkflowBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workflow_ = value; + onChanged(); + return this; + } + + private java.lang.Object launchplan_ = ""; + /** + * string launchplan = 4; + */ + public java.lang.String getLaunchplan() { + java.lang.Object ref = launchplan_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + launchplan_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string launchplan = 4; + */ + public com.google.protobuf.ByteString + getLaunchplanBytes() { + java.lang.Object ref = launchplan_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + launchplan_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string launchplan = 4; + */ + public Builder setLaunchplan( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + launchplan_ = value; + onChanged(); + return this; + } + /** + * string launchplan = 4; + */ + public Builder clearLaunchplan() { + + launchplan_ = getDefaultInstance().getLaunchplan(); + onChanged(); + return this; + } + /** + * string launchplan = 4; + */ + public Builder setLaunchplanBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + launchplan_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.LaunchplanLevel) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchplanLevel) + private static final flyteidl.admin.SettingsOuterClass.LaunchplanLevel DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.LaunchplanLevel(); + } + + public static flyteidl.admin.SettingsOuterClass.LaunchplanLevel getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LaunchplanLevel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LaunchplanLevel(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SettingsUpdateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.SettingsUpdateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + boolean hasGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder(); + + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + boolean hasProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder(); + + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + boolean hasDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder(); + + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + boolean hasWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder(); + + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + boolean hasLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder(); + + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + boolean hasSettings(); + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings(); + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder(); + + public flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest.LevelCase getLevelCase(); + } + /** + *
+   * Defines the settings update with level at which settings need to be applied.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsUpdateRequest} + */ + public static final class SettingsUpdateRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.SettingsUpdateRequest) + SettingsUpdateRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SettingsUpdateRequest.newBuilder() to construct. + private SettingsUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SettingsUpdateRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SettingsUpdateRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder subBuilder = null; + if (levelCase_ == 1) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.GlobalLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 1; + break; + } + case 18: { + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder subBuilder = null; + if (levelCase_ == 2) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.ProjectLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 2; + break; + } + case 26: { + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder subBuilder = null; + if (levelCase_ == 3) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.DomainLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.DomainLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 3; + break; + } + case 34: { + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder subBuilder = null; + if (levelCase_ == 4) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.WorkflowLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 4; + break; + } + case 42: { + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder subBuilder = null; + if (levelCase_ == 5) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.LaunchplanLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 5; + break; + } + case 50: { + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(flyteidl.admin.SettingsOuterClass.SettingsCollection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest.class, flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest.Builder.class); + } + + private int levelCase_ = 0; + private java.lang.Object level_; + public enum LevelCase + implements com.google.protobuf.Internal.EnumLite { + GLOBAL_LEVEL(1), + PROJECT_LEVEL(2), + DOMAIN_LEVEL(3), + WORKFLOW_LEVEL(4), + LAUNCHPLAN_LEVEL(5), + LEVEL_NOT_SET(0); + private final int value; + private LevelCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LevelCase valueOf(int value) { + return forNumber(value); + } + + public static LevelCase forNumber(int value) { + switch (value) { + case 1: return GLOBAL_LEVEL; + case 2: return PROJECT_LEVEL; + case 3: return DOMAIN_LEVEL; + case 4: return WORKFLOW_LEVEL; + case 5: return LAUNCHPLAN_LEVEL; + case 0: return LEVEL_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public static final int GLOBAL_LEVEL_FIELD_NUMBER = 1; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + + public static final int PROJECT_LEVEL_FIELD_NUMBER = 2; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + + public static final int DOMAIN_LEVEL_FIELD_NUMBER = 3; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + + public static final int WORKFLOW_LEVEL_FIELD_NUMBER = 4; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + + public static final int LAUNCHPLAN_LEVEL_FIELD_NUMBER = 5; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + + public static final int SETTINGS_FIELD_NUMBER = 6; + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public boolean hasSettings() { + return settings_ != null; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + return getSettings(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (levelCase_ == 1) { + output.writeMessage(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + output.writeMessage(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + output.writeMessage(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + output.writeMessage(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + output.writeMessage(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + if (settings_ != null) { + output.writeMessage(6, getSettings()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (levelCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + if (settings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSettings()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest other = (flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest) obj; + + if (hasSettings() != other.hasSettings()) return false; + if (hasSettings()) { + if (!getSettings() + .equals(other.getSettings())) return false; + } + if (!getLevelCase().equals(other.getLevelCase())) return false; + switch (levelCase_) { + case 1: + if (!getGlobalLevel() + .equals(other.getGlobalLevel())) return false; + break; + case 2: + if (!getProjectLevel() + .equals(other.getProjectLevel())) return false; + break; + case 3: + if (!getDomainLevel() + .equals(other.getDomainLevel())) return false; + break; + case 4: + if (!getWorkflowLevel() + .equals(other.getWorkflowLevel())) return false; + break; + case 5: + if (!getLaunchplanLevel() + .equals(other.getLaunchplanLevel())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSettings()) { + hash = (37 * hash) + SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSettings().hashCode(); + } + switch (levelCase_) { + case 1: + hash = (37 * hash) + GLOBAL_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getGlobalLevel().hashCode(); + break; + case 2: + hash = (37 * hash) + PROJECT_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getProjectLevel().hashCode(); + break; + case 3: + hash = (37 * hash) + DOMAIN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getDomainLevel().hashCode(); + break; + case 4: + hash = (37 * hash) + WORKFLOW_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowLevel().hashCode(); + break; + case 5: + hash = (37 * hash) + LAUNCHPLAN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLaunchplanLevel().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines the settings update with level at which settings need to be applied.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsUpdateRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.SettingsUpdateRequest) + flyteidl.admin.SettingsOuterClass.SettingsUpdateRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest.class, flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (settingsBuilder_ == null) { + settings_ = null; + } else { + settings_ = null; + settingsBuilder_ = null; + } + levelCase_ = 0; + level_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsUpdateRequest_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest build() { + flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest buildPartial() { + flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest result = new flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest(this); + if (levelCase_ == 1) { + if (globalLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = globalLevelBuilder_.build(); + } + } + if (levelCase_ == 2) { + if (projectLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = projectLevelBuilder_.build(); + } + } + if (levelCase_ == 3) { + if (domainLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = domainLevelBuilder_.build(); + } + } + if (levelCase_ == 4) { + if (workflowLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = workflowLevelBuilder_.build(); + } + } + if (levelCase_ == 5) { + if (launchplanLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = launchplanLevelBuilder_.build(); + } + } + if (settingsBuilder_ == null) { + result.settings_ = settings_; + } else { + result.settings_ = settingsBuilder_.build(); + } + result.levelCase_ = levelCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest other) { + if (other == flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest.getDefaultInstance()) return this; + if (other.hasSettings()) { + mergeSettings(other.getSettings()); + } + switch (other.getLevelCase()) { + case GLOBAL_LEVEL: { + mergeGlobalLevel(other.getGlobalLevel()); + break; + } + case PROJECT_LEVEL: { + mergeProjectLevel(other.getProjectLevel()); + break; + } + case DOMAIN_LEVEL: { + mergeDomainLevel(other.getDomainLevel()); + break; + } + case WORKFLOW_LEVEL: { + mergeWorkflowLevel(other.getWorkflowLevel()); + break; + } + case LAUNCHPLAN_LEVEL: { + mergeLaunchplanLevel(other.getLaunchplanLevel()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int levelCase_ = 0; + private java.lang.Object level_; + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public Builder clearLevel() { + levelCase_ = 0; + level_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> globalLevelBuilder_; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } else { + if (levelCase_ == 1) { + return globalLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel( + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder builderForValue) { + if (globalLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + globalLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder mergeGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1 && + level_ != flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.newBuilder((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 1) { + globalLevelBuilder_.mergeFrom(value); + } + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder clearGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + } + globalLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder getGlobalLevelBuilder() { + return getGlobalLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if ((levelCase_ == 1) && (globalLevelBuilder_ != null)) { + return globalLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> + getGlobalLevelFieldBuilder() { + if (globalLevelBuilder_ == null) { + if (!(levelCase_ == 1)) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + globalLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 1; + onChanged();; + return globalLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> projectLevelBuilder_; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } else { + if (levelCase_ == 2) { + return projectLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel( + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder builderForValue) { + if (projectLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + projectLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder mergeProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2 && + level_ != flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.newBuilder((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 2) { + projectLevelBuilder_.mergeFrom(value); + } + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder clearProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + } + projectLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder getProjectLevelBuilder() { + return getProjectLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if ((levelCase_ == 2) && (projectLevelBuilder_ != null)) { + return projectLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> + getProjectLevelFieldBuilder() { + if (projectLevelBuilder_ == null) { + if (!(levelCase_ == 2)) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + projectLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 2; + onChanged();; + return projectLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> domainLevelBuilder_; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } else { + if (levelCase_ == 3) { + return domainLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel( + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder builderForValue) { + if (domainLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + domainLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder mergeDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3 && + level_ != flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.newBuilder((flyteidl.admin.SettingsOuterClass.DomainLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 3) { + domainLevelBuilder_.mergeFrom(value); + } + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder clearDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + } + domainLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel.Builder getDomainLevelBuilder() { + return getDomainLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if ((levelCase_ == 3) && (domainLevelBuilder_ != null)) { + return domainLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> + getDomainLevelFieldBuilder() { + if (domainLevelBuilder_ == null) { + if (!(levelCase_ == 3)) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + domainLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.DomainLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 3; + onChanged();; + return domainLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> workflowLevelBuilder_; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } else { + if (levelCase_ == 4) { + return workflowLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel( + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder builderForValue) { + if (workflowLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + workflowLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder mergeWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4 && + level_ != flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.newBuilder((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 4) { + workflowLevelBuilder_.mergeFrom(value); + } + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder clearWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + } + workflowLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder getWorkflowLevelBuilder() { + return getWorkflowLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if ((levelCase_ == 4) && (workflowLevelBuilder_ != null)) { + return workflowLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> + getWorkflowLevelFieldBuilder() { + if (workflowLevelBuilder_ == null) { + if (!(levelCase_ == 4)) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + workflowLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 4; + onChanged();; + return workflowLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> launchplanLevelBuilder_; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } else { + if (levelCase_ == 5) { + return launchplanLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel( + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder builderForValue) { + if (launchplanLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder mergeLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5 && + level_ != flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.newBuilder((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 5) { + launchplanLevelBuilder_.mergeFrom(value); + } + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder clearLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + } + launchplanLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder getLaunchplanLevelBuilder() { + return getLaunchplanLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if ((levelCase_ == 5) && (launchplanLevelBuilder_ != null)) { + return launchplanLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> + getLaunchplanLevelFieldBuilder() { + if (launchplanLevelBuilder_ == null) { + if (!(levelCase_ == 5)) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + launchplanLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 5; + onChanged();; + return launchplanLevelBuilder_; + } + + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> settingsBuilder_; + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public boolean hasSettings() { + return settingsBuilder_ != null || settings_ != null; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + if (settingsBuilder_ == null) { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } else { + return settingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder setSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + settings_ = value; + onChanged(); + } else { + settingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder setSettings( + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder builderForValue) { + if (settingsBuilder_ == null) { + settings_ = builderForValue.build(); + onChanged(); + } else { + settingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder mergeSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (settings_ != null) { + settings_ = + flyteidl.admin.SettingsOuterClass.SettingsCollection.newBuilder(settings_).mergeFrom(value).buildPartial(); + } else { + settings_ = value; + } + onChanged(); + } else { + settingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder clearSettings() { + if (settingsBuilder_ == null) { + settings_ = null; + onChanged(); + } else { + settings_ = null; + settingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder getSettingsBuilder() { + + onChanged(); + return getSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + if (settingsBuilder_ != null) { + return settingsBuilder_.getMessageOrBuilder(); + } else { + return settings_ == null ? + flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> + getSettingsFieldBuilder() { + if (settingsBuilder_ == null) { + settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder>( + getSettings(), + getParentForChildren(), + isClean()); + settings_ = null; + } + return settingsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.SettingsUpdateRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsUpdateRequest) + private static final flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest(); + } + + public static flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SettingsUpdateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SettingsUpdateRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsUpdateRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FullSettingsUpdateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.FullSettingsUpdateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + boolean hasGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder(); + + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + boolean hasProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder(); + + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + boolean hasDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder(); + + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + boolean hasWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder(); + + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + boolean hasLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder(); + + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + boolean hasSettings(); + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings(); + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder(); + + public flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest.LevelCase getLevelCase(); + } + /** + *
+   * Defines the full settings update request to be applied.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.FullSettingsUpdateRequest} + */ + public static final class FullSettingsUpdateRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.FullSettingsUpdateRequest) + FullSettingsUpdateRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use FullSettingsUpdateRequest.newBuilder() to construct. + private FullSettingsUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FullSettingsUpdateRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FullSettingsUpdateRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder subBuilder = null; + if (levelCase_ == 1) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.GlobalLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 1; + break; + } + case 18: { + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder subBuilder = null; + if (levelCase_ == 2) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.ProjectLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 2; + break; + } + case 26: { + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder subBuilder = null; + if (levelCase_ == 3) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.DomainLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.DomainLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 3; + break; + } + case 34: { + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder subBuilder = null; + if (levelCase_ == 4) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.WorkflowLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 4; + break; + } + case 42: { + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder subBuilder = null; + if (levelCase_ == 5) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.LaunchplanLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 5; + break; + } + case 50: { + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(flyteidl.admin.SettingsOuterClass.SettingsCollection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest.class, flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest.Builder.class); + } + + private int levelCase_ = 0; + private java.lang.Object level_; + public enum LevelCase + implements com.google.protobuf.Internal.EnumLite { + GLOBAL_LEVEL(1), + PROJECT_LEVEL(2), + DOMAIN_LEVEL(3), + WORKFLOW_LEVEL(4), + LAUNCHPLAN_LEVEL(5), + LEVEL_NOT_SET(0); + private final int value; + private LevelCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LevelCase valueOf(int value) { + return forNumber(value); + } + + public static LevelCase forNumber(int value) { + switch (value) { + case 1: return GLOBAL_LEVEL; + case 2: return PROJECT_LEVEL; + case 3: return DOMAIN_LEVEL; + case 4: return WORKFLOW_LEVEL; + case 5: return LAUNCHPLAN_LEVEL; + case 0: return LEVEL_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public static final int GLOBAL_LEVEL_FIELD_NUMBER = 1; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + + public static final int PROJECT_LEVEL_FIELD_NUMBER = 2; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + + public static final int DOMAIN_LEVEL_FIELD_NUMBER = 3; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + + public static final int WORKFLOW_LEVEL_FIELD_NUMBER = 4; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + + public static final int LAUNCHPLAN_LEVEL_FIELD_NUMBER = 5; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + + public static final int SETTINGS_FIELD_NUMBER = 6; + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public boolean hasSettings() { + return settings_ != null; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + return getSettings(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (levelCase_ == 1) { + output.writeMessage(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + output.writeMessage(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + output.writeMessage(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + output.writeMessage(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + output.writeMessage(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + if (settings_ != null) { + output.writeMessage(6, getSettings()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (levelCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + if (settings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSettings()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest other = (flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest) obj; + + if (hasSettings() != other.hasSettings()) return false; + if (hasSettings()) { + if (!getSettings() + .equals(other.getSettings())) return false; + } + if (!getLevelCase().equals(other.getLevelCase())) return false; + switch (levelCase_) { + case 1: + if (!getGlobalLevel() + .equals(other.getGlobalLevel())) return false; + break; + case 2: + if (!getProjectLevel() + .equals(other.getProjectLevel())) return false; + break; + case 3: + if (!getDomainLevel() + .equals(other.getDomainLevel())) return false; + break; + case 4: + if (!getWorkflowLevel() + .equals(other.getWorkflowLevel())) return false; + break; + case 5: + if (!getLaunchplanLevel() + .equals(other.getLaunchplanLevel())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSettings()) { + hash = (37 * hash) + SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSettings().hashCode(); + } + switch (levelCase_) { + case 1: + hash = (37 * hash) + GLOBAL_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getGlobalLevel().hashCode(); + break; + case 2: + hash = (37 * hash) + PROJECT_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getProjectLevel().hashCode(); + break; + case 3: + hash = (37 * hash) + DOMAIN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getDomainLevel().hashCode(); + break; + case 4: + hash = (37 * hash) + WORKFLOW_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowLevel().hashCode(); + break; + case 5: + hash = (37 * hash) + LAUNCHPLAN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLaunchplanLevel().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines the full settings update request to be applied.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.FullSettingsUpdateRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.FullSettingsUpdateRequest) + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest.class, flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (settingsBuilder_ == null) { + settings_ = null; + } else { + settings_ = null; + settingsBuilder_ = null; + } + levelCase_ = 0; + level_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateRequest_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest build() { + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest buildPartial() { + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest result = new flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest(this); + if (levelCase_ == 1) { + if (globalLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = globalLevelBuilder_.build(); + } + } + if (levelCase_ == 2) { + if (projectLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = projectLevelBuilder_.build(); + } + } + if (levelCase_ == 3) { + if (domainLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = domainLevelBuilder_.build(); + } + } + if (levelCase_ == 4) { + if (workflowLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = workflowLevelBuilder_.build(); + } + } + if (levelCase_ == 5) { + if (launchplanLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = launchplanLevelBuilder_.build(); + } + } + if (settingsBuilder_ == null) { + result.settings_ = settings_; + } else { + result.settings_ = settingsBuilder_.build(); + } + result.levelCase_ = levelCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest other) { + if (other == flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest.getDefaultInstance()) return this; + if (other.hasSettings()) { + mergeSettings(other.getSettings()); + } + switch (other.getLevelCase()) { + case GLOBAL_LEVEL: { + mergeGlobalLevel(other.getGlobalLevel()); + break; + } + case PROJECT_LEVEL: { + mergeProjectLevel(other.getProjectLevel()); + break; + } + case DOMAIN_LEVEL: { + mergeDomainLevel(other.getDomainLevel()); + break; + } + case WORKFLOW_LEVEL: { + mergeWorkflowLevel(other.getWorkflowLevel()); + break; + } + case LAUNCHPLAN_LEVEL: { + mergeLaunchplanLevel(other.getLaunchplanLevel()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int levelCase_ = 0; + private java.lang.Object level_; + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public Builder clearLevel() { + levelCase_ = 0; + level_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> globalLevelBuilder_; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } else { + if (levelCase_ == 1) { + return globalLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel( + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder builderForValue) { + if (globalLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + globalLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder mergeGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1 && + level_ != flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.newBuilder((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 1) { + globalLevelBuilder_.mergeFrom(value); + } + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder clearGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + } + globalLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder getGlobalLevelBuilder() { + return getGlobalLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if ((levelCase_ == 1) && (globalLevelBuilder_ != null)) { + return globalLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> + getGlobalLevelFieldBuilder() { + if (globalLevelBuilder_ == null) { + if (!(levelCase_ == 1)) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + globalLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 1; + onChanged();; + return globalLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> projectLevelBuilder_; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } else { + if (levelCase_ == 2) { + return projectLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel( + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder builderForValue) { + if (projectLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + projectLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder mergeProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2 && + level_ != flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.newBuilder((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 2) { + projectLevelBuilder_.mergeFrom(value); + } + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder clearProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + } + projectLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder getProjectLevelBuilder() { + return getProjectLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if ((levelCase_ == 2) && (projectLevelBuilder_ != null)) { + return projectLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> + getProjectLevelFieldBuilder() { + if (projectLevelBuilder_ == null) { + if (!(levelCase_ == 2)) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + projectLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 2; + onChanged();; + return projectLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> domainLevelBuilder_; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } else { + if (levelCase_ == 3) { + return domainLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel( + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder builderForValue) { + if (domainLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + domainLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder mergeDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3 && + level_ != flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.newBuilder((flyteidl.admin.SettingsOuterClass.DomainLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 3) { + domainLevelBuilder_.mergeFrom(value); + } + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder clearDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + } + domainLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel.Builder getDomainLevelBuilder() { + return getDomainLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if ((levelCase_ == 3) && (domainLevelBuilder_ != null)) { + return domainLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> + getDomainLevelFieldBuilder() { + if (domainLevelBuilder_ == null) { + if (!(levelCase_ == 3)) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + domainLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.DomainLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 3; + onChanged();; + return domainLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> workflowLevelBuilder_; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } else { + if (levelCase_ == 4) { + return workflowLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel( + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder builderForValue) { + if (workflowLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + workflowLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder mergeWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4 && + level_ != flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.newBuilder((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 4) { + workflowLevelBuilder_.mergeFrom(value); + } + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder clearWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + } + workflowLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder getWorkflowLevelBuilder() { + return getWorkflowLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if ((levelCase_ == 4) && (workflowLevelBuilder_ != null)) { + return workflowLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> + getWorkflowLevelFieldBuilder() { + if (workflowLevelBuilder_ == null) { + if (!(levelCase_ == 4)) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + workflowLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 4; + onChanged();; + return workflowLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> launchplanLevelBuilder_; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } else { + if (levelCase_ == 5) { + return launchplanLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel( + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder builderForValue) { + if (launchplanLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder mergeLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5 && + level_ != flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.newBuilder((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 5) { + launchplanLevelBuilder_.mergeFrom(value); + } + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder clearLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + } + launchplanLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder getLaunchplanLevelBuilder() { + return getLaunchplanLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if ((levelCase_ == 5) && (launchplanLevelBuilder_ != null)) { + return launchplanLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> + getLaunchplanLevelFieldBuilder() { + if (launchplanLevelBuilder_ == null) { + if (!(levelCase_ == 5)) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + launchplanLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 5; + onChanged();; + return launchplanLevelBuilder_; + } + + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> settingsBuilder_; + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public boolean hasSettings() { + return settingsBuilder_ != null || settings_ != null; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + if (settingsBuilder_ == null) { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } else { + return settingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder setSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + settings_ = value; + onChanged(); + } else { + settingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder setSettings( + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder builderForValue) { + if (settingsBuilder_ == null) { + settings_ = builderForValue.build(); + onChanged(); + } else { + settingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder mergeSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (settings_ != null) { + settings_ = + flyteidl.admin.SettingsOuterClass.SettingsCollection.newBuilder(settings_).mergeFrom(value).buildPartial(); + } else { + settings_ = value; + } + onChanged(); + } else { + settingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder clearSettings() { + if (settingsBuilder_ == null) { + settings_ = null; + onChanged(); + } else { + settings_ = null; + settingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder getSettingsBuilder() { + + onChanged(); + return getSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + if (settingsBuilder_ != null) { + return settingsBuilder_.getMessageOrBuilder(); + } else { + return settings_ == null ? + flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> + getSettingsFieldBuilder() { + if (settingsBuilder_ == null) { + settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder>( + getSettings(), + getParentForChildren(), + isClean()); + settings_ = null; + } + return settingsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.FullSettingsUpdateRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsUpdateRequest) + private static final flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest(); + } + + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FullSettingsUpdateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FullSettingsUpdateRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsUpdateRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FullSettingsUpdateResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.FullSettingsUpdateResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Purposefully empty, may be populated in the future.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.FullSettingsUpdateResponse} + */ + public static final class FullSettingsUpdateResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.FullSettingsUpdateResponse) + FullSettingsUpdateResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use FullSettingsUpdateResponse.newBuilder() to construct. + private FullSettingsUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FullSettingsUpdateResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FullSettingsUpdateResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse.class, flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse other = (flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Purposefully empty, may be populated in the future.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.FullSettingsUpdateResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.FullSettingsUpdateResponse) + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse.class, flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsUpdateResponse_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse build() { + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse buildPartial() { + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse result = new flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse other) { + if (other == flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.FullSettingsUpdateResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsUpdateResponse) + private static final flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse(); + } + + public static flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FullSettingsUpdateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FullSettingsUpdateResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsUpdateResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SettingsGetRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.SettingsGetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + boolean hasGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder(); + + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + boolean hasProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder(); + + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + boolean hasDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder(); + + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + boolean hasWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder(); + + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + boolean hasLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder(); + + public flyteidl.admin.SettingsOuterClass.SettingsGetRequest.LevelCase getLevelCase(); + } + /** + *
+   * Defines the settings get request.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsGetRequest} + */ + public static final class SettingsGetRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.SettingsGetRequest) + SettingsGetRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SettingsGetRequest.newBuilder() to construct. + private SettingsGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SettingsGetRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SettingsGetRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder subBuilder = null; + if (levelCase_ == 1) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.GlobalLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 1; + break; + } + case 18: { + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder subBuilder = null; + if (levelCase_ == 2) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.ProjectLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 2; + break; + } + case 26: { + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder subBuilder = null; + if (levelCase_ == 3) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.DomainLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.DomainLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 3; + break; + } + case 34: { + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder subBuilder = null; + if (levelCase_ == 4) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.WorkflowLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 4; + break; + } + case 42: { + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder subBuilder = null; + if (levelCase_ == 5) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.LaunchplanLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsGetRequest.class, flyteidl.admin.SettingsOuterClass.SettingsGetRequest.Builder.class); + } + + private int levelCase_ = 0; + private java.lang.Object level_; + public enum LevelCase + implements com.google.protobuf.Internal.EnumLite { + GLOBAL_LEVEL(1), + PROJECT_LEVEL(2), + DOMAIN_LEVEL(3), + WORKFLOW_LEVEL(4), + LAUNCHPLAN_LEVEL(5), + LEVEL_NOT_SET(0); + private final int value; + private LevelCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LevelCase valueOf(int value) { + return forNumber(value); + } + + public static LevelCase forNumber(int value) { + switch (value) { + case 1: return GLOBAL_LEVEL; + case 2: return PROJECT_LEVEL; + case 3: return DOMAIN_LEVEL; + case 4: return WORKFLOW_LEVEL; + case 5: return LAUNCHPLAN_LEVEL; + case 0: return LEVEL_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public static final int GLOBAL_LEVEL_FIELD_NUMBER = 1; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + + public static final int PROJECT_LEVEL_FIELD_NUMBER = 2; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + + public static final int DOMAIN_LEVEL_FIELD_NUMBER = 3; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + + public static final int WORKFLOW_LEVEL_FIELD_NUMBER = 4; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + + public static final int LAUNCHPLAN_LEVEL_FIELD_NUMBER = 5; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (levelCase_ == 1) { + output.writeMessage(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + output.writeMessage(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + output.writeMessage(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + output.writeMessage(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + output.writeMessage(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (levelCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.SettingsGetRequest)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.SettingsGetRequest other = (flyteidl.admin.SettingsOuterClass.SettingsGetRequest) obj; + + if (!getLevelCase().equals(other.getLevelCase())) return false; + switch (levelCase_) { + case 1: + if (!getGlobalLevel() + .equals(other.getGlobalLevel())) return false; + break; + case 2: + if (!getProjectLevel() + .equals(other.getProjectLevel())) return false; + break; + case 3: + if (!getDomainLevel() + .equals(other.getDomainLevel())) return false; + break; + case 4: + if (!getWorkflowLevel() + .equals(other.getWorkflowLevel())) return false; + break; + case 5: + if (!getLaunchplanLevel() + .equals(other.getLaunchplanLevel())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (levelCase_) { + case 1: + hash = (37 * hash) + GLOBAL_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getGlobalLevel().hashCode(); + break; + case 2: + hash = (37 * hash) + PROJECT_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getProjectLevel().hashCode(); + break; + case 3: + hash = (37 * hash) + DOMAIN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getDomainLevel().hashCode(); + break; + case 4: + hash = (37 * hash) + WORKFLOW_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowLevel().hashCode(); + break; + case 5: + hash = (37 * hash) + LAUNCHPLAN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLaunchplanLevel().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.SettingsGetRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines the settings get request.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsGetRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.SettingsGetRequest) + flyteidl.admin.SettingsOuterClass.SettingsGetRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsGetRequest.class, flyteidl.admin.SettingsOuterClass.SettingsGetRequest.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.SettingsGetRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + levelCase_ = 0; + level_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetRequest_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsGetRequest getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.SettingsGetRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsGetRequest build() { + flyteidl.admin.SettingsOuterClass.SettingsGetRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsGetRequest buildPartial() { + flyteidl.admin.SettingsOuterClass.SettingsGetRequest result = new flyteidl.admin.SettingsOuterClass.SettingsGetRequest(this); + if (levelCase_ == 1) { + if (globalLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = globalLevelBuilder_.build(); + } + } + if (levelCase_ == 2) { + if (projectLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = projectLevelBuilder_.build(); + } + } + if (levelCase_ == 3) { + if (domainLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = domainLevelBuilder_.build(); + } + } + if (levelCase_ == 4) { + if (workflowLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = workflowLevelBuilder_.build(); + } + } + if (levelCase_ == 5) { + if (launchplanLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = launchplanLevelBuilder_.build(); + } + } + result.levelCase_ = levelCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.SettingsGetRequest) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.SettingsGetRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.SettingsGetRequest other) { + if (other == flyteidl.admin.SettingsOuterClass.SettingsGetRequest.getDefaultInstance()) return this; + switch (other.getLevelCase()) { + case GLOBAL_LEVEL: { + mergeGlobalLevel(other.getGlobalLevel()); + break; + } + case PROJECT_LEVEL: { + mergeProjectLevel(other.getProjectLevel()); + break; + } + case DOMAIN_LEVEL: { + mergeDomainLevel(other.getDomainLevel()); + break; + } + case WORKFLOW_LEVEL: { + mergeWorkflowLevel(other.getWorkflowLevel()); + break; + } + case LAUNCHPLAN_LEVEL: { + mergeLaunchplanLevel(other.getLaunchplanLevel()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.SettingsGetRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.SettingsGetRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int levelCase_ = 0; + private java.lang.Object level_; + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public Builder clearLevel() { + levelCase_ = 0; + level_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> globalLevelBuilder_; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } else { + if (levelCase_ == 1) { + return globalLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel( + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder builderForValue) { + if (globalLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + globalLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder mergeGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1 && + level_ != flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.newBuilder((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 1) { + globalLevelBuilder_.mergeFrom(value); + } + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder clearGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + } + globalLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder getGlobalLevelBuilder() { + return getGlobalLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if ((levelCase_ == 1) && (globalLevelBuilder_ != null)) { + return globalLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> + getGlobalLevelFieldBuilder() { + if (globalLevelBuilder_ == null) { + if (!(levelCase_ == 1)) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + globalLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 1; + onChanged();; + return globalLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> projectLevelBuilder_; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } else { + if (levelCase_ == 2) { + return projectLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel( + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder builderForValue) { + if (projectLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + projectLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder mergeProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2 && + level_ != flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.newBuilder((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 2) { + projectLevelBuilder_.mergeFrom(value); + } + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder clearProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + } + projectLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder getProjectLevelBuilder() { + return getProjectLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if ((levelCase_ == 2) && (projectLevelBuilder_ != null)) { + return projectLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> + getProjectLevelFieldBuilder() { + if (projectLevelBuilder_ == null) { + if (!(levelCase_ == 2)) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + projectLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 2; + onChanged();; + return projectLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> domainLevelBuilder_; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } else { + if (levelCase_ == 3) { + return domainLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel( + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder builderForValue) { + if (domainLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + domainLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder mergeDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3 && + level_ != flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.newBuilder((flyteidl.admin.SettingsOuterClass.DomainLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 3) { + domainLevelBuilder_.mergeFrom(value); + } + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder clearDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + } + domainLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel.Builder getDomainLevelBuilder() { + return getDomainLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if ((levelCase_ == 3) && (domainLevelBuilder_ != null)) { + return domainLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> + getDomainLevelFieldBuilder() { + if (domainLevelBuilder_ == null) { + if (!(levelCase_ == 3)) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + domainLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.DomainLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 3; + onChanged();; + return domainLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> workflowLevelBuilder_; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } else { + if (levelCase_ == 4) { + return workflowLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel( + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder builderForValue) { + if (workflowLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + workflowLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder mergeWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4 && + level_ != flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.newBuilder((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 4) { + workflowLevelBuilder_.mergeFrom(value); + } + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder clearWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + } + workflowLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder getWorkflowLevelBuilder() { + return getWorkflowLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if ((levelCase_ == 4) && (workflowLevelBuilder_ != null)) { + return workflowLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> + getWorkflowLevelFieldBuilder() { + if (workflowLevelBuilder_ == null) { + if (!(levelCase_ == 4)) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + workflowLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 4; + onChanged();; + return workflowLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> launchplanLevelBuilder_; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } else { + if (levelCase_ == 5) { + return launchplanLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel( + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder builderForValue) { + if (launchplanLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder mergeLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5 && + level_ != flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.newBuilder((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 5) { + launchplanLevelBuilder_.mergeFrom(value); + } + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder clearLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + } + launchplanLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder getLaunchplanLevelBuilder() { + return getLaunchplanLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if ((levelCase_ == 5) && (launchplanLevelBuilder_ != null)) { + return launchplanLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> + getLaunchplanLevelFieldBuilder() { + if (launchplanLevelBuilder_ == null) { + if (!(levelCase_ == 5)) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + launchplanLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 5; + onChanged();; + return launchplanLevelBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.SettingsGetRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsGetRequest) + private static final flyteidl.admin.SettingsOuterClass.SettingsGetRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.SettingsGetRequest(); + } + + public static flyteidl.admin.SettingsOuterClass.SettingsGetRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SettingsGetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SettingsGetRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsGetRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SettingsGetResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.SettingsGetResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + boolean hasGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder(); + + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + boolean hasProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder(); + + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + boolean hasDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder(); + + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + boolean hasWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder(); + + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + boolean hasLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder(); + + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + boolean hasSettings(); + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings(); + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder(); + + public flyteidl.admin.SettingsOuterClass.SettingsGetResponse.LevelCase getLevelCase(); + } + /** + *
+   * Returns the settings for the provided level in SettingsGetRequest.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsGetResponse} + */ + public static final class SettingsGetResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.SettingsGetResponse) + SettingsGetResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use SettingsGetResponse.newBuilder() to construct. + private SettingsGetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SettingsGetResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SettingsGetResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder subBuilder = null; + if (levelCase_ == 1) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.GlobalLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 1; + break; + } + case 18: { + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder subBuilder = null; + if (levelCase_ == 2) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.ProjectLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 2; + break; + } + case 26: { + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder subBuilder = null; + if (levelCase_ == 3) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.DomainLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.DomainLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 3; + break; + } + case 34: { + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder subBuilder = null; + if (levelCase_ == 4) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.WorkflowLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 4; + break; + } + case 42: { + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder subBuilder = null; + if (levelCase_ == 5) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.LaunchplanLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 5; + break; + } + case 50: { + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(flyteidl.admin.SettingsOuterClass.SettingsCollection.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsGetResponse.class, flyteidl.admin.SettingsOuterClass.SettingsGetResponse.Builder.class); + } + + private int levelCase_ = 0; + private java.lang.Object level_; + public enum LevelCase + implements com.google.protobuf.Internal.EnumLite { + GLOBAL_LEVEL(1), + PROJECT_LEVEL(2), + DOMAIN_LEVEL(3), + WORKFLOW_LEVEL(4), + LAUNCHPLAN_LEVEL(5), + LEVEL_NOT_SET(0); + private final int value; + private LevelCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LevelCase valueOf(int value) { + return forNumber(value); + } + + public static LevelCase forNumber(int value) { + switch (value) { + case 1: return GLOBAL_LEVEL; + case 2: return PROJECT_LEVEL; + case 3: return DOMAIN_LEVEL; + case 4: return WORKFLOW_LEVEL; + case 5: return LAUNCHPLAN_LEVEL; + case 0: return LEVEL_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public static final int GLOBAL_LEVEL_FIELD_NUMBER = 1; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + + public static final int PROJECT_LEVEL_FIELD_NUMBER = 2; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + + public static final int DOMAIN_LEVEL_FIELD_NUMBER = 3; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + + public static final int WORKFLOW_LEVEL_FIELD_NUMBER = 4; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + + public static final int LAUNCHPLAN_LEVEL_FIELD_NUMBER = 5; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + + public static final int SETTINGS_FIELD_NUMBER = 6; + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public boolean hasSettings() { + return settings_ != null; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + return getSettings(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (levelCase_ == 1) { + output.writeMessage(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + output.writeMessage(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + output.writeMessage(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + output.writeMessage(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + output.writeMessage(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + if (settings_ != null) { + output.writeMessage(6, getSettings()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (levelCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + if (settings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getSettings()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.SettingsGetResponse)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.SettingsGetResponse other = (flyteidl.admin.SettingsOuterClass.SettingsGetResponse) obj; + + if (hasSettings() != other.hasSettings()) return false; + if (hasSettings()) { + if (!getSettings() + .equals(other.getSettings())) return false; + } + if (!getLevelCase().equals(other.getLevelCase())) return false; + switch (levelCase_) { + case 1: + if (!getGlobalLevel() + .equals(other.getGlobalLevel())) return false; + break; + case 2: + if (!getProjectLevel() + .equals(other.getProjectLevel())) return false; + break; + case 3: + if (!getDomainLevel() + .equals(other.getDomainLevel())) return false; + break; + case 4: + if (!getWorkflowLevel() + .equals(other.getWorkflowLevel())) return false; + break; + case 5: + if (!getLaunchplanLevel() + .equals(other.getLaunchplanLevel())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSettings()) { + hash = (37 * hash) + SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSettings().hashCode(); + } + switch (levelCase_) { + case 1: + hash = (37 * hash) + GLOBAL_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getGlobalLevel().hashCode(); + break; + case 2: + hash = (37 * hash) + PROJECT_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getProjectLevel().hashCode(); + break; + case 3: + hash = (37 * hash) + DOMAIN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getDomainLevel().hashCode(); + break; + case 4: + hash = (37 * hash) + WORKFLOW_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowLevel().hashCode(); + break; + case 5: + hash = (37 * hash) + LAUNCHPLAN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLaunchplanLevel().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.SettingsGetResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Returns the settings for the provided level in SettingsGetRequest.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsGetResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.SettingsGetResponse) + flyteidl.admin.SettingsOuterClass.SettingsGetResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsGetResponse.class, flyteidl.admin.SettingsOuterClass.SettingsGetResponse.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.SettingsGetResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (settingsBuilder_ == null) { + settings_ = null; + } else { + settings_ = null; + settingsBuilder_ = null; + } + levelCase_ = 0; + level_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsGetResponse_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsGetResponse getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.SettingsGetResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsGetResponse build() { + flyteidl.admin.SettingsOuterClass.SettingsGetResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsGetResponse buildPartial() { + flyteidl.admin.SettingsOuterClass.SettingsGetResponse result = new flyteidl.admin.SettingsOuterClass.SettingsGetResponse(this); + if (levelCase_ == 1) { + if (globalLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = globalLevelBuilder_.build(); + } + } + if (levelCase_ == 2) { + if (projectLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = projectLevelBuilder_.build(); + } + } + if (levelCase_ == 3) { + if (domainLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = domainLevelBuilder_.build(); + } + } + if (levelCase_ == 4) { + if (workflowLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = workflowLevelBuilder_.build(); + } + } + if (levelCase_ == 5) { + if (launchplanLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = launchplanLevelBuilder_.build(); + } + } + if (settingsBuilder_ == null) { + result.settings_ = settings_; + } else { + result.settings_ = settingsBuilder_.build(); + } + result.levelCase_ = levelCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.SettingsGetResponse) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.SettingsGetResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.SettingsGetResponse other) { + if (other == flyteidl.admin.SettingsOuterClass.SettingsGetResponse.getDefaultInstance()) return this; + if (other.hasSettings()) { + mergeSettings(other.getSettings()); + } + switch (other.getLevelCase()) { + case GLOBAL_LEVEL: { + mergeGlobalLevel(other.getGlobalLevel()); + break; + } + case PROJECT_LEVEL: { + mergeProjectLevel(other.getProjectLevel()); + break; + } + case DOMAIN_LEVEL: { + mergeDomainLevel(other.getDomainLevel()); + break; + } + case WORKFLOW_LEVEL: { + mergeWorkflowLevel(other.getWorkflowLevel()); + break; + } + case LAUNCHPLAN_LEVEL: { + mergeLaunchplanLevel(other.getLaunchplanLevel()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.SettingsGetResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.SettingsGetResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int levelCase_ = 0; + private java.lang.Object level_; + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public Builder clearLevel() { + levelCase_ = 0; + level_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> globalLevelBuilder_; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } else { + if (levelCase_ == 1) { + return globalLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel( + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder builderForValue) { + if (globalLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + globalLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder mergeGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1 && + level_ != flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.newBuilder((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 1) { + globalLevelBuilder_.mergeFrom(value); + } + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder clearGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + } + globalLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder getGlobalLevelBuilder() { + return getGlobalLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if ((levelCase_ == 1) && (globalLevelBuilder_ != null)) { + return globalLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> + getGlobalLevelFieldBuilder() { + if (globalLevelBuilder_ == null) { + if (!(levelCase_ == 1)) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + globalLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 1; + onChanged();; + return globalLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> projectLevelBuilder_; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } else { + if (levelCase_ == 2) { + return projectLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel( + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder builderForValue) { + if (projectLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + projectLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder mergeProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2 && + level_ != flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.newBuilder((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 2) { + projectLevelBuilder_.mergeFrom(value); + } + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder clearProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + } + projectLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder getProjectLevelBuilder() { + return getProjectLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if ((levelCase_ == 2) && (projectLevelBuilder_ != null)) { + return projectLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> + getProjectLevelFieldBuilder() { + if (projectLevelBuilder_ == null) { + if (!(levelCase_ == 2)) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + projectLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 2; + onChanged();; + return projectLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> domainLevelBuilder_; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } else { + if (levelCase_ == 3) { + return domainLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel( + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder builderForValue) { + if (domainLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + domainLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder mergeDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3 && + level_ != flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.newBuilder((flyteidl.admin.SettingsOuterClass.DomainLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 3) { + domainLevelBuilder_.mergeFrom(value); + } + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder clearDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + } + domainLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel.Builder getDomainLevelBuilder() { + return getDomainLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if ((levelCase_ == 3) && (domainLevelBuilder_ != null)) { + return domainLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> + getDomainLevelFieldBuilder() { + if (domainLevelBuilder_ == null) { + if (!(levelCase_ == 3)) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + domainLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.DomainLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 3; + onChanged();; + return domainLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> workflowLevelBuilder_; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } else { + if (levelCase_ == 4) { + return workflowLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel( + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder builderForValue) { + if (workflowLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + workflowLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder mergeWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4 && + level_ != flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.newBuilder((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 4) { + workflowLevelBuilder_.mergeFrom(value); + } + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder clearWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + } + workflowLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder getWorkflowLevelBuilder() { + return getWorkflowLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if ((levelCase_ == 4) && (workflowLevelBuilder_ != null)) { + return workflowLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> + getWorkflowLevelFieldBuilder() { + if (workflowLevelBuilder_ == null) { + if (!(levelCase_ == 4)) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + workflowLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 4; + onChanged();; + return workflowLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> launchplanLevelBuilder_; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } else { + if (levelCase_ == 5) { + return launchplanLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel( + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder builderForValue) { + if (launchplanLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder mergeLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5 && + level_ != flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.newBuilder((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 5) { + launchplanLevelBuilder_.mergeFrom(value); + } + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder clearLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + } + launchplanLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder getLaunchplanLevelBuilder() { + return getLaunchplanLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if ((levelCase_ == 5) && (launchplanLevelBuilder_ != null)) { + return launchplanLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> + getLaunchplanLevelFieldBuilder() { + if (launchplanLevelBuilder_ == null) { + if (!(levelCase_ == 5)) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + launchplanLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 5; + onChanged();; + return launchplanLevelBuilder_; + } + + private flyteidl.admin.SettingsOuterClass.SettingsCollection settings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> settingsBuilder_; + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public boolean hasSettings() { + return settingsBuilder_ != null || settings_ != null; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection getSettings() { + if (settingsBuilder_ == null) { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } else { + return settingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder setSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + settings_ = value; + onChanged(); + } else { + settingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder setSettings( + flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder builderForValue) { + if (settingsBuilder_ == null) { + settings_ = builderForValue.build(); + onChanged(); + } else { + settingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder mergeSettings(flyteidl.admin.SettingsOuterClass.SettingsCollection value) { + if (settingsBuilder_ == null) { + if (settings_ != null) { + settings_ = + flyteidl.admin.SettingsOuterClass.SettingsCollection.newBuilder(settings_).mergeFrom(value).buildPartial(); + } else { + settings_ = value; + } + onChanged(); + } else { + settingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public Builder clearSettings() { + if (settingsBuilder_ == null) { + settings_ = null; + onChanged(); + } else { + settings_ = null; + settingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder getSettingsBuilder() { + + onChanged(); + return getSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + public flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder getSettingsOrBuilder() { + if (settingsBuilder_ != null) { + return settingsBuilder_.getMessageOrBuilder(); + } else { + return settings_ == null ? + flyteidl.admin.SettingsOuterClass.SettingsCollection.getDefaultInstance() : settings_; + } + } + /** + * .flyteidl.admin.SettingsCollection settings = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder> + getSettingsFieldBuilder() { + if (settingsBuilder_ == null) { + settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.SettingsCollection, flyteidl.admin.SettingsOuterClass.SettingsCollection.Builder, flyteidl.admin.SettingsOuterClass.SettingsCollectionOrBuilder>( + getSettings(), + getParentForChildren(), + isClean()); + settings_ = null; + } + return settingsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.SettingsGetResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsGetResponse) + private static final flyteidl.admin.SettingsOuterClass.SettingsGetResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.SettingsGetResponse(); + } + + public static flyteidl.admin.SettingsOuterClass.SettingsGetResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SettingsGetResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SettingsGetResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsGetResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FullSettingsGetRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.FullSettingsGetRequest) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Defines the full settings get request.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.FullSettingsGetRequest} + */ + public static final class FullSettingsGetRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.FullSettingsGetRequest) + FullSettingsGetRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use FullSettingsGetRequest.newBuilder() to construct. + private FullSettingsGetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FullSettingsGetRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FullSettingsGetRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest.class, flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest other = (flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines the full settings get request.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.FullSettingsGetRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.FullSettingsGetRequest) + flyteidl.admin.SettingsOuterClass.FullSettingsGetRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest.class, flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetRequest_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest build() { + flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest buildPartial() { + flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest result = new flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest other) { + if (other == flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.FullSettingsGetRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsGetRequest) + private static final flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest(); + } + + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FullSettingsGetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FullSettingsGetRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsGetRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FullSettingsGetResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.FullSettingsGetResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.Settings settings = 1; + */ + boolean hasSettings(); + /** + * .flyteidl.admin.Settings settings = 1; + */ + flyteidl.admin.SettingsOuterClass.Settings getSettings(); + /** + * .flyteidl.admin.Settings settings = 1; + */ + flyteidl.admin.SettingsOuterClass.SettingsOrBuilder getSettingsOrBuilder(); + } + /** + *
+   * Returns the full settings.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.FullSettingsGetResponse} + */ + public static final class FullSettingsGetResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.FullSettingsGetResponse) + FullSettingsGetResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use FullSettingsGetResponse.newBuilder() to construct. + private FullSettingsGetResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FullSettingsGetResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FullSettingsGetResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.admin.SettingsOuterClass.Settings.Builder subBuilder = null; + if (settings_ != null) { + subBuilder = settings_.toBuilder(); + } + settings_ = input.readMessage(flyteidl.admin.SettingsOuterClass.Settings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(settings_); + settings_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse.class, flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse.Builder.class); + } + + public static final int SETTINGS_FIELD_NUMBER = 1; + private flyteidl.admin.SettingsOuterClass.Settings settings_; + /** + * .flyteidl.admin.Settings settings = 1; + */ + public boolean hasSettings() { + return settings_ != null; + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + public flyteidl.admin.SettingsOuterClass.Settings getSettings() { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.Settings.getDefaultInstance() : settings_; + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + public flyteidl.admin.SettingsOuterClass.SettingsOrBuilder getSettingsOrBuilder() { + return getSettings(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (settings_ != null) { + output.writeMessage(1, getSettings()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (settings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSettings()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse other = (flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse) obj; + + if (hasSettings() != other.hasSettings()) return false; + if (hasSettings()) { + if (!getSettings() + .equals(other.getSettings())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSettings()) { + hash = (37 * hash) + SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getSettings().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Returns the full settings.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.FullSettingsGetResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.FullSettingsGetResponse) + flyteidl.admin.SettingsOuterClass.FullSettingsGetResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse.class, flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (settingsBuilder_ == null) { + settings_ = null; + } else { + settings_ = null; + settingsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_FullSettingsGetResponse_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse build() { + flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse buildPartial() { + flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse result = new flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse(this); + if (settingsBuilder_ == null) { + result.settings_ = settings_; + } else { + result.settings_ = settingsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse other) { + if (other == flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse.getDefaultInstance()) return this; + if (other.hasSettings()) { + mergeSettings(other.getSettings()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.admin.SettingsOuterClass.Settings settings_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.Settings, flyteidl.admin.SettingsOuterClass.Settings.Builder, flyteidl.admin.SettingsOuterClass.SettingsOrBuilder> settingsBuilder_; + /** + * .flyteidl.admin.Settings settings = 1; + */ + public boolean hasSettings() { + return settingsBuilder_ != null || settings_ != null; + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + public flyteidl.admin.SettingsOuterClass.Settings getSettings() { + if (settingsBuilder_ == null) { + return settings_ == null ? flyteidl.admin.SettingsOuterClass.Settings.getDefaultInstance() : settings_; + } else { + return settingsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + public Builder setSettings(flyteidl.admin.SettingsOuterClass.Settings value) { + if (settingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + settings_ = value; + onChanged(); + } else { + settingsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + public Builder setSettings( + flyteidl.admin.SettingsOuterClass.Settings.Builder builderForValue) { + if (settingsBuilder_ == null) { + settings_ = builderForValue.build(); + onChanged(); + } else { + settingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + public Builder mergeSettings(flyteidl.admin.SettingsOuterClass.Settings value) { + if (settingsBuilder_ == null) { + if (settings_ != null) { + settings_ = + flyteidl.admin.SettingsOuterClass.Settings.newBuilder(settings_).mergeFrom(value).buildPartial(); + } else { + settings_ = value; + } + onChanged(); + } else { + settingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + public Builder clearSettings() { + if (settingsBuilder_ == null) { + settings_ = null; + onChanged(); + } else { + settings_ = null; + settingsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + public flyteidl.admin.SettingsOuterClass.Settings.Builder getSettingsBuilder() { + + onChanged(); + return getSettingsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + public flyteidl.admin.SettingsOuterClass.SettingsOrBuilder getSettingsOrBuilder() { + if (settingsBuilder_ != null) { + return settingsBuilder_.getMessageOrBuilder(); + } else { + return settings_ == null ? + flyteidl.admin.SettingsOuterClass.Settings.getDefaultInstance() : settings_; + } + } + /** + * .flyteidl.admin.Settings settings = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.Settings, flyteidl.admin.SettingsOuterClass.Settings.Builder, flyteidl.admin.SettingsOuterClass.SettingsOrBuilder> + getSettingsFieldBuilder() { + if (settingsBuilder_ == null) { + settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.Settings, flyteidl.admin.SettingsOuterClass.Settings.Builder, flyteidl.admin.SettingsOuterClass.SettingsOrBuilder>( + getSettings(), + getParentForChildren(), + isClean()); + settings_ = null; + } + return settingsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.FullSettingsGetResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsGetResponse) + private static final flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse(); + } + + public static flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FullSettingsGetResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FullSettingsGetResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.FullSettingsGetResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SettingsDeleteRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.SettingsDeleteRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + boolean hasGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel(); + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder(); + + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + boolean hasProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel(); + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder(); + + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + boolean hasDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel(); + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder(); + + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + boolean hasWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel(); + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder(); + + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + boolean hasLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel(); + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder(); + + public flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest.LevelCase getLevelCase(); + } + /** + *
+   * Defines the settings delete request.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsDeleteRequest} + */ + public static final class SettingsDeleteRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.SettingsDeleteRequest) + SettingsDeleteRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SettingsDeleteRequest.newBuilder() to construct. + private SettingsDeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SettingsDeleteRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SettingsDeleteRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder subBuilder = null; + if (levelCase_ == 1) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.GlobalLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 1; + break; + } + case 18: { + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder subBuilder = null; + if (levelCase_ == 2) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.ProjectLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 2; + break; + } + case 26: { + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder subBuilder = null; + if (levelCase_ == 3) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.DomainLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.DomainLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 3; + break; + } + case 34: { + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder subBuilder = null; + if (levelCase_ == 4) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.WorkflowLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 4; + break; + } + case 42: { + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder subBuilder = null; + if (levelCase_ == 5) { + subBuilder = ((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_).toBuilder(); + } + level_ = + input.readMessage(flyteidl.admin.SettingsOuterClass.LaunchplanLevel.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + level_ = subBuilder.buildPartial(); + } + levelCase_ = 5; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest.class, flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest.Builder.class); + } + + private int levelCase_ = 0; + private java.lang.Object level_; + public enum LevelCase + implements com.google.protobuf.Internal.EnumLite { + GLOBAL_LEVEL(1), + PROJECT_LEVEL(2), + DOMAIN_LEVEL(3), + WORKFLOW_LEVEL(4), + LAUNCHPLAN_LEVEL(5), + LEVEL_NOT_SET(0); + private final int value; + private LevelCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static LevelCase valueOf(int value) { + return forNumber(value); + } + + public static LevelCase forNumber(int value) { + switch (value) { + case 1: return GLOBAL_LEVEL; + case 2: return PROJECT_LEVEL; + case 3: return DOMAIN_LEVEL; + case 4: return WORKFLOW_LEVEL; + case 5: return LAUNCHPLAN_LEVEL; + case 0: return LEVEL_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public static final int GLOBAL_LEVEL_FIELD_NUMBER = 1; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + + public static final int PROJECT_LEVEL_FIELD_NUMBER = 2; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + + public static final int DOMAIN_LEVEL_FIELD_NUMBER = 3; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + + public static final int WORKFLOW_LEVEL_FIELD_NUMBER = 4; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + + public static final int LAUNCHPLAN_LEVEL_FIELD_NUMBER = 5; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (levelCase_ == 1) { + output.writeMessage(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + output.writeMessage(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + output.writeMessage(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + output.writeMessage(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + output.writeMessage(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (levelCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_); + } + if (levelCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_); + } + if (levelCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.admin.SettingsOuterClass.DomainLevel) level_); + } + if (levelCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_); + } + if (levelCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest other = (flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest) obj; + + if (!getLevelCase().equals(other.getLevelCase())) return false; + switch (levelCase_) { + case 1: + if (!getGlobalLevel() + .equals(other.getGlobalLevel())) return false; + break; + case 2: + if (!getProjectLevel() + .equals(other.getProjectLevel())) return false; + break; + case 3: + if (!getDomainLevel() + .equals(other.getDomainLevel())) return false; + break; + case 4: + if (!getWorkflowLevel() + .equals(other.getWorkflowLevel())) return false; + break; + case 5: + if (!getLaunchplanLevel() + .equals(other.getLaunchplanLevel())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (levelCase_) { + case 1: + hash = (37 * hash) + GLOBAL_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getGlobalLevel().hashCode(); + break; + case 2: + hash = (37 * hash) + PROJECT_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getProjectLevel().hashCode(); + break; + case 3: + hash = (37 * hash) + DOMAIN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getDomainLevel().hashCode(); + break; + case 4: + hash = (37 * hash) + WORKFLOW_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowLevel().hashCode(); + break; + case 5: + hash = (37 * hash) + LAUNCHPLAN_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLaunchplanLevel().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Defines the settings delete request.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsDeleteRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.SettingsDeleteRequest) + flyteidl.admin.SettingsOuterClass.SettingsDeleteRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest.class, flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + levelCase_ = 0; + level_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteRequest_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest build() { + flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest buildPartial() { + flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest result = new flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest(this); + if (levelCase_ == 1) { + if (globalLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = globalLevelBuilder_.build(); + } + } + if (levelCase_ == 2) { + if (projectLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = projectLevelBuilder_.build(); + } + } + if (levelCase_ == 3) { + if (domainLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = domainLevelBuilder_.build(); + } + } + if (levelCase_ == 4) { + if (workflowLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = workflowLevelBuilder_.build(); + } + } + if (levelCase_ == 5) { + if (launchplanLevelBuilder_ == null) { + result.level_ = level_; + } else { + result.level_ = launchplanLevelBuilder_.build(); + } + } + result.levelCase_ = levelCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest other) { + if (other == flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest.getDefaultInstance()) return this; + switch (other.getLevelCase()) { + case GLOBAL_LEVEL: { + mergeGlobalLevel(other.getGlobalLevel()); + break; + } + case PROJECT_LEVEL: { + mergeProjectLevel(other.getProjectLevel()); + break; + } + case DOMAIN_LEVEL: { + mergeDomainLevel(other.getDomainLevel()); + break; + } + case WORKFLOW_LEVEL: { + mergeWorkflowLevel(other.getWorkflowLevel()); + break; + } + case LAUNCHPLAN_LEVEL: { + mergeLaunchplanLevel(other.getLaunchplanLevel()); + break; + } + case LEVEL_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int levelCase_ = 0; + private java.lang.Object level_; + public LevelCase + getLevelCase() { + return LevelCase.forNumber( + levelCase_); + } + + public Builder clearLevel() { + levelCase_ = 0; + level_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> globalLevelBuilder_; + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public boolean hasGlobalLevel() { + return levelCase_ == 1; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel getGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } else { + if (levelCase_ == 1) { + return globalLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder setGlobalLevel( + flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder builderForValue) { + if (globalLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + globalLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder mergeGlobalLevel(flyteidl.admin.SettingsOuterClass.GlobalLevel value) { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1 && + level_ != flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.newBuilder((flyteidl.admin.SettingsOuterClass.GlobalLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 1) { + globalLevelBuilder_.mergeFrom(value); + } + globalLevelBuilder_.setMessage(value); + } + levelCase_ = 1; + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public Builder clearGlobalLevel() { + if (globalLevelBuilder_ == null) { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 1) { + levelCase_ = 0; + level_ = null; + } + globalLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder getGlobalLevelBuilder() { + return getGlobalLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + public flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder getGlobalLevelOrBuilder() { + if ((levelCase_ == 1) && (globalLevelBuilder_ != null)) { + return globalLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 1) { + return (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.GlobalLevel global_level = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder> + getGlobalLevelFieldBuilder() { + if (globalLevelBuilder_ == null) { + if (!(levelCase_ == 1)) { + level_ = flyteidl.admin.SettingsOuterClass.GlobalLevel.getDefaultInstance(); + } + globalLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.GlobalLevel, flyteidl.admin.SettingsOuterClass.GlobalLevel.Builder, flyteidl.admin.SettingsOuterClass.GlobalLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.GlobalLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 1; + onChanged();; + return globalLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> projectLevelBuilder_; + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public boolean hasProjectLevel() { + return levelCase_ == 2; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel getProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } else { + if (levelCase_ == 2) { + return projectLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder setProjectLevel( + flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder builderForValue) { + if (projectLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + projectLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder mergeProjectLevel(flyteidl.admin.SettingsOuterClass.ProjectLevel value) { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2 && + level_ != flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.newBuilder((flyteidl.admin.SettingsOuterClass.ProjectLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 2) { + projectLevelBuilder_.mergeFrom(value); + } + projectLevelBuilder_.setMessage(value); + } + levelCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public Builder clearProjectLevel() { + if (projectLevelBuilder_ == null) { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 2) { + levelCase_ = 0; + level_ = null; + } + projectLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder getProjectLevelBuilder() { + return getProjectLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + public flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder getProjectLevelOrBuilder() { + if ((levelCase_ == 2) && (projectLevelBuilder_ != null)) { + return projectLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 2) { + return (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ProjectLevel project_level = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder> + getProjectLevelFieldBuilder() { + if (projectLevelBuilder_ == null) { + if (!(levelCase_ == 2)) { + level_ = flyteidl.admin.SettingsOuterClass.ProjectLevel.getDefaultInstance(); + } + projectLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.ProjectLevel, flyteidl.admin.SettingsOuterClass.ProjectLevel.Builder, flyteidl.admin.SettingsOuterClass.ProjectLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.ProjectLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 2; + onChanged();; + return projectLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> domainLevelBuilder_; + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public boolean hasDomainLevel() { + return levelCase_ == 3; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel getDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } else { + if (levelCase_ == 3) { + return domainLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder setDomainLevel( + flyteidl.admin.SettingsOuterClass.DomainLevel.Builder builderForValue) { + if (domainLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + domainLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder mergeDomainLevel(flyteidl.admin.SettingsOuterClass.DomainLevel value) { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3 && + level_ != flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.newBuilder((flyteidl.admin.SettingsOuterClass.DomainLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 3) { + domainLevelBuilder_.mergeFrom(value); + } + domainLevelBuilder_.setMessage(value); + } + levelCase_ = 3; + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public Builder clearDomainLevel() { + if (domainLevelBuilder_ == null) { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 3) { + levelCase_ = 0; + level_ = null; + } + domainLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevel.Builder getDomainLevelBuilder() { + return getDomainLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + public flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder getDomainLevelOrBuilder() { + if ((levelCase_ == 3) && (domainLevelBuilder_ != null)) { + return domainLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 3) { + return (flyteidl.admin.SettingsOuterClass.DomainLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.DomainLevel domain_level = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder> + getDomainLevelFieldBuilder() { + if (domainLevelBuilder_ == null) { + if (!(levelCase_ == 3)) { + level_ = flyteidl.admin.SettingsOuterClass.DomainLevel.getDefaultInstance(); + } + domainLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.DomainLevel, flyteidl.admin.SettingsOuterClass.DomainLevel.Builder, flyteidl.admin.SettingsOuterClass.DomainLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.DomainLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 3; + onChanged();; + return domainLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> workflowLevelBuilder_; + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public boolean hasWorkflowLevel() { + return levelCase_ == 4; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel getWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } else { + if (levelCase_ == 4) { + return workflowLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder setWorkflowLevel( + flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder builderForValue) { + if (workflowLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + workflowLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder mergeWorkflowLevel(flyteidl.admin.SettingsOuterClass.WorkflowLevel value) { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4 && + level_ != flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.newBuilder((flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 4) { + workflowLevelBuilder_.mergeFrom(value); + } + workflowLevelBuilder_.setMessage(value); + } + levelCase_ = 4; + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public Builder clearWorkflowLevel() { + if (workflowLevelBuilder_ == null) { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 4) { + levelCase_ = 0; + level_ = null; + } + workflowLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder getWorkflowLevelBuilder() { + return getWorkflowLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + public flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder getWorkflowLevelOrBuilder() { + if ((levelCase_ == 4) && (workflowLevelBuilder_ != null)) { + return workflowLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 4) { + return (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.WorkflowLevel workflow_level = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder> + getWorkflowLevelFieldBuilder() { + if (workflowLevelBuilder_ == null) { + if (!(levelCase_ == 4)) { + level_ = flyteidl.admin.SettingsOuterClass.WorkflowLevel.getDefaultInstance(); + } + workflowLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.WorkflowLevel, flyteidl.admin.SettingsOuterClass.WorkflowLevel.Builder, flyteidl.admin.SettingsOuterClass.WorkflowLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.WorkflowLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 4; + onChanged();; + return workflowLevelBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> launchplanLevelBuilder_; + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public boolean hasLaunchplanLevel() { + return levelCase_ == 5; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel getLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } else { + if (levelCase_ == 5) { + return launchplanLevelBuilder_.getMessage(); + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + level_ = value; + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder setLaunchplanLevel( + flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder builderForValue) { + if (launchplanLevelBuilder_ == null) { + level_ = builderForValue.build(); + onChanged(); + } else { + launchplanLevelBuilder_.setMessage(builderForValue.build()); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder mergeLaunchplanLevel(flyteidl.admin.SettingsOuterClass.LaunchplanLevel value) { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5 && + level_ != flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance()) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.newBuilder((flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_) + .mergeFrom(value).buildPartial(); + } else { + level_ = value; + } + onChanged(); + } else { + if (levelCase_ == 5) { + launchplanLevelBuilder_.mergeFrom(value); + } + launchplanLevelBuilder_.setMessage(value); + } + levelCase_ = 5; + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public Builder clearLaunchplanLevel() { + if (launchplanLevelBuilder_ == null) { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + onChanged(); + } + } else { + if (levelCase_ == 5) { + levelCase_ = 0; + level_ = null; + } + launchplanLevelBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder getLaunchplanLevelBuilder() { + return getLaunchplanLevelFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + public flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder getLaunchplanLevelOrBuilder() { + if ((levelCase_ == 5) && (launchplanLevelBuilder_ != null)) { + return launchplanLevelBuilder_.getMessageOrBuilder(); + } else { + if (levelCase_ == 5) { + return (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_; + } + return flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.LaunchplanLevel launchplan_level = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder> + getLaunchplanLevelFieldBuilder() { + if (launchplanLevelBuilder_ == null) { + if (!(levelCase_ == 5)) { + level_ = flyteidl.admin.SettingsOuterClass.LaunchplanLevel.getDefaultInstance(); + } + launchplanLevelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.SettingsOuterClass.LaunchplanLevel, flyteidl.admin.SettingsOuterClass.LaunchplanLevel.Builder, flyteidl.admin.SettingsOuterClass.LaunchplanLevelOrBuilder>( + (flyteidl.admin.SettingsOuterClass.LaunchplanLevel) level_, + getParentForChildren(), + isClean()); + level_ = null; + } + levelCase_ = 5; + onChanged();; + return launchplanLevelBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.SettingsDeleteRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsDeleteRequest) + private static final flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest(); + } + + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SettingsDeleteRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SettingsDeleteRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsDeleteRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SettingsDeleteResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.SettingsDeleteResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Purposefully empty, may be populated in the future.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsDeleteResponse} + */ + public static final class SettingsDeleteResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.SettingsDeleteResponse) + SettingsDeleteResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use SettingsDeleteResponse.newBuilder() to construct. + private SettingsDeleteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SettingsDeleteResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SettingsDeleteResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse.class, flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse)) { + return super.equals(obj); + } + flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse other = (flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Purposefully empty, may be populated in the future.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.SettingsDeleteResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.SettingsDeleteResponse) + flyteidl.admin.SettingsOuterClass.SettingsDeleteResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse.class, flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse.Builder.class); + } + + // Construct using flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.SettingsOuterClass.internal_static_flyteidl_admin_SettingsDeleteResponse_descriptor; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse getDefaultInstanceForType() { + return flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse build() { + flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse buildPartial() { + flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse result = new flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse) { + return mergeFrom((flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse other) { + if (other == flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:flyteidl.admin.SettingsDeleteResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsDeleteResponse) + private static final flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse(); + } + + public static flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SettingsDeleteResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SettingsDeleteResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_SettingsCollection_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_SettingsCollection_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_Settings_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_Settings_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_Settings_ProjectSettingsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_Settings_ProjectSettingsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ProjectSettings_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ProjectSettings_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ProjectSettings_DomainSettingsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ProjectSettings_DomainSettingsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_DomainSettings_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_DomainSettings_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_DomainSettings_WorkflowSettingsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_DomainSettings_WorkflowSettingsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowSettings_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowSettings_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowSettings_LaunchplanSettingsEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowSettings_LaunchplanSettingsEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_LaunchplanSettings_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_LaunchplanSettings_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_GlobalLevel_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_GlobalLevel_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ProjectLevel_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ProjectLevel_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_DomainLevel_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_DomainLevel_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowLevel_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowLevel_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_LaunchplanLevel_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_LaunchplanLevel_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_SettingsUpdateRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_SettingsUpdateRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_FullSettingsUpdateRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_FullSettingsUpdateRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_FullSettingsUpdateResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_FullSettingsUpdateResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_SettingsGetRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_SettingsGetRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_SettingsGetResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_SettingsGetResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_FullSettingsGetRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_FullSettingsGetRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_FullSettingsGetResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_FullSettingsGetResponse_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_SettingsDeleteRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_SettingsDeleteRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_SettingsDeleteResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_SettingsDeleteResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\035flyteidl/admin/settings.proto\022\016flyteid" + + "l.admin\032\'flyteidl/admin/matchable_resour" + + "ce.proto\"\324\004\n\022SettingsCollection\022B\n\026task_" + + "resource_settings\030\001 \001(\0132\".flyteidl.admin" + + ".MatchingAttributes\022E\n\031cluster_resource_" + + "settings\030\002 \001(\0132\".flyteidl.admin.Matching" + + "Attributes\022D\n\030execution_queue_settings\030\003" + + " \001(\0132\".flyteidl.admin.MatchingAttributes" + + "\022L\n execution_cluster_label_settings\030\004 \001" + + "(\0132\".flyteidl.admin.MatchingAttributes\022G" + + "\n\033quality_of_service_settings\030\005 \001(\0132\".fl" + + "yteidl.admin.MatchingAttributes\022D\n\030plugi" + + "n_override_settings\030\006 \001(\0132\".flyteidl.adm" + + "in.MatchingAttributes\022G\n\033workflow_execut" + + "ion_settings\030\007 \001(\0132\".flyteidl.admin.Matc" + + "hingAttributes\022G\n\033cluster_assignment_set" + + "tings\030\010 \001(\0132\".flyteidl.admin.MatchingAtt" + + "ributes\"\340\001\n\010Settings\0222\n\006global\030\001 \001(\0132\".f" + + "lyteidl.admin.SettingsCollection\022G\n\020proj" + + "ect_settings\030\002 \003(\0132-.flyteidl.admin.Sett" + + "ings.ProjectSettingsEntry\032W\n\024ProjectSett" + + "ingsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 \001(\0132\037." + + "flyteidl.admin.ProjectSettings:\0028\001\"\375\001\n\017P" + + "rojectSettings\022\017\n\007project\030\001 \001(\t\0224\n\010setti" + + "ngs\030\002 \001(\0132\".flyteidl.admin.SettingsColle" + + "ction\022L\n\017domain_settings\030\003 \003(\01323.flyteid" + + "l.admin.ProjectSettings.DomainSettingsEn" + + "try\032U\n\023DomainSettingsEntry\022\013\n\003key\030\001 \001(\t\022" + + "-\n\005value\030\002 \001(\0132\036.flyteidl.admin.DomainSe" + + "ttings:\0028\001\"\202\002\n\016DomainSettings\022\016\n\006domain\030" + + "\001 \001(\t\0224\n\010settings\030\002 \001(\0132\".flyteidl.admin" + + ".SettingsCollection\022O\n\021workflow_settings" + + "\030\003 \003(\01324.flyteidl.admin.DomainSettings.W" + + "orkflowSettingsEntry\032Y\n\025WorkflowSettings" + + "Entry\022\013\n\003key\030\001 \001(\t\022/\n\005value\030\002 \001(\0132 .flyt" + + "eidl.admin.WorkflowSettings:\0028\001\"\220\002\n\020Work" + + "flowSettings\022\020\n\010workflow\030\001 \001(\t\0224\n\010settin" + + "gs\030\002 \001(\0132\".flyteidl.admin.SettingsCollec" + + "tion\022U\n\023launchplan_settings\030\003 \003(\01328.flyt" + + "eidl.admin.WorkflowSettings.LaunchplanSe" + + "ttingsEntry\032]\n\027LaunchplanSettingsEntry\022\013" + + "\n\003key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".flyteidl.ad" + + "min.LaunchplanSettings:\0028\001\"^\n\022Launchplan" + + "Settings\022\022\n\nlaunchplan\030\001 \001(\t\0224\n\010settings" + + "\030\002 \001(\0132\".flyteidl.admin.SettingsCollecti" + + "on\"\r\n\013GlobalLevel\"\037\n\014ProjectLevel\022\017\n\007pro" + + "ject\030\001 \001(\t\".\n\013DomainLevel\022\017\n\007project\030\001 \001" + + "(\t\022\016\n\006domain\030\002 \001(\t\"B\n\rWorkflowLevel\022\017\n\007p" + + "roject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow" + + "\030\003 \001(\t\"X\n\017LaunchplanLevel\022\017\n\007project\030\001 \001" + + "(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow\030\003 \001(\t\022\022\n\n" + + "launchplan\030\004 \001(\t\"\355\002\n\025SettingsUpdateReque" + + "st\0223\n\014global_level\030\001 \001(\0132\033.flyteidl.admi" + + "n.GlobalLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034" + + ".flyteidl.admin.ProjectLevelH\000\0223\n\014domain" + + "_level\030\003 \001(\0132\033.flyteidl.admin.DomainLeve" + + "lH\000\0227\n\016workflow_level\030\004 \001(\0132\035.flyteidl.a" + + "dmin.WorkflowLevelH\000\022;\n\020launchplan_level" + + "\030\005 \001(\0132\037.flyteidl.admin.LaunchplanLevelH" + + "\000\0224\n\010settings\030\006 \001(\0132\".flyteidl.admin.Set" + + "tingsCollectionB\007\n\005level\"\361\002\n\031FullSetting" + + "sUpdateRequest\0223\n\014global_level\030\001 \001(\0132\033.f" + + "lyteidl.admin.GlobalLevelH\000\0225\n\rproject_l" + + "evel\030\002 \001(\0132\034.flyteidl.admin.ProjectLevel" + + "H\000\0223\n\014domain_level\030\003 \001(\0132\033.flyteidl.admi" + + "n.DomainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132" + + "\035.flyteidl.admin.WorkflowLevelH\000\022;\n\020laun" + + "chplan_level\030\005 \001(\0132\037.flyteidl.admin.Laun" + + "chplanLevelH\000\0224\n\010settings\030\006 \001(\0132\".flytei" + + "dl.admin.SettingsCollectionB\007\n\005level\"\034\n\032" + + "FullSettingsUpdateResponse\"\264\002\n\022SettingsG" + + "etRequest\0223\n\014global_level\030\001 \001(\0132\033.flytei" + + "dl.admin.GlobalLevelH\000\0225\n\rproject_level\030" + + "\002 \001(\0132\034.flyteidl.admin.ProjectLevelH\000\0223\n" + + "\014domain_level\030\003 \001(\0132\033.flyteidl.admin.Dom" + + "ainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132\035.fly" + + "teidl.admin.WorkflowLevelH\000\022;\n\020launchpla" + + "n_level\030\005 \001(\0132\037.flyteidl.admin.Launchpla" + + "nLevelH\000B\007\n\005level\"\353\002\n\023SettingsGetRespons" + + "e\0223\n\014global_level\030\001 \001(\0132\033.flyteidl.admin" + + ".GlobalLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034." + + "flyteidl.admin.ProjectLevelH\000\0223\n\014domain_" + + "level\030\003 \001(\0132\033.flyteidl.admin.DomainLevel" + + "H\000\0227\n\016workflow_level\030\004 \001(\0132\035.flyteidl.ad" + + "min.WorkflowLevelH\000\022;\n\020launchplan_level\030" + + "\005 \001(\0132\037.flyteidl.admin.LaunchplanLevelH\000" + + "\0224\n\010settings\030\006 \001(\0132\".flyteidl.admin.Sett" + + "ingsCollectionB\007\n\005level\"\030\n\026FullSettingsG" + + "etRequest\"E\n\027FullSettingsGetResponse\022*\n\010" + + "settings\030\001 \001(\0132\030.flyteidl.admin.Settings" + + "\"\267\002\n\025SettingsDeleteRequest\0223\n\014global_lev" + + "el\030\001 \001(\0132\033.flyteidl.admin.GlobalLevelH\000\022" + + "5\n\rproject_level\030\002 \001(\0132\034.flyteidl.admin." + + "ProjectLevelH\000\0223\n\014domain_level\030\003 \001(\0132\033.f" + + "lyteidl.admin.DomainLevelH\000\0227\n\016workflow_" + + "level\030\004 \001(\0132\035.flyteidl.admin.WorkflowLev" + + "elH\000\022;\n\020launchplan_level\030\005 \001(\0132\037.flyteid" + + "l.admin.LaunchplanLevelH\000B\007\n\005level\"\030\n\026Se" + + "ttingsDeleteResponseB7Z5github.com/flyte" + + "org/flyteidl/gen/pb-go/flyteidl/adminb\006p" + + "roto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + flyteidl.admin.MatchableResourceOuterClass.getDescriptor(), + }, assigner); + internal_static_flyteidl_admin_SettingsCollection_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_admin_SettingsCollection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_SettingsCollection_descriptor, + new java.lang.String[] { "TaskResourceSettings", "ClusterResourceSettings", "ExecutionQueueSettings", "ExecutionClusterLabelSettings", "QualityOfServiceSettings", "PluginOverrideSettings", "WorkflowExecutionSettings", "ClusterAssignmentSettings", }); + internal_static_flyteidl_admin_Settings_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_admin_Settings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_Settings_descriptor, + new java.lang.String[] { "Global", "ProjectSettings", }); + internal_static_flyteidl_admin_Settings_ProjectSettingsEntry_descriptor = + internal_static_flyteidl_admin_Settings_descriptor.getNestedTypes().get(0); + internal_static_flyteidl_admin_Settings_ProjectSettingsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_Settings_ProjectSettingsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_flyteidl_admin_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_admin_ProjectSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_ProjectSettings_descriptor, + new java.lang.String[] { "Project", "Settings", "DomainSettings", }); + internal_static_flyteidl_admin_ProjectSettings_DomainSettingsEntry_descriptor = + internal_static_flyteidl_admin_ProjectSettings_descriptor.getNestedTypes().get(0); + internal_static_flyteidl_admin_ProjectSettings_DomainSettingsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_ProjectSettings_DomainSettingsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_flyteidl_admin_DomainSettings_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_flyteidl_admin_DomainSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_DomainSettings_descriptor, + new java.lang.String[] { "Domain", "Settings", "WorkflowSettings", }); + internal_static_flyteidl_admin_DomainSettings_WorkflowSettingsEntry_descriptor = + internal_static_flyteidl_admin_DomainSettings_descriptor.getNestedTypes().get(0); + internal_static_flyteidl_admin_DomainSettings_WorkflowSettingsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_DomainSettings_WorkflowSettingsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_flyteidl_admin_WorkflowSettings_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_flyteidl_admin_WorkflowSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_WorkflowSettings_descriptor, + new java.lang.String[] { "Workflow", "Settings", "LaunchplanSettings", }); + internal_static_flyteidl_admin_WorkflowSettings_LaunchplanSettingsEntry_descriptor = + internal_static_flyteidl_admin_WorkflowSettings_descriptor.getNestedTypes().get(0); + internal_static_flyteidl_admin_WorkflowSettings_LaunchplanSettingsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_WorkflowSettings_LaunchplanSettingsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_flyteidl_admin_LaunchplanSettings_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_flyteidl_admin_LaunchplanSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_LaunchplanSettings_descriptor, + new java.lang.String[] { "Launchplan", "Settings", }); + internal_static_flyteidl_admin_GlobalLevel_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_flyteidl_admin_GlobalLevel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_GlobalLevel_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_admin_ProjectLevel_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_flyteidl_admin_ProjectLevel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_ProjectLevel_descriptor, + new java.lang.String[] { "Project", }); + internal_static_flyteidl_admin_DomainLevel_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_flyteidl_admin_DomainLevel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_DomainLevel_descriptor, + new java.lang.String[] { "Project", "Domain", }); + internal_static_flyteidl_admin_WorkflowLevel_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_flyteidl_admin_WorkflowLevel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_WorkflowLevel_descriptor, + new java.lang.String[] { "Project", "Domain", "Workflow", }); + internal_static_flyteidl_admin_LaunchplanLevel_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_flyteidl_admin_LaunchplanLevel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_LaunchplanLevel_descriptor, + new java.lang.String[] { "Project", "Domain", "Workflow", "Launchplan", }); + internal_static_flyteidl_admin_SettingsUpdateRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_flyteidl_admin_SettingsUpdateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_SettingsUpdateRequest_descriptor, + new java.lang.String[] { "GlobalLevel", "ProjectLevel", "DomainLevel", "WorkflowLevel", "LaunchplanLevel", "Settings", "Level", }); + internal_static_flyteidl_admin_FullSettingsUpdateRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_flyteidl_admin_FullSettingsUpdateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_FullSettingsUpdateRequest_descriptor, + new java.lang.String[] { "GlobalLevel", "ProjectLevel", "DomainLevel", "WorkflowLevel", "LaunchplanLevel", "Settings", "Level", }); + internal_static_flyteidl_admin_FullSettingsUpdateResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_flyteidl_admin_FullSettingsUpdateResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_FullSettingsUpdateResponse_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_admin_SettingsGetRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_flyteidl_admin_SettingsGetRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_SettingsGetRequest_descriptor, + new java.lang.String[] { "GlobalLevel", "ProjectLevel", "DomainLevel", "WorkflowLevel", "LaunchplanLevel", "Level", }); + internal_static_flyteidl_admin_SettingsGetResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_flyteidl_admin_SettingsGetResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_SettingsGetResponse_descriptor, + new java.lang.String[] { "GlobalLevel", "ProjectLevel", "DomainLevel", "WorkflowLevel", "LaunchplanLevel", "Settings", "Level", }); + internal_static_flyteidl_admin_FullSettingsGetRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_flyteidl_admin_FullSettingsGetRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_FullSettingsGetRequest_descriptor, + new java.lang.String[] { }); + internal_static_flyteidl_admin_FullSettingsGetResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_flyteidl_admin_FullSettingsGetResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_FullSettingsGetResponse_descriptor, + new java.lang.String[] { "Settings", }); + internal_static_flyteidl_admin_SettingsDeleteRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_flyteidl_admin_SettingsDeleteRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_SettingsDeleteRequest_descriptor, + new java.lang.String[] { "GlobalLevel", "ProjectLevel", "DomainLevel", "WorkflowLevel", "LaunchplanLevel", "Level", }); + internal_static_flyteidl_admin_SettingsDeleteResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_flyteidl_admin_SettingsDeleteResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_SettingsDeleteResponse_descriptor, + new java.lang.String[] { }); + flyteidl.admin.MatchableResourceOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/gen/pb-js/flyteidl.d.ts b/gen/pb-js/flyteidl.d.ts index 53ee28a13..947b51073 100644 --- a/gen/pb-js/flyteidl.d.ts +++ b/gen/pb-js/flyteidl.d.ts @@ -13958,6 +13958,1301 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of a SettingsCollection. */ + interface ISettingsCollection { + + /** SettingsCollection taskResourceSettings */ + taskResourceSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection clusterResourceSettings */ + clusterResourceSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection executionQueueSettings */ + executionQueueSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection executionClusterLabelSettings */ + executionClusterLabelSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection qualityOfServiceSettings */ + qualityOfServiceSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection pluginOverrideSettings */ + pluginOverrideSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection workflowExecutionSettings */ + workflowExecutionSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection clusterAssignmentSettings */ + clusterAssignmentSettings?: (flyteidl.admin.IMatchingAttributes|null); + } + + /** Represents a SettingsCollection. */ + class SettingsCollection implements ISettingsCollection { + + /** + * Constructs a new SettingsCollection. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISettingsCollection); + + /** SettingsCollection taskResourceSettings. */ + public taskResourceSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection clusterResourceSettings. */ + public clusterResourceSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection executionQueueSettings. */ + public executionQueueSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection executionClusterLabelSettings. */ + public executionClusterLabelSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection qualityOfServiceSettings. */ + public qualityOfServiceSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection pluginOverrideSettings. */ + public pluginOverrideSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection workflowExecutionSettings. */ + public workflowExecutionSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** SettingsCollection clusterAssignmentSettings. */ + public clusterAssignmentSettings?: (flyteidl.admin.IMatchingAttributes|null); + + /** + * Creates a new SettingsCollection instance using the specified properties. + * @param [properties] Properties to set + * @returns SettingsCollection instance + */ + public static create(properties?: flyteidl.admin.ISettingsCollection): flyteidl.admin.SettingsCollection; + + /** + * Encodes the specified SettingsCollection message. Does not implicitly {@link flyteidl.admin.SettingsCollection.verify|verify} messages. + * @param message SettingsCollection message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISettingsCollection, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SettingsCollection message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SettingsCollection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SettingsCollection; + + /** + * Verifies a SettingsCollection message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a Settings. */ + interface ISettings { + + /** Settings global */ + global?: (flyteidl.admin.ISettingsCollection|null); + + /** Settings projectSettings */ + projectSettings?: ({ [k: string]: flyteidl.admin.IProjectSettings }|null); + } + + /** Represents a Settings. */ + class Settings implements ISettings { + + /** + * Constructs a new Settings. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISettings); + + /** Settings global. */ + public global?: (flyteidl.admin.ISettingsCollection|null); + + /** Settings projectSettings. */ + public projectSettings: { [k: string]: flyteidl.admin.IProjectSettings }; + + /** + * Creates a new Settings instance using the specified properties. + * @param [properties] Properties to set + * @returns Settings instance + */ + public static create(properties?: flyteidl.admin.ISettings): flyteidl.admin.Settings; + + /** + * Encodes the specified Settings message. Does not implicitly {@link flyteidl.admin.Settings.verify|verify} messages. + * @param message Settings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Settings message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Settings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Settings; + + /** + * Verifies a Settings message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a ProjectSettings. */ + interface IProjectSettings { + + /** ProjectSettings project */ + project?: (string|null); + + /** ProjectSettings settings */ + settings?: (flyteidl.admin.ISettingsCollection|null); + + /** ProjectSettings domainSettings */ + domainSettings?: ({ [k: string]: flyteidl.admin.IDomainSettings }|null); + } + + /** Represents a ProjectSettings. */ + class ProjectSettings implements IProjectSettings { + + /** + * Constructs a new ProjectSettings. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectSettings); + + /** ProjectSettings project. */ + public project: string; + + /** ProjectSettings settings. */ + public settings?: (flyteidl.admin.ISettingsCollection|null); + + /** ProjectSettings domainSettings. */ + public domainSettings: { [k: string]: flyteidl.admin.IDomainSettings }; + + /** + * Creates a new ProjectSettings instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectSettings instance + */ + public static create(properties?: flyteidl.admin.IProjectSettings): flyteidl.admin.ProjectSettings; + + /** + * Encodes the specified ProjectSettings message. Does not implicitly {@link flyteidl.admin.ProjectSettings.verify|verify} messages. + * @param message ProjectSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectSettings message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectSettings; + + /** + * Verifies a ProjectSettings message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a DomainSettings. */ + interface IDomainSettings { + + /** DomainSettings domain */ + domain?: (string|null); + + /** DomainSettings settings */ + settings?: (flyteidl.admin.ISettingsCollection|null); + + /** DomainSettings workflowSettings */ + workflowSettings?: ({ [k: string]: flyteidl.admin.IWorkflowSettings }|null); + } + + /** Represents a DomainSettings. */ + class DomainSettings implements IDomainSettings { + + /** + * Constructs a new DomainSettings. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDomainSettings); + + /** DomainSettings domain. */ + public domain: string; + + /** DomainSettings settings. */ + public settings?: (flyteidl.admin.ISettingsCollection|null); + + /** DomainSettings workflowSettings. */ + public workflowSettings: { [k: string]: flyteidl.admin.IWorkflowSettings }; + + /** + * Creates a new DomainSettings instance using the specified properties. + * @param [properties] Properties to set + * @returns DomainSettings instance + */ + public static create(properties?: flyteidl.admin.IDomainSettings): flyteidl.admin.DomainSettings; + + /** + * Encodes the specified DomainSettings message. Does not implicitly {@link flyteidl.admin.DomainSettings.verify|verify} messages. + * @param message DomainSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDomainSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DomainSettings message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DomainSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DomainSettings; + + /** + * Verifies a DomainSettings message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a WorkflowSettings. */ + interface IWorkflowSettings { + + /** WorkflowSettings workflow */ + workflow?: (string|null); + + /** WorkflowSettings settings */ + settings?: (flyteidl.admin.ISettingsCollection|null); + + /** WorkflowSettings launchplanSettings */ + launchplanSettings?: ({ [k: string]: flyteidl.admin.ILaunchplanSettings }|null); + } + + /** Represents a WorkflowSettings. */ + class WorkflowSettings implements IWorkflowSettings { + + /** + * Constructs a new WorkflowSettings. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowSettings); + + /** WorkflowSettings workflow. */ + public workflow: string; + + /** WorkflowSettings settings. */ + public settings?: (flyteidl.admin.ISettingsCollection|null); + + /** WorkflowSettings launchplanSettings. */ + public launchplanSettings: { [k: string]: flyteidl.admin.ILaunchplanSettings }; + + /** + * Creates a new WorkflowSettings instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowSettings instance + */ + public static create(properties?: flyteidl.admin.IWorkflowSettings): flyteidl.admin.WorkflowSettings; + + /** + * Encodes the specified WorkflowSettings message. Does not implicitly {@link flyteidl.admin.WorkflowSettings.verify|verify} messages. + * @param message WorkflowSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowSettings message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowSettings; + + /** + * Verifies a WorkflowSettings message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a LaunchplanSettings. */ + interface ILaunchplanSettings { + + /** LaunchplanSettings launchplan */ + launchplan?: (string|null); + + /** LaunchplanSettings settings */ + settings?: (flyteidl.admin.ISettingsCollection|null); + } + + /** Represents a LaunchplanSettings. */ + class LaunchplanSettings implements ILaunchplanSettings { + + /** + * Constructs a new LaunchplanSettings. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchplanSettings); + + /** LaunchplanSettings launchplan. */ + public launchplan: string; + + /** LaunchplanSettings settings. */ + public settings?: (flyteidl.admin.ISettingsCollection|null); + + /** + * Creates a new LaunchplanSettings instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchplanSettings instance + */ + public static create(properties?: flyteidl.admin.ILaunchplanSettings): flyteidl.admin.LaunchplanSettings; + + /** + * Encodes the specified LaunchplanSettings message. Does not implicitly {@link flyteidl.admin.LaunchplanSettings.verify|verify} messages. + * @param message LaunchplanSettings message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchplanSettings, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchplanSettings message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchplanSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchplanSettings; + + /** + * Verifies a LaunchplanSettings message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a GlobalLevel. */ + interface IGlobalLevel { + } + + /** Represents a GlobalLevel. */ + class GlobalLevel implements IGlobalLevel { + + /** + * Constructs a new GlobalLevel. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IGlobalLevel); + + /** + * Creates a new GlobalLevel instance using the specified properties. + * @param [properties] Properties to set + * @returns GlobalLevel instance + */ + public static create(properties?: flyteidl.admin.IGlobalLevel): flyteidl.admin.GlobalLevel; + + /** + * Encodes the specified GlobalLevel message. Does not implicitly {@link flyteidl.admin.GlobalLevel.verify|verify} messages. + * @param message GlobalLevel message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IGlobalLevel, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GlobalLevel message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GlobalLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.GlobalLevel; + + /** + * Verifies a GlobalLevel message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a ProjectLevel. */ + interface IProjectLevel { + + /** ProjectLevel project */ + project?: (string|null); + } + + /** Represents a ProjectLevel. */ + class ProjectLevel implements IProjectLevel { + + /** + * Constructs a new ProjectLevel. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectLevel); + + /** ProjectLevel project. */ + public project: string; + + /** + * Creates a new ProjectLevel instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectLevel instance + */ + public static create(properties?: flyteidl.admin.IProjectLevel): flyteidl.admin.ProjectLevel; + + /** + * Encodes the specified ProjectLevel message. Does not implicitly {@link flyteidl.admin.ProjectLevel.verify|verify} messages. + * @param message ProjectLevel message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectLevel, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectLevel message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectLevel; + + /** + * Verifies a ProjectLevel message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a DomainLevel. */ + interface IDomainLevel { + + /** DomainLevel project */ + project?: (string|null); + + /** DomainLevel domain */ + domain?: (string|null); + } + + /** Represents a DomainLevel. */ + class DomainLevel implements IDomainLevel { + + /** + * Constructs a new DomainLevel. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IDomainLevel); + + /** DomainLevel project. */ + public project: string; + + /** DomainLevel domain. */ + public domain: string; + + /** + * Creates a new DomainLevel instance using the specified properties. + * @param [properties] Properties to set + * @returns DomainLevel instance + */ + public static create(properties?: flyteidl.admin.IDomainLevel): flyteidl.admin.DomainLevel; + + /** + * Encodes the specified DomainLevel message. Does not implicitly {@link flyteidl.admin.DomainLevel.verify|verify} messages. + * @param message DomainLevel message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IDomainLevel, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DomainLevel message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DomainLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.DomainLevel; + + /** + * Verifies a DomainLevel message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a WorkflowLevel. */ + interface IWorkflowLevel { + + /** WorkflowLevel project */ + project?: (string|null); + + /** WorkflowLevel domain */ + domain?: (string|null); + + /** WorkflowLevel workflow */ + workflow?: (string|null); + } + + /** Represents a WorkflowLevel. */ + class WorkflowLevel implements IWorkflowLevel { + + /** + * Constructs a new WorkflowLevel. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowLevel); + + /** WorkflowLevel project. */ + public project: string; + + /** WorkflowLevel domain. */ + public domain: string; + + /** WorkflowLevel workflow. */ + public workflow: string; + + /** + * Creates a new WorkflowLevel instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowLevel instance + */ + public static create(properties?: flyteidl.admin.IWorkflowLevel): flyteidl.admin.WorkflowLevel; + + /** + * Encodes the specified WorkflowLevel message. Does not implicitly {@link flyteidl.admin.WorkflowLevel.verify|verify} messages. + * @param message WorkflowLevel message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowLevel, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowLevel message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.WorkflowLevel; + + /** + * Verifies a WorkflowLevel message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a LaunchplanLevel. */ + interface ILaunchplanLevel { + + /** LaunchplanLevel project */ + project?: (string|null); + + /** LaunchplanLevel domain */ + domain?: (string|null); + + /** LaunchplanLevel workflow */ + workflow?: (string|null); + + /** LaunchplanLevel launchplan */ + launchplan?: (string|null); + } + + /** Represents a LaunchplanLevel. */ + class LaunchplanLevel implements ILaunchplanLevel { + + /** + * Constructs a new LaunchplanLevel. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ILaunchplanLevel); + + /** LaunchplanLevel project. */ + public project: string; + + /** LaunchplanLevel domain. */ + public domain: string; + + /** LaunchplanLevel workflow. */ + public workflow: string; + + /** LaunchplanLevel launchplan. */ + public launchplan: string; + + /** + * Creates a new LaunchplanLevel instance using the specified properties. + * @param [properties] Properties to set + * @returns LaunchplanLevel instance + */ + public static create(properties?: flyteidl.admin.ILaunchplanLevel): flyteidl.admin.LaunchplanLevel; + + /** + * Encodes the specified LaunchplanLevel message. Does not implicitly {@link flyteidl.admin.LaunchplanLevel.verify|verify} messages. + * @param message LaunchplanLevel message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ILaunchplanLevel, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a LaunchplanLevel message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns LaunchplanLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.LaunchplanLevel; + + /** + * Verifies a LaunchplanLevel message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a SettingsUpdateRequest. */ + interface ISettingsUpdateRequest { + + /** SettingsUpdateRequest globalLevel */ + globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** SettingsUpdateRequest projectLevel */ + projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** SettingsUpdateRequest domainLevel */ + domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** SettingsUpdateRequest workflowLevel */ + workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** SettingsUpdateRequest launchplanLevel */ + launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + + /** SettingsUpdateRequest settings */ + settings?: (flyteidl.admin.ISettingsCollection|null); + } + + /** Represents a SettingsUpdateRequest. */ + class SettingsUpdateRequest implements ISettingsUpdateRequest { + + /** + * Constructs a new SettingsUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISettingsUpdateRequest); + + /** SettingsUpdateRequest globalLevel. */ + public globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** SettingsUpdateRequest projectLevel. */ + public projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** SettingsUpdateRequest domainLevel. */ + public domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** SettingsUpdateRequest workflowLevel. */ + public workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** SettingsUpdateRequest launchplanLevel. */ + public launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + + /** SettingsUpdateRequest settings. */ + public settings?: (flyteidl.admin.ISettingsCollection|null); + + /** SettingsUpdateRequest level. */ + public level?: ("globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"); + + /** + * Creates a new SettingsUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SettingsUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.ISettingsUpdateRequest): flyteidl.admin.SettingsUpdateRequest; + + /** + * Encodes the specified SettingsUpdateRequest message. Does not implicitly {@link flyteidl.admin.SettingsUpdateRequest.verify|verify} messages. + * @param message SettingsUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISettingsUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SettingsUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SettingsUpdateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SettingsUpdateRequest; + + /** + * Verifies a SettingsUpdateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a FullSettingsUpdateRequest. */ + interface IFullSettingsUpdateRequest { + + /** FullSettingsUpdateRequest globalLevel */ + globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** FullSettingsUpdateRequest projectLevel */ + projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** FullSettingsUpdateRequest domainLevel */ + domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** FullSettingsUpdateRequest workflowLevel */ + workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** FullSettingsUpdateRequest launchplanLevel */ + launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + + /** FullSettingsUpdateRequest settings */ + settings?: (flyteidl.admin.ISettingsCollection|null); + } + + /** Represents a FullSettingsUpdateRequest. */ + class FullSettingsUpdateRequest implements IFullSettingsUpdateRequest { + + /** + * Constructs a new FullSettingsUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IFullSettingsUpdateRequest); + + /** FullSettingsUpdateRequest globalLevel. */ + public globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** FullSettingsUpdateRequest projectLevel. */ + public projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** FullSettingsUpdateRequest domainLevel. */ + public domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** FullSettingsUpdateRequest workflowLevel. */ + public workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** FullSettingsUpdateRequest launchplanLevel. */ + public launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + + /** FullSettingsUpdateRequest settings. */ + public settings?: (flyteidl.admin.ISettingsCollection|null); + + /** FullSettingsUpdateRequest level. */ + public level?: ("globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"); + + /** + * Creates a new FullSettingsUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns FullSettingsUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.IFullSettingsUpdateRequest): flyteidl.admin.FullSettingsUpdateRequest; + + /** + * Encodes the specified FullSettingsUpdateRequest message. Does not implicitly {@link flyteidl.admin.FullSettingsUpdateRequest.verify|verify} messages. + * @param message FullSettingsUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IFullSettingsUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FullSettingsUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FullSettingsUpdateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FullSettingsUpdateRequest; + + /** + * Verifies a FullSettingsUpdateRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a FullSettingsUpdateResponse. */ + interface IFullSettingsUpdateResponse { + } + + /** Represents a FullSettingsUpdateResponse. */ + class FullSettingsUpdateResponse implements IFullSettingsUpdateResponse { + + /** + * Constructs a new FullSettingsUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IFullSettingsUpdateResponse); + + /** + * Creates a new FullSettingsUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns FullSettingsUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.IFullSettingsUpdateResponse): flyteidl.admin.FullSettingsUpdateResponse; + + /** + * Encodes the specified FullSettingsUpdateResponse message. Does not implicitly {@link flyteidl.admin.FullSettingsUpdateResponse.verify|verify} messages. + * @param message FullSettingsUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IFullSettingsUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FullSettingsUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FullSettingsUpdateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FullSettingsUpdateResponse; + + /** + * Verifies a FullSettingsUpdateResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a SettingsGetRequest. */ + interface ISettingsGetRequest { + + /** SettingsGetRequest globalLevel */ + globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** SettingsGetRequest projectLevel */ + projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** SettingsGetRequest domainLevel */ + domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** SettingsGetRequest workflowLevel */ + workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** SettingsGetRequest launchplanLevel */ + launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + } + + /** Represents a SettingsGetRequest. */ + class SettingsGetRequest implements ISettingsGetRequest { + + /** + * Constructs a new SettingsGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISettingsGetRequest); + + /** SettingsGetRequest globalLevel. */ + public globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** SettingsGetRequest projectLevel. */ + public projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** SettingsGetRequest domainLevel. */ + public domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** SettingsGetRequest workflowLevel. */ + public workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** SettingsGetRequest launchplanLevel. */ + public launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + + /** SettingsGetRequest level. */ + public level?: ("globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"); + + /** + * Creates a new SettingsGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SettingsGetRequest instance + */ + public static create(properties?: flyteidl.admin.ISettingsGetRequest): flyteidl.admin.SettingsGetRequest; + + /** + * Encodes the specified SettingsGetRequest message. Does not implicitly {@link flyteidl.admin.SettingsGetRequest.verify|verify} messages. + * @param message SettingsGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISettingsGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SettingsGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SettingsGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SettingsGetRequest; + + /** + * Verifies a SettingsGetRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a SettingsGetResponse. */ + interface ISettingsGetResponse { + + /** SettingsGetResponse globalLevel */ + globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** SettingsGetResponse projectLevel */ + projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** SettingsGetResponse domainLevel */ + domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** SettingsGetResponse workflowLevel */ + workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** SettingsGetResponse launchplanLevel */ + launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + + /** SettingsGetResponse settings */ + settings?: (flyteidl.admin.ISettingsCollection|null); + } + + /** Represents a SettingsGetResponse. */ + class SettingsGetResponse implements ISettingsGetResponse { + + /** + * Constructs a new SettingsGetResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISettingsGetResponse); + + /** SettingsGetResponse globalLevel. */ + public globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** SettingsGetResponse projectLevel. */ + public projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** SettingsGetResponse domainLevel. */ + public domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** SettingsGetResponse workflowLevel. */ + public workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** SettingsGetResponse launchplanLevel. */ + public launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + + /** SettingsGetResponse settings. */ + public settings?: (flyteidl.admin.ISettingsCollection|null); + + /** SettingsGetResponse level. */ + public level?: ("globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"); + + /** + * Creates a new SettingsGetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SettingsGetResponse instance + */ + public static create(properties?: flyteidl.admin.ISettingsGetResponse): flyteidl.admin.SettingsGetResponse; + + /** + * Encodes the specified SettingsGetResponse message. Does not implicitly {@link flyteidl.admin.SettingsGetResponse.verify|verify} messages. + * @param message SettingsGetResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISettingsGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SettingsGetResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SettingsGetResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SettingsGetResponse; + + /** + * Verifies a SettingsGetResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a FullSettingsGetRequest. */ + interface IFullSettingsGetRequest { + } + + /** Represents a FullSettingsGetRequest. */ + class FullSettingsGetRequest implements IFullSettingsGetRequest { + + /** + * Constructs a new FullSettingsGetRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IFullSettingsGetRequest); + + /** + * Creates a new FullSettingsGetRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns FullSettingsGetRequest instance + */ + public static create(properties?: flyteidl.admin.IFullSettingsGetRequest): flyteidl.admin.FullSettingsGetRequest; + + /** + * Encodes the specified FullSettingsGetRequest message. Does not implicitly {@link flyteidl.admin.FullSettingsGetRequest.verify|verify} messages. + * @param message FullSettingsGetRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IFullSettingsGetRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FullSettingsGetRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FullSettingsGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FullSettingsGetRequest; + + /** + * Verifies a FullSettingsGetRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a FullSettingsGetResponse. */ + interface IFullSettingsGetResponse { + + /** FullSettingsGetResponse settings */ + settings?: (flyteidl.admin.ISettings|null); + } + + /** Represents a FullSettingsGetResponse. */ + class FullSettingsGetResponse implements IFullSettingsGetResponse { + + /** + * Constructs a new FullSettingsGetResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IFullSettingsGetResponse); + + /** FullSettingsGetResponse settings. */ + public settings?: (flyteidl.admin.ISettings|null); + + /** + * Creates a new FullSettingsGetResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns FullSettingsGetResponse instance + */ + public static create(properties?: flyteidl.admin.IFullSettingsGetResponse): flyteidl.admin.FullSettingsGetResponse; + + /** + * Encodes the specified FullSettingsGetResponse message. Does not implicitly {@link flyteidl.admin.FullSettingsGetResponse.verify|verify} messages. + * @param message FullSettingsGetResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IFullSettingsGetResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FullSettingsGetResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FullSettingsGetResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.FullSettingsGetResponse; + + /** + * Verifies a FullSettingsGetResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a SettingsDeleteRequest. */ + interface ISettingsDeleteRequest { + + /** SettingsDeleteRequest globalLevel */ + globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** SettingsDeleteRequest projectLevel */ + projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** SettingsDeleteRequest domainLevel */ + domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** SettingsDeleteRequest workflowLevel */ + workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** SettingsDeleteRequest launchplanLevel */ + launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + } + + /** Represents a SettingsDeleteRequest. */ + class SettingsDeleteRequest implements ISettingsDeleteRequest { + + /** + * Constructs a new SettingsDeleteRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISettingsDeleteRequest); + + /** SettingsDeleteRequest globalLevel. */ + public globalLevel?: (flyteidl.admin.IGlobalLevel|null); + + /** SettingsDeleteRequest projectLevel. */ + public projectLevel?: (flyteidl.admin.IProjectLevel|null); + + /** SettingsDeleteRequest domainLevel. */ + public domainLevel?: (flyteidl.admin.IDomainLevel|null); + + /** SettingsDeleteRequest workflowLevel. */ + public workflowLevel?: (flyteidl.admin.IWorkflowLevel|null); + + /** SettingsDeleteRequest launchplanLevel. */ + public launchplanLevel?: (flyteidl.admin.ILaunchplanLevel|null); + + /** SettingsDeleteRequest level. */ + public level?: ("globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"); + + /** + * Creates a new SettingsDeleteRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns SettingsDeleteRequest instance + */ + public static create(properties?: flyteidl.admin.ISettingsDeleteRequest): flyteidl.admin.SettingsDeleteRequest; + + /** + * Encodes the specified SettingsDeleteRequest message. Does not implicitly {@link flyteidl.admin.SettingsDeleteRequest.verify|verify} messages. + * @param message SettingsDeleteRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISettingsDeleteRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SettingsDeleteRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SettingsDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SettingsDeleteRequest; + + /** + * Verifies a SettingsDeleteRequest message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + + /** Properties of a SettingsDeleteResponse. */ + interface ISettingsDeleteResponse { + } + + /** Represents a SettingsDeleteResponse. */ + class SettingsDeleteResponse implements ISettingsDeleteResponse { + + /** + * Constructs a new SettingsDeleteResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ISettingsDeleteResponse); + + /** + * Creates a new SettingsDeleteResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns SettingsDeleteResponse instance + */ + public static create(properties?: flyteidl.admin.ISettingsDeleteResponse): flyteidl.admin.SettingsDeleteResponse; + + /** + * Encodes the specified SettingsDeleteResponse message. Does not implicitly {@link flyteidl.admin.SettingsDeleteResponse.verify|verify} messages. + * @param message SettingsDeleteResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ISettingsDeleteResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SettingsDeleteResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SettingsDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.SettingsDeleteResponse; + + /** + * Verifies a SettingsDeleteResponse message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + } + /** Properties of a TaskCreateRequest. */ interface ITaskCreateRequest { diff --git a/gen/pb-js/flyteidl.js b/gen/pb-js/flyteidl.js index 3c9568e80..06640a42b 100644 --- a/gen/pb-js/flyteidl.js +++ b/gen/pb-js/flyteidl.js @@ -33366,6 +33366,3224 @@ export const flyteidl = $root.flyteidl = (() => { return ProjectDomainAttributesDeleteResponse; })(); + admin.SettingsCollection = (function() { + + /** + * Properties of a SettingsCollection. + * @memberof flyteidl.admin + * @interface ISettingsCollection + * @property {flyteidl.admin.IMatchingAttributes|null} [taskResourceSettings] SettingsCollection taskResourceSettings + * @property {flyteidl.admin.IMatchingAttributes|null} [clusterResourceSettings] SettingsCollection clusterResourceSettings + * @property {flyteidl.admin.IMatchingAttributes|null} [executionQueueSettings] SettingsCollection executionQueueSettings + * @property {flyteidl.admin.IMatchingAttributes|null} [executionClusterLabelSettings] SettingsCollection executionClusterLabelSettings + * @property {flyteidl.admin.IMatchingAttributes|null} [qualityOfServiceSettings] SettingsCollection qualityOfServiceSettings + * @property {flyteidl.admin.IMatchingAttributes|null} [pluginOverrideSettings] SettingsCollection pluginOverrideSettings + * @property {flyteidl.admin.IMatchingAttributes|null} [workflowExecutionSettings] SettingsCollection workflowExecutionSettings + * @property {flyteidl.admin.IMatchingAttributes|null} [clusterAssignmentSettings] SettingsCollection clusterAssignmentSettings + */ + + /** + * Constructs a new SettingsCollection. + * @memberof flyteidl.admin + * @classdesc Represents a SettingsCollection. + * @implements ISettingsCollection + * @constructor + * @param {flyteidl.admin.ISettingsCollection=} [properties] Properties to set + */ + function SettingsCollection(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * SettingsCollection taskResourceSettings. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} taskResourceSettings + * @memberof flyteidl.admin.SettingsCollection + * @instance + */ + SettingsCollection.prototype.taskResourceSettings = null; + + /** + * SettingsCollection clusterResourceSettings. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} clusterResourceSettings + * @memberof flyteidl.admin.SettingsCollection + * @instance + */ + SettingsCollection.prototype.clusterResourceSettings = null; + + /** + * SettingsCollection executionQueueSettings. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} executionQueueSettings + * @memberof flyteidl.admin.SettingsCollection + * @instance + */ + SettingsCollection.prototype.executionQueueSettings = null; + + /** + * SettingsCollection executionClusterLabelSettings. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} executionClusterLabelSettings + * @memberof flyteidl.admin.SettingsCollection + * @instance + */ + SettingsCollection.prototype.executionClusterLabelSettings = null; + + /** + * SettingsCollection qualityOfServiceSettings. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} qualityOfServiceSettings + * @memberof flyteidl.admin.SettingsCollection + * @instance + */ + SettingsCollection.prototype.qualityOfServiceSettings = null; + + /** + * SettingsCollection pluginOverrideSettings. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} pluginOverrideSettings + * @memberof flyteidl.admin.SettingsCollection + * @instance + */ + SettingsCollection.prototype.pluginOverrideSettings = null; + + /** + * SettingsCollection workflowExecutionSettings. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} workflowExecutionSettings + * @memberof flyteidl.admin.SettingsCollection + * @instance + */ + SettingsCollection.prototype.workflowExecutionSettings = null; + + /** + * SettingsCollection clusterAssignmentSettings. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} clusterAssignmentSettings + * @memberof flyteidl.admin.SettingsCollection + * @instance + */ + SettingsCollection.prototype.clusterAssignmentSettings = null; + + /** + * Creates a new SettingsCollection instance using the specified properties. + * @function create + * @memberof flyteidl.admin.SettingsCollection + * @static + * @param {flyteidl.admin.ISettingsCollection=} [properties] Properties to set + * @returns {flyteidl.admin.SettingsCollection} SettingsCollection instance + */ + SettingsCollection.create = function create(properties) { + return new SettingsCollection(properties); + }; + + /** + * Encodes the specified SettingsCollection message. Does not implicitly {@link flyteidl.admin.SettingsCollection.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.SettingsCollection + * @static + * @param {flyteidl.admin.ISettingsCollection} message SettingsCollection message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SettingsCollection.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.taskResourceSettings != null && message.hasOwnProperty("taskResourceSettings")) + $root.flyteidl.admin.MatchingAttributes.encode(message.taskResourceSettings, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.clusterResourceSettings != null && message.hasOwnProperty("clusterResourceSettings")) + $root.flyteidl.admin.MatchingAttributes.encode(message.clusterResourceSettings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.executionQueueSettings != null && message.hasOwnProperty("executionQueueSettings")) + $root.flyteidl.admin.MatchingAttributes.encode(message.executionQueueSettings, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.executionClusterLabelSettings != null && message.hasOwnProperty("executionClusterLabelSettings")) + $root.flyteidl.admin.MatchingAttributes.encode(message.executionClusterLabelSettings, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.qualityOfServiceSettings != null && message.hasOwnProperty("qualityOfServiceSettings")) + $root.flyteidl.admin.MatchingAttributes.encode(message.qualityOfServiceSettings, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.pluginOverrideSettings != null && message.hasOwnProperty("pluginOverrideSettings")) + $root.flyteidl.admin.MatchingAttributes.encode(message.pluginOverrideSettings, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.workflowExecutionSettings != null && message.hasOwnProperty("workflowExecutionSettings")) + $root.flyteidl.admin.MatchingAttributes.encode(message.workflowExecutionSettings, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.clusterAssignmentSettings != null && message.hasOwnProperty("clusterAssignmentSettings")) + $root.flyteidl.admin.MatchingAttributes.encode(message.clusterAssignmentSettings, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a SettingsCollection message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.SettingsCollection + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.SettingsCollection} SettingsCollection + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SettingsCollection.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SettingsCollection(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.taskResourceSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 2: + message.clusterResourceSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 3: + message.executionQueueSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 4: + message.executionClusterLabelSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 5: + message.qualityOfServiceSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 6: + message.pluginOverrideSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 7: + message.workflowExecutionSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + case 8: + message.clusterAssignmentSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a SettingsCollection message. + * @function verify + * @memberof flyteidl.admin.SettingsCollection + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SettingsCollection.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.taskResourceSettings != null && message.hasOwnProperty("taskResourceSettings")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.taskResourceSettings); + if (error) + return "taskResourceSettings." + error; + } + if (message.clusterResourceSettings != null && message.hasOwnProperty("clusterResourceSettings")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.clusterResourceSettings); + if (error) + return "clusterResourceSettings." + error; + } + if (message.executionQueueSettings != null && message.hasOwnProperty("executionQueueSettings")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.executionQueueSettings); + if (error) + return "executionQueueSettings." + error; + } + if (message.executionClusterLabelSettings != null && message.hasOwnProperty("executionClusterLabelSettings")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.executionClusterLabelSettings); + if (error) + return "executionClusterLabelSettings." + error; + } + if (message.qualityOfServiceSettings != null && message.hasOwnProperty("qualityOfServiceSettings")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.qualityOfServiceSettings); + if (error) + return "qualityOfServiceSettings." + error; + } + if (message.pluginOverrideSettings != null && message.hasOwnProperty("pluginOverrideSettings")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.pluginOverrideSettings); + if (error) + return "pluginOverrideSettings." + error; + } + if (message.workflowExecutionSettings != null && message.hasOwnProperty("workflowExecutionSettings")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.workflowExecutionSettings); + if (error) + return "workflowExecutionSettings." + error; + } + if (message.clusterAssignmentSettings != null && message.hasOwnProperty("clusterAssignmentSettings")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.clusterAssignmentSettings); + if (error) + return "clusterAssignmentSettings." + error; + } + return null; + }; + + return SettingsCollection; + })(); + + admin.Settings = (function() { + + /** + * Properties of a Settings. + * @memberof flyteidl.admin + * @interface ISettings + * @property {flyteidl.admin.ISettingsCollection|null} [global] Settings global + * @property {Object.|null} [projectSettings] Settings projectSettings + */ + + /** + * Constructs a new Settings. + * @memberof flyteidl.admin + * @classdesc Represents a Settings. + * @implements ISettings + * @constructor + * @param {flyteidl.admin.ISettings=} [properties] Properties to set + */ + function Settings(properties) { + this.projectSettings = {}; + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Settings global. + * @member {flyteidl.admin.ISettingsCollection|null|undefined} global + * @memberof flyteidl.admin.Settings + * @instance + */ + Settings.prototype.global = null; + + /** + * Settings projectSettings. + * @member {Object.} projectSettings + * @memberof flyteidl.admin.Settings + * @instance + */ + Settings.prototype.projectSettings = $util.emptyObject; + + /** + * Creates a new Settings instance using the specified properties. + * @function create + * @memberof flyteidl.admin.Settings + * @static + * @param {flyteidl.admin.ISettings=} [properties] Properties to set + * @returns {flyteidl.admin.Settings} Settings instance + */ + Settings.create = function create(properties) { + return new Settings(properties); + }; + + /** + * Encodes the specified Settings message. Does not implicitly {@link flyteidl.admin.Settings.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.Settings + * @static + * @param {flyteidl.admin.ISettings} message Settings message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Settings.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.global != null && message.hasOwnProperty("global")) + $root.flyteidl.admin.SettingsCollection.encode(message.global, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.projectSettings != null && message.hasOwnProperty("projectSettings")) + for (let keys = Object.keys(message.projectSettings), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.admin.ProjectSettings.encode(message.projectSettings[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + return writer; + }; + + /** + * Decodes a Settings message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.Settings + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.Settings} Settings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Settings.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Settings(), key; + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.global = $root.flyteidl.admin.SettingsCollection.decode(reader, reader.uint32()); + break; + case 2: + reader.skip().pos++; + if (message.projectSettings === $util.emptyObject) + message.projectSettings = {}; + key = reader.string(); + reader.pos++; + message.projectSettings[key] = $root.flyteidl.admin.ProjectSettings.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Settings message. + * @function verify + * @memberof flyteidl.admin.Settings + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Settings.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.global != null && message.hasOwnProperty("global")) { + let error = $root.flyteidl.admin.SettingsCollection.verify(message.global); + if (error) + return "global." + error; + } + if (message.projectSettings != null && message.hasOwnProperty("projectSettings")) { + if (!$util.isObject(message.projectSettings)) + return "projectSettings: object expected"; + let key = Object.keys(message.projectSettings); + for (let i = 0; i < key.length; ++i) { + let error = $root.flyteidl.admin.ProjectSettings.verify(message.projectSettings[key[i]]); + if (error) + return "projectSettings." + error; + } + } + return null; + }; + + return Settings; + })(); + + admin.ProjectSettings = (function() { + + /** + * Properties of a ProjectSettings. + * @memberof flyteidl.admin + * @interface IProjectSettings + * @property {string|null} [project] ProjectSettings project + * @property {flyteidl.admin.ISettingsCollection|null} [settings] ProjectSettings settings + * @property {Object.|null} [domainSettings] ProjectSettings domainSettings + */ + + /** + * Constructs a new ProjectSettings. + * @memberof flyteidl.admin + * @classdesc Represents a ProjectSettings. + * @implements IProjectSettings + * @constructor + * @param {flyteidl.admin.IProjectSettings=} [properties] Properties to set + */ + function ProjectSettings(properties) { + this.domainSettings = {}; + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * ProjectSettings project. + * @member {string} project + * @memberof flyteidl.admin.ProjectSettings + * @instance + */ + ProjectSettings.prototype.project = ""; + + /** + * ProjectSettings settings. + * @member {flyteidl.admin.ISettingsCollection|null|undefined} settings + * @memberof flyteidl.admin.ProjectSettings + * @instance + */ + ProjectSettings.prototype.settings = null; + + /** + * ProjectSettings domainSettings. + * @member {Object.} domainSettings + * @memberof flyteidl.admin.ProjectSettings + * @instance + */ + ProjectSettings.prototype.domainSettings = $util.emptyObject; + + /** + * Creates a new ProjectSettings instance using the specified properties. + * @function create + * @memberof flyteidl.admin.ProjectSettings + * @static + * @param {flyteidl.admin.IProjectSettings=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectSettings} ProjectSettings instance + */ + ProjectSettings.create = function create(properties) { + return new ProjectSettings(properties); + }; + + /** + * Encodes the specified ProjectSettings message. Does not implicitly {@link flyteidl.admin.ProjectSettings.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.ProjectSettings + * @static + * @param {flyteidl.admin.IProjectSettings} message ProjectSettings message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ProjectSettings.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.settings != null && message.hasOwnProperty("settings")) + $root.flyteidl.admin.SettingsCollection.encode(message.settings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.domainSettings != null && message.hasOwnProperty("domainSettings")) + for (let keys = Object.keys(message.domainSettings), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.admin.DomainSettings.encode(message.domainSettings[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + return writer; + }; + + /** + * Decodes a ProjectSettings message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.ProjectSettings + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.ProjectSettings} ProjectSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ProjectSettings.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectSettings(), key; + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.project = reader.string(); + break; + case 2: + message.settings = $root.flyteidl.admin.SettingsCollection.decode(reader, reader.uint32()); + break; + case 3: + reader.skip().pos++; + if (message.domainSettings === $util.emptyObject) + message.domainSettings = {}; + key = reader.string(); + reader.pos++; + message.domainSettings[key] = $root.flyteidl.admin.DomainSettings.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a ProjectSettings message. + * @function verify + * @memberof flyteidl.admin.ProjectSettings + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ProjectSettings.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.settings != null && message.hasOwnProperty("settings")) { + let error = $root.flyteidl.admin.SettingsCollection.verify(message.settings); + if (error) + return "settings." + error; + } + if (message.domainSettings != null && message.hasOwnProperty("domainSettings")) { + if (!$util.isObject(message.domainSettings)) + return "domainSettings: object expected"; + let key = Object.keys(message.domainSettings); + for (let i = 0; i < key.length; ++i) { + let error = $root.flyteidl.admin.DomainSettings.verify(message.domainSettings[key[i]]); + if (error) + return "domainSettings." + error; + } + } + return null; + }; + + return ProjectSettings; + })(); + + admin.DomainSettings = (function() { + + /** + * Properties of a DomainSettings. + * @memberof flyteidl.admin + * @interface IDomainSettings + * @property {string|null} [domain] DomainSettings domain + * @property {flyteidl.admin.ISettingsCollection|null} [settings] DomainSettings settings + * @property {Object.|null} [workflowSettings] DomainSettings workflowSettings + */ + + /** + * Constructs a new DomainSettings. + * @memberof flyteidl.admin + * @classdesc Represents a DomainSettings. + * @implements IDomainSettings + * @constructor + * @param {flyteidl.admin.IDomainSettings=} [properties] Properties to set + */ + function DomainSettings(properties) { + this.workflowSettings = {}; + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * DomainSettings domain. + * @member {string} domain + * @memberof flyteidl.admin.DomainSettings + * @instance + */ + DomainSettings.prototype.domain = ""; + + /** + * DomainSettings settings. + * @member {flyteidl.admin.ISettingsCollection|null|undefined} settings + * @memberof flyteidl.admin.DomainSettings + * @instance + */ + DomainSettings.prototype.settings = null; + + /** + * DomainSettings workflowSettings. + * @member {Object.} workflowSettings + * @memberof flyteidl.admin.DomainSettings + * @instance + */ + DomainSettings.prototype.workflowSettings = $util.emptyObject; + + /** + * Creates a new DomainSettings instance using the specified properties. + * @function create + * @memberof flyteidl.admin.DomainSettings + * @static + * @param {flyteidl.admin.IDomainSettings=} [properties] Properties to set + * @returns {flyteidl.admin.DomainSettings} DomainSettings instance + */ + DomainSettings.create = function create(properties) { + return new DomainSettings(properties); + }; + + /** + * Encodes the specified DomainSettings message. Does not implicitly {@link flyteidl.admin.DomainSettings.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.DomainSettings + * @static + * @param {flyteidl.admin.IDomainSettings} message DomainSettings message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + DomainSettings.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.domain); + if (message.settings != null && message.hasOwnProperty("settings")) + $root.flyteidl.admin.SettingsCollection.encode(message.settings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.workflowSettings != null && message.hasOwnProperty("workflowSettings")) + for (let keys = Object.keys(message.workflowSettings), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.admin.WorkflowSettings.encode(message.workflowSettings[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + return writer; + }; + + /** + * Decodes a DomainSettings message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.DomainSettings + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.DomainSettings} DomainSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + DomainSettings.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DomainSettings(), key; + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.domain = reader.string(); + break; + case 2: + message.settings = $root.flyteidl.admin.SettingsCollection.decode(reader, reader.uint32()); + break; + case 3: + reader.skip().pos++; + if (message.workflowSettings === $util.emptyObject) + message.workflowSettings = {}; + key = reader.string(); + reader.pos++; + message.workflowSettings[key] = $root.flyteidl.admin.WorkflowSettings.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a DomainSettings message. + * @function verify + * @memberof flyteidl.admin.DomainSettings + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + DomainSettings.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.settings != null && message.hasOwnProperty("settings")) { + let error = $root.flyteidl.admin.SettingsCollection.verify(message.settings); + if (error) + return "settings." + error; + } + if (message.workflowSettings != null && message.hasOwnProperty("workflowSettings")) { + if (!$util.isObject(message.workflowSettings)) + return "workflowSettings: object expected"; + let key = Object.keys(message.workflowSettings); + for (let i = 0; i < key.length; ++i) { + let error = $root.flyteidl.admin.WorkflowSettings.verify(message.workflowSettings[key[i]]); + if (error) + return "workflowSettings." + error; + } + } + return null; + }; + + return DomainSettings; + })(); + + admin.WorkflowSettings = (function() { + + /** + * Properties of a WorkflowSettings. + * @memberof flyteidl.admin + * @interface IWorkflowSettings + * @property {string|null} [workflow] WorkflowSettings workflow + * @property {flyteidl.admin.ISettingsCollection|null} [settings] WorkflowSettings settings + * @property {Object.|null} [launchplanSettings] WorkflowSettings launchplanSettings + */ + + /** + * Constructs a new WorkflowSettings. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowSettings. + * @implements IWorkflowSettings + * @constructor + * @param {flyteidl.admin.IWorkflowSettings=} [properties] Properties to set + */ + function WorkflowSettings(properties) { + this.launchplanSettings = {}; + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * WorkflowSettings workflow. + * @member {string} workflow + * @memberof flyteidl.admin.WorkflowSettings + * @instance + */ + WorkflowSettings.prototype.workflow = ""; + + /** + * WorkflowSettings settings. + * @member {flyteidl.admin.ISettingsCollection|null|undefined} settings + * @memberof flyteidl.admin.WorkflowSettings + * @instance + */ + WorkflowSettings.prototype.settings = null; + + /** + * WorkflowSettings launchplanSettings. + * @member {Object.} launchplanSettings + * @memberof flyteidl.admin.WorkflowSettings + * @instance + */ + WorkflowSettings.prototype.launchplanSettings = $util.emptyObject; + + /** + * Creates a new WorkflowSettings instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowSettings + * @static + * @param {flyteidl.admin.IWorkflowSettings=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowSettings} WorkflowSettings instance + */ + WorkflowSettings.create = function create(properties) { + return new WorkflowSettings(properties); + }; + + /** + * Encodes the specified WorkflowSettings message. Does not implicitly {@link flyteidl.admin.WorkflowSettings.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowSettings + * @static + * @param {flyteidl.admin.IWorkflowSettings} message WorkflowSettings message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WorkflowSettings.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.workflow != null && message.hasOwnProperty("workflow")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.workflow); + if (message.settings != null && message.hasOwnProperty("settings")) + $root.flyteidl.admin.SettingsCollection.encode(message.settings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.launchplanSettings != null && message.hasOwnProperty("launchplanSettings")) + for (let keys = Object.keys(message.launchplanSettings), i = 0; i < keys.length; ++i) { + writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); + $root.flyteidl.admin.LaunchplanSettings.encode(message.launchplanSettings[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + } + return writer; + }; + + /** + * Decodes a WorkflowSettings message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.WorkflowSettings + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.WorkflowSettings} WorkflowSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WorkflowSettings.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowSettings(), key; + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.workflow = reader.string(); + break; + case 2: + message.settings = $root.flyteidl.admin.SettingsCollection.decode(reader, reader.uint32()); + break; + case 3: + reader.skip().pos++; + if (message.launchplanSettings === $util.emptyObject) + message.launchplanSettings = {}; + key = reader.string(); + reader.pos++; + message.launchplanSettings[key] = $root.flyteidl.admin.LaunchplanSettings.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a WorkflowSettings message. + * @function verify + * @memberof flyteidl.admin.WorkflowSettings + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + WorkflowSettings.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.workflow != null && message.hasOwnProperty("workflow")) + if (!$util.isString(message.workflow)) + return "workflow: string expected"; + if (message.settings != null && message.hasOwnProperty("settings")) { + let error = $root.flyteidl.admin.SettingsCollection.verify(message.settings); + if (error) + return "settings." + error; + } + if (message.launchplanSettings != null && message.hasOwnProperty("launchplanSettings")) { + if (!$util.isObject(message.launchplanSettings)) + return "launchplanSettings: object expected"; + let key = Object.keys(message.launchplanSettings); + for (let i = 0; i < key.length; ++i) { + let error = $root.flyteidl.admin.LaunchplanSettings.verify(message.launchplanSettings[key[i]]); + if (error) + return "launchplanSettings." + error; + } + } + return null; + }; + + return WorkflowSettings; + })(); + + admin.LaunchplanSettings = (function() { + + /** + * Properties of a LaunchplanSettings. + * @memberof flyteidl.admin + * @interface ILaunchplanSettings + * @property {string|null} [launchplan] LaunchplanSettings launchplan + * @property {flyteidl.admin.ISettingsCollection|null} [settings] LaunchplanSettings settings + */ + + /** + * Constructs a new LaunchplanSettings. + * @memberof flyteidl.admin + * @classdesc Represents a LaunchplanSettings. + * @implements ILaunchplanSettings + * @constructor + * @param {flyteidl.admin.ILaunchplanSettings=} [properties] Properties to set + */ + function LaunchplanSettings(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * LaunchplanSettings launchplan. + * @member {string} launchplan + * @memberof flyteidl.admin.LaunchplanSettings + * @instance + */ + LaunchplanSettings.prototype.launchplan = ""; + + /** + * LaunchplanSettings settings. + * @member {flyteidl.admin.ISettingsCollection|null|undefined} settings + * @memberof flyteidl.admin.LaunchplanSettings + * @instance + */ + LaunchplanSettings.prototype.settings = null; + + /** + * Creates a new LaunchplanSettings instance using the specified properties. + * @function create + * @memberof flyteidl.admin.LaunchplanSettings + * @static + * @param {flyteidl.admin.ILaunchplanSettings=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchplanSettings} LaunchplanSettings instance + */ + LaunchplanSettings.create = function create(properties) { + return new LaunchplanSettings(properties); + }; + + /** + * Encodes the specified LaunchplanSettings message. Does not implicitly {@link flyteidl.admin.LaunchplanSettings.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.LaunchplanSettings + * @static + * @param {flyteidl.admin.ILaunchplanSettings} message LaunchplanSettings message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + LaunchplanSettings.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.launchplan != null && message.hasOwnProperty("launchplan")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.launchplan); + if (message.settings != null && message.hasOwnProperty("settings")) + $root.flyteidl.admin.SettingsCollection.encode(message.settings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a LaunchplanSettings message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.LaunchplanSettings + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.LaunchplanSettings} LaunchplanSettings + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + LaunchplanSettings.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchplanSettings(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.launchplan = reader.string(); + break; + case 2: + message.settings = $root.flyteidl.admin.SettingsCollection.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a LaunchplanSettings message. + * @function verify + * @memberof flyteidl.admin.LaunchplanSettings + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + LaunchplanSettings.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.launchplan != null && message.hasOwnProperty("launchplan")) + if (!$util.isString(message.launchplan)) + return "launchplan: string expected"; + if (message.settings != null && message.hasOwnProperty("settings")) { + let error = $root.flyteidl.admin.SettingsCollection.verify(message.settings); + if (error) + return "settings." + error; + } + return null; + }; + + return LaunchplanSettings; + })(); + + admin.GlobalLevel = (function() { + + /** + * Properties of a GlobalLevel. + * @memberof flyteidl.admin + * @interface IGlobalLevel + */ + + /** + * Constructs a new GlobalLevel. + * @memberof flyteidl.admin + * @classdesc Represents a GlobalLevel. + * @implements IGlobalLevel + * @constructor + * @param {flyteidl.admin.IGlobalLevel=} [properties] Properties to set + */ + function GlobalLevel(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new GlobalLevel instance using the specified properties. + * @function create + * @memberof flyteidl.admin.GlobalLevel + * @static + * @param {flyteidl.admin.IGlobalLevel=} [properties] Properties to set + * @returns {flyteidl.admin.GlobalLevel} GlobalLevel instance + */ + GlobalLevel.create = function create(properties) { + return new GlobalLevel(properties); + }; + + /** + * Encodes the specified GlobalLevel message. Does not implicitly {@link flyteidl.admin.GlobalLevel.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.GlobalLevel + * @static + * @param {flyteidl.admin.IGlobalLevel} message GlobalLevel message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + GlobalLevel.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + + /** + * Decodes a GlobalLevel message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.GlobalLevel + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.GlobalLevel} GlobalLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + GlobalLevel.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.GlobalLevel(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a GlobalLevel message. + * @function verify + * @memberof flyteidl.admin.GlobalLevel + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + GlobalLevel.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return GlobalLevel; + })(); + + admin.ProjectLevel = (function() { + + /** + * Properties of a ProjectLevel. + * @memberof flyteidl.admin + * @interface IProjectLevel + * @property {string|null} [project] ProjectLevel project + */ + + /** + * Constructs a new ProjectLevel. + * @memberof flyteidl.admin + * @classdesc Represents a ProjectLevel. + * @implements IProjectLevel + * @constructor + * @param {flyteidl.admin.IProjectLevel=} [properties] Properties to set + */ + function ProjectLevel(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * ProjectLevel project. + * @member {string} project + * @memberof flyteidl.admin.ProjectLevel + * @instance + */ + ProjectLevel.prototype.project = ""; + + /** + * Creates a new ProjectLevel instance using the specified properties. + * @function create + * @memberof flyteidl.admin.ProjectLevel + * @static + * @param {flyteidl.admin.IProjectLevel=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectLevel} ProjectLevel instance + */ + ProjectLevel.create = function create(properties) { + return new ProjectLevel(properties); + }; + + /** + * Encodes the specified ProjectLevel message. Does not implicitly {@link flyteidl.admin.ProjectLevel.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.ProjectLevel + * @static + * @param {flyteidl.admin.IProjectLevel} message ProjectLevel message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ProjectLevel.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + return writer; + }; + + /** + * Decodes a ProjectLevel message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.ProjectLevel + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.ProjectLevel} ProjectLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ProjectLevel.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectLevel(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.project = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a ProjectLevel message. + * @function verify + * @memberof flyteidl.admin.ProjectLevel + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ProjectLevel.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + return null; + }; + + return ProjectLevel; + })(); + + admin.DomainLevel = (function() { + + /** + * Properties of a DomainLevel. + * @memberof flyteidl.admin + * @interface IDomainLevel + * @property {string|null} [project] DomainLevel project + * @property {string|null} [domain] DomainLevel domain + */ + + /** + * Constructs a new DomainLevel. + * @memberof flyteidl.admin + * @classdesc Represents a DomainLevel. + * @implements IDomainLevel + * @constructor + * @param {flyteidl.admin.IDomainLevel=} [properties] Properties to set + */ + function DomainLevel(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * DomainLevel project. + * @member {string} project + * @memberof flyteidl.admin.DomainLevel + * @instance + */ + DomainLevel.prototype.project = ""; + + /** + * DomainLevel domain. + * @member {string} domain + * @memberof flyteidl.admin.DomainLevel + * @instance + */ + DomainLevel.prototype.domain = ""; + + /** + * Creates a new DomainLevel instance using the specified properties. + * @function create + * @memberof flyteidl.admin.DomainLevel + * @static + * @param {flyteidl.admin.IDomainLevel=} [properties] Properties to set + * @returns {flyteidl.admin.DomainLevel} DomainLevel instance + */ + DomainLevel.create = function create(properties) { + return new DomainLevel(properties); + }; + + /** + * Encodes the specified DomainLevel message. Does not implicitly {@link flyteidl.admin.DomainLevel.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.DomainLevel + * @static + * @param {flyteidl.admin.IDomainLevel} message DomainLevel message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + DomainLevel.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + return writer; + }; + + /** + * Decodes a DomainLevel message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.DomainLevel + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.DomainLevel} DomainLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + DomainLevel.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.DomainLevel(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a DomainLevel message. + * @function verify + * @memberof flyteidl.admin.DomainLevel + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + DomainLevel.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + return null; + }; + + return DomainLevel; + })(); + + admin.WorkflowLevel = (function() { + + /** + * Properties of a WorkflowLevel. + * @memberof flyteidl.admin + * @interface IWorkflowLevel + * @property {string|null} [project] WorkflowLevel project + * @property {string|null} [domain] WorkflowLevel domain + * @property {string|null} [workflow] WorkflowLevel workflow + */ + + /** + * Constructs a new WorkflowLevel. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowLevel. + * @implements IWorkflowLevel + * @constructor + * @param {flyteidl.admin.IWorkflowLevel=} [properties] Properties to set + */ + function WorkflowLevel(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * WorkflowLevel project. + * @member {string} project + * @memberof flyteidl.admin.WorkflowLevel + * @instance + */ + WorkflowLevel.prototype.project = ""; + + /** + * WorkflowLevel domain. + * @member {string} domain + * @memberof flyteidl.admin.WorkflowLevel + * @instance + */ + WorkflowLevel.prototype.domain = ""; + + /** + * WorkflowLevel workflow. + * @member {string} workflow + * @memberof flyteidl.admin.WorkflowLevel + * @instance + */ + WorkflowLevel.prototype.workflow = ""; + + /** + * Creates a new WorkflowLevel instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowLevel + * @static + * @param {flyteidl.admin.IWorkflowLevel=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowLevel} WorkflowLevel instance + */ + WorkflowLevel.create = function create(properties) { + return new WorkflowLevel(properties); + }; + + /** + * Encodes the specified WorkflowLevel message. Does not implicitly {@link flyteidl.admin.WorkflowLevel.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowLevel + * @static + * @param {flyteidl.admin.IWorkflowLevel} message WorkflowLevel message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WorkflowLevel.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.workflow != null && message.hasOwnProperty("workflow")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.workflow); + return writer; + }; + + /** + * Decodes a WorkflowLevel message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.WorkflowLevel + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.WorkflowLevel} WorkflowLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WorkflowLevel.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowLevel(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 3: + message.workflow = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a WorkflowLevel message. + * @function verify + * @memberof flyteidl.admin.WorkflowLevel + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + WorkflowLevel.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.workflow != null && message.hasOwnProperty("workflow")) + if (!$util.isString(message.workflow)) + return "workflow: string expected"; + return null; + }; + + return WorkflowLevel; + })(); + + admin.LaunchplanLevel = (function() { + + /** + * Properties of a LaunchplanLevel. + * @memberof flyteidl.admin + * @interface ILaunchplanLevel + * @property {string|null} [project] LaunchplanLevel project + * @property {string|null} [domain] LaunchplanLevel domain + * @property {string|null} [workflow] LaunchplanLevel workflow + * @property {string|null} [launchplan] LaunchplanLevel launchplan + */ + + /** + * Constructs a new LaunchplanLevel. + * @memberof flyteidl.admin + * @classdesc Represents a LaunchplanLevel. + * @implements ILaunchplanLevel + * @constructor + * @param {flyteidl.admin.ILaunchplanLevel=} [properties] Properties to set + */ + function LaunchplanLevel(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * LaunchplanLevel project. + * @member {string} project + * @memberof flyteidl.admin.LaunchplanLevel + * @instance + */ + LaunchplanLevel.prototype.project = ""; + + /** + * LaunchplanLevel domain. + * @member {string} domain + * @memberof flyteidl.admin.LaunchplanLevel + * @instance + */ + LaunchplanLevel.prototype.domain = ""; + + /** + * LaunchplanLevel workflow. + * @member {string} workflow + * @memberof flyteidl.admin.LaunchplanLevel + * @instance + */ + LaunchplanLevel.prototype.workflow = ""; + + /** + * LaunchplanLevel launchplan. + * @member {string} launchplan + * @memberof flyteidl.admin.LaunchplanLevel + * @instance + */ + LaunchplanLevel.prototype.launchplan = ""; + + /** + * Creates a new LaunchplanLevel instance using the specified properties. + * @function create + * @memberof flyteidl.admin.LaunchplanLevel + * @static + * @param {flyteidl.admin.ILaunchplanLevel=} [properties] Properties to set + * @returns {flyteidl.admin.LaunchplanLevel} LaunchplanLevel instance + */ + LaunchplanLevel.create = function create(properties) { + return new LaunchplanLevel(properties); + }; + + /** + * Encodes the specified LaunchplanLevel message. Does not implicitly {@link flyteidl.admin.LaunchplanLevel.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.LaunchplanLevel + * @static + * @param {flyteidl.admin.ILaunchplanLevel} message LaunchplanLevel message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + LaunchplanLevel.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.domain != null && message.hasOwnProperty("domain")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain); + if (message.workflow != null && message.hasOwnProperty("workflow")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.workflow); + if (message.launchplan != null && message.hasOwnProperty("launchplan")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.launchplan); + return writer; + }; + + /** + * Decodes a LaunchplanLevel message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.LaunchplanLevel + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.LaunchplanLevel} LaunchplanLevel + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + LaunchplanLevel.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.LaunchplanLevel(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.project = reader.string(); + break; + case 2: + message.domain = reader.string(); + break; + case 3: + message.workflow = reader.string(); + break; + case 4: + message.launchplan = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a LaunchplanLevel message. + * @function verify + * @memberof flyteidl.admin.LaunchplanLevel + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + LaunchplanLevel.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.domain != null && message.hasOwnProperty("domain")) + if (!$util.isString(message.domain)) + return "domain: string expected"; + if (message.workflow != null && message.hasOwnProperty("workflow")) + if (!$util.isString(message.workflow)) + return "workflow: string expected"; + if (message.launchplan != null && message.hasOwnProperty("launchplan")) + if (!$util.isString(message.launchplan)) + return "launchplan: string expected"; + return null; + }; + + return LaunchplanLevel; + })(); + + admin.SettingsUpdateRequest = (function() { + + /** + * Properties of a SettingsUpdateRequest. + * @memberof flyteidl.admin + * @interface ISettingsUpdateRequest + * @property {flyteidl.admin.IGlobalLevel|null} [globalLevel] SettingsUpdateRequest globalLevel + * @property {flyteidl.admin.IProjectLevel|null} [projectLevel] SettingsUpdateRequest projectLevel + * @property {flyteidl.admin.IDomainLevel|null} [domainLevel] SettingsUpdateRequest domainLevel + * @property {flyteidl.admin.IWorkflowLevel|null} [workflowLevel] SettingsUpdateRequest workflowLevel + * @property {flyteidl.admin.ILaunchplanLevel|null} [launchplanLevel] SettingsUpdateRequest launchplanLevel + * @property {flyteidl.admin.ISettingsCollection|null} [settings] SettingsUpdateRequest settings + */ + + /** + * Constructs a new SettingsUpdateRequest. + * @memberof flyteidl.admin + * @classdesc Represents a SettingsUpdateRequest. + * @implements ISettingsUpdateRequest + * @constructor + * @param {flyteidl.admin.ISettingsUpdateRequest=} [properties] Properties to set + */ + function SettingsUpdateRequest(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * SettingsUpdateRequest globalLevel. + * @member {flyteidl.admin.IGlobalLevel|null|undefined} globalLevel + * @memberof flyteidl.admin.SettingsUpdateRequest + * @instance + */ + SettingsUpdateRequest.prototype.globalLevel = null; + + /** + * SettingsUpdateRequest projectLevel. + * @member {flyteidl.admin.IProjectLevel|null|undefined} projectLevel + * @memberof flyteidl.admin.SettingsUpdateRequest + * @instance + */ + SettingsUpdateRequest.prototype.projectLevel = null; + + /** + * SettingsUpdateRequest domainLevel. + * @member {flyteidl.admin.IDomainLevel|null|undefined} domainLevel + * @memberof flyteidl.admin.SettingsUpdateRequest + * @instance + */ + SettingsUpdateRequest.prototype.domainLevel = null; + + /** + * SettingsUpdateRequest workflowLevel. + * @member {flyteidl.admin.IWorkflowLevel|null|undefined} workflowLevel + * @memberof flyteidl.admin.SettingsUpdateRequest + * @instance + */ + SettingsUpdateRequest.prototype.workflowLevel = null; + + /** + * SettingsUpdateRequest launchplanLevel. + * @member {flyteidl.admin.ILaunchplanLevel|null|undefined} launchplanLevel + * @memberof flyteidl.admin.SettingsUpdateRequest + * @instance + */ + SettingsUpdateRequest.prototype.launchplanLevel = null; + + /** + * SettingsUpdateRequest settings. + * @member {flyteidl.admin.ISettingsCollection|null|undefined} settings + * @memberof flyteidl.admin.SettingsUpdateRequest + * @instance + */ + SettingsUpdateRequest.prototype.settings = null; + + // OneOf field names bound to virtual getters and setters + let $oneOfFields; + + /** + * SettingsUpdateRequest level. + * @member {"globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"|undefined} level + * @memberof flyteidl.admin.SettingsUpdateRequest + * @instance + */ + Object.defineProperty(SettingsUpdateRequest.prototype, "level", { + get: $util.oneOfGetter($oneOfFields = ["globalLevel", "projectLevel", "domainLevel", "workflowLevel", "launchplanLevel"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new SettingsUpdateRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.SettingsUpdateRequest + * @static + * @param {flyteidl.admin.ISettingsUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.SettingsUpdateRequest} SettingsUpdateRequest instance + */ + SettingsUpdateRequest.create = function create(properties) { + return new SettingsUpdateRequest(properties); + }; + + /** + * Encodes the specified SettingsUpdateRequest message. Does not implicitly {@link flyteidl.admin.SettingsUpdateRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.SettingsUpdateRequest + * @static + * @param {flyteidl.admin.ISettingsUpdateRequest} message SettingsUpdateRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SettingsUpdateRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) + $root.flyteidl.admin.GlobalLevel.encode(message.globalLevel, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) + $root.flyteidl.admin.ProjectLevel.encode(message.projectLevel, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) + $root.flyteidl.admin.DomainLevel.encode(message.domainLevel, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) + $root.flyteidl.admin.WorkflowLevel.encode(message.workflowLevel, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) + $root.flyteidl.admin.LaunchplanLevel.encode(message.launchplanLevel, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.settings != null && message.hasOwnProperty("settings")) + $root.flyteidl.admin.SettingsCollection.encode(message.settings, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a SettingsUpdateRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.SettingsUpdateRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.SettingsUpdateRequest} SettingsUpdateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SettingsUpdateRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SettingsUpdateRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.globalLevel = $root.flyteidl.admin.GlobalLevel.decode(reader, reader.uint32()); + break; + case 2: + message.projectLevel = $root.flyteidl.admin.ProjectLevel.decode(reader, reader.uint32()); + break; + case 3: + message.domainLevel = $root.flyteidl.admin.DomainLevel.decode(reader, reader.uint32()); + break; + case 4: + message.workflowLevel = $root.flyteidl.admin.WorkflowLevel.decode(reader, reader.uint32()); + break; + case 5: + message.launchplanLevel = $root.flyteidl.admin.LaunchplanLevel.decode(reader, reader.uint32()); + break; + case 6: + message.settings = $root.flyteidl.admin.SettingsCollection.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a SettingsUpdateRequest message. + * @function verify + * @memberof flyteidl.admin.SettingsUpdateRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SettingsUpdateRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + let properties = {}; + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) { + properties.level = 1; + { + let error = $root.flyteidl.admin.GlobalLevel.verify(message.globalLevel); + if (error) + return "globalLevel." + error; + } + } + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.ProjectLevel.verify(message.projectLevel); + if (error) + return "projectLevel." + error; + } + } + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.DomainLevel.verify(message.domainLevel); + if (error) + return "domainLevel." + error; + } + } + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.WorkflowLevel.verify(message.workflowLevel); + if (error) + return "workflowLevel." + error; + } + } + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.LaunchplanLevel.verify(message.launchplanLevel); + if (error) + return "launchplanLevel." + error; + } + } + if (message.settings != null && message.hasOwnProperty("settings")) { + let error = $root.flyteidl.admin.SettingsCollection.verify(message.settings); + if (error) + return "settings." + error; + } + return null; + }; + + return SettingsUpdateRequest; + })(); + + admin.FullSettingsUpdateRequest = (function() { + + /** + * Properties of a FullSettingsUpdateRequest. + * @memberof flyteidl.admin + * @interface IFullSettingsUpdateRequest + * @property {flyteidl.admin.IGlobalLevel|null} [globalLevel] FullSettingsUpdateRequest globalLevel + * @property {flyteidl.admin.IProjectLevel|null} [projectLevel] FullSettingsUpdateRequest projectLevel + * @property {flyteidl.admin.IDomainLevel|null} [domainLevel] FullSettingsUpdateRequest domainLevel + * @property {flyteidl.admin.IWorkflowLevel|null} [workflowLevel] FullSettingsUpdateRequest workflowLevel + * @property {flyteidl.admin.ILaunchplanLevel|null} [launchplanLevel] FullSettingsUpdateRequest launchplanLevel + * @property {flyteidl.admin.ISettingsCollection|null} [settings] FullSettingsUpdateRequest settings + */ + + /** + * Constructs a new FullSettingsUpdateRequest. + * @memberof flyteidl.admin + * @classdesc Represents a FullSettingsUpdateRequest. + * @implements IFullSettingsUpdateRequest + * @constructor + * @param {flyteidl.admin.IFullSettingsUpdateRequest=} [properties] Properties to set + */ + function FullSettingsUpdateRequest(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * FullSettingsUpdateRequest globalLevel. + * @member {flyteidl.admin.IGlobalLevel|null|undefined} globalLevel + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @instance + */ + FullSettingsUpdateRequest.prototype.globalLevel = null; + + /** + * FullSettingsUpdateRequest projectLevel. + * @member {flyteidl.admin.IProjectLevel|null|undefined} projectLevel + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @instance + */ + FullSettingsUpdateRequest.prototype.projectLevel = null; + + /** + * FullSettingsUpdateRequest domainLevel. + * @member {flyteidl.admin.IDomainLevel|null|undefined} domainLevel + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @instance + */ + FullSettingsUpdateRequest.prototype.domainLevel = null; + + /** + * FullSettingsUpdateRequest workflowLevel. + * @member {flyteidl.admin.IWorkflowLevel|null|undefined} workflowLevel + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @instance + */ + FullSettingsUpdateRequest.prototype.workflowLevel = null; + + /** + * FullSettingsUpdateRequest launchplanLevel. + * @member {flyteidl.admin.ILaunchplanLevel|null|undefined} launchplanLevel + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @instance + */ + FullSettingsUpdateRequest.prototype.launchplanLevel = null; + + /** + * FullSettingsUpdateRequest settings. + * @member {flyteidl.admin.ISettingsCollection|null|undefined} settings + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @instance + */ + FullSettingsUpdateRequest.prototype.settings = null; + + // OneOf field names bound to virtual getters and setters + let $oneOfFields; + + /** + * FullSettingsUpdateRequest level. + * @member {"globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"|undefined} level + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @instance + */ + Object.defineProperty(FullSettingsUpdateRequest.prototype, "level", { + get: $util.oneOfGetter($oneOfFields = ["globalLevel", "projectLevel", "domainLevel", "workflowLevel", "launchplanLevel"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new FullSettingsUpdateRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @static + * @param {flyteidl.admin.IFullSettingsUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.FullSettingsUpdateRequest} FullSettingsUpdateRequest instance + */ + FullSettingsUpdateRequest.create = function create(properties) { + return new FullSettingsUpdateRequest(properties); + }; + + /** + * Encodes the specified FullSettingsUpdateRequest message. Does not implicitly {@link flyteidl.admin.FullSettingsUpdateRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @static + * @param {flyteidl.admin.IFullSettingsUpdateRequest} message FullSettingsUpdateRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FullSettingsUpdateRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) + $root.flyteidl.admin.GlobalLevel.encode(message.globalLevel, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) + $root.flyteidl.admin.ProjectLevel.encode(message.projectLevel, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) + $root.flyteidl.admin.DomainLevel.encode(message.domainLevel, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) + $root.flyteidl.admin.WorkflowLevel.encode(message.workflowLevel, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) + $root.flyteidl.admin.LaunchplanLevel.encode(message.launchplanLevel, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.settings != null && message.hasOwnProperty("settings")) + $root.flyteidl.admin.SettingsCollection.encode(message.settings, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a FullSettingsUpdateRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.FullSettingsUpdateRequest} FullSettingsUpdateRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FullSettingsUpdateRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FullSettingsUpdateRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.globalLevel = $root.flyteidl.admin.GlobalLevel.decode(reader, reader.uint32()); + break; + case 2: + message.projectLevel = $root.flyteidl.admin.ProjectLevel.decode(reader, reader.uint32()); + break; + case 3: + message.domainLevel = $root.flyteidl.admin.DomainLevel.decode(reader, reader.uint32()); + break; + case 4: + message.workflowLevel = $root.flyteidl.admin.WorkflowLevel.decode(reader, reader.uint32()); + break; + case 5: + message.launchplanLevel = $root.flyteidl.admin.LaunchplanLevel.decode(reader, reader.uint32()); + break; + case 6: + message.settings = $root.flyteidl.admin.SettingsCollection.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a FullSettingsUpdateRequest message. + * @function verify + * @memberof flyteidl.admin.FullSettingsUpdateRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FullSettingsUpdateRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + let properties = {}; + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) { + properties.level = 1; + { + let error = $root.flyteidl.admin.GlobalLevel.verify(message.globalLevel); + if (error) + return "globalLevel." + error; + } + } + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.ProjectLevel.verify(message.projectLevel); + if (error) + return "projectLevel." + error; + } + } + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.DomainLevel.verify(message.domainLevel); + if (error) + return "domainLevel." + error; + } + } + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.WorkflowLevel.verify(message.workflowLevel); + if (error) + return "workflowLevel." + error; + } + } + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.LaunchplanLevel.verify(message.launchplanLevel); + if (error) + return "launchplanLevel." + error; + } + } + if (message.settings != null && message.hasOwnProperty("settings")) { + let error = $root.flyteidl.admin.SettingsCollection.verify(message.settings); + if (error) + return "settings." + error; + } + return null; + }; + + return FullSettingsUpdateRequest; + })(); + + admin.FullSettingsUpdateResponse = (function() { + + /** + * Properties of a FullSettingsUpdateResponse. + * @memberof flyteidl.admin + * @interface IFullSettingsUpdateResponse + */ + + /** + * Constructs a new FullSettingsUpdateResponse. + * @memberof flyteidl.admin + * @classdesc Represents a FullSettingsUpdateResponse. + * @implements IFullSettingsUpdateResponse + * @constructor + * @param {flyteidl.admin.IFullSettingsUpdateResponse=} [properties] Properties to set + */ + function FullSettingsUpdateResponse(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new FullSettingsUpdateResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.FullSettingsUpdateResponse + * @static + * @param {flyteidl.admin.IFullSettingsUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.FullSettingsUpdateResponse} FullSettingsUpdateResponse instance + */ + FullSettingsUpdateResponse.create = function create(properties) { + return new FullSettingsUpdateResponse(properties); + }; + + /** + * Encodes the specified FullSettingsUpdateResponse message. Does not implicitly {@link flyteidl.admin.FullSettingsUpdateResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.FullSettingsUpdateResponse + * @static + * @param {flyteidl.admin.IFullSettingsUpdateResponse} message FullSettingsUpdateResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FullSettingsUpdateResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + + /** + * Decodes a FullSettingsUpdateResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.FullSettingsUpdateResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.FullSettingsUpdateResponse} FullSettingsUpdateResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FullSettingsUpdateResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FullSettingsUpdateResponse(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a FullSettingsUpdateResponse message. + * @function verify + * @memberof flyteidl.admin.FullSettingsUpdateResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FullSettingsUpdateResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return FullSettingsUpdateResponse; + })(); + + admin.SettingsGetRequest = (function() { + + /** + * Properties of a SettingsGetRequest. + * @memberof flyteidl.admin + * @interface ISettingsGetRequest + * @property {flyteidl.admin.IGlobalLevel|null} [globalLevel] SettingsGetRequest globalLevel + * @property {flyteidl.admin.IProjectLevel|null} [projectLevel] SettingsGetRequest projectLevel + * @property {flyteidl.admin.IDomainLevel|null} [domainLevel] SettingsGetRequest domainLevel + * @property {flyteidl.admin.IWorkflowLevel|null} [workflowLevel] SettingsGetRequest workflowLevel + * @property {flyteidl.admin.ILaunchplanLevel|null} [launchplanLevel] SettingsGetRequest launchplanLevel + */ + + /** + * Constructs a new SettingsGetRequest. + * @memberof flyteidl.admin + * @classdesc Represents a SettingsGetRequest. + * @implements ISettingsGetRequest + * @constructor + * @param {flyteidl.admin.ISettingsGetRequest=} [properties] Properties to set + */ + function SettingsGetRequest(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * SettingsGetRequest globalLevel. + * @member {flyteidl.admin.IGlobalLevel|null|undefined} globalLevel + * @memberof flyteidl.admin.SettingsGetRequest + * @instance + */ + SettingsGetRequest.prototype.globalLevel = null; + + /** + * SettingsGetRequest projectLevel. + * @member {flyteidl.admin.IProjectLevel|null|undefined} projectLevel + * @memberof flyteidl.admin.SettingsGetRequest + * @instance + */ + SettingsGetRequest.prototype.projectLevel = null; + + /** + * SettingsGetRequest domainLevel. + * @member {flyteidl.admin.IDomainLevel|null|undefined} domainLevel + * @memberof flyteidl.admin.SettingsGetRequest + * @instance + */ + SettingsGetRequest.prototype.domainLevel = null; + + /** + * SettingsGetRequest workflowLevel. + * @member {flyteidl.admin.IWorkflowLevel|null|undefined} workflowLevel + * @memberof flyteidl.admin.SettingsGetRequest + * @instance + */ + SettingsGetRequest.prototype.workflowLevel = null; + + /** + * SettingsGetRequest launchplanLevel. + * @member {flyteidl.admin.ILaunchplanLevel|null|undefined} launchplanLevel + * @memberof flyteidl.admin.SettingsGetRequest + * @instance + */ + SettingsGetRequest.prototype.launchplanLevel = null; + + // OneOf field names bound to virtual getters and setters + let $oneOfFields; + + /** + * SettingsGetRequest level. + * @member {"globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"|undefined} level + * @memberof flyteidl.admin.SettingsGetRequest + * @instance + */ + Object.defineProperty(SettingsGetRequest.prototype, "level", { + get: $util.oneOfGetter($oneOfFields = ["globalLevel", "projectLevel", "domainLevel", "workflowLevel", "launchplanLevel"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new SettingsGetRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.SettingsGetRequest + * @static + * @param {flyteidl.admin.ISettingsGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.SettingsGetRequest} SettingsGetRequest instance + */ + SettingsGetRequest.create = function create(properties) { + return new SettingsGetRequest(properties); + }; + + /** + * Encodes the specified SettingsGetRequest message. Does not implicitly {@link flyteidl.admin.SettingsGetRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.SettingsGetRequest + * @static + * @param {flyteidl.admin.ISettingsGetRequest} message SettingsGetRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SettingsGetRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) + $root.flyteidl.admin.GlobalLevel.encode(message.globalLevel, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) + $root.flyteidl.admin.ProjectLevel.encode(message.projectLevel, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) + $root.flyteidl.admin.DomainLevel.encode(message.domainLevel, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) + $root.flyteidl.admin.WorkflowLevel.encode(message.workflowLevel, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) + $root.flyteidl.admin.LaunchplanLevel.encode(message.launchplanLevel, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a SettingsGetRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.SettingsGetRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.SettingsGetRequest} SettingsGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SettingsGetRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SettingsGetRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.globalLevel = $root.flyteidl.admin.GlobalLevel.decode(reader, reader.uint32()); + break; + case 2: + message.projectLevel = $root.flyteidl.admin.ProjectLevel.decode(reader, reader.uint32()); + break; + case 3: + message.domainLevel = $root.flyteidl.admin.DomainLevel.decode(reader, reader.uint32()); + break; + case 4: + message.workflowLevel = $root.flyteidl.admin.WorkflowLevel.decode(reader, reader.uint32()); + break; + case 5: + message.launchplanLevel = $root.flyteidl.admin.LaunchplanLevel.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a SettingsGetRequest message. + * @function verify + * @memberof flyteidl.admin.SettingsGetRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SettingsGetRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + let properties = {}; + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) { + properties.level = 1; + { + let error = $root.flyteidl.admin.GlobalLevel.verify(message.globalLevel); + if (error) + return "globalLevel." + error; + } + } + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.ProjectLevel.verify(message.projectLevel); + if (error) + return "projectLevel." + error; + } + } + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.DomainLevel.verify(message.domainLevel); + if (error) + return "domainLevel." + error; + } + } + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.WorkflowLevel.verify(message.workflowLevel); + if (error) + return "workflowLevel." + error; + } + } + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.LaunchplanLevel.verify(message.launchplanLevel); + if (error) + return "launchplanLevel." + error; + } + } + return null; + }; + + return SettingsGetRequest; + })(); + + admin.SettingsGetResponse = (function() { + + /** + * Properties of a SettingsGetResponse. + * @memberof flyteidl.admin + * @interface ISettingsGetResponse + * @property {flyteidl.admin.IGlobalLevel|null} [globalLevel] SettingsGetResponse globalLevel + * @property {flyteidl.admin.IProjectLevel|null} [projectLevel] SettingsGetResponse projectLevel + * @property {flyteidl.admin.IDomainLevel|null} [domainLevel] SettingsGetResponse domainLevel + * @property {flyteidl.admin.IWorkflowLevel|null} [workflowLevel] SettingsGetResponse workflowLevel + * @property {flyteidl.admin.ILaunchplanLevel|null} [launchplanLevel] SettingsGetResponse launchplanLevel + * @property {flyteidl.admin.ISettingsCollection|null} [settings] SettingsGetResponse settings + */ + + /** + * Constructs a new SettingsGetResponse. + * @memberof flyteidl.admin + * @classdesc Represents a SettingsGetResponse. + * @implements ISettingsGetResponse + * @constructor + * @param {flyteidl.admin.ISettingsGetResponse=} [properties] Properties to set + */ + function SettingsGetResponse(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * SettingsGetResponse globalLevel. + * @member {flyteidl.admin.IGlobalLevel|null|undefined} globalLevel + * @memberof flyteidl.admin.SettingsGetResponse + * @instance + */ + SettingsGetResponse.prototype.globalLevel = null; + + /** + * SettingsGetResponse projectLevel. + * @member {flyteidl.admin.IProjectLevel|null|undefined} projectLevel + * @memberof flyteidl.admin.SettingsGetResponse + * @instance + */ + SettingsGetResponse.prototype.projectLevel = null; + + /** + * SettingsGetResponse domainLevel. + * @member {flyteidl.admin.IDomainLevel|null|undefined} domainLevel + * @memberof flyteidl.admin.SettingsGetResponse + * @instance + */ + SettingsGetResponse.prototype.domainLevel = null; + + /** + * SettingsGetResponse workflowLevel. + * @member {flyteidl.admin.IWorkflowLevel|null|undefined} workflowLevel + * @memberof flyteidl.admin.SettingsGetResponse + * @instance + */ + SettingsGetResponse.prototype.workflowLevel = null; + + /** + * SettingsGetResponse launchplanLevel. + * @member {flyteidl.admin.ILaunchplanLevel|null|undefined} launchplanLevel + * @memberof flyteidl.admin.SettingsGetResponse + * @instance + */ + SettingsGetResponse.prototype.launchplanLevel = null; + + /** + * SettingsGetResponse settings. + * @member {flyteidl.admin.ISettingsCollection|null|undefined} settings + * @memberof flyteidl.admin.SettingsGetResponse + * @instance + */ + SettingsGetResponse.prototype.settings = null; + + // OneOf field names bound to virtual getters and setters + let $oneOfFields; + + /** + * SettingsGetResponse level. + * @member {"globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"|undefined} level + * @memberof flyteidl.admin.SettingsGetResponse + * @instance + */ + Object.defineProperty(SettingsGetResponse.prototype, "level", { + get: $util.oneOfGetter($oneOfFields = ["globalLevel", "projectLevel", "domainLevel", "workflowLevel", "launchplanLevel"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new SettingsGetResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.SettingsGetResponse + * @static + * @param {flyteidl.admin.ISettingsGetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.SettingsGetResponse} SettingsGetResponse instance + */ + SettingsGetResponse.create = function create(properties) { + return new SettingsGetResponse(properties); + }; + + /** + * Encodes the specified SettingsGetResponse message. Does not implicitly {@link flyteidl.admin.SettingsGetResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.SettingsGetResponse + * @static + * @param {flyteidl.admin.ISettingsGetResponse} message SettingsGetResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SettingsGetResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) + $root.flyteidl.admin.GlobalLevel.encode(message.globalLevel, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) + $root.flyteidl.admin.ProjectLevel.encode(message.projectLevel, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) + $root.flyteidl.admin.DomainLevel.encode(message.domainLevel, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) + $root.flyteidl.admin.WorkflowLevel.encode(message.workflowLevel, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) + $root.flyteidl.admin.LaunchplanLevel.encode(message.launchplanLevel, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.settings != null && message.hasOwnProperty("settings")) + $root.flyteidl.admin.SettingsCollection.encode(message.settings, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a SettingsGetResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.SettingsGetResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.SettingsGetResponse} SettingsGetResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SettingsGetResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SettingsGetResponse(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.globalLevel = $root.flyteidl.admin.GlobalLevel.decode(reader, reader.uint32()); + break; + case 2: + message.projectLevel = $root.flyteidl.admin.ProjectLevel.decode(reader, reader.uint32()); + break; + case 3: + message.domainLevel = $root.flyteidl.admin.DomainLevel.decode(reader, reader.uint32()); + break; + case 4: + message.workflowLevel = $root.flyteidl.admin.WorkflowLevel.decode(reader, reader.uint32()); + break; + case 5: + message.launchplanLevel = $root.flyteidl.admin.LaunchplanLevel.decode(reader, reader.uint32()); + break; + case 6: + message.settings = $root.flyteidl.admin.SettingsCollection.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a SettingsGetResponse message. + * @function verify + * @memberof flyteidl.admin.SettingsGetResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SettingsGetResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + let properties = {}; + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) { + properties.level = 1; + { + let error = $root.flyteidl.admin.GlobalLevel.verify(message.globalLevel); + if (error) + return "globalLevel." + error; + } + } + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.ProjectLevel.verify(message.projectLevel); + if (error) + return "projectLevel." + error; + } + } + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.DomainLevel.verify(message.domainLevel); + if (error) + return "domainLevel." + error; + } + } + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.WorkflowLevel.verify(message.workflowLevel); + if (error) + return "workflowLevel." + error; + } + } + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.LaunchplanLevel.verify(message.launchplanLevel); + if (error) + return "launchplanLevel." + error; + } + } + if (message.settings != null && message.hasOwnProperty("settings")) { + let error = $root.flyteidl.admin.SettingsCollection.verify(message.settings); + if (error) + return "settings." + error; + } + return null; + }; + + return SettingsGetResponse; + })(); + + admin.FullSettingsGetRequest = (function() { + + /** + * Properties of a FullSettingsGetRequest. + * @memberof flyteidl.admin + * @interface IFullSettingsGetRequest + */ + + /** + * Constructs a new FullSettingsGetRequest. + * @memberof flyteidl.admin + * @classdesc Represents a FullSettingsGetRequest. + * @implements IFullSettingsGetRequest + * @constructor + * @param {flyteidl.admin.IFullSettingsGetRequest=} [properties] Properties to set + */ + function FullSettingsGetRequest(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new FullSettingsGetRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.FullSettingsGetRequest + * @static + * @param {flyteidl.admin.IFullSettingsGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.FullSettingsGetRequest} FullSettingsGetRequest instance + */ + FullSettingsGetRequest.create = function create(properties) { + return new FullSettingsGetRequest(properties); + }; + + /** + * Encodes the specified FullSettingsGetRequest message. Does not implicitly {@link flyteidl.admin.FullSettingsGetRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.FullSettingsGetRequest + * @static + * @param {flyteidl.admin.IFullSettingsGetRequest} message FullSettingsGetRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FullSettingsGetRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + + /** + * Decodes a FullSettingsGetRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.FullSettingsGetRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.FullSettingsGetRequest} FullSettingsGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FullSettingsGetRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FullSettingsGetRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a FullSettingsGetRequest message. + * @function verify + * @memberof flyteidl.admin.FullSettingsGetRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FullSettingsGetRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return FullSettingsGetRequest; + })(); + + admin.FullSettingsGetResponse = (function() { + + /** + * Properties of a FullSettingsGetResponse. + * @memberof flyteidl.admin + * @interface IFullSettingsGetResponse + * @property {flyteidl.admin.ISettings|null} [settings] FullSettingsGetResponse settings + */ + + /** + * Constructs a new FullSettingsGetResponse. + * @memberof flyteidl.admin + * @classdesc Represents a FullSettingsGetResponse. + * @implements IFullSettingsGetResponse + * @constructor + * @param {flyteidl.admin.IFullSettingsGetResponse=} [properties] Properties to set + */ + function FullSettingsGetResponse(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * FullSettingsGetResponse settings. + * @member {flyteidl.admin.ISettings|null|undefined} settings + * @memberof flyteidl.admin.FullSettingsGetResponse + * @instance + */ + FullSettingsGetResponse.prototype.settings = null; + + /** + * Creates a new FullSettingsGetResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.FullSettingsGetResponse + * @static + * @param {flyteidl.admin.IFullSettingsGetResponse=} [properties] Properties to set + * @returns {flyteidl.admin.FullSettingsGetResponse} FullSettingsGetResponse instance + */ + FullSettingsGetResponse.create = function create(properties) { + return new FullSettingsGetResponse(properties); + }; + + /** + * Encodes the specified FullSettingsGetResponse message. Does not implicitly {@link flyteidl.admin.FullSettingsGetResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.FullSettingsGetResponse + * @static + * @param {flyteidl.admin.IFullSettingsGetResponse} message FullSettingsGetResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FullSettingsGetResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.settings != null && message.hasOwnProperty("settings")) + $root.flyteidl.admin.Settings.encode(message.settings, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a FullSettingsGetResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.FullSettingsGetResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.FullSettingsGetResponse} FullSettingsGetResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FullSettingsGetResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.FullSettingsGetResponse(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.settings = $root.flyteidl.admin.Settings.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a FullSettingsGetResponse message. + * @function verify + * @memberof flyteidl.admin.FullSettingsGetResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FullSettingsGetResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.settings != null && message.hasOwnProperty("settings")) { + let error = $root.flyteidl.admin.Settings.verify(message.settings); + if (error) + return "settings." + error; + } + return null; + }; + + return FullSettingsGetResponse; + })(); + + admin.SettingsDeleteRequest = (function() { + + /** + * Properties of a SettingsDeleteRequest. + * @memberof flyteidl.admin + * @interface ISettingsDeleteRequest + * @property {flyteidl.admin.IGlobalLevel|null} [globalLevel] SettingsDeleteRequest globalLevel + * @property {flyteidl.admin.IProjectLevel|null} [projectLevel] SettingsDeleteRequest projectLevel + * @property {flyteidl.admin.IDomainLevel|null} [domainLevel] SettingsDeleteRequest domainLevel + * @property {flyteidl.admin.IWorkflowLevel|null} [workflowLevel] SettingsDeleteRequest workflowLevel + * @property {flyteidl.admin.ILaunchplanLevel|null} [launchplanLevel] SettingsDeleteRequest launchplanLevel + */ + + /** + * Constructs a new SettingsDeleteRequest. + * @memberof flyteidl.admin + * @classdesc Represents a SettingsDeleteRequest. + * @implements ISettingsDeleteRequest + * @constructor + * @param {flyteidl.admin.ISettingsDeleteRequest=} [properties] Properties to set + */ + function SettingsDeleteRequest(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * SettingsDeleteRequest globalLevel. + * @member {flyteidl.admin.IGlobalLevel|null|undefined} globalLevel + * @memberof flyteidl.admin.SettingsDeleteRequest + * @instance + */ + SettingsDeleteRequest.prototype.globalLevel = null; + + /** + * SettingsDeleteRequest projectLevel. + * @member {flyteidl.admin.IProjectLevel|null|undefined} projectLevel + * @memberof flyteidl.admin.SettingsDeleteRequest + * @instance + */ + SettingsDeleteRequest.prototype.projectLevel = null; + + /** + * SettingsDeleteRequest domainLevel. + * @member {flyteidl.admin.IDomainLevel|null|undefined} domainLevel + * @memberof flyteidl.admin.SettingsDeleteRequest + * @instance + */ + SettingsDeleteRequest.prototype.domainLevel = null; + + /** + * SettingsDeleteRequest workflowLevel. + * @member {flyteidl.admin.IWorkflowLevel|null|undefined} workflowLevel + * @memberof flyteidl.admin.SettingsDeleteRequest + * @instance + */ + SettingsDeleteRequest.prototype.workflowLevel = null; + + /** + * SettingsDeleteRequest launchplanLevel. + * @member {flyteidl.admin.ILaunchplanLevel|null|undefined} launchplanLevel + * @memberof flyteidl.admin.SettingsDeleteRequest + * @instance + */ + SettingsDeleteRequest.prototype.launchplanLevel = null; + + // OneOf field names bound to virtual getters and setters + let $oneOfFields; + + /** + * SettingsDeleteRequest level. + * @member {"globalLevel"|"projectLevel"|"domainLevel"|"workflowLevel"|"launchplanLevel"|undefined} level + * @memberof flyteidl.admin.SettingsDeleteRequest + * @instance + */ + Object.defineProperty(SettingsDeleteRequest.prototype, "level", { + get: $util.oneOfGetter($oneOfFields = ["globalLevel", "projectLevel", "domainLevel", "workflowLevel", "launchplanLevel"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new SettingsDeleteRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.SettingsDeleteRequest + * @static + * @param {flyteidl.admin.ISettingsDeleteRequest=} [properties] Properties to set + * @returns {flyteidl.admin.SettingsDeleteRequest} SettingsDeleteRequest instance + */ + SettingsDeleteRequest.create = function create(properties) { + return new SettingsDeleteRequest(properties); + }; + + /** + * Encodes the specified SettingsDeleteRequest message. Does not implicitly {@link flyteidl.admin.SettingsDeleteRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.SettingsDeleteRequest + * @static + * @param {flyteidl.admin.ISettingsDeleteRequest} message SettingsDeleteRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SettingsDeleteRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) + $root.flyteidl.admin.GlobalLevel.encode(message.globalLevel, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) + $root.flyteidl.admin.ProjectLevel.encode(message.projectLevel, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) + $root.flyteidl.admin.DomainLevel.encode(message.domainLevel, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) + $root.flyteidl.admin.WorkflowLevel.encode(message.workflowLevel, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) + $root.flyteidl.admin.LaunchplanLevel.encode(message.launchplanLevel, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a SettingsDeleteRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.SettingsDeleteRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.SettingsDeleteRequest} SettingsDeleteRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SettingsDeleteRequest.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SettingsDeleteRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.globalLevel = $root.flyteidl.admin.GlobalLevel.decode(reader, reader.uint32()); + break; + case 2: + message.projectLevel = $root.flyteidl.admin.ProjectLevel.decode(reader, reader.uint32()); + break; + case 3: + message.domainLevel = $root.flyteidl.admin.DomainLevel.decode(reader, reader.uint32()); + break; + case 4: + message.workflowLevel = $root.flyteidl.admin.WorkflowLevel.decode(reader, reader.uint32()); + break; + case 5: + message.launchplanLevel = $root.flyteidl.admin.LaunchplanLevel.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a SettingsDeleteRequest message. + * @function verify + * @memberof flyteidl.admin.SettingsDeleteRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SettingsDeleteRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + let properties = {}; + if (message.globalLevel != null && message.hasOwnProperty("globalLevel")) { + properties.level = 1; + { + let error = $root.flyteidl.admin.GlobalLevel.verify(message.globalLevel); + if (error) + return "globalLevel." + error; + } + } + if (message.projectLevel != null && message.hasOwnProperty("projectLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.ProjectLevel.verify(message.projectLevel); + if (error) + return "projectLevel." + error; + } + } + if (message.domainLevel != null && message.hasOwnProperty("domainLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.DomainLevel.verify(message.domainLevel); + if (error) + return "domainLevel." + error; + } + } + if (message.workflowLevel != null && message.hasOwnProperty("workflowLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.WorkflowLevel.verify(message.workflowLevel); + if (error) + return "workflowLevel." + error; + } + } + if (message.launchplanLevel != null && message.hasOwnProperty("launchplanLevel")) { + if (properties.level === 1) + return "level: multiple values"; + properties.level = 1; + { + let error = $root.flyteidl.admin.LaunchplanLevel.verify(message.launchplanLevel); + if (error) + return "launchplanLevel." + error; + } + } + return null; + }; + + return SettingsDeleteRequest; + })(); + + admin.SettingsDeleteResponse = (function() { + + /** + * Properties of a SettingsDeleteResponse. + * @memberof flyteidl.admin + * @interface ISettingsDeleteResponse + */ + + /** + * Constructs a new SettingsDeleteResponse. + * @memberof flyteidl.admin + * @classdesc Represents a SettingsDeleteResponse. + * @implements ISettingsDeleteResponse + * @constructor + * @param {flyteidl.admin.ISettingsDeleteResponse=} [properties] Properties to set + */ + function SettingsDeleteResponse(properties) { + if (properties) + for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Creates a new SettingsDeleteResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.SettingsDeleteResponse + * @static + * @param {flyteidl.admin.ISettingsDeleteResponse=} [properties] Properties to set + * @returns {flyteidl.admin.SettingsDeleteResponse} SettingsDeleteResponse instance + */ + SettingsDeleteResponse.create = function create(properties) { + return new SettingsDeleteResponse(properties); + }; + + /** + * Encodes the specified SettingsDeleteResponse message. Does not implicitly {@link flyteidl.admin.SettingsDeleteResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.SettingsDeleteResponse + * @static + * @param {flyteidl.admin.ISettingsDeleteResponse} message SettingsDeleteResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SettingsDeleteResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + return writer; + }; + + /** + * Decodes a SettingsDeleteResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.SettingsDeleteResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.SettingsDeleteResponse} SettingsDeleteResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SettingsDeleteResponse.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.SettingsDeleteResponse(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a SettingsDeleteResponse message. + * @function verify + * @memberof flyteidl.admin.SettingsDeleteResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SettingsDeleteResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + return null; + }; + + return SettingsDeleteResponse; + })(); + admin.TaskCreateRequest = (function() { /** diff --git a/gen/pb_python/flyteidl/admin/settings_pb2.py b/gen/pb_python/flyteidl/admin/settings_pb2.py new file mode 100644 index 000000000..e1001c9e5 --- /dev/null +++ b/gen/pb_python/flyteidl/admin/settings_pb2.py @@ -0,0 +1,1422 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/admin/settings.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from flyteidl.admin import matchable_resource_pb2 as flyteidl_dot_admin_dot_matchable__resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flyteidl/admin/settings.proto', + package='flyteidl.admin', + syntax='proto3', + serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'), + serialized_pb=_b('\n\x1d\x66lyteidl/admin/settings.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/matchable_resource.proto\"\xd4\x04\n\x12SettingsCollection\x12\x42\n\x16task_resource_settings\x18\x01 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12\x45\n\x19\x63luster_resource_settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12\x44\n\x18\x65xecution_queue_settings\x18\x03 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12L\n execution_cluster_label_settings\x18\x04 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12G\n\x1bquality_of_service_settings\x18\x05 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12\x44\n\x18plugin_override_settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12G\n\x1bworkflow_execution_settings\x18\x07 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12G\n\x1b\x63luster_assignment_settings\x18\x08 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\"\xe0\x01\n\x08Settings\x12\x32\n\x06global\x18\x01 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12G\n\x10project_settings\x18\x02 \x03(\x0b\x32-.flyteidl.admin.Settings.ProjectSettingsEntry\x1aW\n\x14ProjectSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.flyteidl.admin.ProjectSettings:\x02\x38\x01\"\xfd\x01\n\x0fProjectSettings\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12L\n\x0f\x64omain_settings\x18\x03 \x03(\x0b\x32\x33.flyteidl.admin.ProjectSettings.DomainSettingsEntry\x1aU\n\x13\x44omainSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.DomainSettings:\x02\x38\x01\"\x82\x02\n\x0e\x44omainSettings\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12O\n\x11workflow_settings\x18\x03 \x03(\x0b\x32\x34.flyteidl.admin.DomainSettings.WorkflowSettingsEntry\x1aY\n\x15WorkflowSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .flyteidl.admin.WorkflowSettings:\x02\x38\x01\"\x90\x02\n\x10WorkflowSettings\x12\x10\n\x08workflow\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12U\n\x13launchplan_settings\x18\x03 \x03(\x0b\x32\x38.flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry\x1a]\n\x17LaunchplanSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".flyteidl.admin.LaunchplanSettings:\x02\x38\x01\"^\n\x12LaunchplanSettings\x12\x12\n\nlaunchplan\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\"\r\n\x0bGlobalLevel\"\x1f\n\x0cProjectLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\".\n\x0b\x44omainLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\"B\n\rWorkflowLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x10\n\x08workflow\x18\x03 \x01(\t\"X\n\x0fLaunchplanLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x10\n\x08workflow\x18\x03 \x01(\t\x12\x12\n\nlaunchplan\x18\x04 \x01(\t\"\xed\x02\n\x15SettingsUpdateRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x12\x34\n\x08settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.SettingsCollectionB\x07\n\x05level\"\xf1\x02\n\x19\x46ullSettingsUpdateRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x12\x34\n\x08settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.SettingsCollectionB\x07\n\x05level\"\x1c\n\x1a\x46ullSettingsUpdateResponse\"\xb4\x02\n\x12SettingsGetRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x42\x07\n\x05level\"\xeb\x02\n\x13SettingsGetResponse\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x12\x34\n\x08settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.SettingsCollectionB\x07\n\x05level\"\x18\n\x16\x46ullSettingsGetRequest\"E\n\x17\x46ullSettingsGetResponse\x12*\n\x08settings\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.Settings\"\xb7\x02\n\x15SettingsDeleteRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x42\x07\n\x05level\"\x18\n\x16SettingsDeleteResponseB7Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + , + dependencies=[flyteidl_dot_admin_dot_matchable__resource__pb2.DESCRIPTOR,]) + + + + +_SETTINGSCOLLECTION = _descriptor.Descriptor( + name='SettingsCollection', + full_name='flyteidl.admin.SettingsCollection', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='task_resource_settings', full_name='flyteidl.admin.SettingsCollection.task_resource_settings', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cluster_resource_settings', full_name='flyteidl.admin.SettingsCollection.cluster_resource_settings', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='execution_queue_settings', full_name='flyteidl.admin.SettingsCollection.execution_queue_settings', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='execution_cluster_label_settings', full_name='flyteidl.admin.SettingsCollection.execution_cluster_label_settings', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='quality_of_service_settings', full_name='flyteidl.admin.SettingsCollection.quality_of_service_settings', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='plugin_override_settings', full_name='flyteidl.admin.SettingsCollection.plugin_override_settings', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow_execution_settings', full_name='flyteidl.admin.SettingsCollection.workflow_execution_settings', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cluster_assignment_settings', full_name='flyteidl.admin.SettingsCollection.cluster_assignment_settings', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=91, + serialized_end=687, +) + + +_SETTINGS_PROJECTSETTINGSENTRY = _descriptor.Descriptor( + name='ProjectSettingsEntry', + full_name='flyteidl.admin.Settings.ProjectSettingsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='flyteidl.admin.Settings.ProjectSettingsEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='flyteidl.admin.Settings.ProjectSettingsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=827, + serialized_end=914, +) + +_SETTINGS = _descriptor.Descriptor( + name='Settings', + full_name='flyteidl.admin.Settings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='global', full_name='flyteidl.admin.Settings.global', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='project_settings', full_name='flyteidl.admin.Settings.project_settings', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_SETTINGS_PROJECTSETTINGSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=690, + serialized_end=914, +) + + +_PROJECTSETTINGS_DOMAINSETTINGSENTRY = _descriptor.Descriptor( + name='DomainSettingsEntry', + full_name='flyteidl.admin.ProjectSettings.DomainSettingsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='flyteidl.admin.ProjectSettings.DomainSettingsEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='flyteidl.admin.ProjectSettings.DomainSettingsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1085, + serialized_end=1170, +) + +_PROJECTSETTINGS = _descriptor.Descriptor( + name='ProjectSettings', + full_name='flyteidl.admin.ProjectSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='project', full_name='flyteidl.admin.ProjectSettings.project', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='settings', full_name='flyteidl.admin.ProjectSettings.settings', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain_settings', full_name='flyteidl.admin.ProjectSettings.domain_settings', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_PROJECTSETTINGS_DOMAINSETTINGSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=917, + serialized_end=1170, +) + + +_DOMAINSETTINGS_WORKFLOWSETTINGSENTRY = _descriptor.Descriptor( + name='WorkflowSettingsEntry', + full_name='flyteidl.admin.DomainSettings.WorkflowSettingsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='flyteidl.admin.DomainSettings.WorkflowSettingsEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='flyteidl.admin.DomainSettings.WorkflowSettingsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1342, + serialized_end=1431, +) + +_DOMAINSETTINGS = _descriptor.Descriptor( + name='DomainSettings', + full_name='flyteidl.admin.DomainSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='domain', full_name='flyteidl.admin.DomainSettings.domain', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='settings', full_name='flyteidl.admin.DomainSettings.settings', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow_settings', full_name='flyteidl.admin.DomainSettings.workflow_settings', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_DOMAINSETTINGS_WORKFLOWSETTINGSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1173, + serialized_end=1431, +) + + +_WORKFLOWSETTINGS_LAUNCHPLANSETTINGSENTRY = _descriptor.Descriptor( + name='LaunchplanSettingsEntry', + full_name='flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry.key', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value', full_name='flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry.value', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1613, + serialized_end=1706, +) + +_WORKFLOWSETTINGS = _descriptor.Descriptor( + name='WorkflowSettings', + full_name='flyteidl.admin.WorkflowSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='workflow', full_name='flyteidl.admin.WorkflowSettings.workflow', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='settings', full_name='flyteidl.admin.WorkflowSettings.settings', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='launchplan_settings', full_name='flyteidl.admin.WorkflowSettings.launchplan_settings', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_WORKFLOWSETTINGS_LAUNCHPLANSETTINGSENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1434, + serialized_end=1706, +) + + +_LAUNCHPLANSETTINGS = _descriptor.Descriptor( + name='LaunchplanSettings', + full_name='flyteidl.admin.LaunchplanSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='launchplan', full_name='flyteidl.admin.LaunchplanSettings.launchplan', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='settings', full_name='flyteidl.admin.LaunchplanSettings.settings', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1708, + serialized_end=1802, +) + + +_GLOBALLEVEL = _descriptor.Descriptor( + name='GlobalLevel', + full_name='flyteidl.admin.GlobalLevel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1804, + serialized_end=1817, +) + + +_PROJECTLEVEL = _descriptor.Descriptor( + name='ProjectLevel', + full_name='flyteidl.admin.ProjectLevel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='project', full_name='flyteidl.admin.ProjectLevel.project', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1819, + serialized_end=1850, +) + + +_DOMAINLEVEL = _descriptor.Descriptor( + name='DomainLevel', + full_name='flyteidl.admin.DomainLevel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='project', full_name='flyteidl.admin.DomainLevel.project', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain', full_name='flyteidl.admin.DomainLevel.domain', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1852, + serialized_end=1898, +) + + +_WORKFLOWLEVEL = _descriptor.Descriptor( + name='WorkflowLevel', + full_name='flyteidl.admin.WorkflowLevel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='project', full_name='flyteidl.admin.WorkflowLevel.project', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain', full_name='flyteidl.admin.WorkflowLevel.domain', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow', full_name='flyteidl.admin.WorkflowLevel.workflow', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1900, + serialized_end=1966, +) + + +_LAUNCHPLANLEVEL = _descriptor.Descriptor( + name='LaunchplanLevel', + full_name='flyteidl.admin.LaunchplanLevel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='project', full_name='flyteidl.admin.LaunchplanLevel.project', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain', full_name='flyteidl.admin.LaunchplanLevel.domain', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow', full_name='flyteidl.admin.LaunchplanLevel.workflow', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='launchplan', full_name='flyteidl.admin.LaunchplanLevel.launchplan', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1968, + serialized_end=2056, +) + + +_SETTINGSUPDATEREQUEST = _descriptor.Descriptor( + name='SettingsUpdateRequest', + full_name='flyteidl.admin.SettingsUpdateRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='global_level', full_name='flyteidl.admin.SettingsUpdateRequest.global_level', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='project_level', full_name='flyteidl.admin.SettingsUpdateRequest.project_level', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain_level', full_name='flyteidl.admin.SettingsUpdateRequest.domain_level', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow_level', full_name='flyteidl.admin.SettingsUpdateRequest.workflow_level', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='launchplan_level', full_name='flyteidl.admin.SettingsUpdateRequest.launchplan_level', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='settings', full_name='flyteidl.admin.SettingsUpdateRequest.settings', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='level', full_name='flyteidl.admin.SettingsUpdateRequest.level', + index=0, containing_type=None, fields=[]), + ], + serialized_start=2059, + serialized_end=2424, +) + + +_FULLSETTINGSUPDATEREQUEST = _descriptor.Descriptor( + name='FullSettingsUpdateRequest', + full_name='flyteidl.admin.FullSettingsUpdateRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='global_level', full_name='flyteidl.admin.FullSettingsUpdateRequest.global_level', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='project_level', full_name='flyteidl.admin.FullSettingsUpdateRequest.project_level', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain_level', full_name='flyteidl.admin.FullSettingsUpdateRequest.domain_level', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow_level', full_name='flyteidl.admin.FullSettingsUpdateRequest.workflow_level', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='launchplan_level', full_name='flyteidl.admin.FullSettingsUpdateRequest.launchplan_level', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='settings', full_name='flyteidl.admin.FullSettingsUpdateRequest.settings', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='level', full_name='flyteidl.admin.FullSettingsUpdateRequest.level', + index=0, containing_type=None, fields=[]), + ], + serialized_start=2427, + serialized_end=2796, +) + + +_FULLSETTINGSUPDATERESPONSE = _descriptor.Descriptor( + name='FullSettingsUpdateResponse', + full_name='flyteidl.admin.FullSettingsUpdateResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2798, + serialized_end=2826, +) + + +_SETTINGSGETREQUEST = _descriptor.Descriptor( + name='SettingsGetRequest', + full_name='flyteidl.admin.SettingsGetRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='global_level', full_name='flyteidl.admin.SettingsGetRequest.global_level', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='project_level', full_name='flyteidl.admin.SettingsGetRequest.project_level', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain_level', full_name='flyteidl.admin.SettingsGetRequest.domain_level', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow_level', full_name='flyteidl.admin.SettingsGetRequest.workflow_level', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='launchplan_level', full_name='flyteidl.admin.SettingsGetRequest.launchplan_level', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='level', full_name='flyteidl.admin.SettingsGetRequest.level', + index=0, containing_type=None, fields=[]), + ], + serialized_start=2829, + serialized_end=3137, +) + + +_SETTINGSGETRESPONSE = _descriptor.Descriptor( + name='SettingsGetResponse', + full_name='flyteidl.admin.SettingsGetResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='global_level', full_name='flyteidl.admin.SettingsGetResponse.global_level', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='project_level', full_name='flyteidl.admin.SettingsGetResponse.project_level', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain_level', full_name='flyteidl.admin.SettingsGetResponse.domain_level', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow_level', full_name='flyteidl.admin.SettingsGetResponse.workflow_level', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='launchplan_level', full_name='flyteidl.admin.SettingsGetResponse.launchplan_level', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='settings', full_name='flyteidl.admin.SettingsGetResponse.settings', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='level', full_name='flyteidl.admin.SettingsGetResponse.level', + index=0, containing_type=None, fields=[]), + ], + serialized_start=3140, + serialized_end=3503, +) + + +_FULLSETTINGSGETREQUEST = _descriptor.Descriptor( + name='FullSettingsGetRequest', + full_name='flyteidl.admin.FullSettingsGetRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3505, + serialized_end=3529, +) + + +_FULLSETTINGSGETRESPONSE = _descriptor.Descriptor( + name='FullSettingsGetResponse', + full_name='flyteidl.admin.FullSettingsGetResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='settings', full_name='flyteidl.admin.FullSettingsGetResponse.settings', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3531, + serialized_end=3600, +) + + +_SETTINGSDELETEREQUEST = _descriptor.Descriptor( + name='SettingsDeleteRequest', + full_name='flyteidl.admin.SettingsDeleteRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='global_level', full_name='flyteidl.admin.SettingsDeleteRequest.global_level', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='project_level', full_name='flyteidl.admin.SettingsDeleteRequest.project_level', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain_level', full_name='flyteidl.admin.SettingsDeleteRequest.domain_level', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='workflow_level', full_name='flyteidl.admin.SettingsDeleteRequest.workflow_level', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='launchplan_level', full_name='flyteidl.admin.SettingsDeleteRequest.launchplan_level', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='level', full_name='flyteidl.admin.SettingsDeleteRequest.level', + index=0, containing_type=None, fields=[]), + ], + serialized_start=3603, + serialized_end=3914, +) + + +_SETTINGSDELETERESPONSE = _descriptor.Descriptor( + name='SettingsDeleteResponse', + full_name='flyteidl.admin.SettingsDeleteResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3916, + serialized_end=3940, +) + +_SETTINGSCOLLECTION.fields_by_name['task_resource_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_SETTINGSCOLLECTION.fields_by_name['cluster_resource_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_SETTINGSCOLLECTION.fields_by_name['execution_queue_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_SETTINGSCOLLECTION.fields_by_name['execution_cluster_label_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_SETTINGSCOLLECTION.fields_by_name['quality_of_service_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_SETTINGSCOLLECTION.fields_by_name['plugin_override_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_SETTINGSCOLLECTION.fields_by_name['workflow_execution_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_SETTINGSCOLLECTION.fields_by_name['cluster_assignment_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_SETTINGS_PROJECTSETTINGSENTRY.fields_by_name['value'].message_type = _PROJECTSETTINGS +_SETTINGS_PROJECTSETTINGSENTRY.containing_type = _SETTINGS +_SETTINGS.fields_by_name['global'].message_type = _SETTINGSCOLLECTION +_SETTINGS.fields_by_name['project_settings'].message_type = _SETTINGS_PROJECTSETTINGSENTRY +_PROJECTSETTINGS_DOMAINSETTINGSENTRY.fields_by_name['value'].message_type = _DOMAINSETTINGS +_PROJECTSETTINGS_DOMAINSETTINGSENTRY.containing_type = _PROJECTSETTINGS +_PROJECTSETTINGS.fields_by_name['settings'].message_type = _SETTINGSCOLLECTION +_PROJECTSETTINGS.fields_by_name['domain_settings'].message_type = _PROJECTSETTINGS_DOMAINSETTINGSENTRY +_DOMAINSETTINGS_WORKFLOWSETTINGSENTRY.fields_by_name['value'].message_type = _WORKFLOWSETTINGS +_DOMAINSETTINGS_WORKFLOWSETTINGSENTRY.containing_type = _DOMAINSETTINGS +_DOMAINSETTINGS.fields_by_name['settings'].message_type = _SETTINGSCOLLECTION +_DOMAINSETTINGS.fields_by_name['workflow_settings'].message_type = _DOMAINSETTINGS_WORKFLOWSETTINGSENTRY +_WORKFLOWSETTINGS_LAUNCHPLANSETTINGSENTRY.fields_by_name['value'].message_type = _LAUNCHPLANSETTINGS +_WORKFLOWSETTINGS_LAUNCHPLANSETTINGSENTRY.containing_type = _WORKFLOWSETTINGS +_WORKFLOWSETTINGS.fields_by_name['settings'].message_type = _SETTINGSCOLLECTION +_WORKFLOWSETTINGS.fields_by_name['launchplan_settings'].message_type = _WORKFLOWSETTINGS_LAUNCHPLANSETTINGSENTRY +_LAUNCHPLANSETTINGS.fields_by_name['settings'].message_type = _SETTINGSCOLLECTION +_SETTINGSUPDATEREQUEST.fields_by_name['global_level'].message_type = _GLOBALLEVEL +_SETTINGSUPDATEREQUEST.fields_by_name['project_level'].message_type = _PROJECTLEVEL +_SETTINGSUPDATEREQUEST.fields_by_name['domain_level'].message_type = _DOMAINLEVEL +_SETTINGSUPDATEREQUEST.fields_by_name['workflow_level'].message_type = _WORKFLOWLEVEL +_SETTINGSUPDATEREQUEST.fields_by_name['launchplan_level'].message_type = _LAUNCHPLANLEVEL +_SETTINGSUPDATEREQUEST.fields_by_name['settings'].message_type = _SETTINGSCOLLECTION +_SETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSUPDATEREQUEST.fields_by_name['global_level']) +_SETTINGSUPDATEREQUEST.fields_by_name['global_level'].containing_oneof = _SETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_SETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSUPDATEREQUEST.fields_by_name['project_level']) +_SETTINGSUPDATEREQUEST.fields_by_name['project_level'].containing_oneof = _SETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_SETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSUPDATEREQUEST.fields_by_name['domain_level']) +_SETTINGSUPDATEREQUEST.fields_by_name['domain_level'].containing_oneof = _SETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_SETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSUPDATEREQUEST.fields_by_name['workflow_level']) +_SETTINGSUPDATEREQUEST.fields_by_name['workflow_level'].containing_oneof = _SETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_SETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSUPDATEREQUEST.fields_by_name['launchplan_level']) +_SETTINGSUPDATEREQUEST.fields_by_name['launchplan_level'].containing_oneof = _SETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_FULLSETTINGSUPDATEREQUEST.fields_by_name['global_level'].message_type = _GLOBALLEVEL +_FULLSETTINGSUPDATEREQUEST.fields_by_name['project_level'].message_type = _PROJECTLEVEL +_FULLSETTINGSUPDATEREQUEST.fields_by_name['domain_level'].message_type = _DOMAINLEVEL +_FULLSETTINGSUPDATEREQUEST.fields_by_name['workflow_level'].message_type = _WORKFLOWLEVEL +_FULLSETTINGSUPDATEREQUEST.fields_by_name['launchplan_level'].message_type = _LAUNCHPLANLEVEL +_FULLSETTINGSUPDATEREQUEST.fields_by_name['settings'].message_type = _SETTINGSCOLLECTION +_FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _FULLSETTINGSUPDATEREQUEST.fields_by_name['global_level']) +_FULLSETTINGSUPDATEREQUEST.fields_by_name['global_level'].containing_oneof = _FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _FULLSETTINGSUPDATEREQUEST.fields_by_name['project_level']) +_FULLSETTINGSUPDATEREQUEST.fields_by_name['project_level'].containing_oneof = _FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _FULLSETTINGSUPDATEREQUEST.fields_by_name['domain_level']) +_FULLSETTINGSUPDATEREQUEST.fields_by_name['domain_level'].containing_oneof = _FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _FULLSETTINGSUPDATEREQUEST.fields_by_name['workflow_level']) +_FULLSETTINGSUPDATEREQUEST.fields_by_name['workflow_level'].containing_oneof = _FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'].fields.append( + _FULLSETTINGSUPDATEREQUEST.fields_by_name['launchplan_level']) +_FULLSETTINGSUPDATEREQUEST.fields_by_name['launchplan_level'].containing_oneof = _FULLSETTINGSUPDATEREQUEST.oneofs_by_name['level'] +_SETTINGSGETREQUEST.fields_by_name['global_level'].message_type = _GLOBALLEVEL +_SETTINGSGETREQUEST.fields_by_name['project_level'].message_type = _PROJECTLEVEL +_SETTINGSGETREQUEST.fields_by_name['domain_level'].message_type = _DOMAINLEVEL +_SETTINGSGETREQUEST.fields_by_name['workflow_level'].message_type = _WORKFLOWLEVEL +_SETTINGSGETREQUEST.fields_by_name['launchplan_level'].message_type = _LAUNCHPLANLEVEL +_SETTINGSGETREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSGETREQUEST.fields_by_name['global_level']) +_SETTINGSGETREQUEST.fields_by_name['global_level'].containing_oneof = _SETTINGSGETREQUEST.oneofs_by_name['level'] +_SETTINGSGETREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSGETREQUEST.fields_by_name['project_level']) +_SETTINGSGETREQUEST.fields_by_name['project_level'].containing_oneof = _SETTINGSGETREQUEST.oneofs_by_name['level'] +_SETTINGSGETREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSGETREQUEST.fields_by_name['domain_level']) +_SETTINGSGETREQUEST.fields_by_name['domain_level'].containing_oneof = _SETTINGSGETREQUEST.oneofs_by_name['level'] +_SETTINGSGETREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSGETREQUEST.fields_by_name['workflow_level']) +_SETTINGSGETREQUEST.fields_by_name['workflow_level'].containing_oneof = _SETTINGSGETREQUEST.oneofs_by_name['level'] +_SETTINGSGETREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSGETREQUEST.fields_by_name['launchplan_level']) +_SETTINGSGETREQUEST.fields_by_name['launchplan_level'].containing_oneof = _SETTINGSGETREQUEST.oneofs_by_name['level'] +_SETTINGSGETRESPONSE.fields_by_name['global_level'].message_type = _GLOBALLEVEL +_SETTINGSGETRESPONSE.fields_by_name['project_level'].message_type = _PROJECTLEVEL +_SETTINGSGETRESPONSE.fields_by_name['domain_level'].message_type = _DOMAINLEVEL +_SETTINGSGETRESPONSE.fields_by_name['workflow_level'].message_type = _WORKFLOWLEVEL +_SETTINGSGETRESPONSE.fields_by_name['launchplan_level'].message_type = _LAUNCHPLANLEVEL +_SETTINGSGETRESPONSE.fields_by_name['settings'].message_type = _SETTINGSCOLLECTION +_SETTINGSGETRESPONSE.oneofs_by_name['level'].fields.append( + _SETTINGSGETRESPONSE.fields_by_name['global_level']) +_SETTINGSGETRESPONSE.fields_by_name['global_level'].containing_oneof = _SETTINGSGETRESPONSE.oneofs_by_name['level'] +_SETTINGSGETRESPONSE.oneofs_by_name['level'].fields.append( + _SETTINGSGETRESPONSE.fields_by_name['project_level']) +_SETTINGSGETRESPONSE.fields_by_name['project_level'].containing_oneof = _SETTINGSGETRESPONSE.oneofs_by_name['level'] +_SETTINGSGETRESPONSE.oneofs_by_name['level'].fields.append( + _SETTINGSGETRESPONSE.fields_by_name['domain_level']) +_SETTINGSGETRESPONSE.fields_by_name['domain_level'].containing_oneof = _SETTINGSGETRESPONSE.oneofs_by_name['level'] +_SETTINGSGETRESPONSE.oneofs_by_name['level'].fields.append( + _SETTINGSGETRESPONSE.fields_by_name['workflow_level']) +_SETTINGSGETRESPONSE.fields_by_name['workflow_level'].containing_oneof = _SETTINGSGETRESPONSE.oneofs_by_name['level'] +_SETTINGSGETRESPONSE.oneofs_by_name['level'].fields.append( + _SETTINGSGETRESPONSE.fields_by_name['launchplan_level']) +_SETTINGSGETRESPONSE.fields_by_name['launchplan_level'].containing_oneof = _SETTINGSGETRESPONSE.oneofs_by_name['level'] +_FULLSETTINGSGETRESPONSE.fields_by_name['settings'].message_type = _SETTINGS +_SETTINGSDELETEREQUEST.fields_by_name['global_level'].message_type = _GLOBALLEVEL +_SETTINGSDELETEREQUEST.fields_by_name['project_level'].message_type = _PROJECTLEVEL +_SETTINGSDELETEREQUEST.fields_by_name['domain_level'].message_type = _DOMAINLEVEL +_SETTINGSDELETEREQUEST.fields_by_name['workflow_level'].message_type = _WORKFLOWLEVEL +_SETTINGSDELETEREQUEST.fields_by_name['launchplan_level'].message_type = _LAUNCHPLANLEVEL +_SETTINGSDELETEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSDELETEREQUEST.fields_by_name['global_level']) +_SETTINGSDELETEREQUEST.fields_by_name['global_level'].containing_oneof = _SETTINGSDELETEREQUEST.oneofs_by_name['level'] +_SETTINGSDELETEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSDELETEREQUEST.fields_by_name['project_level']) +_SETTINGSDELETEREQUEST.fields_by_name['project_level'].containing_oneof = _SETTINGSDELETEREQUEST.oneofs_by_name['level'] +_SETTINGSDELETEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSDELETEREQUEST.fields_by_name['domain_level']) +_SETTINGSDELETEREQUEST.fields_by_name['domain_level'].containing_oneof = _SETTINGSDELETEREQUEST.oneofs_by_name['level'] +_SETTINGSDELETEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSDELETEREQUEST.fields_by_name['workflow_level']) +_SETTINGSDELETEREQUEST.fields_by_name['workflow_level'].containing_oneof = _SETTINGSDELETEREQUEST.oneofs_by_name['level'] +_SETTINGSDELETEREQUEST.oneofs_by_name['level'].fields.append( + _SETTINGSDELETEREQUEST.fields_by_name['launchplan_level']) +_SETTINGSDELETEREQUEST.fields_by_name['launchplan_level'].containing_oneof = _SETTINGSDELETEREQUEST.oneofs_by_name['level'] +DESCRIPTOR.message_types_by_name['SettingsCollection'] = _SETTINGSCOLLECTION +DESCRIPTOR.message_types_by_name['Settings'] = _SETTINGS +DESCRIPTOR.message_types_by_name['ProjectSettings'] = _PROJECTSETTINGS +DESCRIPTOR.message_types_by_name['DomainSettings'] = _DOMAINSETTINGS +DESCRIPTOR.message_types_by_name['WorkflowSettings'] = _WORKFLOWSETTINGS +DESCRIPTOR.message_types_by_name['LaunchplanSettings'] = _LAUNCHPLANSETTINGS +DESCRIPTOR.message_types_by_name['GlobalLevel'] = _GLOBALLEVEL +DESCRIPTOR.message_types_by_name['ProjectLevel'] = _PROJECTLEVEL +DESCRIPTOR.message_types_by_name['DomainLevel'] = _DOMAINLEVEL +DESCRIPTOR.message_types_by_name['WorkflowLevel'] = _WORKFLOWLEVEL +DESCRIPTOR.message_types_by_name['LaunchplanLevel'] = _LAUNCHPLANLEVEL +DESCRIPTOR.message_types_by_name['SettingsUpdateRequest'] = _SETTINGSUPDATEREQUEST +DESCRIPTOR.message_types_by_name['FullSettingsUpdateRequest'] = _FULLSETTINGSUPDATEREQUEST +DESCRIPTOR.message_types_by_name['FullSettingsUpdateResponse'] = _FULLSETTINGSUPDATERESPONSE +DESCRIPTOR.message_types_by_name['SettingsGetRequest'] = _SETTINGSGETREQUEST +DESCRIPTOR.message_types_by_name['SettingsGetResponse'] = _SETTINGSGETRESPONSE +DESCRIPTOR.message_types_by_name['FullSettingsGetRequest'] = _FULLSETTINGSGETREQUEST +DESCRIPTOR.message_types_by_name['FullSettingsGetResponse'] = _FULLSETTINGSGETRESPONSE +DESCRIPTOR.message_types_by_name['SettingsDeleteRequest'] = _SETTINGSDELETEREQUEST +DESCRIPTOR.message_types_by_name['SettingsDeleteResponse'] = _SETTINGSDELETERESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +SettingsCollection = _reflection.GeneratedProtocolMessageType('SettingsCollection', (_message.Message,), dict( + DESCRIPTOR = _SETTINGSCOLLECTION, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsCollection) + )) +_sym_db.RegisterMessage(SettingsCollection) + +Settings = _reflection.GeneratedProtocolMessageType('Settings', (_message.Message,), dict( + + ProjectSettingsEntry = _reflection.GeneratedProtocolMessageType('ProjectSettingsEntry', (_message.Message,), dict( + DESCRIPTOR = _SETTINGS_PROJECTSETTINGSENTRY, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.Settings.ProjectSettingsEntry) + )) + , + DESCRIPTOR = _SETTINGS, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.Settings) + )) +_sym_db.RegisterMessage(Settings) +_sym_db.RegisterMessage(Settings.ProjectSettingsEntry) + +ProjectSettings = _reflection.GeneratedProtocolMessageType('ProjectSettings', (_message.Message,), dict( + + DomainSettingsEntry = _reflection.GeneratedProtocolMessageType('DomainSettingsEntry', (_message.Message,), dict( + DESCRIPTOR = _PROJECTSETTINGS_DOMAINSETTINGSENTRY, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectSettings.DomainSettingsEntry) + )) + , + DESCRIPTOR = _PROJECTSETTINGS, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectSettings) + )) +_sym_db.RegisterMessage(ProjectSettings) +_sym_db.RegisterMessage(ProjectSettings.DomainSettingsEntry) + +DomainSettings = _reflection.GeneratedProtocolMessageType('DomainSettings', (_message.Message,), dict( + + WorkflowSettingsEntry = _reflection.GeneratedProtocolMessageType('WorkflowSettingsEntry', (_message.Message,), dict( + DESCRIPTOR = _DOMAINSETTINGS_WORKFLOWSETTINGSENTRY, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.DomainSettings.WorkflowSettingsEntry) + )) + , + DESCRIPTOR = _DOMAINSETTINGS, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.DomainSettings) + )) +_sym_db.RegisterMessage(DomainSettings) +_sym_db.RegisterMessage(DomainSettings.WorkflowSettingsEntry) + +WorkflowSettings = _reflection.GeneratedProtocolMessageType('WorkflowSettings', (_message.Message,), dict( + + LaunchplanSettingsEntry = _reflection.GeneratedProtocolMessageType('LaunchplanSettingsEntry', (_message.Message,), dict( + DESCRIPTOR = _WORKFLOWSETTINGS_LAUNCHPLANSETTINGSENTRY, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry) + )) + , + DESCRIPTOR = _WORKFLOWSETTINGS, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowSettings) + )) +_sym_db.RegisterMessage(WorkflowSettings) +_sym_db.RegisterMessage(WorkflowSettings.LaunchplanSettingsEntry) + +LaunchplanSettings = _reflection.GeneratedProtocolMessageType('LaunchplanSettings', (_message.Message,), dict( + DESCRIPTOR = _LAUNCHPLANSETTINGS, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchplanSettings) + )) +_sym_db.RegisterMessage(LaunchplanSettings) + +GlobalLevel = _reflection.GeneratedProtocolMessageType('GlobalLevel', (_message.Message,), dict( + DESCRIPTOR = _GLOBALLEVEL, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.GlobalLevel) + )) +_sym_db.RegisterMessage(GlobalLevel) + +ProjectLevel = _reflection.GeneratedProtocolMessageType('ProjectLevel', (_message.Message,), dict( + DESCRIPTOR = _PROJECTLEVEL, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectLevel) + )) +_sym_db.RegisterMessage(ProjectLevel) + +DomainLevel = _reflection.GeneratedProtocolMessageType('DomainLevel', (_message.Message,), dict( + DESCRIPTOR = _DOMAINLEVEL, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.DomainLevel) + )) +_sym_db.RegisterMessage(DomainLevel) + +WorkflowLevel = _reflection.GeneratedProtocolMessageType('WorkflowLevel', (_message.Message,), dict( + DESCRIPTOR = _WORKFLOWLEVEL, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowLevel) + )) +_sym_db.RegisterMessage(WorkflowLevel) + +LaunchplanLevel = _reflection.GeneratedProtocolMessageType('LaunchplanLevel', (_message.Message,), dict( + DESCRIPTOR = _LAUNCHPLANLEVEL, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.LaunchplanLevel) + )) +_sym_db.RegisterMessage(LaunchplanLevel) + +SettingsUpdateRequest = _reflection.GeneratedProtocolMessageType('SettingsUpdateRequest', (_message.Message,), dict( + DESCRIPTOR = _SETTINGSUPDATEREQUEST, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsUpdateRequest) + )) +_sym_db.RegisterMessage(SettingsUpdateRequest) + +FullSettingsUpdateRequest = _reflection.GeneratedProtocolMessageType('FullSettingsUpdateRequest', (_message.Message,), dict( + DESCRIPTOR = _FULLSETTINGSUPDATEREQUEST, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsUpdateRequest) + )) +_sym_db.RegisterMessage(FullSettingsUpdateRequest) + +FullSettingsUpdateResponse = _reflection.GeneratedProtocolMessageType('FullSettingsUpdateResponse', (_message.Message,), dict( + DESCRIPTOR = _FULLSETTINGSUPDATERESPONSE, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsUpdateResponse) + )) +_sym_db.RegisterMessage(FullSettingsUpdateResponse) + +SettingsGetRequest = _reflection.GeneratedProtocolMessageType('SettingsGetRequest', (_message.Message,), dict( + DESCRIPTOR = _SETTINGSGETREQUEST, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsGetRequest) + )) +_sym_db.RegisterMessage(SettingsGetRequest) + +SettingsGetResponse = _reflection.GeneratedProtocolMessageType('SettingsGetResponse', (_message.Message,), dict( + DESCRIPTOR = _SETTINGSGETRESPONSE, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsGetResponse) + )) +_sym_db.RegisterMessage(SettingsGetResponse) + +FullSettingsGetRequest = _reflection.GeneratedProtocolMessageType('FullSettingsGetRequest', (_message.Message,), dict( + DESCRIPTOR = _FULLSETTINGSGETREQUEST, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsGetRequest) + )) +_sym_db.RegisterMessage(FullSettingsGetRequest) + +FullSettingsGetResponse = _reflection.GeneratedProtocolMessageType('FullSettingsGetResponse', (_message.Message,), dict( + DESCRIPTOR = _FULLSETTINGSGETRESPONSE, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.FullSettingsGetResponse) + )) +_sym_db.RegisterMessage(FullSettingsGetResponse) + +SettingsDeleteRequest = _reflection.GeneratedProtocolMessageType('SettingsDeleteRequest', (_message.Message,), dict( + DESCRIPTOR = _SETTINGSDELETEREQUEST, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsDeleteRequest) + )) +_sym_db.RegisterMessage(SettingsDeleteRequest) + +SettingsDeleteResponse = _reflection.GeneratedProtocolMessageType('SettingsDeleteResponse', (_message.Message,), dict( + DESCRIPTOR = _SETTINGSDELETERESPONSE, + __module__ = 'flyteidl.admin.settings_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsDeleteResponse) + )) +_sym_db.RegisterMessage(SettingsDeleteResponse) + + +DESCRIPTOR._options = None +_SETTINGS_PROJECTSETTINGSENTRY._options = None +_PROJECTSETTINGS_DOMAINSETTINGSENTRY._options = None +_DOMAINSETTINGS_WORKFLOWSETTINGSENTRY._options = None +_WORKFLOWSETTINGS_LAUNCHPLANSETTINGSENTRY._options = None +# @@protoc_insertion_point(module_scope) diff --git a/gen/pb_python/flyteidl/admin/settings_pb2_grpc.py b/gen/pb_python/flyteidl/admin/settings_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/gen/pb_python/flyteidl/admin/settings_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/protos/flyteidl/admin/settings.proto b/protos/flyteidl/admin/settings.proto new file mode 100644 index 000000000..411173698 --- /dev/null +++ b/protos/flyteidl/admin/settings.proto @@ -0,0 +1,194 @@ +syntax = "proto3"; + +package flyteidl.admin; +option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin"; + +import "flyteidl/admin/matchable_resource.proto"; + + +// Defines settings collection for flyte resources +message SettingsCollection { + MatchingAttributes task_resource_settings = 1; + MatchingAttributes cluster_resource_settings = 2; + MatchingAttributes execution_queue_settings = 3; + MatchingAttributes execution_cluster_label_settings = 4; + MatchingAttributes quality_of_service_settings = 5; + MatchingAttributes plugin_override_settings = 6; + MatchingAttributes workflow_execution_settings = 7; + MatchingAttributes cluster_assignment_settings = 8; +} + + +// Defines settings at various levels +// Global : These are global settings which apply if no overrides are defined. +// Project : These are project level settings which get applied if they exist and no overrides exist at domain level +// Domain : These are domain level settings which get applied if they exist and no overrides exist at workflow level +// Workflow : These are workflow level settings which get applied if they exist +// Launchplan : These are launchplan level settings which get applied if they exist and no overrides exist at launchplan level +message Settings { + // Global settings applicable for all projects + SettingsCollection global = 1; + // All project settings keyed on there name + map project_settings = 2; +} + +// Defines Project level setting which contains it own settings and all the domain settings registered project +message ProjectSettings { + // Unique project id for which these settings are defined + string project = 1; + // Project settings applicable for current project + SettingsCollection settings = 2; + // All domain settings keyed on there name + map domain_settings = 3; +} + + +// Defines a domain level settings which contains it own settings and all the workflow settings registered in that domain +message DomainSettings { + // Unique domain id for which these settings are defined in project + string domain = 1; + // Domain settings applicable for current project domain + SettingsCollection settings = 2; + // All workflow settings keyed on there name + map workflow_settings = 3; +} + + +// Defines a workflow level settings which contains it own settings and all the launchplan settings registered in that domain +message WorkflowSettings { + // Workflow name for which these settings are defined in the project domain. + string workflow = 1; + // Workflow settings applicable for current project domain workflow + SettingsCollection settings = 2; + // All launchplan settings keyed on there name + map launchplan_settings = 3; +} + + +// Defines a launchplan level settings which contains it own settings +message LaunchplanSettings { + // Launchplan name for which these settings are defined in the project domain workflow. + string launchplan = 1; + SettingsCollection settings = 2; +} + +// Defines global level +message GlobalLevel{ +} + +// Defines project level +message ProjectLevel{ + string project =1; +} + +// Defines domain level +message DomainLevel{ + string project =1; + string domain =2; +} + +// Defines workflow level +message WorkflowLevel{ + string project =1; + string domain =2; + string workflow =3; +} + +// Defines launchplan level +message LaunchplanLevel{ + string project =1; + string domain =2; + string workflow =3; + string launchplan =4; +} + +// Defines the settings update with level at which settings need to be applied. +message SettingsUpdateRequest { + // +required + oneof level { + GlobalLevel global_level = 1; + ProjectLevel project_level = 2; + DomainLevel domain_level = 3; + + WorkflowLevel workflow_level = 4; + LaunchplanLevel launchplan_level=5; + } + + SettingsCollection settings = 6; +} + +// Defines the full settings update request to be applied. +message FullSettingsUpdateRequest { + // +required + oneof level { + GlobalLevel global_level = 1; + ProjectLevel project_level = 2; + DomainLevel domain_level = 3; + + WorkflowLevel workflow_level = 4; + LaunchplanLevel launchplan_level=5; + } + + SettingsCollection settings = 6; +} + +// Purposefully empty, may be populated in the future. +message FullSettingsUpdateResponse { +} + + +// Defines the settings get request. +message SettingsGetRequest { + // +required + oneof level { + GlobalLevel global_level = 1; + ProjectLevel project_level = 2; + DomainLevel domain_level = 3; + + WorkflowLevel workflow_level = 4; + LaunchplanLevel launchplan_level=5; + } +} + + +// Returns the settings for the provided level in SettingsGetRequest. +message SettingsGetResponse { + // +required + oneof level { + GlobalLevel global_level = 1; + ProjectLevel project_level = 2; + DomainLevel domain_level = 3; + + WorkflowLevel workflow_level = 4; + LaunchplanLevel launchplan_level=5; + } + + SettingsCollection settings = 6; +} + +// Defines the full settings get request. +message FullSettingsGetRequest { +} + + +// Returns the full settings. +message FullSettingsGetResponse { + Settings settings = 1; +} + +// Defines the settings delete request. +message SettingsDeleteRequest { + // +required + oneof level { + GlobalLevel global_level = 1; + ProjectLevel project_level = 2; + DomainLevel domain_level = 3; + + WorkflowLevel workflow_level = 4; + LaunchplanLevel launchplan_level=5; + } +} + +// Purposefully empty, may be populated in the future. +message SettingsDeleteResponse { +} \ No newline at end of file From 1ebaf871823e8b99b73a365295fbdc86629d63c1 Mon Sep 17 00:00:00 2001 From: Prafulla Mahindrakar Date: Thu, 5 May 2022 18:58:27 +0530 Subject: [PATCH 2/2] using concrete attributes Signed-off-by: Prafulla Mahindrakar --- gen/pb-cpp/flyteidl/admin/settings.pb.cc | 426 +++++----- gen/pb-cpp/flyteidl/admin/settings.pb.h | 258 +++--- gen/pb-go/flyteidl/admin/settings.pb.go | 168 ++-- .../flyteidl/admin/SettingsOuterClass.java | 782 +++++++++--------- gen/pb-js/flyteidl.d.ts | 32 +- gen/pb-js/flyteidl.js | 80 +- gen/pb_python/flyteidl/admin/settings_pb2.py | 118 +-- protos/docs/admin/admin.rst | 547 ++++++++++++ protos/flyteidl/admin/settings.proto | 18 +- 9 files changed, 1506 insertions(+), 923 deletions(-) diff --git a/gen/pb-cpp/flyteidl/admin/settings.pb.cc b/gen/pb-cpp/flyteidl/admin/settings.pb.cc index 288f399d7..f555fa34d 100644 --- a/gen/pb-cpp/flyteidl/admin/settings.pb.cc +++ b/gen/pb-cpp/flyteidl/admin/settings.pb.cc @@ -16,7 +16,13 @@ // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fcluster_5fassignment_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_PluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<5> scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_DomainLevel_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_GlobalLevel_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_LaunchplanLevel_flyteidl_2fadmin_2fsettings_2eproto; @@ -25,13 +31,14 @@ extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::pr extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_DomainSettings_WorkflowSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_LaunchplanSettings_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ProjectSettings_DomainSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto; -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_Settings_ProjectSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowSettings_LaunchplanSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_DomainSettings_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_ProjectSettings_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_Settings_flyteidl_2fadmin_2fsettings_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<2> scc_info_WorkflowSettings_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fsettings_2eproto ::google::protobuf::internal::SCCInfo<8> scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fcore_2fexecution_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto; namespace flyteidl { namespace admin { class SettingsCollectionDefaultTypeInternal { @@ -168,9 +175,16 @@ static void InitDefaultsSettingsCollection_flyteidl_2fadmin_2fsettings_2eproto() ::flyteidl::admin::SettingsCollection::InitAsDefaultInstance(); } -::google::protobuf::internal::SCCInfo<1> scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsSettingsCollection_flyteidl_2fadmin_2fsettings_2eproto}, { - &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; +::google::protobuf::internal::SCCInfo<8> scc_info_SettingsCollection_flyteidl_2fadmin_2fsettings_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 8, InitDefaultsSettingsCollection_flyteidl_2fadmin_2fsettings_2eproto}, { + &scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, + &scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, + &scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, + &scc_info_ExecutionClusterLabel_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, + &scc_info_QualityOfService_flyteidl_2fcore_2fexecution_2eproto.base, + &scc_info_PluginOverride_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, + &scc_info_WorkflowExecutionConfig_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base, + &scc_info_ClusterAssignment_flyteidl_2fadmin_2fcluster_5fassignment_2eproto.base,}}; static void InitDefaultsSettings_ProjectSettingsEntry_DoNotUse_flyteidl_2fadmin_2fsettings_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -828,119 +842,123 @@ ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_fl const char descriptor_table_protodef_flyteidl_2fadmin_2fsettings_2eproto[] = "\n\035flyteidl/admin/settings.proto\022\016flyteid" - "l.admin\032\'flyteidl/admin/matchable_resour" - "ce.proto\"\324\004\n\022SettingsCollection\022B\n\026task_" - "resource_settings\030\001 \001(\0132\".flyteidl.admin" - ".MatchingAttributes\022E\n\031cluster_resource_" - "settings\030\002 \001(\0132\".flyteidl.admin.Matching" - "Attributes\022D\n\030execution_queue_settings\030\003" - " \001(\0132\".flyteidl.admin.MatchingAttributes" - "\022L\n execution_cluster_label_settings\030\004 \001" - "(\0132\".flyteidl.admin.MatchingAttributes\022G" - "\n\033quality_of_service_settings\030\005 \001(\0132\".fl" - "yteidl.admin.MatchingAttributes\022D\n\030plugi" - "n_override_settings\030\006 \001(\0132\".flyteidl.adm" - "in.MatchingAttributes\022G\n\033workflow_execut" - "ion_settings\030\007 \001(\0132\".flyteidl.admin.Matc" - "hingAttributes\022G\n\033cluster_assignment_set" - "tings\030\010 \001(\0132\".flyteidl.admin.MatchingAtt" - "ributes\"\340\001\n\010Settings\0222\n\006global\030\001 \001(\0132\".f" - "lyteidl.admin.SettingsCollection\022G\n\020proj" - "ect_settings\030\002 \003(\0132-.flyteidl.admin.Sett" - "ings.ProjectSettingsEntry\032W\n\024ProjectSett" - "ingsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 \001(\0132\037." - "flyteidl.admin.ProjectSettings:\0028\001\"\375\001\n\017P" - "rojectSettings\022\017\n\007project\030\001 \001(\t\0224\n\010setti" - "ngs\030\002 \001(\0132\".flyteidl.admin.SettingsColle" - "ction\022L\n\017domain_settings\030\003 \003(\01323.flyteid" - "l.admin.ProjectSettings.DomainSettingsEn" - "try\032U\n\023DomainSettingsEntry\022\013\n\003key\030\001 \001(\t\022" - "-\n\005value\030\002 \001(\0132\036.flyteidl.admin.DomainSe" - "ttings:\0028\001\"\202\002\n\016DomainSettings\022\016\n\006domain\030" - "\001 \001(\t\0224\n\010settings\030\002 \001(\0132\".flyteidl.admin" - ".SettingsCollection\022O\n\021workflow_settings" - "\030\003 \003(\01324.flyteidl.admin.DomainSettings.W" - "orkflowSettingsEntry\032Y\n\025WorkflowSettings" - "Entry\022\013\n\003key\030\001 \001(\t\022/\n\005value\030\002 \001(\0132 .flyt" - "eidl.admin.WorkflowSettings:\0028\001\"\220\002\n\020Work" - "flowSettings\022\020\n\010workflow\030\001 \001(\t\0224\n\010settin" - "gs\030\002 \001(\0132\".flyteidl.admin.SettingsCollec" - "tion\022U\n\023launchplan_settings\030\003 \003(\01328.flyt" - "eidl.admin.WorkflowSettings.LaunchplanSe" - "ttingsEntry\032]\n\027LaunchplanSettingsEntry\022\013" - "\n\003key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".flyteidl.ad" - "min.LaunchplanSettings:\0028\001\"^\n\022Launchplan" - "Settings\022\022\n\nlaunchplan\030\001 \001(\t\0224\n\010settings" - "\030\002 \001(\0132\".flyteidl.admin.SettingsCollecti" - "on\"\r\n\013GlobalLevel\"\037\n\014ProjectLevel\022\017\n\007pro" - "ject\030\001 \001(\t\".\n\013DomainLevel\022\017\n\007project\030\001 \001" - "(\t\022\016\n\006domain\030\002 \001(\t\"B\n\rWorkflowLevel\022\017\n\007p" - "roject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow" - "\030\003 \001(\t\"X\n\017LaunchplanLevel\022\017\n\007project\030\001 \001" - "(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow\030\003 \001(\t\022\022\n\n" - "launchplan\030\004 \001(\t\"\355\002\n\025SettingsUpdateReque" - "st\0223\n\014global_level\030\001 \001(\0132\033.flyteidl.admi" - "n.GlobalLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034" - ".flyteidl.admin.ProjectLevelH\000\0223\n\014domain" - "_level\030\003 \001(\0132\033.flyteidl.admin.DomainLeve" - "lH\000\0227\n\016workflow_level\030\004 \001(\0132\035.flyteidl.a" - "dmin.WorkflowLevelH\000\022;\n\020launchplan_level" - "\030\005 \001(\0132\037.flyteidl.admin.LaunchplanLevelH" - "\000\0224\n\010settings\030\006 \001(\0132\".flyteidl.admin.Set" - "tingsCollectionB\007\n\005level\"\361\002\n\031FullSetting" - "sUpdateRequest\0223\n\014global_level\030\001 \001(\0132\033.f" - "lyteidl.admin.GlobalLevelH\000\0225\n\rproject_l" - "evel\030\002 \001(\0132\034.flyteidl.admin.ProjectLevel" - "H\000\0223\n\014domain_level\030\003 \001(\0132\033.flyteidl.admi" - "n.DomainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132" - "\035.flyteidl.admin.WorkflowLevelH\000\022;\n\020laun" - "chplan_level\030\005 \001(\0132\037.flyteidl.admin.Laun" - "chplanLevelH\000\0224\n\010settings\030\006 \001(\0132\".flytei" - "dl.admin.SettingsCollectionB\007\n\005level\"\034\n\032" - "FullSettingsUpdateResponse\"\264\002\n\022SettingsG" - "etRequest\0223\n\014global_level\030\001 \001(\0132\033.flytei" - "dl.admin.GlobalLevelH\000\0225\n\rproject_level\030" - "\002 \001(\0132\034.flyteidl.admin.ProjectLevelH\000\0223\n" - "\014domain_level\030\003 \001(\0132\033.flyteidl.admin.Dom" - "ainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132\035.fly" - "teidl.admin.WorkflowLevelH\000\022;\n\020launchpla" - "n_level\030\005 \001(\0132\037.flyteidl.admin.Launchpla" - "nLevelH\000B\007\n\005level\"\353\002\n\023SettingsGetRespons" - "e\0223\n\014global_level\030\001 \001(\0132\033.flyteidl.admin" - ".GlobalLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034." - "flyteidl.admin.ProjectLevelH\000\0223\n\014domain_" - "level\030\003 \001(\0132\033.flyteidl.admin.DomainLevel" - "H\000\0227\n\016workflow_level\030\004 \001(\0132\035.flyteidl.ad" - "min.WorkflowLevelH\000\022;\n\020launchplan_level\030" - "\005 \001(\0132\037.flyteidl.admin.LaunchplanLevelH\000" - "\0224\n\010settings\030\006 \001(\0132\".flyteidl.admin.Sett" - "ingsCollectionB\007\n\005level\"\030\n\026FullSettingsG" - "etRequest\"E\n\027FullSettingsGetResponse\022*\n\010" - "settings\030\001 \001(\0132\030.flyteidl.admin.Settings" - "\"\267\002\n\025SettingsDeleteRequest\0223\n\014global_lev" - "el\030\001 \001(\0132\033.flyteidl.admin.GlobalLevelH\000\022" - "5\n\rproject_level\030\002 \001(\0132\034.flyteidl.admin." - "ProjectLevelH\000\0223\n\014domain_level\030\003 \001(\0132\033.f" - "lyteidl.admin.DomainLevelH\000\0227\n\016workflow_" - "level\030\004 \001(\0132\035.flyteidl.admin.WorkflowLev" - "elH\000\022;\n\020launchplan_level\030\005 \001(\0132\037.flyteid" - "l.admin.LaunchplanLevelH\000B\007\n\005level\"\030\n\026Se" - "ttingsDeleteResponseB7Z5github.com/flyte" - "org/flyteidl/gen/pb-go/flyteidl/adminb\006p" - "roto3" + "l.admin\032\'flyteidl/admin/cluster_assignme" + "nt.proto\032\035flyteidl/core/execution.proto\032" + "\'flyteidl/admin/matchable_resource.proto" + "\"\345\004\n\022SettingsCollection\022F\n\026task_resource" + "_settings\030\001 \001(\0132&.flyteidl.admin.TaskRes" + "ourceAttributes\022L\n\031cluster_resource_sett" + "ings\030\002 \001(\0132).flyteidl.admin.ClusterResou" + "rceAttributes\022J\n\030execution_queue_setting" + "s\030\003 \001(\0132(.flyteidl.admin.ExecutionQueueA" + "ttributes\022O\n execution_cluster_label_set" + "tings\030\004 \001(\0132%.flyteidl.admin.ExecutionCl" + "usterLabel\022D\n\033quality_of_service_setting" + "s\030\005 \001(\0132\037.flyteidl.core.QualityOfService" + "\022@\n\030plugin_override_settings\030\006 \001(\0132\036.fly" + "teidl.admin.PluginOverride\022L\n\033workflow_e" + "xecution_settings\030\007 \001(\0132\'.flyteidl.admin" + ".WorkflowExecutionConfig\022F\n\033cluster_assi" + "gnment_settings\030\010 \001(\0132!.flyteidl.admin.C" + "lusterAssignment\"\340\001\n\010Settings\0222\n\006global\030" + "\001 \001(\0132\".flyteidl.admin.SettingsCollectio" + "n\022G\n\020project_settings\030\002 \003(\0132-.flyteidl.a" + "dmin.Settings.ProjectSettingsEntry\032W\n\024Pr" + "ojectSettingsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value" + "\030\002 \001(\0132\037.flyteidl.admin.ProjectSettings:" + "\0028\001\"\375\001\n\017ProjectSettings\022\017\n\007project\030\001 \001(\t" + "\0224\n\010settings\030\002 \001(\0132\".flyteidl.admin.Sett" + "ingsCollection\022L\n\017domain_settings\030\003 \003(\0132" + "3.flyteidl.admin.ProjectSettings.DomainS" + "ettingsEntry\032U\n\023DomainSettingsEntry\022\013\n\003k" + "ey\030\001 \001(\t\022-\n\005value\030\002 \001(\0132\036.flyteidl.admin" + ".DomainSettings:\0028\001\"\202\002\n\016DomainSettings\022\016" + "\n\006domain\030\001 \001(\t\0224\n\010settings\030\002 \001(\0132\".flyte" + "idl.admin.SettingsCollection\022O\n\021workflow" + "_settings\030\003 \003(\01324.flyteidl.admin.DomainS" + "ettings.WorkflowSettingsEntry\032Y\n\025Workflo" + "wSettingsEntry\022\013\n\003key\030\001 \001(\t\022/\n\005value\030\002 \001" + "(\0132 .flyteidl.admin.WorkflowSettings:\0028\001" + "\"\220\002\n\020WorkflowSettings\022\020\n\010workflow\030\001 \001(\t\022" + "4\n\010settings\030\002 \001(\0132\".flyteidl.admin.Setti" + "ngsCollection\022U\n\023launchplan_settings\030\003 \003" + "(\01328.flyteidl.admin.WorkflowSettings.Lau" + "nchplanSettingsEntry\032]\n\027LaunchplanSettin" + "gsEntry\022\013\n\003key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".fl" + "yteidl.admin.LaunchplanSettings:\0028\001\"^\n\022L" + "aunchplanSettings\022\022\n\nlaunchplan\030\001 \001(\t\0224\n" + "\010settings\030\002 \001(\0132\".flyteidl.admin.Setting" + "sCollection\"\r\n\013GlobalLevel\"\037\n\014ProjectLev" + "el\022\017\n\007project\030\001 \001(\t\".\n\013DomainLevel\022\017\n\007pr" + "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\"B\n\rWorkflowL" + "evel\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n" + "\010workflow\030\003 \001(\t\"X\n\017LaunchplanLevel\022\017\n\007pr" + "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow\030" + "\003 \001(\t\022\022\n\nlaunchplan\030\004 \001(\t\"\355\002\n\025SettingsUp" + "dateRequest\0223\n\014global_level\030\001 \001(\0132\033.flyt" + "eidl.admin.GlobalLevelH\000\0225\n\rproject_leve" + "l\030\002 \001(\0132\034.flyteidl.admin.ProjectLevelH\000\022" + "3\n\014domain_level\030\003 \001(\0132\033.flyteidl.admin.D" + "omainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132\035.f" + "lyteidl.admin.WorkflowLevelH\000\022;\n\020launchp" + "lan_level\030\005 \001(\0132\037.flyteidl.admin.Launchp" + "lanLevelH\000\0224\n\010settings\030\006 \001(\0132\".flyteidl." + "admin.SettingsCollectionB\007\n\005level\"\361\002\n\031Fu" + "llSettingsUpdateRequest\0223\n\014global_level\030" + "\001 \001(\0132\033.flyteidl.admin.GlobalLevelH\000\0225\n\r" + "project_level\030\002 \001(\0132\034.flyteidl.admin.Pro" + "jectLevelH\000\0223\n\014domain_level\030\003 \001(\0132\033.flyt" + "eidl.admin.DomainLevelH\000\0227\n\016workflow_lev" + "el\030\004 \001(\0132\035.flyteidl.admin.WorkflowLevelH" + "\000\022;\n\020launchplan_level\030\005 \001(\0132\037.flyteidl.a" + "dmin.LaunchplanLevelH\000\0224\n\010settings\030\006 \001(\013" + "2\".flyteidl.admin.SettingsCollectionB\007\n\005" + "level\"\034\n\032FullSettingsUpdateResponse\"\264\002\n\022" + "SettingsGetRequest\0223\n\014global_level\030\001 \001(\013" + "2\033.flyteidl.admin.GlobalLevelH\000\0225\n\rproje" + "ct_level\030\002 \001(\0132\034.flyteidl.admin.ProjectL" + "evelH\000\0223\n\014domain_level\030\003 \001(\0132\033.flyteidl." + "admin.DomainLevelH\000\0227\n\016workflow_level\030\004 " + "\001(\0132\035.flyteidl.admin.WorkflowLevelH\000\022;\n\020" + "launchplan_level\030\005 \001(\0132\037.flyteidl.admin." + "LaunchplanLevelH\000B\007\n\005level\"\353\002\n\023SettingsG" + "etResponse\0223\n\014global_level\030\001 \001(\0132\033.flyte" + "idl.admin.GlobalLevelH\000\0225\n\rproject_level" + "\030\002 \001(\0132\034.flyteidl.admin.ProjectLevelH\000\0223" + "\n\014domain_level\030\003 \001(\0132\033.flyteidl.admin.Do" + "mainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132\035.fl" + "yteidl.admin.WorkflowLevelH\000\022;\n\020launchpl" + "an_level\030\005 \001(\0132\037.flyteidl.admin.Launchpl" + "anLevelH\000\0224\n\010settings\030\006 \001(\0132\".flyteidl.a" + "dmin.SettingsCollectionB\007\n\005level\"\030\n\026Full" + "SettingsGetRequest\"E\n\027FullSettingsGetRes" + "ponse\022*\n\010settings\030\001 \001(\0132\030.flyteidl.admin" + ".Settings\"\267\002\n\025SettingsDeleteRequest\0223\n\014g" + "lobal_level\030\001 \001(\0132\033.flyteidl.admin.Globa" + "lLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034.flytei" + "dl.admin.ProjectLevelH\000\0223\n\014domain_level\030" + "\003 \001(\0132\033.flyteidl.admin.DomainLevelH\000\0227\n\016" + "workflow_level\030\004 \001(\0132\035.flyteidl.admin.Wo" + "rkflowLevelH\000\022;\n\020launchplan_level\030\005 \001(\0132" + "\037.flyteidl.admin.LaunchplanLevelH\000B\007\n\005le" + "vel\"\030\n\026SettingsDeleteResponseB7Z5github." + "com/flyteorg/flyteidl/gen/pb-go/flyteidl" + "/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fsettings_2eproto = { false, InitDefaults_flyteidl_2fadmin_2fsettings_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2fsettings_2eproto, - "flyteidl/admin/settings.proto", &assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto, 4005, + "flyteidl/admin/settings.proto", &assign_descriptors_table_flyteidl_2fadmin_2fsettings_2eproto, 4094, }; void AddDescriptors_flyteidl_2fadmin_2fsettings_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[1] = + static constexpr ::google::protobuf::internal::InitFunc deps[3] = { + ::AddDescriptors_flyteidl_2fadmin_2fcluster_5fassignment_2eproto, + ::AddDescriptors_flyteidl_2fcore_2fexecution_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fsettings_2eproto, deps, 1); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fsettings_2eproto, deps, 3); } // Force running AddDescriptors() at dynamic initialization time. @@ -951,64 +969,64 @@ namespace admin { // =================================================================== void SettingsCollection::InitAsDefaultInstance() { - ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->task_resource_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); - ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->cluster_resource_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); - ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->execution_queue_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); - ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->execution_cluster_label_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); - ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->quality_of_service_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); - ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->plugin_override_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); - ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->workflow_execution_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); - ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->cluster_assignment_settings_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( - ::flyteidl::admin::MatchingAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->task_resource_settings_ = const_cast< ::flyteidl::admin::TaskResourceAttributes*>( + ::flyteidl::admin::TaskResourceAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->cluster_resource_settings_ = const_cast< ::flyteidl::admin::ClusterResourceAttributes*>( + ::flyteidl::admin::ClusterResourceAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->execution_queue_settings_ = const_cast< ::flyteidl::admin::ExecutionQueueAttributes*>( + ::flyteidl::admin::ExecutionQueueAttributes::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->execution_cluster_label_settings_ = const_cast< ::flyteidl::admin::ExecutionClusterLabel*>( + ::flyteidl::admin::ExecutionClusterLabel::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->quality_of_service_settings_ = const_cast< ::flyteidl::core::QualityOfService*>( + ::flyteidl::core::QualityOfService::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->plugin_override_settings_ = const_cast< ::flyteidl::admin::PluginOverride*>( + ::flyteidl::admin::PluginOverride::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->workflow_execution_settings_ = const_cast< ::flyteidl::admin::WorkflowExecutionConfig*>( + ::flyteidl::admin::WorkflowExecutionConfig::internal_default_instance()); + ::flyteidl::admin::_SettingsCollection_default_instance_._instance.get_mutable()->cluster_assignment_settings_ = const_cast< ::flyteidl::admin::ClusterAssignment*>( + ::flyteidl::admin::ClusterAssignment::internal_default_instance()); } class SettingsCollection::HasBitSetters { public: - static const ::flyteidl::admin::MatchingAttributes& task_resource_settings(const SettingsCollection* msg); - static const ::flyteidl::admin::MatchingAttributes& cluster_resource_settings(const SettingsCollection* msg); - static const ::flyteidl::admin::MatchingAttributes& execution_queue_settings(const SettingsCollection* msg); - static const ::flyteidl::admin::MatchingAttributes& execution_cluster_label_settings(const SettingsCollection* msg); - static const ::flyteidl::admin::MatchingAttributes& quality_of_service_settings(const SettingsCollection* msg); - static const ::flyteidl::admin::MatchingAttributes& plugin_override_settings(const SettingsCollection* msg); - static const ::flyteidl::admin::MatchingAttributes& workflow_execution_settings(const SettingsCollection* msg); - static const ::flyteidl::admin::MatchingAttributes& cluster_assignment_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::TaskResourceAttributes& task_resource_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::ClusterResourceAttributes& cluster_resource_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::ExecutionQueueAttributes& execution_queue_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::ExecutionClusterLabel& execution_cluster_label_settings(const SettingsCollection* msg); + static const ::flyteidl::core::QualityOfService& quality_of_service_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::PluginOverride& plugin_override_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::WorkflowExecutionConfig& workflow_execution_settings(const SettingsCollection* msg); + static const ::flyteidl::admin::ClusterAssignment& cluster_assignment_settings(const SettingsCollection* msg); }; -const ::flyteidl::admin::MatchingAttributes& +const ::flyteidl::admin::TaskResourceAttributes& SettingsCollection::HasBitSetters::task_resource_settings(const SettingsCollection* msg) { return *msg->task_resource_settings_; } -const ::flyteidl::admin::MatchingAttributes& +const ::flyteidl::admin::ClusterResourceAttributes& SettingsCollection::HasBitSetters::cluster_resource_settings(const SettingsCollection* msg) { return *msg->cluster_resource_settings_; } -const ::flyteidl::admin::MatchingAttributes& +const ::flyteidl::admin::ExecutionQueueAttributes& SettingsCollection::HasBitSetters::execution_queue_settings(const SettingsCollection* msg) { return *msg->execution_queue_settings_; } -const ::flyteidl::admin::MatchingAttributes& +const ::flyteidl::admin::ExecutionClusterLabel& SettingsCollection::HasBitSetters::execution_cluster_label_settings(const SettingsCollection* msg) { return *msg->execution_cluster_label_settings_; } -const ::flyteidl::admin::MatchingAttributes& +const ::flyteidl::core::QualityOfService& SettingsCollection::HasBitSetters::quality_of_service_settings(const SettingsCollection* msg) { return *msg->quality_of_service_settings_; } -const ::flyteidl::admin::MatchingAttributes& +const ::flyteidl::admin::PluginOverride& SettingsCollection::HasBitSetters::plugin_override_settings(const SettingsCollection* msg) { return *msg->plugin_override_settings_; } -const ::flyteidl::admin::MatchingAttributes& +const ::flyteidl::admin::WorkflowExecutionConfig& SettingsCollection::HasBitSetters::workflow_execution_settings(const SettingsCollection* msg) { return *msg->workflow_execution_settings_; } -const ::flyteidl::admin::MatchingAttributes& +const ::flyteidl::admin::ClusterAssignment& SettingsCollection::HasBitSetters::cluster_assignment_settings(const SettingsCollection* msg) { return *msg->cluster_assignment_settings_; } @@ -1081,42 +1099,42 @@ SettingsCollection::SettingsCollection(const SettingsCollection& from) _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_task_resource_settings()) { - task_resource_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.task_resource_settings_); + task_resource_settings_ = new ::flyteidl::admin::TaskResourceAttributes(*from.task_resource_settings_); } else { task_resource_settings_ = nullptr; } if (from.has_cluster_resource_settings()) { - cluster_resource_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.cluster_resource_settings_); + cluster_resource_settings_ = new ::flyteidl::admin::ClusterResourceAttributes(*from.cluster_resource_settings_); } else { cluster_resource_settings_ = nullptr; } if (from.has_execution_queue_settings()) { - execution_queue_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.execution_queue_settings_); + execution_queue_settings_ = new ::flyteidl::admin::ExecutionQueueAttributes(*from.execution_queue_settings_); } else { execution_queue_settings_ = nullptr; } if (from.has_execution_cluster_label_settings()) { - execution_cluster_label_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.execution_cluster_label_settings_); + execution_cluster_label_settings_ = new ::flyteidl::admin::ExecutionClusterLabel(*from.execution_cluster_label_settings_); } else { execution_cluster_label_settings_ = nullptr; } if (from.has_quality_of_service_settings()) { - quality_of_service_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.quality_of_service_settings_); + quality_of_service_settings_ = new ::flyteidl::core::QualityOfService(*from.quality_of_service_settings_); } else { quality_of_service_settings_ = nullptr; } if (from.has_plugin_override_settings()) { - plugin_override_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.plugin_override_settings_); + plugin_override_settings_ = new ::flyteidl::admin::PluginOverride(*from.plugin_override_settings_); } else { plugin_override_settings_ = nullptr; } if (from.has_workflow_execution_settings()) { - workflow_execution_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.workflow_execution_settings_); + workflow_execution_settings_ = new ::flyteidl::admin::WorkflowExecutionConfig(*from.workflow_execution_settings_); } else { workflow_execution_settings_ = nullptr; } if (from.has_cluster_assignment_settings()) { - cluster_assignment_settings_ = new ::flyteidl::admin::MatchingAttributes(*from.cluster_assignment_settings_); + cluster_assignment_settings_ = new ::flyteidl::admin::ClusterAssignment(*from.cluster_assignment_settings_); } else { cluster_assignment_settings_ = nullptr; } @@ -1210,12 +1228,12 @@ const char* SettingsCollection::_InternalParse(const char* begin, const char* en ptr = ::google::protobuf::io::Parse32(ptr, &tag); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); switch (tag >> 3) { - // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + // .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; case 1: { if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + parser_till_end = ::flyteidl::admin::TaskResourceAttributes::_InternalParse; object = msg->mutable_task_resource_settings(); if (size > end - ptr) goto len_delim_till_end; ptr += size; @@ -1223,12 +1241,12 @@ const char* SettingsCollection::_InternalParse(const char* begin, const char* en {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; case 2: { if (static_cast<::google::protobuf::uint8>(tag) != 18) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + parser_till_end = ::flyteidl::admin::ClusterResourceAttributes::_InternalParse; object = msg->mutable_cluster_resource_settings(); if (size > end - ptr) goto len_delim_till_end; ptr += size; @@ -1236,12 +1254,12 @@ const char* SettingsCollection::_InternalParse(const char* begin, const char* en {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; case 3: { if (static_cast<::google::protobuf::uint8>(tag) != 26) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + parser_till_end = ::flyteidl::admin::ExecutionQueueAttributes::_InternalParse; object = msg->mutable_execution_queue_settings(); if (size > end - ptr) goto len_delim_till_end; ptr += size; @@ -1249,12 +1267,12 @@ const char* SettingsCollection::_InternalParse(const char* begin, const char* en {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; case 4: { if (static_cast<::google::protobuf::uint8>(tag) != 34) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + parser_till_end = ::flyteidl::admin::ExecutionClusterLabel::_InternalParse; object = msg->mutable_execution_cluster_label_settings(); if (size > end - ptr) goto len_delim_till_end; ptr += size; @@ -1262,12 +1280,12 @@ const char* SettingsCollection::_InternalParse(const char* begin, const char* en {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + // .flyteidl.core.QualityOfService quality_of_service_settings = 5; case 5: { if (static_cast<::google::protobuf::uint8>(tag) != 42) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + parser_till_end = ::flyteidl::core::QualityOfService::_InternalParse; object = msg->mutable_quality_of_service_settings(); if (size > end - ptr) goto len_delim_till_end; ptr += size; @@ -1275,12 +1293,12 @@ const char* SettingsCollection::_InternalParse(const char* begin, const char* en {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + // .flyteidl.admin.PluginOverride plugin_override_settings = 6; case 6: { if (static_cast<::google::protobuf::uint8>(tag) != 50) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + parser_till_end = ::flyteidl::admin::PluginOverride::_InternalParse; object = msg->mutable_plugin_override_settings(); if (size > end - ptr) goto len_delim_till_end; ptr += size; @@ -1288,12 +1306,12 @@ const char* SettingsCollection::_InternalParse(const char* begin, const char* en {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; case 7: { if (static_cast<::google::protobuf::uint8>(tag) != 58) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + parser_till_end = ::flyteidl::admin::WorkflowExecutionConfig::_InternalParse; object = msg->mutable_workflow_execution_settings(); if (size > end - ptr) goto len_delim_till_end; ptr += size; @@ -1301,12 +1319,12 @@ const char* SettingsCollection::_InternalParse(const char* begin, const char* en {parser_till_end, object}, ptr - size, ptr)); break; } - // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + // .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; case 8: { if (static_cast<::google::protobuf::uint8>(tag) != 66) goto handle_unusual; ptr = ::google::protobuf::io::ReadSize(ptr, &size); GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); - parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + parser_till_end = ::flyteidl::admin::ClusterAssignment::_InternalParse; object = msg->mutable_cluster_assignment_settings(); if (size > end - ptr) goto len_delim_till_end; ptr += size; @@ -1344,7 +1362,7 @@ bool SettingsCollection::MergePartialFromCodedStream( tag = p.first; if (!p.second) goto handle_unusual; switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + // .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; case 1: { if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( @@ -1355,7 +1373,7 @@ bool SettingsCollection::MergePartialFromCodedStream( break; } - // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; case 2: { if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( @@ -1366,7 +1384,7 @@ bool SettingsCollection::MergePartialFromCodedStream( break; } - // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( @@ -1377,7 +1395,7 @@ bool SettingsCollection::MergePartialFromCodedStream( break; } - // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; case 4: { if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( @@ -1388,7 +1406,7 @@ bool SettingsCollection::MergePartialFromCodedStream( break; } - // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + // .flyteidl.core.QualityOfService quality_of_service_settings = 5; case 5: { if (static_cast< ::google::protobuf::uint8>(tag) == (42 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( @@ -1399,7 +1417,7 @@ bool SettingsCollection::MergePartialFromCodedStream( break; } - // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + // .flyteidl.admin.PluginOverride plugin_override_settings = 6; case 6: { if (static_cast< ::google::protobuf::uint8>(tag) == (50 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( @@ -1410,7 +1428,7 @@ bool SettingsCollection::MergePartialFromCodedStream( break; } - // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; case 7: { if (static_cast< ::google::protobuf::uint8>(tag) == (58 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( @@ -1421,7 +1439,7 @@ bool SettingsCollection::MergePartialFromCodedStream( break; } - // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + // .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; case 8: { if (static_cast< ::google::protobuf::uint8>(tag) == (66 & 0xFF)) { DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( @@ -1459,49 +1477,49 @@ void SettingsCollection::SerializeWithCachedSizes( ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + // .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; if (this->has_task_resource_settings()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 1, HasBitSetters::task_resource_settings(this), output); } - // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; if (this->has_cluster_resource_settings()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, HasBitSetters::cluster_resource_settings(this), output); } - // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; if (this->has_execution_queue_settings()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, HasBitSetters::execution_queue_settings(this), output); } - // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; if (this->has_execution_cluster_label_settings()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, HasBitSetters::execution_cluster_label_settings(this), output); } - // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + // .flyteidl.core.QualityOfService quality_of_service_settings = 5; if (this->has_quality_of_service_settings()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 5, HasBitSetters::quality_of_service_settings(this), output); } - // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + // .flyteidl.admin.PluginOverride plugin_override_settings = 6; if (this->has_plugin_override_settings()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, HasBitSetters::plugin_override_settings(this), output); } - // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; if (this->has_workflow_execution_settings()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 7, HasBitSetters::workflow_execution_settings(this), output); } - // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + // .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; if (this->has_cluster_assignment_settings()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 8, HasBitSetters::cluster_assignment_settings(this), output); @@ -1520,56 +1538,56 @@ ::google::protobuf::uint8* SettingsCollection::InternalSerializeWithCachedSizesT ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + // .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; if (this->has_task_resource_settings()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 1, HasBitSetters::task_resource_settings(this), target); } - // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; if (this->has_cluster_resource_settings()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 2, HasBitSetters::cluster_resource_settings(this), target); } - // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; if (this->has_execution_queue_settings()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 3, HasBitSetters::execution_queue_settings(this), target); } - // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; if (this->has_execution_cluster_label_settings()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 4, HasBitSetters::execution_cluster_label_settings(this), target); } - // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + // .flyteidl.core.QualityOfService quality_of_service_settings = 5; if (this->has_quality_of_service_settings()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 5, HasBitSetters::quality_of_service_settings(this), target); } - // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + // .flyteidl.admin.PluginOverride plugin_override_settings = 6; if (this->has_plugin_override_settings()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 6, HasBitSetters::plugin_override_settings(this), target); } - // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; if (this->has_workflow_execution_settings()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( 7, HasBitSetters::workflow_execution_settings(this), target); } - // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + // .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; if (this->has_cluster_assignment_settings()) { target = ::google::protobuf::internal::WireFormatLite:: InternalWriteMessageToArray( @@ -1597,56 +1615,56 @@ size_t SettingsCollection::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + // .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; if (this->has_task_resource_settings()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *task_resource_settings_); } - // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; if (this->has_cluster_resource_settings()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *cluster_resource_settings_); } - // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; if (this->has_execution_queue_settings()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *execution_queue_settings_); } - // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; if (this->has_execution_cluster_label_settings()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *execution_cluster_label_settings_); } - // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + // .flyteidl.core.QualityOfService quality_of_service_settings = 5; if (this->has_quality_of_service_settings()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *quality_of_service_settings_); } - // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + // .flyteidl.admin.PluginOverride plugin_override_settings = 6; if (this->has_plugin_override_settings()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *plugin_override_settings_); } - // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; if (this->has_workflow_execution_settings()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( *workflow_execution_settings_); } - // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + // .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; if (this->has_cluster_assignment_settings()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize( @@ -1681,28 +1699,28 @@ void SettingsCollection::MergeFrom(const SettingsCollection& from) { (void) cached_has_bits; if (from.has_task_resource_settings()) { - mutable_task_resource_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.task_resource_settings()); + mutable_task_resource_settings()->::flyteidl::admin::TaskResourceAttributes::MergeFrom(from.task_resource_settings()); } if (from.has_cluster_resource_settings()) { - mutable_cluster_resource_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.cluster_resource_settings()); + mutable_cluster_resource_settings()->::flyteidl::admin::ClusterResourceAttributes::MergeFrom(from.cluster_resource_settings()); } if (from.has_execution_queue_settings()) { - mutable_execution_queue_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.execution_queue_settings()); + mutable_execution_queue_settings()->::flyteidl::admin::ExecutionQueueAttributes::MergeFrom(from.execution_queue_settings()); } if (from.has_execution_cluster_label_settings()) { - mutable_execution_cluster_label_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.execution_cluster_label_settings()); + mutable_execution_cluster_label_settings()->::flyteidl::admin::ExecutionClusterLabel::MergeFrom(from.execution_cluster_label_settings()); } if (from.has_quality_of_service_settings()) { - mutable_quality_of_service_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.quality_of_service_settings()); + mutable_quality_of_service_settings()->::flyteidl::core::QualityOfService::MergeFrom(from.quality_of_service_settings()); } if (from.has_plugin_override_settings()) { - mutable_plugin_override_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.plugin_override_settings()); + mutable_plugin_override_settings()->::flyteidl::admin::PluginOverride::MergeFrom(from.plugin_override_settings()); } if (from.has_workflow_execution_settings()) { - mutable_workflow_execution_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.workflow_execution_settings()); + mutable_workflow_execution_settings()->::flyteidl::admin::WorkflowExecutionConfig::MergeFrom(from.workflow_execution_settings()); } if (from.has_cluster_assignment_settings()) { - mutable_cluster_assignment_settings()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.cluster_assignment_settings()); + mutable_cluster_assignment_settings()->::flyteidl::admin::ClusterAssignment::MergeFrom(from.cluster_assignment_settings()); } } diff --git a/gen/pb-cpp/flyteidl/admin/settings.pb.h b/gen/pb-cpp/flyteidl/admin/settings.pb.h index aea75ba7b..65096b4b3 100644 --- a/gen/pb-cpp/flyteidl/admin/settings.pb.h +++ b/gen/pb-cpp/flyteidl/admin/settings.pb.h @@ -34,6 +34,8 @@ #include #include #include +#include "flyteidl/admin/cluster_assignment.pb.h" +#include "flyteidl/core/execution.pb.h" #include "flyteidl/admin/matchable_resource.pb.h" // @@protoc_insertion_point(includes) #include @@ -256,91 +258,91 @@ class SettingsCollection final : // accessors ------------------------------------------------------- - // .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + // .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; bool has_task_resource_settings() const; void clear_task_resource_settings(); static const int kTaskResourceSettingsFieldNumber = 1; - const ::flyteidl::admin::MatchingAttributes& task_resource_settings() const; - ::flyteidl::admin::MatchingAttributes* release_task_resource_settings(); - ::flyteidl::admin::MatchingAttributes* mutable_task_resource_settings(); - void set_allocated_task_resource_settings(::flyteidl::admin::MatchingAttributes* task_resource_settings); + const ::flyteidl::admin::TaskResourceAttributes& task_resource_settings() const; + ::flyteidl::admin::TaskResourceAttributes* release_task_resource_settings(); + ::flyteidl::admin::TaskResourceAttributes* mutable_task_resource_settings(); + void set_allocated_task_resource_settings(::flyteidl::admin::TaskResourceAttributes* task_resource_settings); - // .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; bool has_cluster_resource_settings() const; void clear_cluster_resource_settings(); static const int kClusterResourceSettingsFieldNumber = 2; - const ::flyteidl::admin::MatchingAttributes& cluster_resource_settings() const; - ::flyteidl::admin::MatchingAttributes* release_cluster_resource_settings(); - ::flyteidl::admin::MatchingAttributes* mutable_cluster_resource_settings(); - void set_allocated_cluster_resource_settings(::flyteidl::admin::MatchingAttributes* cluster_resource_settings); + const ::flyteidl::admin::ClusterResourceAttributes& cluster_resource_settings() const; + ::flyteidl::admin::ClusterResourceAttributes* release_cluster_resource_settings(); + ::flyteidl::admin::ClusterResourceAttributes* mutable_cluster_resource_settings(); + void set_allocated_cluster_resource_settings(::flyteidl::admin::ClusterResourceAttributes* cluster_resource_settings); - // .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; bool has_execution_queue_settings() const; void clear_execution_queue_settings(); static const int kExecutionQueueSettingsFieldNumber = 3; - const ::flyteidl::admin::MatchingAttributes& execution_queue_settings() const; - ::flyteidl::admin::MatchingAttributes* release_execution_queue_settings(); - ::flyteidl::admin::MatchingAttributes* mutable_execution_queue_settings(); - void set_allocated_execution_queue_settings(::flyteidl::admin::MatchingAttributes* execution_queue_settings); + const ::flyteidl::admin::ExecutionQueueAttributes& execution_queue_settings() const; + ::flyteidl::admin::ExecutionQueueAttributes* release_execution_queue_settings(); + ::flyteidl::admin::ExecutionQueueAttributes* mutable_execution_queue_settings(); + void set_allocated_execution_queue_settings(::flyteidl::admin::ExecutionQueueAttributes* execution_queue_settings); - // .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + // .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; bool has_execution_cluster_label_settings() const; void clear_execution_cluster_label_settings(); static const int kExecutionClusterLabelSettingsFieldNumber = 4; - const ::flyteidl::admin::MatchingAttributes& execution_cluster_label_settings() const; - ::flyteidl::admin::MatchingAttributes* release_execution_cluster_label_settings(); - ::flyteidl::admin::MatchingAttributes* mutable_execution_cluster_label_settings(); - void set_allocated_execution_cluster_label_settings(::flyteidl::admin::MatchingAttributes* execution_cluster_label_settings); + const ::flyteidl::admin::ExecutionClusterLabel& execution_cluster_label_settings() const; + ::flyteidl::admin::ExecutionClusterLabel* release_execution_cluster_label_settings(); + ::flyteidl::admin::ExecutionClusterLabel* mutable_execution_cluster_label_settings(); + void set_allocated_execution_cluster_label_settings(::flyteidl::admin::ExecutionClusterLabel* execution_cluster_label_settings); - // .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + // .flyteidl.core.QualityOfService quality_of_service_settings = 5; bool has_quality_of_service_settings() const; void clear_quality_of_service_settings(); static const int kQualityOfServiceSettingsFieldNumber = 5; - const ::flyteidl::admin::MatchingAttributes& quality_of_service_settings() const; - ::flyteidl::admin::MatchingAttributes* release_quality_of_service_settings(); - ::flyteidl::admin::MatchingAttributes* mutable_quality_of_service_settings(); - void set_allocated_quality_of_service_settings(::flyteidl::admin::MatchingAttributes* quality_of_service_settings); + const ::flyteidl::core::QualityOfService& quality_of_service_settings() const; + ::flyteidl::core::QualityOfService* release_quality_of_service_settings(); + ::flyteidl::core::QualityOfService* mutable_quality_of_service_settings(); + void set_allocated_quality_of_service_settings(::flyteidl::core::QualityOfService* quality_of_service_settings); - // .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + // .flyteidl.admin.PluginOverride plugin_override_settings = 6; bool has_plugin_override_settings() const; void clear_plugin_override_settings(); static const int kPluginOverrideSettingsFieldNumber = 6; - const ::flyteidl::admin::MatchingAttributes& plugin_override_settings() const; - ::flyteidl::admin::MatchingAttributes* release_plugin_override_settings(); - ::flyteidl::admin::MatchingAttributes* mutable_plugin_override_settings(); - void set_allocated_plugin_override_settings(::flyteidl::admin::MatchingAttributes* plugin_override_settings); + const ::flyteidl::admin::PluginOverride& plugin_override_settings() const; + ::flyteidl::admin::PluginOverride* release_plugin_override_settings(); + ::flyteidl::admin::PluginOverride* mutable_plugin_override_settings(); + void set_allocated_plugin_override_settings(::flyteidl::admin::PluginOverride* plugin_override_settings); - // .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + // .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; bool has_workflow_execution_settings() const; void clear_workflow_execution_settings(); static const int kWorkflowExecutionSettingsFieldNumber = 7; - const ::flyteidl::admin::MatchingAttributes& workflow_execution_settings() const; - ::flyteidl::admin::MatchingAttributes* release_workflow_execution_settings(); - ::flyteidl::admin::MatchingAttributes* mutable_workflow_execution_settings(); - void set_allocated_workflow_execution_settings(::flyteidl::admin::MatchingAttributes* workflow_execution_settings); + const ::flyteidl::admin::WorkflowExecutionConfig& workflow_execution_settings() const; + ::flyteidl::admin::WorkflowExecutionConfig* release_workflow_execution_settings(); + ::flyteidl::admin::WorkflowExecutionConfig* mutable_workflow_execution_settings(); + void set_allocated_workflow_execution_settings(::flyteidl::admin::WorkflowExecutionConfig* workflow_execution_settings); - // .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + // .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; bool has_cluster_assignment_settings() const; void clear_cluster_assignment_settings(); static const int kClusterAssignmentSettingsFieldNumber = 8; - const ::flyteidl::admin::MatchingAttributes& cluster_assignment_settings() const; - ::flyteidl::admin::MatchingAttributes* release_cluster_assignment_settings(); - ::flyteidl::admin::MatchingAttributes* mutable_cluster_assignment_settings(); - void set_allocated_cluster_assignment_settings(::flyteidl::admin::MatchingAttributes* cluster_assignment_settings); + const ::flyteidl::admin::ClusterAssignment& cluster_assignment_settings() const; + ::flyteidl::admin::ClusterAssignment* release_cluster_assignment_settings(); + ::flyteidl::admin::ClusterAssignment* mutable_cluster_assignment_settings(); + void set_allocated_cluster_assignment_settings(::flyteidl::admin::ClusterAssignment* cluster_assignment_settings); // @@protoc_insertion_point(class_scope:flyteidl.admin.SettingsCollection) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::flyteidl::admin::MatchingAttributes* task_resource_settings_; - ::flyteidl::admin::MatchingAttributes* cluster_resource_settings_; - ::flyteidl::admin::MatchingAttributes* execution_queue_settings_; - ::flyteidl::admin::MatchingAttributes* execution_cluster_label_settings_; - ::flyteidl::admin::MatchingAttributes* quality_of_service_settings_; - ::flyteidl::admin::MatchingAttributes* plugin_override_settings_; - ::flyteidl::admin::MatchingAttributes* workflow_execution_settings_; - ::flyteidl::admin::MatchingAttributes* cluster_assignment_settings_; + ::flyteidl::admin::TaskResourceAttributes* task_resource_settings_; + ::flyteidl::admin::ClusterResourceAttributes* cluster_resource_settings_; + ::flyteidl::admin::ExecutionQueueAttributes* execution_queue_settings_; + ::flyteidl::admin::ExecutionClusterLabel* execution_cluster_label_settings_; + ::flyteidl::core::QualityOfService* quality_of_service_settings_; + ::flyteidl::admin::PluginOverride* plugin_override_settings_; + ::flyteidl::admin::WorkflowExecutionConfig* workflow_execution_settings_; + ::flyteidl::admin::ClusterAssignment* cluster_assignment_settings_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fadmin_2fsettings_2eproto; }; @@ -3180,33 +3182,33 @@ class SettingsDeleteResponse final : #endif // __GNUC__ // SettingsCollection -// .flyteidl.admin.MatchingAttributes task_resource_settings = 1; +// .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; inline bool SettingsCollection::has_task_resource_settings() const { return this != internal_default_instance() && task_resource_settings_ != nullptr; } -inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::task_resource_settings() const { - const ::flyteidl::admin::MatchingAttributes* p = task_resource_settings_; +inline const ::flyteidl::admin::TaskResourceAttributes& SettingsCollection::task_resource_settings() const { + const ::flyteidl::admin::TaskResourceAttributes* p = task_resource_settings_; // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.task_resource_settings) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_TaskResourceAttributes_default_instance_); } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_task_resource_settings() { +inline ::flyteidl::admin::TaskResourceAttributes* SettingsCollection::release_task_resource_settings() { // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.task_resource_settings) - ::flyteidl::admin::MatchingAttributes* temp = task_resource_settings_; + ::flyteidl::admin::TaskResourceAttributes* temp = task_resource_settings_; task_resource_settings_ = nullptr; return temp; } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_task_resource_settings() { +inline ::flyteidl::admin::TaskResourceAttributes* SettingsCollection::mutable_task_resource_settings() { if (task_resource_settings_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::flyteidl::admin::TaskResourceAttributes>(GetArenaNoVirtual()); task_resource_settings_ = p; } // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.task_resource_settings) return task_resource_settings_; } -inline void SettingsCollection::set_allocated_task_resource_settings(::flyteidl::admin::MatchingAttributes* task_resource_settings) { +inline void SettingsCollection::set_allocated_task_resource_settings(::flyteidl::admin::TaskResourceAttributes* task_resource_settings) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(task_resource_settings_); @@ -3225,33 +3227,33 @@ inline void SettingsCollection::set_allocated_task_resource_settings(::flyteidl: // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.task_resource_settings) } -// .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; +// .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; inline bool SettingsCollection::has_cluster_resource_settings() const { return this != internal_default_instance() && cluster_resource_settings_ != nullptr; } -inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::cluster_resource_settings() const { - const ::flyteidl::admin::MatchingAttributes* p = cluster_resource_settings_; +inline const ::flyteidl::admin::ClusterResourceAttributes& SettingsCollection::cluster_resource_settings() const { + const ::flyteidl::admin::ClusterResourceAttributes* p = cluster_resource_settings_; // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.cluster_resource_settings) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_ClusterResourceAttributes_default_instance_); } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_cluster_resource_settings() { +inline ::flyteidl::admin::ClusterResourceAttributes* SettingsCollection::release_cluster_resource_settings() { // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.cluster_resource_settings) - ::flyteidl::admin::MatchingAttributes* temp = cluster_resource_settings_; + ::flyteidl::admin::ClusterResourceAttributes* temp = cluster_resource_settings_; cluster_resource_settings_ = nullptr; return temp; } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_cluster_resource_settings() { +inline ::flyteidl::admin::ClusterResourceAttributes* SettingsCollection::mutable_cluster_resource_settings() { if (cluster_resource_settings_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::flyteidl::admin::ClusterResourceAttributes>(GetArenaNoVirtual()); cluster_resource_settings_ = p; } // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.cluster_resource_settings) return cluster_resource_settings_; } -inline void SettingsCollection::set_allocated_cluster_resource_settings(::flyteidl::admin::MatchingAttributes* cluster_resource_settings) { +inline void SettingsCollection::set_allocated_cluster_resource_settings(::flyteidl::admin::ClusterResourceAttributes* cluster_resource_settings) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(cluster_resource_settings_); @@ -3270,33 +3272,33 @@ inline void SettingsCollection::set_allocated_cluster_resource_settings(::flytei // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.cluster_resource_settings) } -// .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; +// .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; inline bool SettingsCollection::has_execution_queue_settings() const { return this != internal_default_instance() && execution_queue_settings_ != nullptr; } -inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::execution_queue_settings() const { - const ::flyteidl::admin::MatchingAttributes* p = execution_queue_settings_; +inline const ::flyteidl::admin::ExecutionQueueAttributes& SettingsCollection::execution_queue_settings() const { + const ::flyteidl::admin::ExecutionQueueAttributes* p = execution_queue_settings_; // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.execution_queue_settings) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_ExecutionQueueAttributes_default_instance_); } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_execution_queue_settings() { +inline ::flyteidl::admin::ExecutionQueueAttributes* SettingsCollection::release_execution_queue_settings() { // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.execution_queue_settings) - ::flyteidl::admin::MatchingAttributes* temp = execution_queue_settings_; + ::flyteidl::admin::ExecutionQueueAttributes* temp = execution_queue_settings_; execution_queue_settings_ = nullptr; return temp; } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_execution_queue_settings() { +inline ::flyteidl::admin::ExecutionQueueAttributes* SettingsCollection::mutable_execution_queue_settings() { if (execution_queue_settings_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::flyteidl::admin::ExecutionQueueAttributes>(GetArenaNoVirtual()); execution_queue_settings_ = p; } // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.execution_queue_settings) return execution_queue_settings_; } -inline void SettingsCollection::set_allocated_execution_queue_settings(::flyteidl::admin::MatchingAttributes* execution_queue_settings) { +inline void SettingsCollection::set_allocated_execution_queue_settings(::flyteidl::admin::ExecutionQueueAttributes* execution_queue_settings) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_queue_settings_); @@ -3315,33 +3317,33 @@ inline void SettingsCollection::set_allocated_execution_queue_settings(::flyteid // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.execution_queue_settings) } -// .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; +// .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; inline bool SettingsCollection::has_execution_cluster_label_settings() const { return this != internal_default_instance() && execution_cluster_label_settings_ != nullptr; } -inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::execution_cluster_label_settings() const { - const ::flyteidl::admin::MatchingAttributes* p = execution_cluster_label_settings_; +inline const ::flyteidl::admin::ExecutionClusterLabel& SettingsCollection::execution_cluster_label_settings() const { + const ::flyteidl::admin::ExecutionClusterLabel* p = execution_cluster_label_settings_; // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.execution_cluster_label_settings) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_ExecutionClusterLabel_default_instance_); } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_execution_cluster_label_settings() { +inline ::flyteidl::admin::ExecutionClusterLabel* SettingsCollection::release_execution_cluster_label_settings() { // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.execution_cluster_label_settings) - ::flyteidl::admin::MatchingAttributes* temp = execution_cluster_label_settings_; + ::flyteidl::admin::ExecutionClusterLabel* temp = execution_cluster_label_settings_; execution_cluster_label_settings_ = nullptr; return temp; } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_execution_cluster_label_settings() { +inline ::flyteidl::admin::ExecutionClusterLabel* SettingsCollection::mutable_execution_cluster_label_settings() { if (execution_cluster_label_settings_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::flyteidl::admin::ExecutionClusterLabel>(GetArenaNoVirtual()); execution_cluster_label_settings_ = p; } // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.execution_cluster_label_settings) return execution_cluster_label_settings_; } -inline void SettingsCollection::set_allocated_execution_cluster_label_settings(::flyteidl::admin::MatchingAttributes* execution_cluster_label_settings) { +inline void SettingsCollection::set_allocated_execution_cluster_label_settings(::flyteidl::admin::ExecutionClusterLabel* execution_cluster_label_settings) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(execution_cluster_label_settings_); @@ -3360,33 +3362,33 @@ inline void SettingsCollection::set_allocated_execution_cluster_label_settings(: // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.execution_cluster_label_settings) } -// .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; +// .flyteidl.core.QualityOfService quality_of_service_settings = 5; inline bool SettingsCollection::has_quality_of_service_settings() const { return this != internal_default_instance() && quality_of_service_settings_ != nullptr; } -inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::quality_of_service_settings() const { - const ::flyteidl::admin::MatchingAttributes* p = quality_of_service_settings_; +inline const ::flyteidl::core::QualityOfService& SettingsCollection::quality_of_service_settings() const { + const ::flyteidl::core::QualityOfService* p = quality_of_service_settings_; // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.quality_of_service_settings) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::core::_QualityOfService_default_instance_); } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_quality_of_service_settings() { +inline ::flyteidl::core::QualityOfService* SettingsCollection::release_quality_of_service_settings() { // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.quality_of_service_settings) - ::flyteidl::admin::MatchingAttributes* temp = quality_of_service_settings_; + ::flyteidl::core::QualityOfService* temp = quality_of_service_settings_; quality_of_service_settings_ = nullptr; return temp; } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_quality_of_service_settings() { +inline ::flyteidl::core::QualityOfService* SettingsCollection::mutable_quality_of_service_settings() { if (quality_of_service_settings_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::flyteidl::core::QualityOfService>(GetArenaNoVirtual()); quality_of_service_settings_ = p; } // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.quality_of_service_settings) return quality_of_service_settings_; } -inline void SettingsCollection::set_allocated_quality_of_service_settings(::flyteidl::admin::MatchingAttributes* quality_of_service_settings) { +inline void SettingsCollection::set_allocated_quality_of_service_settings(::flyteidl::core::QualityOfService* quality_of_service_settings) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(quality_of_service_settings_); @@ -3405,33 +3407,33 @@ inline void SettingsCollection::set_allocated_quality_of_service_settings(::flyt // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.quality_of_service_settings) } -// .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; +// .flyteidl.admin.PluginOverride plugin_override_settings = 6; inline bool SettingsCollection::has_plugin_override_settings() const { return this != internal_default_instance() && plugin_override_settings_ != nullptr; } -inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::plugin_override_settings() const { - const ::flyteidl::admin::MatchingAttributes* p = plugin_override_settings_; +inline const ::flyteidl::admin::PluginOverride& SettingsCollection::plugin_override_settings() const { + const ::flyteidl::admin::PluginOverride* p = plugin_override_settings_; // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.plugin_override_settings) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_PluginOverride_default_instance_); } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_plugin_override_settings() { +inline ::flyteidl::admin::PluginOverride* SettingsCollection::release_plugin_override_settings() { // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.plugin_override_settings) - ::flyteidl::admin::MatchingAttributes* temp = plugin_override_settings_; + ::flyteidl::admin::PluginOverride* temp = plugin_override_settings_; plugin_override_settings_ = nullptr; return temp; } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_plugin_override_settings() { +inline ::flyteidl::admin::PluginOverride* SettingsCollection::mutable_plugin_override_settings() { if (plugin_override_settings_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::flyteidl::admin::PluginOverride>(GetArenaNoVirtual()); plugin_override_settings_ = p; } // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.plugin_override_settings) return plugin_override_settings_; } -inline void SettingsCollection::set_allocated_plugin_override_settings(::flyteidl::admin::MatchingAttributes* plugin_override_settings) { +inline void SettingsCollection::set_allocated_plugin_override_settings(::flyteidl::admin::PluginOverride* plugin_override_settings) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(plugin_override_settings_); @@ -3450,33 +3452,33 @@ inline void SettingsCollection::set_allocated_plugin_override_settings(::flyteid // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.plugin_override_settings) } -// .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; +// .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; inline bool SettingsCollection::has_workflow_execution_settings() const { return this != internal_default_instance() && workflow_execution_settings_ != nullptr; } -inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::workflow_execution_settings() const { - const ::flyteidl::admin::MatchingAttributes* p = workflow_execution_settings_; +inline const ::flyteidl::admin::WorkflowExecutionConfig& SettingsCollection::workflow_execution_settings() const { + const ::flyteidl::admin::WorkflowExecutionConfig* p = workflow_execution_settings_; // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.workflow_execution_settings) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_WorkflowExecutionConfig_default_instance_); } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_workflow_execution_settings() { +inline ::flyteidl::admin::WorkflowExecutionConfig* SettingsCollection::release_workflow_execution_settings() { // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.workflow_execution_settings) - ::flyteidl::admin::MatchingAttributes* temp = workflow_execution_settings_; + ::flyteidl::admin::WorkflowExecutionConfig* temp = workflow_execution_settings_; workflow_execution_settings_ = nullptr; return temp; } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_workflow_execution_settings() { +inline ::flyteidl::admin::WorkflowExecutionConfig* SettingsCollection::mutable_workflow_execution_settings() { if (workflow_execution_settings_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::flyteidl::admin::WorkflowExecutionConfig>(GetArenaNoVirtual()); workflow_execution_settings_ = p; } // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.workflow_execution_settings) return workflow_execution_settings_; } -inline void SettingsCollection::set_allocated_workflow_execution_settings(::flyteidl::admin::MatchingAttributes* workflow_execution_settings) { +inline void SettingsCollection::set_allocated_workflow_execution_settings(::flyteidl::admin::WorkflowExecutionConfig* workflow_execution_settings) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(workflow_execution_settings_); @@ -3495,33 +3497,33 @@ inline void SettingsCollection::set_allocated_workflow_execution_settings(::flyt // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.SettingsCollection.workflow_execution_settings) } -// .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; +// .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; inline bool SettingsCollection::has_cluster_assignment_settings() const { return this != internal_default_instance() && cluster_assignment_settings_ != nullptr; } -inline const ::flyteidl::admin::MatchingAttributes& SettingsCollection::cluster_assignment_settings() const { - const ::flyteidl::admin::MatchingAttributes* p = cluster_assignment_settings_; +inline const ::flyteidl::admin::ClusterAssignment& SettingsCollection::cluster_assignment_settings() const { + const ::flyteidl::admin::ClusterAssignment* p = cluster_assignment_settings_; // @@protoc_insertion_point(field_get:flyteidl.admin.SettingsCollection.cluster_assignment_settings) - return p != nullptr ? *p : *reinterpret_cast( - &::flyteidl::admin::_MatchingAttributes_default_instance_); + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_ClusterAssignment_default_instance_); } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::release_cluster_assignment_settings() { +inline ::flyteidl::admin::ClusterAssignment* SettingsCollection::release_cluster_assignment_settings() { // @@protoc_insertion_point(field_release:flyteidl.admin.SettingsCollection.cluster_assignment_settings) - ::flyteidl::admin::MatchingAttributes* temp = cluster_assignment_settings_; + ::flyteidl::admin::ClusterAssignment* temp = cluster_assignment_settings_; cluster_assignment_settings_ = nullptr; return temp; } -inline ::flyteidl::admin::MatchingAttributes* SettingsCollection::mutable_cluster_assignment_settings() { +inline ::flyteidl::admin::ClusterAssignment* SettingsCollection::mutable_cluster_assignment_settings() { if (cluster_assignment_settings_ == nullptr) { - auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + auto* p = CreateMaybeMessage<::flyteidl::admin::ClusterAssignment>(GetArenaNoVirtual()); cluster_assignment_settings_ = p; } // @@protoc_insertion_point(field_mutable:flyteidl.admin.SettingsCollection.cluster_assignment_settings) return cluster_assignment_settings_; } -inline void SettingsCollection::set_allocated_cluster_assignment_settings(::flyteidl::admin::MatchingAttributes* cluster_assignment_settings) { +inline void SettingsCollection::set_allocated_cluster_assignment_settings(::flyteidl::admin::ClusterAssignment* cluster_assignment_settings) { ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); if (message_arena == nullptr) { delete reinterpret_cast< ::google::protobuf::MessageLite*>(cluster_assignment_settings_); diff --git a/gen/pb-go/flyteidl/admin/settings.pb.go b/gen/pb-go/flyteidl/admin/settings.pb.go index 6d8485ae8..d178d70cb 100644 --- a/gen/pb-go/flyteidl/admin/settings.pb.go +++ b/gen/pb-go/flyteidl/admin/settings.pb.go @@ -5,6 +5,7 @@ package admin import ( fmt "fmt" + core "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/core" proto "github.com/golang/protobuf/proto" math "math" ) @@ -22,17 +23,17 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // Defines settings collection for flyte resources type SettingsCollection struct { - TaskResourceSettings *MatchingAttributes `protobuf:"bytes,1,opt,name=task_resource_settings,json=taskResourceSettings,proto3" json:"task_resource_settings,omitempty"` - ClusterResourceSettings *MatchingAttributes `protobuf:"bytes,2,opt,name=cluster_resource_settings,json=clusterResourceSettings,proto3" json:"cluster_resource_settings,omitempty"` - ExecutionQueueSettings *MatchingAttributes `protobuf:"bytes,3,opt,name=execution_queue_settings,json=executionQueueSettings,proto3" json:"execution_queue_settings,omitempty"` - ExecutionClusterLabelSettings *MatchingAttributes `protobuf:"bytes,4,opt,name=execution_cluster_label_settings,json=executionClusterLabelSettings,proto3" json:"execution_cluster_label_settings,omitempty"` - QualityOfServiceSettings *MatchingAttributes `protobuf:"bytes,5,opt,name=quality_of_service_settings,json=qualityOfServiceSettings,proto3" json:"quality_of_service_settings,omitempty"` - PluginOverrideSettings *MatchingAttributes `protobuf:"bytes,6,opt,name=plugin_override_settings,json=pluginOverrideSettings,proto3" json:"plugin_override_settings,omitempty"` - WorkflowExecutionSettings *MatchingAttributes `protobuf:"bytes,7,opt,name=workflow_execution_settings,json=workflowExecutionSettings,proto3" json:"workflow_execution_settings,omitempty"` - ClusterAssignmentSettings *MatchingAttributes `protobuf:"bytes,8,opt,name=cluster_assignment_settings,json=clusterAssignmentSettings,proto3" json:"cluster_assignment_settings,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TaskResourceSettings *TaskResourceAttributes `protobuf:"bytes,1,opt,name=task_resource_settings,json=taskResourceSettings,proto3" json:"task_resource_settings,omitempty"` + ClusterResourceSettings *ClusterResourceAttributes `protobuf:"bytes,2,opt,name=cluster_resource_settings,json=clusterResourceSettings,proto3" json:"cluster_resource_settings,omitempty"` + ExecutionQueueSettings *ExecutionQueueAttributes `protobuf:"bytes,3,opt,name=execution_queue_settings,json=executionQueueSettings,proto3" json:"execution_queue_settings,omitempty"` + ExecutionClusterLabelSettings *ExecutionClusterLabel `protobuf:"bytes,4,opt,name=execution_cluster_label_settings,json=executionClusterLabelSettings,proto3" json:"execution_cluster_label_settings,omitempty"` + QualityOfServiceSettings *core.QualityOfService `protobuf:"bytes,5,opt,name=quality_of_service_settings,json=qualityOfServiceSettings,proto3" json:"quality_of_service_settings,omitempty"` + PluginOverrideSettings *PluginOverride `protobuf:"bytes,6,opt,name=plugin_override_settings,json=pluginOverrideSettings,proto3" json:"plugin_override_settings,omitempty"` + WorkflowExecutionSettings *WorkflowExecutionConfig `protobuf:"bytes,7,opt,name=workflow_execution_settings,json=workflowExecutionSettings,proto3" json:"workflow_execution_settings,omitempty"` + ClusterAssignmentSettings *ClusterAssignment `protobuf:"bytes,8,opt,name=cluster_assignment_settings,json=clusterAssignmentSettings,proto3" json:"cluster_assignment_settings,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *SettingsCollection) Reset() { *m = SettingsCollection{} } @@ -60,56 +61,56 @@ func (m *SettingsCollection) XXX_DiscardUnknown() { var xxx_messageInfo_SettingsCollection proto.InternalMessageInfo -func (m *SettingsCollection) GetTaskResourceSettings() *MatchingAttributes { +func (m *SettingsCollection) GetTaskResourceSettings() *TaskResourceAttributes { if m != nil { return m.TaskResourceSettings } return nil } -func (m *SettingsCollection) GetClusterResourceSettings() *MatchingAttributes { +func (m *SettingsCollection) GetClusterResourceSettings() *ClusterResourceAttributes { if m != nil { return m.ClusterResourceSettings } return nil } -func (m *SettingsCollection) GetExecutionQueueSettings() *MatchingAttributes { +func (m *SettingsCollection) GetExecutionQueueSettings() *ExecutionQueueAttributes { if m != nil { return m.ExecutionQueueSettings } return nil } -func (m *SettingsCollection) GetExecutionClusterLabelSettings() *MatchingAttributes { +func (m *SettingsCollection) GetExecutionClusterLabelSettings() *ExecutionClusterLabel { if m != nil { return m.ExecutionClusterLabelSettings } return nil } -func (m *SettingsCollection) GetQualityOfServiceSettings() *MatchingAttributes { +func (m *SettingsCollection) GetQualityOfServiceSettings() *core.QualityOfService { if m != nil { return m.QualityOfServiceSettings } return nil } -func (m *SettingsCollection) GetPluginOverrideSettings() *MatchingAttributes { +func (m *SettingsCollection) GetPluginOverrideSettings() *PluginOverride { if m != nil { return m.PluginOverrideSettings } return nil } -func (m *SettingsCollection) GetWorkflowExecutionSettings() *MatchingAttributes { +func (m *SettingsCollection) GetWorkflowExecutionSettings() *WorkflowExecutionConfig { if m != nil { return m.WorkflowExecutionSettings } return nil } -func (m *SettingsCollection) GetClusterAssignmentSettings() *MatchingAttributes { +func (m *SettingsCollection) GetClusterAssignmentSettings() *ClusterAssignment { if m != nil { return m.ClusterAssignmentSettings } @@ -1467,66 +1468,71 @@ func init() { func init() { proto.RegisterFile("flyteidl/admin/settings.proto", fileDescriptor_fd75bca4e926ab1f) } var fileDescriptor_fd75bca4e926ab1f = []byte{ - // 972 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x98, 0x4f, 0x6f, 0xdc, 0x44, - 0x18, 0xc6, 0x1b, 0x6f, 0xb3, 0x09, 0xef, 0x26, 0xd9, 0x65, 0xd2, 0x6e, 0x36, 0x9b, 0xa6, 0x44, - 0xbe, 0x90, 0x4b, 0xbd, 0x52, 0x9b, 0x42, 0xd4, 0x03, 0xb4, 0x4d, 0xff, 0x1d, 0x82, 0x02, 0xae, - 0x10, 0x15, 0x2a, 0xac, 0xbc, 0xde, 0x89, 0x63, 0x32, 0xeb, 0x71, 0xec, 0x71, 0x42, 0x4e, 0x9c, - 0xf8, 0x22, 0x9c, 0x39, 0x71, 0x47, 0x1c, 0xe0, 0x63, 0x21, 0x81, 0xbc, 0x33, 0x63, 0xcf, 0xcc, - 0x7a, 0xc9, 0x42, 0x44, 0xa5, 0x48, 0xb9, 0x65, 0x3c, 0x33, 0xbf, 0xe7, 0xf5, 0xf3, 0xf8, 0x1d, - 0x6f, 0x0c, 0x9b, 0x87, 0xe4, 0x9c, 0xe1, 0x70, 0x48, 0x7a, 0xde, 0x70, 0x14, 0x46, 0xbd, 0x14, - 0x33, 0x16, 0x46, 0x41, 0xea, 0xc4, 0x09, 0x65, 0x14, 0xad, 0xc8, 0x69, 0x67, 0x3c, 0xdd, 0xfd, - 0xd0, 0x58, 0x3e, 0xf2, 0x98, 0x7f, 0xe4, 0x0d, 0x08, 0xee, 0x27, 0x38, 0xa5, 0x59, 0xe2, 0x63, - 0xbe, 0xd1, 0xfe, 0xa9, 0x0e, 0xe8, 0xb5, 0x60, 0xed, 0x51, 0x42, 0xb0, 0xcf, 0x42, 0x1a, 0xa1, - 0x37, 0xd0, 0x66, 0x5e, 0x7a, 0x5c, 0xac, 0xee, 0x4b, 0xbd, 0xce, 0xdc, 0xd6, 0xdc, 0x76, 0xe3, - 0xbe, 0xed, 0xe8, 0x82, 0xce, 0x67, 0xb9, 0x40, 0x18, 0x05, 0x4f, 0x18, 0x4b, 0xc2, 0x41, 0xc6, - 0x70, 0xea, 0xde, 0xca, 0x09, 0xae, 0x00, 0x48, 0x0d, 0xf4, 0x2d, 0xac, 0xfb, 0x24, 0x4b, 0x19, - 0x4e, 0x2a, 0xe0, 0xd6, 0xcc, 0xf0, 0x35, 0x01, 0x99, 0xe0, 0xbf, 0x85, 0x0e, 0xfe, 0x1e, 0xfb, - 0x59, 0x7e, 0x1b, 0xfd, 0x93, 0x0c, 0x67, 0x0a, 0xbe, 0x36, 0x33, 0xbe, 0x5d, 0x30, 0xbe, 0xc8, - 0x11, 0x05, 0xfd, 0x18, 0xb6, 0x4a, 0xba, 0xbc, 0x0f, 0xe2, 0x0d, 0x30, 0x29, 0x55, 0x6e, 0xce, - 0xac, 0xb2, 0x59, 0xb0, 0xf6, 0x38, 0x6a, 0x3f, 0x27, 0x15, 0x62, 0x1e, 0x6c, 0x9c, 0x64, 0x1e, - 0x09, 0xd9, 0x79, 0x9f, 0x1e, 0xf6, 0x53, 0x9c, 0x9c, 0x86, 0xaa, 0x59, 0xf3, 0x33, 0xeb, 0x74, - 0x04, 0xe6, 0xe0, 0xf0, 0x35, 0x87, 0xa8, 0x6e, 0xc5, 0x24, 0x0b, 0xc2, 0xa8, 0x4f, 0x4f, 0x71, - 0x92, 0x84, 0x43, 0x85, 0x5f, 0x9f, 0xdd, 0x2d, 0xce, 0x38, 0x10, 0x88, 0x82, 0x3e, 0x80, 0x8d, - 0x33, 0x9a, 0x1c, 0x1f, 0x12, 0x7a, 0xd6, 0x2f, 0x6d, 0x2b, 0x04, 0x16, 0x66, 0x16, 0x58, 0x97, - 0x98, 0xe7, 0x92, 0xa2, 0x6a, 0xc8, 0x1c, 0xbc, 0x34, 0x0d, 0x83, 0x68, 0x84, 0x23, 0x56, 0x6a, - 0x2c, 0xce, 0xae, 0x21, 0x30, 0x4f, 0x0a, 0x8a, 0xd4, 0xb0, 0x7f, 0xb4, 0x60, 0xb1, 0x10, 0x7c, - 0x04, 0xf5, 0x80, 0xd0, 0x81, 0x47, 0xa6, 0xb5, 0xc2, 0x64, 0x3b, 0xb9, 0x62, 0x07, 0x7a, 0x03, - 0xad, 0x38, 0xa1, 0xdf, 0x61, 0x9f, 0xa9, 0xcf, 0x7c, 0x6d, 0xbb, 0x71, 0xff, 0xde, 0x34, 0x8a, - 0xf3, 0x39, 0xdf, 0x20, 0xc7, 0xcf, 0x23, 0x96, 0x9c, 0xbb, 0xcd, 0x58, 0xbf, 0xda, 0xf5, 0xe1, - 0x56, 0xd5, 0x42, 0xd4, 0x82, 0xda, 0x31, 0x3e, 0x1f, 0x97, 0xfa, 0x9e, 0x9b, 0xff, 0x89, 0x1e, - 0xc2, 0xfc, 0xa9, 0x47, 0x32, 0x2c, 0x9a, 0xed, 0x03, 0x53, 0xd8, 0xc0, 0xb8, 0x7c, 0xf5, 0x23, - 0x6b, 0x77, 0xce, 0xfe, 0xd9, 0x82, 0xa6, 0x31, 0x8d, 0x3a, 0xb0, 0x20, 0x6a, 0x11, 0x22, 0x72, - 0x88, 0x3e, 0x81, 0xc5, 0x8b, 0x1a, 0xbb, 0xc2, 0xaa, 0x62, 0x0f, 0x7a, 0x0b, 0xcd, 0x21, 0x1d, - 0x79, 0x61, 0xa4, 0x36, 0x70, 0xee, 0xd5, 0x83, 0x0b, 0x4a, 0x76, 0x9e, 0x8d, 0xb7, 0xe9, 0x8e, - 0xad, 0x0c, 0xb5, 0x8b, 0x5d, 0x0f, 0x56, 0x2b, 0x96, 0x55, 0xf8, 0xb5, 0xa3, 0xfb, 0x75, 0xd7, - 0x14, 0xd7, 0x29, 0xaa, 0x5d, 0xbf, 0x58, 0xb0, 0xa2, 0xcf, 0xa2, 0x36, 0xd4, 0x79, 0x1d, 0x42, - 0x41, 0x8c, 0x2e, 0xed, 0x95, 0x07, 0xef, 0x17, 0x9d, 0x66, 0xb8, 0xb5, 0xf3, 0xcf, 0x05, 0x3b, - 0x5f, 0x89, 0x7d, 0xba, 0x5d, 0xad, 0x33, 0xe3, 0x72, 0x17, 0xc3, 0xed, 0xca, 0xa5, 0x15, 0x96, - 0x7d, 0xa4, 0x5b, 0xb6, 0x65, 0x56, 0x60, 0x72, 0x54, 0xd3, 0xfe, 0xb0, 0xa0, 0x65, 0xce, 0xa3, - 0x2e, 0x2c, 0xca, 0x7a, 0x84, 0x4e, 0x31, 0xbe, 0xb4, 0x75, 0x21, 0xac, 0x12, 0x2f, 0x8b, 0xfc, - 0xa3, 0x98, 0x78, 0x13, 0x8f, 0xda, 0xee, 0x45, 0xa5, 0x3b, 0xfb, 0xc5, 0x5e, 0xdd, 0x40, 0x44, - 0x26, 0x26, 0xba, 0x21, 0xac, 0x4d, 0x59, 0x5e, 0x61, 0xe2, 0xae, 0x6e, 0xe2, 0xc4, 0x4d, 0x4d, - 0x92, 0x54, 0x1b, 0x19, 0xa0, 0xc9, 0x05, 0xe8, 0x2e, 0x40, 0x59, 0x96, 0x10, 0x53, 0xae, 0x5c, - 0xd6, 0x4b, 0x7b, 0x19, 0x1a, 0x2f, 0xc7, 0x27, 0xdd, 0x3e, 0x3e, 0xc5, 0xc4, 0xde, 0x86, 0x25, - 0xd1, 0x9a, 0xe3, 0xf1, 0xf4, 0xb3, 0xc2, 0xfe, 0x14, 0x1a, 0xfc, 0xb1, 0xbc, 0x60, 0xa1, 0xd2, - 0x40, 0x96, 0xda, 0x40, 0xf6, 0x37, 0xb0, 0x2c, 0xa3, 0xf9, 0x8f, 0x08, 0xed, 0x21, 0xab, 0xe9, - 0x0f, 0x99, 0xfd, 0x03, 0x34, 0x4b, 0x3b, 0xff, 0x07, 0x01, 0x23, 0x99, 0x9b, 0x66, 0x32, 0xf6, - 0x6f, 0x35, 0xb8, 0x2d, 0xad, 0xff, 0x32, 0x1e, 0x7a, 0x0c, 0xbb, 0xf8, 0x24, 0xc3, 0x29, 0x43, - 0x8f, 0x61, 0x89, 0xbf, 0x5d, 0xfa, 0x24, 0xaf, 0x4b, 0xbc, 0x95, 0x36, 0xcc, 0xdc, 0x94, 0x5c, - 0x5e, 0xdd, 0x70, 0x1b, 0x41, 0x39, 0x44, 0x7b, 0xb0, 0x2c, 0xdf, 0x4a, 0x1c, 0xc1, 0xa3, 0xbf, - 0x33, 0xe5, 0x98, 0x95, 0x8c, 0xa5, 0x58, 0xcd, 0xf6, 0x31, 0x2c, 0x89, 0xd3, 0x9a, 0x33, 0x6a, - 0xd5, 0x65, 0x28, 0x29, 0xe7, 0x65, 0x0c, 0x95, 0xd0, 0x5f, 0xc0, 0x4a, 0x71, 0x86, 0x71, 0x06, - 0xff, 0x25, 0xb5, 0x39, 0xad, 0x07, 0x25, 0x65, 0xf9, 0x4c, 0x4b, 0x7e, 0x1f, 0x5a, 0x4a, 0x43, - 0x73, 0xd2, 0x7c, 0xf5, 0xbb, 0xce, 0xc8, 0xf4, 0xd5, 0x0d, 0xb7, 0x49, 0x8c, 0x98, 0xd5, 0x96, - 0xa8, 0xff, 0xfb, 0x96, 0x78, 0xba, 0x00, 0xf3, 0xe3, 0x12, 0xec, 0xdf, 0x6b, 0xb0, 0xfe, 0x22, - 0x23, 0xe4, 0x3a, 0xc5, 0xab, 0x9c, 0xe2, 0x1d, 0xe8, 0x56, 0x85, 0x98, 0xc6, 0x34, 0x4a, 0xb1, - 0xfd, 0xa7, 0x55, 0xfe, 0x37, 0xf5, 0x12, 0xb3, 0xeb, 0x70, 0xdf, 0x45, 0xb8, 0x65, 0x38, 0xbf, - 0xd6, 0x60, 0x55, 0xb3, 0x9f, 0xc7, 0x72, 0xed, 0xff, 0x15, 0x69, 0xae, 0x0e, 0xb4, 0xd5, 0xe6, - 0x2a, 0x3b, 0xc8, 0x3e, 0x80, 0xb5, 0x89, 0x19, 0x11, 0xee, 0x8e, 0xa2, 0xce, 0x83, 0xed, 0x4c, - 0x53, 0x57, 0x7e, 0xa9, 0xfc, 0x65, 0x95, 0xef, 0xd3, 0x67, 0x98, 0xe0, 0xeb, 0x93, 0xf8, 0x5d, - 0x37, 0x6b, 0x07, 0xda, 0x66, 0x00, 0x3c, 0xd1, 0xa7, 0x1f, 0x7f, 0xfd, 0x30, 0x08, 0xd9, 0x51, - 0x36, 0x70, 0x7c, 0x3a, 0xea, 0x8d, 0x25, 0x68, 0x12, 0xf4, 0x8a, 0x4f, 0x5a, 0x01, 0x8e, 0x7a, - 0xf1, 0xe0, 0x5e, 0x40, 0x7b, 0xfa, 0x57, 0xae, 0x41, 0x7d, 0xfc, 0x4d, 0xeb, 0xc1, 0xdf, 0x01, - 0x00, 0x00, 0xff, 0xff, 0x46, 0x88, 0xd4, 0x20, 0x2d, 0x13, 0x00, 0x00, + // 1045 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcf, 0x6f, 0xdc, 0x44, + 0x18, 0x6d, 0x76, 0x9b, 0x4d, 0xf8, 0x36, 0xc9, 0x2e, 0x4e, 0xbb, 0xd9, 0x6c, 0x9a, 0x36, 0x58, + 0x82, 0x86, 0x43, 0x77, 0xa5, 0x36, 0x85, 0xa8, 0x07, 0x68, 0x9b, 0xfe, 0x3a, 0x44, 0x4a, 0xeb, + 0x82, 0xa8, 0x50, 0xc1, 0xf2, 0x7a, 0x67, 0x1d, 0x93, 0x59, 0x8f, 0x63, 0x8f, 0xb3, 0xe4, 0xc4, + 0x89, 0xff, 0x86, 0x13, 0x9c, 0x11, 0x07, 0xf8, 0xb3, 0x90, 0x40, 0xeb, 0x19, 0x8f, 0x67, 0xc6, + 0x36, 0x01, 0xa2, 0x56, 0xaa, 0x94, 0x5b, 0x66, 0xe6, 0x9b, 0xf7, 0x3e, 0xbf, 0x37, 0x6f, 0xbc, + 0x31, 0x6c, 0x8e, 0xf1, 0x29, 0x45, 0xfe, 0x08, 0x0f, 0x9c, 0xd1, 0xc4, 0x0f, 0x06, 0x31, 0xa2, + 0xd4, 0x0f, 0xbc, 0xb8, 0x1f, 0x46, 0x84, 0x12, 0x63, 0x25, 0x5b, 0xee, 0xa7, 0xcb, 0xbd, 0x9b, + 0x5a, 0xb9, 0x8b, 0x93, 0x98, 0xa2, 0xc8, 0x76, 0xe2, 0xd8, 0xf7, 0x82, 0x09, 0x0a, 0x28, 0xdb, + 0xd8, 0xcb, 0x71, 0x5d, 0x12, 0xa1, 0x01, 0xfa, 0x1e, 0xb9, 0x09, 0xf5, 0x49, 0xc0, 0x97, 0x75, + 0x9c, 0x89, 0x43, 0xdd, 0x43, 0x67, 0x88, 0x91, 0x1d, 0xa1, 0x98, 0x24, 0x91, 0x8b, 0x58, 0xa1, + 0xf9, 0x4b, 0x03, 0x8c, 0x97, 0xbc, 0xa7, 0x3d, 0x82, 0x31, 0x72, 0x67, 0x28, 0xc6, 0x6b, 0xe8, + 0x50, 0x27, 0x3e, 0x12, 0xd5, 0x76, 0xd6, 0x77, 0x77, 0x6e, 0x6b, 0x6e, 0xbb, 0x79, 0xfb, 0xa3, + 0xbe, 0xda, 0x78, 0xff, 0x0b, 0x27, 0x3e, 0xb2, 0x78, 0xf1, 0x03, 0x4a, 0x23, 0x7f, 0x98, 0x50, + 0x14, 0x5b, 0x57, 0xa8, 0x34, 0x9f, 0xf1, 0x18, 0x08, 0xd6, 0xb3, 0x07, 0x2b, 0x12, 0xd4, 0x52, + 0x82, 0x8f, 0x75, 0x82, 0x3d, 0xb6, 0xa1, 0x84, 0x63, 0xcd, 0x55, 0x97, 0x04, 0xcd, 0x10, 0xba, + 0x42, 0x17, 0xfb, 0x38, 0x41, 0x89, 0xc4, 0x52, 0x4f, 0x59, 0xb6, 0x75, 0x96, 0xc7, 0x59, 0xfd, + 0x8b, 0x59, 0xb9, 0x44, 0xd2, 0x41, 0xca, 0x8a, 0xe0, 0x08, 0x60, 0x2b, 0xe7, 0xc8, 0x1e, 0x0a, + 0x3b, 0x43, 0x84, 0x73, 0xae, 0xcb, 0x29, 0xd7, 0x87, 0x95, 0x5c, 0xfc, 0xd1, 0xf6, 0x67, 0xbb, + 0xac, 0x4d, 0x54, 0x36, 0x2d, 0xf8, 0xbe, 0x85, 0x8d, 0xe3, 0xc4, 0xc1, 0x3e, 0x3d, 0xb5, 0xc9, + 0xd8, 0x8e, 0x51, 0x74, 0xe2, 0xcb, 0xe2, 0xcd, 0xa7, 0x54, 0x37, 0x72, 0xaa, 0xd9, 0xe9, 0xe8, + 0xbf, 0x60, 0x3b, 0x0e, 0xc6, 0x2f, 0x59, 0xbd, 0xd5, 0x3d, 0xd6, 0x66, 0x04, 0xfe, 0x2b, 0xe8, + 0x86, 0x38, 0xf1, 0xfc, 0xc0, 0x26, 0x27, 0x28, 0x8a, 0xfc, 0x91, 0x04, 0xde, 0x48, 0xc1, 0xaf, + 0xeb, 0xcf, 0xf1, 0x3c, 0xad, 0x3f, 0xe0, 0xe5, 0x56, 0x27, 0x54, 0xc6, 0x02, 0xd9, 0x83, 0x8d, + 0x29, 0x89, 0x8e, 0xc6, 0x98, 0x4c, 0xed, 0x5c, 0x32, 0x01, 0xbe, 0x90, 0x82, 0xdf, 0xd4, 0xc1, + 0xbf, 0xe2, 0x5b, 0x72, 0xb1, 0x48, 0x30, 0xf6, 0x3d, 0x6b, 0x7d, 0xaa, 0x2f, 0x08, 0x22, 0x07, + 0x36, 0x8a, 0xb1, 0xc9, 0x89, 0x16, 0x53, 0xa2, 0x0f, 0x2a, 0xce, 0xd7, 0x03, 0xb1, 0xc3, 0xca, + 0xce, 0x68, 0x3e, 0x95, 0x51, 0x98, 0x3f, 0xd6, 0x60, 0x51, 0xf0, 0xdd, 0x83, 0x86, 0x87, 0xc9, + 0xd0, 0xc1, 0x3c, 0x1b, 0xa6, 0x0e, 0x5d, 0xcc, 0x97, 0xc5, 0x77, 0x18, 0xaf, 0xa0, 0x1d, 0x46, + 0xe4, 0x3b, 0xe4, 0x52, 0x39, 0x00, 0xf5, 0xed, 0xe6, 0xed, 0x5b, 0x55, 0x28, 0xfd, 0xe7, 0x6c, + 0x43, 0x36, 0x7e, 0x1c, 0xd0, 0xe8, 0xd4, 0x6a, 0x85, 0xea, 0x6c, 0xcf, 0x85, 0x2b, 0x65, 0x85, + 0x46, 0x1b, 0xea, 0x47, 0xe8, 0x34, 0x6d, 0xf5, 0x3d, 0x6b, 0xf6, 0xa7, 0x71, 0x17, 0xe6, 0x4f, + 0x1c, 0x9c, 0x20, 0x9e, 0xbc, 0x1b, 0x05, 0x7f, 0x55, 0x18, 0x8b, 0x55, 0xdf, 0xab, 0xed, 0xce, + 0x99, 0x3f, 0xd5, 0xa0, 0xa5, 0x2d, 0x1b, 0x5d, 0x58, 0xe0, 0xbd, 0x70, 0x92, 0x6c, 0x68, 0x7c, + 0x06, 0x8b, 0x5a, 0xca, 0xff, 0x8d, 0x54, 0x62, 0x8f, 0xf1, 0x1a, 0x5a, 0x23, 0x32, 0x71, 0xfc, + 0x40, 0x8e, 0xf1, 0x4c, 0xab, 0x3b, 0x67, 0xb4, 0xdc, 0x7f, 0x94, 0x6e, 0x53, 0x15, 0x5b, 0x19, + 0x29, 0x93, 0x3d, 0x07, 0x56, 0x4b, 0xca, 0x4a, 0xf4, 0xda, 0x51, 0xf5, 0x2a, 0xe4, 0x41, 0x45, + 0x91, 0xe5, 0xfa, 0xb9, 0x06, 0x2b, 0xea, 0xaa, 0xd1, 0x81, 0x06, 0xeb, 0x83, 0x33, 0xf0, 0xd1, + 0xb9, 0xb5, 0x72, 0xe0, 0x7d, 0x91, 0x36, 0x4d, 0xad, 0x9d, 0x7f, 0x6e, 0x58, 0x44, 0x4e, 0x95, + 0xab, 0x3d, 0xd5, 0xa6, 0x7b, 0x08, 0xae, 0x96, 0x96, 0x96, 0x48, 0xf6, 0x89, 0x2a, 0xd9, 0x56, + 0x55, 0xca, 0xcb, 0x44, 0xfb, 0xa3, 0x06, 0x6d, 0x7d, 0xdd, 0xe8, 0xc1, 0x62, 0xd6, 0x0f, 0xe7, + 0x11, 0xe3, 0x73, 0x4b, 0xe7, 0xc3, 0x2a, 0x76, 0x92, 0xc0, 0x3d, 0x0c, 0xb1, 0x53, 0x38, 0x6a, + 0xbb, 0x67, 0xb5, 0xde, 0xdf, 0x17, 0x7b, 0x55, 0x01, 0x0d, 0x5c, 0x58, 0xe8, 0xf9, 0xb0, 0x56, + 0x51, 0x5e, 0x22, 0xe2, 0xae, 0x2a, 0x62, 0xe1, 0xa1, 0x8a, 0x48, 0xb2, 0x8c, 0x14, 0x8c, 0x62, + 0x81, 0x71, 0x1d, 0x20, 0x6f, 0x8b, 0x93, 0x49, 0x33, 0xe7, 0xd5, 0xd2, 0x5c, 0x86, 0xe6, 0xd3, + 0xf4, 0xa6, 0xdb, 0x47, 0x27, 0x08, 0x9b, 0xdb, 0xb0, 0xc4, 0xa3, 0x99, 0x8e, 0xab, 0xef, 0x0a, + 0xf3, 0x73, 0x68, 0xb2, 0x63, 0x79, 0x46, 0xa1, 0x14, 0xa0, 0x9a, 0x1c, 0x20, 0xf3, 0x1b, 0x58, + 0xce, 0xac, 0xf9, 0x9f, 0x10, 0xca, 0x21, 0xab, 0xab, 0x87, 0xcc, 0xfc, 0x01, 0x5a, 0xb9, 0x9c, + 0x6f, 0x80, 0x40, 0x73, 0xe6, 0xb2, 0xee, 0x8c, 0xf9, 0x5b, 0x1d, 0xae, 0x66, 0xd2, 0x7f, 0x19, + 0x8e, 0x1c, 0x8a, 0x2c, 0x74, 0x9c, 0xa0, 0x98, 0x1a, 0xf7, 0x61, 0x89, 0xbd, 0x5d, 0x6c, 0x3c, + 0xeb, 0x8b, 0xbf, 0x95, 0x36, 0x74, 0xdf, 0x24, 0x5f, 0x9e, 0x5d, 0xb2, 0x9a, 0x5e, 0x3e, 0x34, + 0xf6, 0x60, 0x39, 0x7b, 0x2b, 0x31, 0x08, 0x66, 0xfd, 0xb5, 0x8a, 0x6b, 0x36, 0xc3, 0x58, 0x0a, + 0x65, 0x6f, 0xef, 0xc3, 0x12, 0xbf, 0xad, 0x19, 0x46, 0xbd, 0xbc, 0x0d, 0xc9, 0xe5, 0x59, 0x1b, + 0x23, 0xc9, 0xf4, 0x27, 0xb0, 0x22, 0xee, 0x30, 0x86, 0xc1, 0x7e, 0x49, 0x6d, 0x56, 0x65, 0x30, + 0x43, 0x59, 0x9e, 0x2a, 0xce, 0xef, 0x43, 0x5b, 0x0a, 0x34, 0x43, 0x9a, 0x2f, 0x7f, 0xd7, 0x69, + 0x9e, 0x3e, 0xbb, 0x64, 0xb5, 0xb0, 0x66, 0xb3, 0x1c, 0x89, 0xc6, 0x7f, 0x8f, 0xc4, 0xc3, 0x05, + 0x98, 0x4f, 0x5b, 0x30, 0x7f, 0xaf, 0xc3, 0xfa, 0x93, 0x04, 0xe3, 0x0b, 0x17, 0xdf, 0x65, 0x17, + 0xaf, 0x41, 0xaf, 0xcc, 0xc4, 0x38, 0x24, 0x41, 0x8c, 0xcc, 0x3f, 0x6b, 0xf9, 0xbf, 0x57, 0x4f, + 0x11, 0xbd, 0x30, 0xf7, 0x6d, 0x98, 0x9b, 0x9b, 0xf3, 0x6b, 0x1d, 0x56, 0x15, 0xf9, 0x99, 0x2d, + 0x17, 0xfa, 0xbf, 0x23, 0xe1, 0xea, 0x42, 0x47, 0x0e, 0x57, 0x9e, 0x20, 0xf3, 0x00, 0xd6, 0x0a, + 0x2b, 0xdc, 0xdc, 0x1d, 0x89, 0x9d, 0x19, 0xdb, 0xad, 0x62, 0x97, 0x7e, 0xa9, 0xfc, 0x55, 0xcb, + 0xdf, 0xa7, 0x8f, 0x10, 0x46, 0x17, 0x37, 0xf1, 0xdb, 0x0e, 0x6b, 0x17, 0x3a, 0xba, 0x01, 0xcc, + 0xd1, 0x87, 0x9f, 0x7e, 0x7d, 0xd7, 0xf3, 0xe9, 0x61, 0x32, 0xec, 0xbb, 0x64, 0x32, 0x48, 0x29, + 0x48, 0xe4, 0x0d, 0xc4, 0x37, 0x2e, 0x0f, 0x05, 0x83, 0x70, 0x78, 0xcb, 0x23, 0x03, 0xf5, 0xb3, + 0xd7, 0xb0, 0x91, 0x7e, 0xe4, 0xba, 0xf3, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x41, 0xb5, + 0x49, 0x86, 0x13, 0x00, 0x00, } diff --git a/gen/pb-java/flyteidl/admin/SettingsOuterClass.java b/gen/pb-java/flyteidl/admin/SettingsOuterClass.java index 24569bad1..b87c53c33 100644 --- a/gen/pb-java/flyteidl/admin/SettingsOuterClass.java +++ b/gen/pb-java/flyteidl/admin/SettingsOuterClass.java @@ -19,108 +19,108 @@ public interface SettingsCollectionOrBuilder extends com.google.protobuf.MessageOrBuilder { /** - * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; */ boolean hasTaskResourceSettings(); /** - * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getTaskResourceSettings(); + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getTaskResourceSettings(); /** - * .flyteidl.admin.MatchingAttributes task_resource_settings = 1; + * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getTaskResourceSettingsOrBuilder(); + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder getTaskResourceSettingsOrBuilder(); /** - * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; */ boolean hasClusterResourceSettings(); /** - * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterResourceSettings(); + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getClusterResourceSettings(); /** - * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2; + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterResourceSettingsOrBuilder(); + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder getClusterResourceSettingsOrBuilder(); /** - * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; */ boolean hasExecutionQueueSettings(); /** - * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionQueueSettings(); + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getExecutionQueueSettings(); /** - * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3; + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionQueueSettingsOrBuilder(); + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder getExecutionQueueSettingsOrBuilder(); /** - * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; */ boolean hasExecutionClusterLabelSettings(); /** - * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionClusterLabelSettings(); + flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel getExecutionClusterLabelSettings(); /** - * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4; + * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionClusterLabelSettingsOrBuilder(); + flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder getExecutionClusterLabelSettingsOrBuilder(); /** - * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + * .flyteidl.core.QualityOfService quality_of_service_settings = 5; */ boolean hasQualityOfServiceSettings(); /** - * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + * .flyteidl.core.QualityOfService quality_of_service_settings = 5; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getQualityOfServiceSettings(); + flyteidl.core.Execution.QualityOfService getQualityOfServiceSettings(); /** - * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5; + * .flyteidl.core.QualityOfService quality_of_service_settings = 5; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getQualityOfServiceSettingsOrBuilder(); + flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceSettingsOrBuilder(); /** - * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + * .flyteidl.admin.PluginOverride plugin_override_settings = 6; */ boolean hasPluginOverrideSettings(); /** - * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + * .flyteidl.admin.PluginOverride plugin_override_settings = 6; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getPluginOverrideSettings(); + flyteidl.admin.MatchableResourceOuterClass.PluginOverride getPluginOverrideSettings(); /** - * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6; + * .flyteidl.admin.PluginOverride plugin_override_settings = 6; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getPluginOverrideSettingsOrBuilder(); + flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder getPluginOverrideSettingsOrBuilder(); /** - * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; */ boolean hasWorkflowExecutionSettings(); /** - * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getWorkflowExecutionSettings(); + flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig getWorkflowExecutionSettings(); /** - * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7; + * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getWorkflowExecutionSettingsOrBuilder(); + flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder getWorkflowExecutionSettingsOrBuilder(); /** - * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; */ boolean hasClusterAssignmentSettings(); /** - * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterAssignmentSettings(); + flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getClusterAssignmentSettings(); /** - * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8; + * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8; */ - flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterAssignmentSettingsOrBuilder(); + flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder getClusterAssignmentSettingsOrBuilder(); } /** *
@@ -166,11 +166,11 @@ private SettingsCollection(
               done = true;
               break;
             case 10: {
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null;
+              flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder subBuilder = null;
               if (taskResourceSettings_ != null) {
                 subBuilder = taskResourceSettings_.toBuilder();
               }
-              taskResourceSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry);
+              taskResourceSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.parser(), extensionRegistry);
               if (subBuilder != null) {
                 subBuilder.mergeFrom(taskResourceSettings_);
                 taskResourceSettings_ = subBuilder.buildPartial();
@@ -179,11 +179,11 @@ private SettingsCollection(
               break;
             }
             case 18: {
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null;
+              flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder subBuilder = null;
               if (clusterResourceSettings_ != null) {
                 subBuilder = clusterResourceSettings_.toBuilder();
               }
-              clusterResourceSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry);
+              clusterResourceSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.parser(), extensionRegistry);
               if (subBuilder != null) {
                 subBuilder.mergeFrom(clusterResourceSettings_);
                 clusterResourceSettings_ = subBuilder.buildPartial();
@@ -192,11 +192,11 @@ private SettingsCollection(
               break;
             }
             case 26: {
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null;
+              flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder subBuilder = null;
               if (executionQueueSettings_ != null) {
                 subBuilder = executionQueueSettings_.toBuilder();
               }
-              executionQueueSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry);
+              executionQueueSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.parser(), extensionRegistry);
               if (subBuilder != null) {
                 subBuilder.mergeFrom(executionQueueSettings_);
                 executionQueueSettings_ = subBuilder.buildPartial();
@@ -205,11 +205,11 @@ private SettingsCollection(
               break;
             }
             case 34: {
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null;
+              flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder subBuilder = null;
               if (executionClusterLabelSettings_ != null) {
                 subBuilder = executionClusterLabelSettings_.toBuilder();
               }
-              executionClusterLabelSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry);
+              executionClusterLabelSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.parser(), extensionRegistry);
               if (subBuilder != null) {
                 subBuilder.mergeFrom(executionClusterLabelSettings_);
                 executionClusterLabelSettings_ = subBuilder.buildPartial();
@@ -218,11 +218,11 @@ private SettingsCollection(
               break;
             }
             case 42: {
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null;
+              flyteidl.core.Execution.QualityOfService.Builder subBuilder = null;
               if (qualityOfServiceSettings_ != null) {
                 subBuilder = qualityOfServiceSettings_.toBuilder();
               }
-              qualityOfServiceSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry);
+              qualityOfServiceSettings_ = input.readMessage(flyteidl.core.Execution.QualityOfService.parser(), extensionRegistry);
               if (subBuilder != null) {
                 subBuilder.mergeFrom(qualityOfServiceSettings_);
                 qualityOfServiceSettings_ = subBuilder.buildPartial();
@@ -231,11 +231,11 @@ private SettingsCollection(
               break;
             }
             case 50: {
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null;
+              flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder subBuilder = null;
               if (pluginOverrideSettings_ != null) {
                 subBuilder = pluginOverrideSettings_.toBuilder();
               }
-              pluginOverrideSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry);
+              pluginOverrideSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.PluginOverride.parser(), extensionRegistry);
               if (subBuilder != null) {
                 subBuilder.mergeFrom(pluginOverrideSettings_);
                 pluginOverrideSettings_ = subBuilder.buildPartial();
@@ -244,11 +244,11 @@ private SettingsCollection(
               break;
             }
             case 58: {
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null;
+              flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder subBuilder = null;
               if (workflowExecutionSettings_ != null) {
                 subBuilder = workflowExecutionSettings_.toBuilder();
               }
-              workflowExecutionSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry);
+              workflowExecutionSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.parser(), extensionRegistry);
               if (subBuilder != null) {
                 subBuilder.mergeFrom(workflowExecutionSettings_);
                 workflowExecutionSettings_ = subBuilder.buildPartial();
@@ -257,11 +257,11 @@ private SettingsCollection(
               break;
             }
             case 66: {
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null;
+              flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder subBuilder = null;
               if (clusterAssignmentSettings_ != null) {
                 subBuilder = clusterAssignmentSettings_.toBuilder();
               }
-              clusterAssignmentSettings_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry);
+              clusterAssignmentSettings_ = input.readMessage(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.parser(), extensionRegistry);
               if (subBuilder != null) {
                 subBuilder.mergeFrom(clusterAssignmentSettings_);
                 clusterAssignmentSettings_ = subBuilder.buildPartial();
@@ -302,170 +302,170 @@ private SettingsCollection(
     }
 
     public static final int TASK_RESOURCE_SETTINGS_FIELD_NUMBER = 1;
-    private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes taskResourceSettings_;
+    private flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes taskResourceSettings_;
     /**
-     * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+     * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
      */
     public boolean hasTaskResourceSettings() {
       return taskResourceSettings_ != null;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+     * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getTaskResourceSettings() {
-      return taskResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : taskResourceSettings_;
+    public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getTaskResourceSettings() {
+      return taskResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance() : taskResourceSettings_;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+     * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getTaskResourceSettingsOrBuilder() {
+    public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder getTaskResourceSettingsOrBuilder() {
       return getTaskResourceSettings();
     }
 
     public static final int CLUSTER_RESOURCE_SETTINGS_FIELD_NUMBER = 2;
-    private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes clusterResourceSettings_;
+    private flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes clusterResourceSettings_;
     /**
-     * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+     * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
      */
     public boolean hasClusterResourceSettings() {
       return clusterResourceSettings_ != null;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+     * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterResourceSettings() {
-      return clusterResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterResourceSettings_;
+    public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getClusterResourceSettings() {
+      return clusterResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance() : clusterResourceSettings_;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+     * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterResourceSettingsOrBuilder() {
+    public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder getClusterResourceSettingsOrBuilder() {
       return getClusterResourceSettings();
     }
 
     public static final int EXECUTION_QUEUE_SETTINGS_FIELD_NUMBER = 3;
-    private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes executionQueueSettings_;
+    private flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes executionQueueSettings_;
     /**
-     * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+     * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
      */
     public boolean hasExecutionQueueSettings() {
       return executionQueueSettings_ != null;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+     * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionQueueSettings() {
-      return executionQueueSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionQueueSettings_;
+    public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getExecutionQueueSettings() {
+      return executionQueueSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance() : executionQueueSettings_;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+     * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionQueueSettingsOrBuilder() {
+    public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder getExecutionQueueSettingsOrBuilder() {
       return getExecutionQueueSettings();
     }
 
     public static final int EXECUTION_CLUSTER_LABEL_SETTINGS_FIELD_NUMBER = 4;
-    private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes executionClusterLabelSettings_;
+    private flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel executionClusterLabelSettings_;
     /**
-     * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+     * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
      */
     public boolean hasExecutionClusterLabelSettings() {
       return executionClusterLabelSettings_ != null;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+     * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionClusterLabelSettings() {
-      return executionClusterLabelSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionClusterLabelSettings_;
+    public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel getExecutionClusterLabelSettings() {
+      return executionClusterLabelSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance() : executionClusterLabelSettings_;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+     * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionClusterLabelSettingsOrBuilder() {
+    public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder getExecutionClusterLabelSettingsOrBuilder() {
       return getExecutionClusterLabelSettings();
     }
 
     public static final int QUALITY_OF_SERVICE_SETTINGS_FIELD_NUMBER = 5;
-    private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes qualityOfServiceSettings_;
+    private flyteidl.core.Execution.QualityOfService qualityOfServiceSettings_;
     /**
-     * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+     * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
      */
     public boolean hasQualityOfServiceSettings() {
       return qualityOfServiceSettings_ != null;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+     * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getQualityOfServiceSettings() {
-      return qualityOfServiceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : qualityOfServiceSettings_;
+    public flyteidl.core.Execution.QualityOfService getQualityOfServiceSettings() {
+      return qualityOfServiceSettings_ == null ? flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfServiceSettings_;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+     * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getQualityOfServiceSettingsOrBuilder() {
+    public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceSettingsOrBuilder() {
       return getQualityOfServiceSettings();
     }
 
     public static final int PLUGIN_OVERRIDE_SETTINGS_FIELD_NUMBER = 6;
-    private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes pluginOverrideSettings_;
+    private flyteidl.admin.MatchableResourceOuterClass.PluginOverride pluginOverrideSettings_;
     /**
-     * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+     * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
      */
     public boolean hasPluginOverrideSettings() {
       return pluginOverrideSettings_ != null;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+     * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getPluginOverrideSettings() {
-      return pluginOverrideSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : pluginOverrideSettings_;
+    public flyteidl.admin.MatchableResourceOuterClass.PluginOverride getPluginOverrideSettings() {
+      return pluginOverrideSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.PluginOverride.getDefaultInstance() : pluginOverrideSettings_;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+     * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getPluginOverrideSettingsOrBuilder() {
+    public flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder getPluginOverrideSettingsOrBuilder() {
       return getPluginOverrideSettings();
     }
 
     public static final int WORKFLOW_EXECUTION_SETTINGS_FIELD_NUMBER = 7;
-    private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes workflowExecutionSettings_;
+    private flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig workflowExecutionSettings_;
     /**
-     * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+     * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
      */
     public boolean hasWorkflowExecutionSettings() {
       return workflowExecutionSettings_ != null;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+     * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getWorkflowExecutionSettings() {
-      return workflowExecutionSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : workflowExecutionSettings_;
+    public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig getWorkflowExecutionSettings() {
+      return workflowExecutionSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance() : workflowExecutionSettings_;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+     * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getWorkflowExecutionSettingsOrBuilder() {
+    public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder getWorkflowExecutionSettingsOrBuilder() {
       return getWorkflowExecutionSettings();
     }
 
     public static final int CLUSTER_ASSIGNMENT_SETTINGS_FIELD_NUMBER = 8;
-    private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes clusterAssignmentSettings_;
+    private flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment clusterAssignmentSettings_;
     /**
-     * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+     * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
      */
     public boolean hasClusterAssignmentSettings() {
       return clusterAssignmentSettings_ != null;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+     * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterAssignmentSettings() {
-      return clusterAssignmentSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterAssignmentSettings_;
+    public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getClusterAssignmentSettings() {
+      return clusterAssignmentSettings_ == null ? flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance() : clusterAssignmentSettings_;
     }
     /**
-     * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+     * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
      */
-    public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterAssignmentSettingsOrBuilder() {
+    public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder getClusterAssignmentSettingsOrBuilder() {
       return getClusterAssignmentSettings();
     }
 
@@ -998,29 +998,29 @@ public Builder mergeFrom(
         return this;
       }
 
-      private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes taskResourceSettings_;
+      private flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes taskResourceSettings_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> taskResourceSettingsBuilder_;
+          flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder> taskResourceSettingsBuilder_;
       /**
-       * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+       * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
        */
       public boolean hasTaskResourceSettings() {
         return taskResourceSettingsBuilder_ != null || taskResourceSettings_ != null;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+       * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getTaskResourceSettings() {
+      public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getTaskResourceSettings() {
         if (taskResourceSettingsBuilder_ == null) {
-          return taskResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : taskResourceSettings_;
+          return taskResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance() : taskResourceSettings_;
         } else {
           return taskResourceSettingsBuilder_.getMessage();
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+       * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
        */
-      public Builder setTaskResourceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder setTaskResourceSettings(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes value) {
         if (taskResourceSettingsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1034,10 +1034,10 @@ public Builder setTaskResourceSettings(flyteidl.admin.MatchableResourceOuterClas
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+       * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
        */
       public Builder setTaskResourceSettings(
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) {
+          flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder builderForValue) {
         if (taskResourceSettingsBuilder_ == null) {
           taskResourceSettings_ = builderForValue.build();
           onChanged();
@@ -1048,13 +1048,13 @@ public Builder setTaskResourceSettings(
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+       * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
        */
-      public Builder mergeTaskResourceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder mergeTaskResourceSettings(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes value) {
         if (taskResourceSettingsBuilder_ == null) {
           if (taskResourceSettings_ != null) {
             taskResourceSettings_ =
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(taskResourceSettings_).mergeFrom(value).buildPartial();
+              flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.newBuilder(taskResourceSettings_).mergeFrom(value).buildPartial();
           } else {
             taskResourceSettings_ = value;
           }
@@ -1066,7 +1066,7 @@ public Builder mergeTaskResourceSettings(flyteidl.admin.MatchableResourceOuterCl
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+       * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
        */
       public Builder clearTaskResourceSettings() {
         if (taskResourceSettingsBuilder_ == null) {
@@ -1080,33 +1080,33 @@ public Builder clearTaskResourceSettings() {
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+       * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getTaskResourceSettingsBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder getTaskResourceSettingsBuilder() {
         
         onChanged();
         return getTaskResourceSettingsFieldBuilder().getBuilder();
       }
       /**
-       * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+       * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getTaskResourceSettingsOrBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder getTaskResourceSettingsOrBuilder() {
         if (taskResourceSettingsBuilder_ != null) {
           return taskResourceSettingsBuilder_.getMessageOrBuilder();
         } else {
           return taskResourceSettings_ == null ?
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : taskResourceSettings_;
+              flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance() : taskResourceSettings_;
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes task_resource_settings = 1;
+       * .flyteidl.admin.TaskResourceAttributes task_resource_settings = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> 
+          flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder> 
           getTaskResourceSettingsFieldBuilder() {
         if (taskResourceSettingsBuilder_ == null) {
           taskResourceSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>(
+              flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder>(
                   getTaskResourceSettings(),
                   getParentForChildren(),
                   isClean());
@@ -1115,29 +1115,29 @@ public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder ge
         return taskResourceSettingsBuilder_;
       }
 
-      private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes clusterResourceSettings_;
+      private flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes clusterResourceSettings_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> clusterResourceSettingsBuilder_;
+          flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder> clusterResourceSettingsBuilder_;
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+       * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
        */
       public boolean hasClusterResourceSettings() {
         return clusterResourceSettingsBuilder_ != null || clusterResourceSettings_ != null;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+       * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterResourceSettings() {
+      public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getClusterResourceSettings() {
         if (clusterResourceSettingsBuilder_ == null) {
-          return clusterResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterResourceSettings_;
+          return clusterResourceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance() : clusterResourceSettings_;
         } else {
           return clusterResourceSettingsBuilder_.getMessage();
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+       * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
        */
-      public Builder setClusterResourceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder setClusterResourceSettings(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes value) {
         if (clusterResourceSettingsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1151,10 +1151,10 @@ public Builder setClusterResourceSettings(flyteidl.admin.MatchableResourceOuterC
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+       * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
        */
       public Builder setClusterResourceSettings(
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) {
+          flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder builderForValue) {
         if (clusterResourceSettingsBuilder_ == null) {
           clusterResourceSettings_ = builderForValue.build();
           onChanged();
@@ -1165,13 +1165,13 @@ public Builder setClusterResourceSettings(
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+       * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
        */
-      public Builder mergeClusterResourceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder mergeClusterResourceSettings(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes value) {
         if (clusterResourceSettingsBuilder_ == null) {
           if (clusterResourceSettings_ != null) {
             clusterResourceSettings_ =
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(clusterResourceSettings_).mergeFrom(value).buildPartial();
+              flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.newBuilder(clusterResourceSettings_).mergeFrom(value).buildPartial();
           } else {
             clusterResourceSettings_ = value;
           }
@@ -1183,7 +1183,7 @@ public Builder mergeClusterResourceSettings(flyteidl.admin.MatchableResourceOute
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+       * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
        */
       public Builder clearClusterResourceSettings() {
         if (clusterResourceSettingsBuilder_ == null) {
@@ -1197,33 +1197,33 @@ public Builder clearClusterResourceSettings() {
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+       * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getClusterResourceSettingsBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder getClusterResourceSettingsBuilder() {
         
         onChanged();
         return getClusterResourceSettingsFieldBuilder().getBuilder();
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+       * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterResourceSettingsOrBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder getClusterResourceSettingsOrBuilder() {
         if (clusterResourceSettingsBuilder_ != null) {
           return clusterResourceSettingsBuilder_.getMessageOrBuilder();
         } else {
           return clusterResourceSettings_ == null ?
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterResourceSettings_;
+              flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance() : clusterResourceSettings_;
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_resource_settings = 2;
+       * .flyteidl.admin.ClusterResourceAttributes cluster_resource_settings = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> 
+          flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder> 
           getClusterResourceSettingsFieldBuilder() {
         if (clusterResourceSettingsBuilder_ == null) {
           clusterResourceSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>(
+              flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder>(
                   getClusterResourceSettings(),
                   getParentForChildren(),
                   isClean());
@@ -1232,29 +1232,29 @@ public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder ge
         return clusterResourceSettingsBuilder_;
       }
 
-      private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes executionQueueSettings_;
+      private flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes executionQueueSettings_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> executionQueueSettingsBuilder_;
+          flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder> executionQueueSettingsBuilder_;
       /**
-       * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+       * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
        */
       public boolean hasExecutionQueueSettings() {
         return executionQueueSettingsBuilder_ != null || executionQueueSettings_ != null;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+       * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionQueueSettings() {
+      public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getExecutionQueueSettings() {
         if (executionQueueSettingsBuilder_ == null) {
-          return executionQueueSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionQueueSettings_;
+          return executionQueueSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance() : executionQueueSettings_;
         } else {
           return executionQueueSettingsBuilder_.getMessage();
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+       * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
        */
-      public Builder setExecutionQueueSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder setExecutionQueueSettings(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes value) {
         if (executionQueueSettingsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1268,10 +1268,10 @@ public Builder setExecutionQueueSettings(flyteidl.admin.MatchableResourceOuterCl
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+       * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
        */
       public Builder setExecutionQueueSettings(
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) {
+          flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder builderForValue) {
         if (executionQueueSettingsBuilder_ == null) {
           executionQueueSettings_ = builderForValue.build();
           onChanged();
@@ -1282,13 +1282,13 @@ public Builder setExecutionQueueSettings(
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+       * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
        */
-      public Builder mergeExecutionQueueSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder mergeExecutionQueueSettings(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes value) {
         if (executionQueueSettingsBuilder_ == null) {
           if (executionQueueSettings_ != null) {
             executionQueueSettings_ =
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(executionQueueSettings_).mergeFrom(value).buildPartial();
+              flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.newBuilder(executionQueueSettings_).mergeFrom(value).buildPartial();
           } else {
             executionQueueSettings_ = value;
           }
@@ -1300,7 +1300,7 @@ public Builder mergeExecutionQueueSettings(flyteidl.admin.MatchableResourceOuter
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+       * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
        */
       public Builder clearExecutionQueueSettings() {
         if (executionQueueSettingsBuilder_ == null) {
@@ -1314,33 +1314,33 @@ public Builder clearExecutionQueueSettings() {
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+       * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getExecutionQueueSettingsBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder getExecutionQueueSettingsBuilder() {
         
         onChanged();
         return getExecutionQueueSettingsFieldBuilder().getBuilder();
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+       * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionQueueSettingsOrBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder getExecutionQueueSettingsOrBuilder() {
         if (executionQueueSettingsBuilder_ != null) {
           return executionQueueSettingsBuilder_.getMessageOrBuilder();
         } else {
           return executionQueueSettings_ == null ?
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionQueueSettings_;
+              flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance() : executionQueueSettings_;
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_queue_settings = 3;
+       * .flyteidl.admin.ExecutionQueueAttributes execution_queue_settings = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> 
+          flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder> 
           getExecutionQueueSettingsFieldBuilder() {
         if (executionQueueSettingsBuilder_ == null) {
           executionQueueSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>(
+              flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder>(
                   getExecutionQueueSettings(),
                   getParentForChildren(),
                   isClean());
@@ -1349,29 +1349,29 @@ public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder ge
         return executionQueueSettingsBuilder_;
       }
 
-      private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes executionClusterLabelSettings_;
+      private flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel executionClusterLabelSettings_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> executionClusterLabelSettingsBuilder_;
+          flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder> executionClusterLabelSettingsBuilder_;
       /**
-       * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+       * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
        */
       public boolean hasExecutionClusterLabelSettings() {
         return executionClusterLabelSettingsBuilder_ != null || executionClusterLabelSettings_ != null;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+       * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getExecutionClusterLabelSettings() {
+      public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel getExecutionClusterLabelSettings() {
         if (executionClusterLabelSettingsBuilder_ == null) {
-          return executionClusterLabelSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionClusterLabelSettings_;
+          return executionClusterLabelSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance() : executionClusterLabelSettings_;
         } else {
           return executionClusterLabelSettingsBuilder_.getMessage();
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+       * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
        */
-      public Builder setExecutionClusterLabelSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder setExecutionClusterLabelSettings(flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel value) {
         if (executionClusterLabelSettingsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1385,10 +1385,10 @@ public Builder setExecutionClusterLabelSettings(flyteidl.admin.MatchableResource
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+       * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
        */
       public Builder setExecutionClusterLabelSettings(
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) {
+          flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder builderForValue) {
         if (executionClusterLabelSettingsBuilder_ == null) {
           executionClusterLabelSettings_ = builderForValue.build();
           onChanged();
@@ -1399,13 +1399,13 @@ public Builder setExecutionClusterLabelSettings(
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+       * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
        */
-      public Builder mergeExecutionClusterLabelSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder mergeExecutionClusterLabelSettings(flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel value) {
         if (executionClusterLabelSettingsBuilder_ == null) {
           if (executionClusterLabelSettings_ != null) {
             executionClusterLabelSettings_ =
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(executionClusterLabelSettings_).mergeFrom(value).buildPartial();
+              flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.newBuilder(executionClusterLabelSettings_).mergeFrom(value).buildPartial();
           } else {
             executionClusterLabelSettings_ = value;
           }
@@ -1417,7 +1417,7 @@ public Builder mergeExecutionClusterLabelSettings(flyteidl.admin.MatchableResour
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+       * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
        */
       public Builder clearExecutionClusterLabelSettings() {
         if (executionClusterLabelSettingsBuilder_ == null) {
@@ -1431,33 +1431,33 @@ public Builder clearExecutionClusterLabelSettings() {
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+       * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getExecutionClusterLabelSettingsBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder getExecutionClusterLabelSettingsBuilder() {
         
         onChanged();
         return getExecutionClusterLabelSettingsFieldBuilder().getBuilder();
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+       * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getExecutionClusterLabelSettingsOrBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder getExecutionClusterLabelSettingsOrBuilder() {
         if (executionClusterLabelSettingsBuilder_ != null) {
           return executionClusterLabelSettingsBuilder_.getMessageOrBuilder();
         } else {
           return executionClusterLabelSettings_ == null ?
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : executionClusterLabelSettings_;
+              flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.getDefaultInstance() : executionClusterLabelSettings_;
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes execution_cluster_label_settings = 4;
+       * .flyteidl.admin.ExecutionClusterLabel execution_cluster_label_settings = 4;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> 
+          flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder> 
           getExecutionClusterLabelSettingsFieldBuilder() {
         if (executionClusterLabelSettingsBuilder_ == null) {
           executionClusterLabelSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>(
+              flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabel.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionClusterLabelOrBuilder>(
                   getExecutionClusterLabelSettings(),
                   getParentForChildren(),
                   isClean());
@@ -1466,29 +1466,29 @@ public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder ge
         return executionClusterLabelSettingsBuilder_;
       }
 
-      private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes qualityOfServiceSettings_;
+      private flyteidl.core.Execution.QualityOfService qualityOfServiceSettings_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> qualityOfServiceSettingsBuilder_;
+          flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> qualityOfServiceSettingsBuilder_;
       /**
-       * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+       * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
        */
       public boolean hasQualityOfServiceSettings() {
         return qualityOfServiceSettingsBuilder_ != null || qualityOfServiceSettings_ != null;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+       * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getQualityOfServiceSettings() {
+      public flyteidl.core.Execution.QualityOfService getQualityOfServiceSettings() {
         if (qualityOfServiceSettingsBuilder_ == null) {
-          return qualityOfServiceSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : qualityOfServiceSettings_;
+          return qualityOfServiceSettings_ == null ? flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfServiceSettings_;
         } else {
           return qualityOfServiceSettingsBuilder_.getMessage();
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+       * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
        */
-      public Builder setQualityOfServiceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder setQualityOfServiceSettings(flyteidl.core.Execution.QualityOfService value) {
         if (qualityOfServiceSettingsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1502,10 +1502,10 @@ public Builder setQualityOfServiceSettings(flyteidl.admin.MatchableResourceOuter
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+       * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
        */
       public Builder setQualityOfServiceSettings(
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) {
+          flyteidl.core.Execution.QualityOfService.Builder builderForValue) {
         if (qualityOfServiceSettingsBuilder_ == null) {
           qualityOfServiceSettings_ = builderForValue.build();
           onChanged();
@@ -1516,13 +1516,13 @@ public Builder setQualityOfServiceSettings(
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+       * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
        */
-      public Builder mergeQualityOfServiceSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder mergeQualityOfServiceSettings(flyteidl.core.Execution.QualityOfService value) {
         if (qualityOfServiceSettingsBuilder_ == null) {
           if (qualityOfServiceSettings_ != null) {
             qualityOfServiceSettings_ =
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(qualityOfServiceSettings_).mergeFrom(value).buildPartial();
+              flyteidl.core.Execution.QualityOfService.newBuilder(qualityOfServiceSettings_).mergeFrom(value).buildPartial();
           } else {
             qualityOfServiceSettings_ = value;
           }
@@ -1534,7 +1534,7 @@ public Builder mergeQualityOfServiceSettings(flyteidl.admin.MatchableResourceOut
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+       * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
        */
       public Builder clearQualityOfServiceSettings() {
         if (qualityOfServiceSettingsBuilder_ == null) {
@@ -1548,33 +1548,33 @@ public Builder clearQualityOfServiceSettings() {
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+       * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getQualityOfServiceSettingsBuilder() {
+      public flyteidl.core.Execution.QualityOfService.Builder getQualityOfServiceSettingsBuilder() {
         
         onChanged();
         return getQualityOfServiceSettingsFieldBuilder().getBuilder();
       }
       /**
-       * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+       * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getQualityOfServiceSettingsOrBuilder() {
+      public flyteidl.core.Execution.QualityOfServiceOrBuilder getQualityOfServiceSettingsOrBuilder() {
         if (qualityOfServiceSettingsBuilder_ != null) {
           return qualityOfServiceSettingsBuilder_.getMessageOrBuilder();
         } else {
           return qualityOfServiceSettings_ == null ?
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : qualityOfServiceSettings_;
+              flyteidl.core.Execution.QualityOfService.getDefaultInstance() : qualityOfServiceSettings_;
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes quality_of_service_settings = 5;
+       * .flyteidl.core.QualityOfService quality_of_service_settings = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> 
+          flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder> 
           getQualityOfServiceSettingsFieldBuilder() {
         if (qualityOfServiceSettingsBuilder_ == null) {
           qualityOfServiceSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>(
+              flyteidl.core.Execution.QualityOfService, flyteidl.core.Execution.QualityOfService.Builder, flyteidl.core.Execution.QualityOfServiceOrBuilder>(
                   getQualityOfServiceSettings(),
                   getParentForChildren(),
                   isClean());
@@ -1583,29 +1583,29 @@ public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder ge
         return qualityOfServiceSettingsBuilder_;
       }
 
-      private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes pluginOverrideSettings_;
+      private flyteidl.admin.MatchableResourceOuterClass.PluginOverride pluginOverrideSettings_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> pluginOverrideSettingsBuilder_;
+          flyteidl.admin.MatchableResourceOuterClass.PluginOverride, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder, flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder> pluginOverrideSettingsBuilder_;
       /**
-       * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+       * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
        */
       public boolean hasPluginOverrideSettings() {
         return pluginOverrideSettingsBuilder_ != null || pluginOverrideSettings_ != null;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+       * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getPluginOverrideSettings() {
+      public flyteidl.admin.MatchableResourceOuterClass.PluginOverride getPluginOverrideSettings() {
         if (pluginOverrideSettingsBuilder_ == null) {
-          return pluginOverrideSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : pluginOverrideSettings_;
+          return pluginOverrideSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.PluginOverride.getDefaultInstance() : pluginOverrideSettings_;
         } else {
           return pluginOverrideSettingsBuilder_.getMessage();
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+       * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
        */
-      public Builder setPluginOverrideSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder setPluginOverrideSettings(flyteidl.admin.MatchableResourceOuterClass.PluginOverride value) {
         if (pluginOverrideSettingsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1619,10 +1619,10 @@ public Builder setPluginOverrideSettings(flyteidl.admin.MatchableResourceOuterCl
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+       * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
        */
       public Builder setPluginOverrideSettings(
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) {
+          flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder builderForValue) {
         if (pluginOverrideSettingsBuilder_ == null) {
           pluginOverrideSettings_ = builderForValue.build();
           onChanged();
@@ -1633,13 +1633,13 @@ public Builder setPluginOverrideSettings(
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+       * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
        */
-      public Builder mergePluginOverrideSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder mergePluginOverrideSettings(flyteidl.admin.MatchableResourceOuterClass.PluginOverride value) {
         if (pluginOverrideSettingsBuilder_ == null) {
           if (pluginOverrideSettings_ != null) {
             pluginOverrideSettings_ =
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(pluginOverrideSettings_).mergeFrom(value).buildPartial();
+              flyteidl.admin.MatchableResourceOuterClass.PluginOverride.newBuilder(pluginOverrideSettings_).mergeFrom(value).buildPartial();
           } else {
             pluginOverrideSettings_ = value;
           }
@@ -1651,7 +1651,7 @@ public Builder mergePluginOverrideSettings(flyteidl.admin.MatchableResourceOuter
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+       * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
        */
       public Builder clearPluginOverrideSettings() {
         if (pluginOverrideSettingsBuilder_ == null) {
@@ -1665,33 +1665,33 @@ public Builder clearPluginOverrideSettings() {
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+       * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getPluginOverrideSettingsBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder getPluginOverrideSettingsBuilder() {
         
         onChanged();
         return getPluginOverrideSettingsFieldBuilder().getBuilder();
       }
       /**
-       * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+       * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getPluginOverrideSettingsOrBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder getPluginOverrideSettingsOrBuilder() {
         if (pluginOverrideSettingsBuilder_ != null) {
           return pluginOverrideSettingsBuilder_.getMessageOrBuilder();
         } else {
           return pluginOverrideSettings_ == null ?
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : pluginOverrideSettings_;
+              flyteidl.admin.MatchableResourceOuterClass.PluginOverride.getDefaultInstance() : pluginOverrideSettings_;
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes plugin_override_settings = 6;
+       * .flyteidl.admin.PluginOverride plugin_override_settings = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> 
+          flyteidl.admin.MatchableResourceOuterClass.PluginOverride, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder, flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder> 
           getPluginOverrideSettingsFieldBuilder() {
         if (pluginOverrideSettingsBuilder_ == null) {
           pluginOverrideSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>(
+              flyteidl.admin.MatchableResourceOuterClass.PluginOverride, flyteidl.admin.MatchableResourceOuterClass.PluginOverride.Builder, flyteidl.admin.MatchableResourceOuterClass.PluginOverrideOrBuilder>(
                   getPluginOverrideSettings(),
                   getParentForChildren(),
                   isClean());
@@ -1700,29 +1700,29 @@ public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder ge
         return pluginOverrideSettingsBuilder_;
       }
 
-      private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes workflowExecutionSettings_;
+      private flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig workflowExecutionSettings_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> workflowExecutionSettingsBuilder_;
+          flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder> workflowExecutionSettingsBuilder_;
       /**
-       * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+       * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
        */
       public boolean hasWorkflowExecutionSettings() {
         return workflowExecutionSettingsBuilder_ != null || workflowExecutionSettings_ != null;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+       * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getWorkflowExecutionSettings() {
+      public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig getWorkflowExecutionSettings() {
         if (workflowExecutionSettingsBuilder_ == null) {
-          return workflowExecutionSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : workflowExecutionSettings_;
+          return workflowExecutionSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance() : workflowExecutionSettings_;
         } else {
           return workflowExecutionSettingsBuilder_.getMessage();
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+       * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
        */
-      public Builder setWorkflowExecutionSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder setWorkflowExecutionSettings(flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig value) {
         if (workflowExecutionSettingsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1736,10 +1736,10 @@ public Builder setWorkflowExecutionSettings(flyteidl.admin.MatchableResourceOute
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+       * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
        */
       public Builder setWorkflowExecutionSettings(
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) {
+          flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder builderForValue) {
         if (workflowExecutionSettingsBuilder_ == null) {
           workflowExecutionSettings_ = builderForValue.build();
           onChanged();
@@ -1750,13 +1750,13 @@ public Builder setWorkflowExecutionSettings(
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+       * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
        */
-      public Builder mergeWorkflowExecutionSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder mergeWorkflowExecutionSettings(flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig value) {
         if (workflowExecutionSettingsBuilder_ == null) {
           if (workflowExecutionSettings_ != null) {
             workflowExecutionSettings_ =
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(workflowExecutionSettings_).mergeFrom(value).buildPartial();
+              flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.newBuilder(workflowExecutionSettings_).mergeFrom(value).buildPartial();
           } else {
             workflowExecutionSettings_ = value;
           }
@@ -1768,7 +1768,7 @@ public Builder mergeWorkflowExecutionSettings(flyteidl.admin.MatchableResourceOu
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+       * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
        */
       public Builder clearWorkflowExecutionSettings() {
         if (workflowExecutionSettingsBuilder_ == null) {
@@ -1782,33 +1782,33 @@ public Builder clearWorkflowExecutionSettings() {
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+       * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getWorkflowExecutionSettingsBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder getWorkflowExecutionSettingsBuilder() {
         
         onChanged();
         return getWorkflowExecutionSettingsFieldBuilder().getBuilder();
       }
       /**
-       * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+       * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getWorkflowExecutionSettingsOrBuilder() {
+      public flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder getWorkflowExecutionSettingsOrBuilder() {
         if (workflowExecutionSettingsBuilder_ != null) {
           return workflowExecutionSettingsBuilder_.getMessageOrBuilder();
         } else {
           return workflowExecutionSettings_ == null ?
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : workflowExecutionSettings_;
+              flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.getDefaultInstance() : workflowExecutionSettings_;
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes workflow_execution_settings = 7;
+       * .flyteidl.admin.WorkflowExecutionConfig workflow_execution_settings = 7;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> 
+          flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder> 
           getWorkflowExecutionSettingsFieldBuilder() {
         if (workflowExecutionSettingsBuilder_ == null) {
           workflowExecutionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>(
+              flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig.Builder, flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder>(
                   getWorkflowExecutionSettings(),
                   getParentForChildren(),
                   isClean());
@@ -1817,29 +1817,29 @@ public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder ge
         return workflowExecutionSettingsBuilder_;
       }
 
-      private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes clusterAssignmentSettings_;
+      private flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment clusterAssignmentSettings_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> clusterAssignmentSettingsBuilder_;
+          flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder> clusterAssignmentSettingsBuilder_;
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+       * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
        */
       public boolean hasClusterAssignmentSettings() {
         return clusterAssignmentSettingsBuilder_ != null || clusterAssignmentSettings_ != null;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+       * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getClusterAssignmentSettings() {
+      public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment getClusterAssignmentSettings() {
         if (clusterAssignmentSettingsBuilder_ == null) {
-          return clusterAssignmentSettings_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterAssignmentSettings_;
+          return clusterAssignmentSettings_ == null ? flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance() : clusterAssignmentSettings_;
         } else {
           return clusterAssignmentSettingsBuilder_.getMessage();
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+       * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
        */
-      public Builder setClusterAssignmentSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder setClusterAssignmentSettings(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment value) {
         if (clusterAssignmentSettingsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -1853,10 +1853,10 @@ public Builder setClusterAssignmentSettings(flyteidl.admin.MatchableResourceOute
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+       * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
        */
       public Builder setClusterAssignmentSettings(
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) {
+          flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder builderForValue) {
         if (clusterAssignmentSettingsBuilder_ == null) {
           clusterAssignmentSettings_ = builderForValue.build();
           onChanged();
@@ -1867,13 +1867,13 @@ public Builder setClusterAssignmentSettings(
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+       * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
        */
-      public Builder mergeClusterAssignmentSettings(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) {
+      public Builder mergeClusterAssignmentSettings(flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment value) {
         if (clusterAssignmentSettingsBuilder_ == null) {
           if (clusterAssignmentSettings_ != null) {
             clusterAssignmentSettings_ =
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(clusterAssignmentSettings_).mergeFrom(value).buildPartial();
+              flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.newBuilder(clusterAssignmentSettings_).mergeFrom(value).buildPartial();
           } else {
             clusterAssignmentSettings_ = value;
           }
@@ -1885,7 +1885,7 @@ public Builder mergeClusterAssignmentSettings(flyteidl.admin.MatchableResourceOu
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+       * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
        */
       public Builder clearClusterAssignmentSettings() {
         if (clusterAssignmentSettingsBuilder_ == null) {
@@ -1899,33 +1899,33 @@ public Builder clearClusterAssignmentSettings() {
         return this;
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+       * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getClusterAssignmentSettingsBuilder() {
+      public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder getClusterAssignmentSettingsBuilder() {
         
         onChanged();
         return getClusterAssignmentSettingsFieldBuilder().getBuilder();
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+       * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
        */
-      public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getClusterAssignmentSettingsOrBuilder() {
+      public flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder getClusterAssignmentSettingsOrBuilder() {
         if (clusterAssignmentSettingsBuilder_ != null) {
           return clusterAssignmentSettingsBuilder_.getMessageOrBuilder();
         } else {
           return clusterAssignmentSettings_ == null ?
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : clusterAssignmentSettings_;
+              flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.getDefaultInstance() : clusterAssignmentSettings_;
         }
       }
       /**
-       * .flyteidl.admin.MatchingAttributes cluster_assignment_settings = 8;
+       * .flyteidl.admin.ClusterAssignment cluster_assignment_settings = 8;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> 
+          flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder> 
           getClusterAssignmentSettingsFieldBuilder() {
         if (clusterAssignmentSettingsBuilder_ == null) {
           clusterAssignmentSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>(
+              flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignment.Builder, flyteidl.admin.ClusterAssignmentOuterClass.ClusterAssignmentOrBuilder>(
                   getClusterAssignmentSettings(),
                   getParentForChildren(),
                   isClean());
@@ -21419,106 +21419,108 @@ public flyteidl.admin.SettingsOuterClass.SettingsDeleteResponse getDefaultInstan
   static {
     java.lang.String[] descriptorData = {
       "\n\035flyteidl/admin/settings.proto\022\016flyteid" +
-      "l.admin\032\'flyteidl/admin/matchable_resour" +
-      "ce.proto\"\324\004\n\022SettingsCollection\022B\n\026task_" +
-      "resource_settings\030\001 \001(\0132\".flyteidl.admin" +
-      ".MatchingAttributes\022E\n\031cluster_resource_" +
-      "settings\030\002 \001(\0132\".flyteidl.admin.Matching" +
-      "Attributes\022D\n\030execution_queue_settings\030\003" +
-      " \001(\0132\".flyteidl.admin.MatchingAttributes" +
-      "\022L\n execution_cluster_label_settings\030\004 \001" +
-      "(\0132\".flyteidl.admin.MatchingAttributes\022G" +
-      "\n\033quality_of_service_settings\030\005 \001(\0132\".fl" +
-      "yteidl.admin.MatchingAttributes\022D\n\030plugi" +
-      "n_override_settings\030\006 \001(\0132\".flyteidl.adm" +
-      "in.MatchingAttributes\022G\n\033workflow_execut" +
-      "ion_settings\030\007 \001(\0132\".flyteidl.admin.Matc" +
-      "hingAttributes\022G\n\033cluster_assignment_set" +
-      "tings\030\010 \001(\0132\".flyteidl.admin.MatchingAtt" +
-      "ributes\"\340\001\n\010Settings\0222\n\006global\030\001 \001(\0132\".f" +
-      "lyteidl.admin.SettingsCollection\022G\n\020proj" +
-      "ect_settings\030\002 \003(\0132-.flyteidl.admin.Sett" +
-      "ings.ProjectSettingsEntry\032W\n\024ProjectSett" +
-      "ingsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value\030\002 \001(\0132\037." +
-      "flyteidl.admin.ProjectSettings:\0028\001\"\375\001\n\017P" +
-      "rojectSettings\022\017\n\007project\030\001 \001(\t\0224\n\010setti" +
-      "ngs\030\002 \001(\0132\".flyteidl.admin.SettingsColle" +
-      "ction\022L\n\017domain_settings\030\003 \003(\01323.flyteid" +
-      "l.admin.ProjectSettings.DomainSettingsEn" +
-      "try\032U\n\023DomainSettingsEntry\022\013\n\003key\030\001 \001(\t\022" +
-      "-\n\005value\030\002 \001(\0132\036.flyteidl.admin.DomainSe" +
-      "ttings:\0028\001\"\202\002\n\016DomainSettings\022\016\n\006domain\030" +
-      "\001 \001(\t\0224\n\010settings\030\002 \001(\0132\".flyteidl.admin" +
-      ".SettingsCollection\022O\n\021workflow_settings" +
-      "\030\003 \003(\01324.flyteidl.admin.DomainSettings.W" +
-      "orkflowSettingsEntry\032Y\n\025WorkflowSettings" +
-      "Entry\022\013\n\003key\030\001 \001(\t\022/\n\005value\030\002 \001(\0132 .flyt" +
-      "eidl.admin.WorkflowSettings:\0028\001\"\220\002\n\020Work" +
-      "flowSettings\022\020\n\010workflow\030\001 \001(\t\0224\n\010settin" +
-      "gs\030\002 \001(\0132\".flyteidl.admin.SettingsCollec" +
-      "tion\022U\n\023launchplan_settings\030\003 \003(\01328.flyt" +
-      "eidl.admin.WorkflowSettings.LaunchplanSe" +
-      "ttingsEntry\032]\n\027LaunchplanSettingsEntry\022\013" +
-      "\n\003key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".flyteidl.ad" +
-      "min.LaunchplanSettings:\0028\001\"^\n\022Launchplan" +
-      "Settings\022\022\n\nlaunchplan\030\001 \001(\t\0224\n\010settings" +
-      "\030\002 \001(\0132\".flyteidl.admin.SettingsCollecti" +
-      "on\"\r\n\013GlobalLevel\"\037\n\014ProjectLevel\022\017\n\007pro" +
-      "ject\030\001 \001(\t\".\n\013DomainLevel\022\017\n\007project\030\001 \001" +
-      "(\t\022\016\n\006domain\030\002 \001(\t\"B\n\rWorkflowLevel\022\017\n\007p" +
-      "roject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow" +
-      "\030\003 \001(\t\"X\n\017LaunchplanLevel\022\017\n\007project\030\001 \001" +
-      "(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow\030\003 \001(\t\022\022\n\n" +
-      "launchplan\030\004 \001(\t\"\355\002\n\025SettingsUpdateReque" +
-      "st\0223\n\014global_level\030\001 \001(\0132\033.flyteidl.admi" +
-      "n.GlobalLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034" +
-      ".flyteidl.admin.ProjectLevelH\000\0223\n\014domain" +
-      "_level\030\003 \001(\0132\033.flyteidl.admin.DomainLeve" +
-      "lH\000\0227\n\016workflow_level\030\004 \001(\0132\035.flyteidl.a" +
-      "dmin.WorkflowLevelH\000\022;\n\020launchplan_level" +
-      "\030\005 \001(\0132\037.flyteidl.admin.LaunchplanLevelH" +
-      "\000\0224\n\010settings\030\006 \001(\0132\".flyteidl.admin.Set" +
-      "tingsCollectionB\007\n\005level\"\361\002\n\031FullSetting" +
-      "sUpdateRequest\0223\n\014global_level\030\001 \001(\0132\033.f" +
-      "lyteidl.admin.GlobalLevelH\000\0225\n\rproject_l" +
-      "evel\030\002 \001(\0132\034.flyteidl.admin.ProjectLevel" +
-      "H\000\0223\n\014domain_level\030\003 \001(\0132\033.flyteidl.admi" +
-      "n.DomainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132" +
-      "\035.flyteidl.admin.WorkflowLevelH\000\022;\n\020laun" +
-      "chplan_level\030\005 \001(\0132\037.flyteidl.admin.Laun" +
-      "chplanLevelH\000\0224\n\010settings\030\006 \001(\0132\".flytei" +
-      "dl.admin.SettingsCollectionB\007\n\005level\"\034\n\032" +
-      "FullSettingsUpdateResponse\"\264\002\n\022SettingsG" +
-      "etRequest\0223\n\014global_level\030\001 \001(\0132\033.flytei" +
-      "dl.admin.GlobalLevelH\000\0225\n\rproject_level\030" +
-      "\002 \001(\0132\034.flyteidl.admin.ProjectLevelH\000\0223\n" +
-      "\014domain_level\030\003 \001(\0132\033.flyteidl.admin.Dom" +
-      "ainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132\035.fly" +
-      "teidl.admin.WorkflowLevelH\000\022;\n\020launchpla" +
-      "n_level\030\005 \001(\0132\037.flyteidl.admin.Launchpla" +
-      "nLevelH\000B\007\n\005level\"\353\002\n\023SettingsGetRespons" +
-      "e\0223\n\014global_level\030\001 \001(\0132\033.flyteidl.admin" +
-      ".GlobalLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034." +
-      "flyteidl.admin.ProjectLevelH\000\0223\n\014domain_" +
-      "level\030\003 \001(\0132\033.flyteidl.admin.DomainLevel" +
-      "H\000\0227\n\016workflow_level\030\004 \001(\0132\035.flyteidl.ad" +
-      "min.WorkflowLevelH\000\022;\n\020launchplan_level\030" +
-      "\005 \001(\0132\037.flyteidl.admin.LaunchplanLevelH\000" +
-      "\0224\n\010settings\030\006 \001(\0132\".flyteidl.admin.Sett" +
-      "ingsCollectionB\007\n\005level\"\030\n\026FullSettingsG" +
-      "etRequest\"E\n\027FullSettingsGetResponse\022*\n\010" +
-      "settings\030\001 \001(\0132\030.flyteidl.admin.Settings" +
-      "\"\267\002\n\025SettingsDeleteRequest\0223\n\014global_lev" +
-      "el\030\001 \001(\0132\033.flyteidl.admin.GlobalLevelH\000\022" +
-      "5\n\rproject_level\030\002 \001(\0132\034.flyteidl.admin." +
-      "ProjectLevelH\000\0223\n\014domain_level\030\003 \001(\0132\033.f" +
-      "lyteidl.admin.DomainLevelH\000\0227\n\016workflow_" +
-      "level\030\004 \001(\0132\035.flyteidl.admin.WorkflowLev" +
-      "elH\000\022;\n\020launchplan_level\030\005 \001(\0132\037.flyteid" +
-      "l.admin.LaunchplanLevelH\000B\007\n\005level\"\030\n\026Se" +
-      "ttingsDeleteResponseB7Z5github.com/flyte" +
-      "org/flyteidl/gen/pb-go/flyteidl/adminb\006p" +
-      "roto3"
+      "l.admin\032\'flyteidl/admin/cluster_assignme" +
+      "nt.proto\032\035flyteidl/core/execution.proto\032" +
+      "\'flyteidl/admin/matchable_resource.proto" +
+      "\"\345\004\n\022SettingsCollection\022F\n\026task_resource" +
+      "_settings\030\001 \001(\0132&.flyteidl.admin.TaskRes" +
+      "ourceAttributes\022L\n\031cluster_resource_sett" +
+      "ings\030\002 \001(\0132).flyteidl.admin.ClusterResou" +
+      "rceAttributes\022J\n\030execution_queue_setting" +
+      "s\030\003 \001(\0132(.flyteidl.admin.ExecutionQueueA" +
+      "ttributes\022O\n execution_cluster_label_set" +
+      "tings\030\004 \001(\0132%.flyteidl.admin.ExecutionCl" +
+      "usterLabel\022D\n\033quality_of_service_setting" +
+      "s\030\005 \001(\0132\037.flyteidl.core.QualityOfService" +
+      "\022@\n\030plugin_override_settings\030\006 \001(\0132\036.fly" +
+      "teidl.admin.PluginOverride\022L\n\033workflow_e" +
+      "xecution_settings\030\007 \001(\0132\'.flyteidl.admin" +
+      ".WorkflowExecutionConfig\022F\n\033cluster_assi" +
+      "gnment_settings\030\010 \001(\0132!.flyteidl.admin.C" +
+      "lusterAssignment\"\340\001\n\010Settings\0222\n\006global\030" +
+      "\001 \001(\0132\".flyteidl.admin.SettingsCollectio" +
+      "n\022G\n\020project_settings\030\002 \003(\0132-.flyteidl.a" +
+      "dmin.Settings.ProjectSettingsEntry\032W\n\024Pr" +
+      "ojectSettingsEntry\022\013\n\003key\030\001 \001(\t\022.\n\005value" +
+      "\030\002 \001(\0132\037.flyteidl.admin.ProjectSettings:" +
+      "\0028\001\"\375\001\n\017ProjectSettings\022\017\n\007project\030\001 \001(\t" +
+      "\0224\n\010settings\030\002 \001(\0132\".flyteidl.admin.Sett" +
+      "ingsCollection\022L\n\017domain_settings\030\003 \003(\0132" +
+      "3.flyteidl.admin.ProjectSettings.DomainS" +
+      "ettingsEntry\032U\n\023DomainSettingsEntry\022\013\n\003k" +
+      "ey\030\001 \001(\t\022-\n\005value\030\002 \001(\0132\036.flyteidl.admin" +
+      ".DomainSettings:\0028\001\"\202\002\n\016DomainSettings\022\016" +
+      "\n\006domain\030\001 \001(\t\0224\n\010settings\030\002 \001(\0132\".flyte" +
+      "idl.admin.SettingsCollection\022O\n\021workflow" +
+      "_settings\030\003 \003(\01324.flyteidl.admin.DomainS" +
+      "ettings.WorkflowSettingsEntry\032Y\n\025Workflo" +
+      "wSettingsEntry\022\013\n\003key\030\001 \001(\t\022/\n\005value\030\002 \001" +
+      "(\0132 .flyteidl.admin.WorkflowSettings:\0028\001" +
+      "\"\220\002\n\020WorkflowSettings\022\020\n\010workflow\030\001 \001(\t\022" +
+      "4\n\010settings\030\002 \001(\0132\".flyteidl.admin.Setti" +
+      "ngsCollection\022U\n\023launchplan_settings\030\003 \003" +
+      "(\01328.flyteidl.admin.WorkflowSettings.Lau" +
+      "nchplanSettingsEntry\032]\n\027LaunchplanSettin" +
+      "gsEntry\022\013\n\003key\030\001 \001(\t\0221\n\005value\030\002 \001(\0132\".fl" +
+      "yteidl.admin.LaunchplanSettings:\0028\001\"^\n\022L" +
+      "aunchplanSettings\022\022\n\nlaunchplan\030\001 \001(\t\0224\n" +
+      "\010settings\030\002 \001(\0132\".flyteidl.admin.Setting" +
+      "sCollection\"\r\n\013GlobalLevel\"\037\n\014ProjectLev" +
+      "el\022\017\n\007project\030\001 \001(\t\".\n\013DomainLevel\022\017\n\007pr" +
+      "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\"B\n\rWorkflowL" +
+      "evel\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n" +
+      "\010workflow\030\003 \001(\t\"X\n\017LaunchplanLevel\022\017\n\007pr" +
+      "oject\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010workflow\030" +
+      "\003 \001(\t\022\022\n\nlaunchplan\030\004 \001(\t\"\355\002\n\025SettingsUp" +
+      "dateRequest\0223\n\014global_level\030\001 \001(\0132\033.flyt" +
+      "eidl.admin.GlobalLevelH\000\0225\n\rproject_leve" +
+      "l\030\002 \001(\0132\034.flyteidl.admin.ProjectLevelH\000\022" +
+      "3\n\014domain_level\030\003 \001(\0132\033.flyteidl.admin.D" +
+      "omainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132\035.f" +
+      "lyteidl.admin.WorkflowLevelH\000\022;\n\020launchp" +
+      "lan_level\030\005 \001(\0132\037.flyteidl.admin.Launchp" +
+      "lanLevelH\000\0224\n\010settings\030\006 \001(\0132\".flyteidl." +
+      "admin.SettingsCollectionB\007\n\005level\"\361\002\n\031Fu" +
+      "llSettingsUpdateRequest\0223\n\014global_level\030" +
+      "\001 \001(\0132\033.flyteidl.admin.GlobalLevelH\000\0225\n\r" +
+      "project_level\030\002 \001(\0132\034.flyteidl.admin.Pro" +
+      "jectLevelH\000\0223\n\014domain_level\030\003 \001(\0132\033.flyt" +
+      "eidl.admin.DomainLevelH\000\0227\n\016workflow_lev" +
+      "el\030\004 \001(\0132\035.flyteidl.admin.WorkflowLevelH" +
+      "\000\022;\n\020launchplan_level\030\005 \001(\0132\037.flyteidl.a" +
+      "dmin.LaunchplanLevelH\000\0224\n\010settings\030\006 \001(\013" +
+      "2\".flyteidl.admin.SettingsCollectionB\007\n\005" +
+      "level\"\034\n\032FullSettingsUpdateResponse\"\264\002\n\022" +
+      "SettingsGetRequest\0223\n\014global_level\030\001 \001(\013" +
+      "2\033.flyteidl.admin.GlobalLevelH\000\0225\n\rproje" +
+      "ct_level\030\002 \001(\0132\034.flyteidl.admin.ProjectL" +
+      "evelH\000\0223\n\014domain_level\030\003 \001(\0132\033.flyteidl." +
+      "admin.DomainLevelH\000\0227\n\016workflow_level\030\004 " +
+      "\001(\0132\035.flyteidl.admin.WorkflowLevelH\000\022;\n\020" +
+      "launchplan_level\030\005 \001(\0132\037.flyteidl.admin." +
+      "LaunchplanLevelH\000B\007\n\005level\"\353\002\n\023SettingsG" +
+      "etResponse\0223\n\014global_level\030\001 \001(\0132\033.flyte" +
+      "idl.admin.GlobalLevelH\000\0225\n\rproject_level" +
+      "\030\002 \001(\0132\034.flyteidl.admin.ProjectLevelH\000\0223" +
+      "\n\014domain_level\030\003 \001(\0132\033.flyteidl.admin.Do" +
+      "mainLevelH\000\0227\n\016workflow_level\030\004 \001(\0132\035.fl" +
+      "yteidl.admin.WorkflowLevelH\000\022;\n\020launchpl" +
+      "an_level\030\005 \001(\0132\037.flyteidl.admin.Launchpl" +
+      "anLevelH\000\0224\n\010settings\030\006 \001(\0132\".flyteidl.a" +
+      "dmin.SettingsCollectionB\007\n\005level\"\030\n\026Full" +
+      "SettingsGetRequest\"E\n\027FullSettingsGetRes" +
+      "ponse\022*\n\010settings\030\001 \001(\0132\030.flyteidl.admin" +
+      ".Settings\"\267\002\n\025SettingsDeleteRequest\0223\n\014g" +
+      "lobal_level\030\001 \001(\0132\033.flyteidl.admin.Globa" +
+      "lLevelH\000\0225\n\rproject_level\030\002 \001(\0132\034.flytei" +
+      "dl.admin.ProjectLevelH\000\0223\n\014domain_level\030" +
+      "\003 \001(\0132\033.flyteidl.admin.DomainLevelH\000\0227\n\016" +
+      "workflow_level\030\004 \001(\0132\035.flyteidl.admin.Wo" +
+      "rkflowLevelH\000\022;\n\020launchplan_level\030\005 \001(\0132" +
+      "\037.flyteidl.admin.LaunchplanLevelH\000B\007\n\005le" +
+      "vel\"\030\n\026SettingsDeleteResponseB7Z5github." +
+      "com/flyteorg/flyteidl/gen/pb-go/flyteidl" +
+      "/adminb\006proto3"
     };
     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
         new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
@@ -21531,6 +21533,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
     com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,
         new com.google.protobuf.Descriptors.FileDescriptor[] {
+          flyteidl.admin.ClusterAssignmentOuterClass.getDescriptor(),
+          flyteidl.core.Execution.getDescriptor(),
           flyteidl.admin.MatchableResourceOuterClass.getDescriptor(),
         }, assigner);
     internal_static_flyteidl_admin_SettingsCollection_descriptor =
@@ -21677,6 +21681,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
       com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
         internal_static_flyteidl_admin_SettingsDeleteResponse_descriptor,
         new java.lang.String[] { });
+    flyteidl.admin.ClusterAssignmentOuterClass.getDescriptor();
+    flyteidl.core.Execution.getDescriptor();
     flyteidl.admin.MatchableResourceOuterClass.getDescriptor();
   }
 
diff --git a/gen/pb-js/flyteidl.d.ts b/gen/pb-js/flyteidl.d.ts
index 947b51073..d246f5bec 100644
--- a/gen/pb-js/flyteidl.d.ts
+++ b/gen/pb-js/flyteidl.d.ts
@@ -13962,28 +13962,28 @@ export namespace flyteidl {
         interface ISettingsCollection {
 
             /** SettingsCollection taskResourceSettings */
-            taskResourceSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            taskResourceSettings?: (flyteidl.admin.ITaskResourceAttributes|null);
 
             /** SettingsCollection clusterResourceSettings */
-            clusterResourceSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            clusterResourceSettings?: (flyteidl.admin.IClusterResourceAttributes|null);
 
             /** SettingsCollection executionQueueSettings */
-            executionQueueSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            executionQueueSettings?: (flyteidl.admin.IExecutionQueueAttributes|null);
 
             /** SettingsCollection executionClusterLabelSettings */
-            executionClusterLabelSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            executionClusterLabelSettings?: (flyteidl.admin.IExecutionClusterLabel|null);
 
             /** SettingsCollection qualityOfServiceSettings */
-            qualityOfServiceSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            qualityOfServiceSettings?: (flyteidl.core.IQualityOfService|null);
 
             /** SettingsCollection pluginOverrideSettings */
-            pluginOverrideSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            pluginOverrideSettings?: (flyteidl.admin.IPluginOverride|null);
 
             /** SettingsCollection workflowExecutionSettings */
-            workflowExecutionSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            workflowExecutionSettings?: (flyteidl.admin.IWorkflowExecutionConfig|null);
 
             /** SettingsCollection clusterAssignmentSettings */
-            clusterAssignmentSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            clusterAssignmentSettings?: (flyteidl.admin.IClusterAssignment|null);
         }
 
         /** Represents a SettingsCollection. */
@@ -13996,28 +13996,28 @@ export namespace flyteidl {
             constructor(properties?: flyteidl.admin.ISettingsCollection);
 
             /** SettingsCollection taskResourceSettings. */
-            public taskResourceSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            public taskResourceSettings?: (flyteidl.admin.ITaskResourceAttributes|null);
 
             /** SettingsCollection clusterResourceSettings. */
-            public clusterResourceSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            public clusterResourceSettings?: (flyteidl.admin.IClusterResourceAttributes|null);
 
             /** SettingsCollection executionQueueSettings. */
-            public executionQueueSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            public executionQueueSettings?: (flyteidl.admin.IExecutionQueueAttributes|null);
 
             /** SettingsCollection executionClusterLabelSettings. */
-            public executionClusterLabelSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            public executionClusterLabelSettings?: (flyteidl.admin.IExecutionClusterLabel|null);
 
             /** SettingsCollection qualityOfServiceSettings. */
-            public qualityOfServiceSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            public qualityOfServiceSettings?: (flyteidl.core.IQualityOfService|null);
 
             /** SettingsCollection pluginOverrideSettings. */
-            public pluginOverrideSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            public pluginOverrideSettings?: (flyteidl.admin.IPluginOverride|null);
 
             /** SettingsCollection workflowExecutionSettings. */
-            public workflowExecutionSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            public workflowExecutionSettings?: (flyteidl.admin.IWorkflowExecutionConfig|null);
 
             /** SettingsCollection clusterAssignmentSettings. */
-            public clusterAssignmentSettings?: (flyteidl.admin.IMatchingAttributes|null);
+            public clusterAssignmentSettings?: (flyteidl.admin.IClusterAssignment|null);
 
             /**
              * Creates a new SettingsCollection instance using the specified properties.
diff --git a/gen/pb-js/flyteidl.js b/gen/pb-js/flyteidl.js
index 06640a42b..9b3887402 100644
--- a/gen/pb-js/flyteidl.js
+++ b/gen/pb-js/flyteidl.js
@@ -33372,14 +33372,14 @@ export const flyteidl = $root.flyteidl = (() => {
              * Properties of a SettingsCollection.
              * @memberof flyteidl.admin
              * @interface ISettingsCollection
-             * @property {flyteidl.admin.IMatchingAttributes|null} [taskResourceSettings] SettingsCollection taskResourceSettings
-             * @property {flyteidl.admin.IMatchingAttributes|null} [clusterResourceSettings] SettingsCollection clusterResourceSettings
-             * @property {flyteidl.admin.IMatchingAttributes|null} [executionQueueSettings] SettingsCollection executionQueueSettings
-             * @property {flyteidl.admin.IMatchingAttributes|null} [executionClusterLabelSettings] SettingsCollection executionClusterLabelSettings
-             * @property {flyteidl.admin.IMatchingAttributes|null} [qualityOfServiceSettings] SettingsCollection qualityOfServiceSettings
-             * @property {flyteidl.admin.IMatchingAttributes|null} [pluginOverrideSettings] SettingsCollection pluginOverrideSettings
-             * @property {flyteidl.admin.IMatchingAttributes|null} [workflowExecutionSettings] SettingsCollection workflowExecutionSettings
-             * @property {flyteidl.admin.IMatchingAttributes|null} [clusterAssignmentSettings] SettingsCollection clusterAssignmentSettings
+             * @property {flyteidl.admin.ITaskResourceAttributes|null} [taskResourceSettings] SettingsCollection taskResourceSettings
+             * @property {flyteidl.admin.IClusterResourceAttributes|null} [clusterResourceSettings] SettingsCollection clusterResourceSettings
+             * @property {flyteidl.admin.IExecutionQueueAttributes|null} [executionQueueSettings] SettingsCollection executionQueueSettings
+             * @property {flyteidl.admin.IExecutionClusterLabel|null} [executionClusterLabelSettings] SettingsCollection executionClusterLabelSettings
+             * @property {flyteidl.core.IQualityOfService|null} [qualityOfServiceSettings] SettingsCollection qualityOfServiceSettings
+             * @property {flyteidl.admin.IPluginOverride|null} [pluginOverrideSettings] SettingsCollection pluginOverrideSettings
+             * @property {flyteidl.admin.IWorkflowExecutionConfig|null} [workflowExecutionSettings] SettingsCollection workflowExecutionSettings
+             * @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignmentSettings] SettingsCollection clusterAssignmentSettings
              */
 
             /**
@@ -33399,7 +33399,7 @@ export const flyteidl = $root.flyteidl = (() => {
 
             /**
              * SettingsCollection taskResourceSettings.
-             * @member {flyteidl.admin.IMatchingAttributes|null|undefined} taskResourceSettings
+             * @member {flyteidl.admin.ITaskResourceAttributes|null|undefined} taskResourceSettings
              * @memberof flyteidl.admin.SettingsCollection
              * @instance
              */
@@ -33407,7 +33407,7 @@ export const flyteidl = $root.flyteidl = (() => {
 
             /**
              * SettingsCollection clusterResourceSettings.
-             * @member {flyteidl.admin.IMatchingAttributes|null|undefined} clusterResourceSettings
+             * @member {flyteidl.admin.IClusterResourceAttributes|null|undefined} clusterResourceSettings
              * @memberof flyteidl.admin.SettingsCollection
              * @instance
              */
@@ -33415,7 +33415,7 @@ export const flyteidl = $root.flyteidl = (() => {
 
             /**
              * SettingsCollection executionQueueSettings.
-             * @member {flyteidl.admin.IMatchingAttributes|null|undefined} executionQueueSettings
+             * @member {flyteidl.admin.IExecutionQueueAttributes|null|undefined} executionQueueSettings
              * @memberof flyteidl.admin.SettingsCollection
              * @instance
              */
@@ -33423,7 +33423,7 @@ export const flyteidl = $root.flyteidl = (() => {
 
             /**
              * SettingsCollection executionClusterLabelSettings.
-             * @member {flyteidl.admin.IMatchingAttributes|null|undefined} executionClusterLabelSettings
+             * @member {flyteidl.admin.IExecutionClusterLabel|null|undefined} executionClusterLabelSettings
              * @memberof flyteidl.admin.SettingsCollection
              * @instance
              */
@@ -33431,7 +33431,7 @@ export const flyteidl = $root.flyteidl = (() => {
 
             /**
              * SettingsCollection qualityOfServiceSettings.
-             * @member {flyteidl.admin.IMatchingAttributes|null|undefined} qualityOfServiceSettings
+             * @member {flyteidl.core.IQualityOfService|null|undefined} qualityOfServiceSettings
              * @memberof flyteidl.admin.SettingsCollection
              * @instance
              */
@@ -33439,7 +33439,7 @@ export const flyteidl = $root.flyteidl = (() => {
 
             /**
              * SettingsCollection pluginOverrideSettings.
-             * @member {flyteidl.admin.IMatchingAttributes|null|undefined} pluginOverrideSettings
+             * @member {flyteidl.admin.IPluginOverride|null|undefined} pluginOverrideSettings
              * @memberof flyteidl.admin.SettingsCollection
              * @instance
              */
@@ -33447,7 +33447,7 @@ export const flyteidl = $root.flyteidl = (() => {
 
             /**
              * SettingsCollection workflowExecutionSettings.
-             * @member {flyteidl.admin.IMatchingAttributes|null|undefined} workflowExecutionSettings
+             * @member {flyteidl.admin.IWorkflowExecutionConfig|null|undefined} workflowExecutionSettings
              * @memberof flyteidl.admin.SettingsCollection
              * @instance
              */
@@ -33455,7 +33455,7 @@ export const flyteidl = $root.flyteidl = (() => {
 
             /**
              * SettingsCollection clusterAssignmentSettings.
-             * @member {flyteidl.admin.IMatchingAttributes|null|undefined} clusterAssignmentSettings
+             * @member {flyteidl.admin.IClusterAssignment|null|undefined} clusterAssignmentSettings
              * @memberof flyteidl.admin.SettingsCollection
              * @instance
              */
@@ -33486,21 +33486,21 @@ export const flyteidl = $root.flyteidl = (() => {
                 if (!writer)
                     writer = $Writer.create();
                 if (message.taskResourceSettings != null && message.hasOwnProperty("taskResourceSettings"))
-                    $root.flyteidl.admin.MatchingAttributes.encode(message.taskResourceSettings, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+                    $root.flyteidl.admin.TaskResourceAttributes.encode(message.taskResourceSettings, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
                 if (message.clusterResourceSettings != null && message.hasOwnProperty("clusterResourceSettings"))
-                    $root.flyteidl.admin.MatchingAttributes.encode(message.clusterResourceSettings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+                    $root.flyteidl.admin.ClusterResourceAttributes.encode(message.clusterResourceSettings, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
                 if (message.executionQueueSettings != null && message.hasOwnProperty("executionQueueSettings"))
-                    $root.flyteidl.admin.MatchingAttributes.encode(message.executionQueueSettings, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+                    $root.flyteidl.admin.ExecutionQueueAttributes.encode(message.executionQueueSettings, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
                 if (message.executionClusterLabelSettings != null && message.hasOwnProperty("executionClusterLabelSettings"))
-                    $root.flyteidl.admin.MatchingAttributes.encode(message.executionClusterLabelSettings, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+                    $root.flyteidl.admin.ExecutionClusterLabel.encode(message.executionClusterLabelSettings, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
                 if (message.qualityOfServiceSettings != null && message.hasOwnProperty("qualityOfServiceSettings"))
-                    $root.flyteidl.admin.MatchingAttributes.encode(message.qualityOfServiceSettings, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+                    $root.flyteidl.core.QualityOfService.encode(message.qualityOfServiceSettings, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
                 if (message.pluginOverrideSettings != null && message.hasOwnProperty("pluginOverrideSettings"))
-                    $root.flyteidl.admin.MatchingAttributes.encode(message.pluginOverrideSettings, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+                    $root.flyteidl.admin.PluginOverride.encode(message.pluginOverrideSettings, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
                 if (message.workflowExecutionSettings != null && message.hasOwnProperty("workflowExecutionSettings"))
-                    $root.flyteidl.admin.MatchingAttributes.encode(message.workflowExecutionSettings, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+                    $root.flyteidl.admin.WorkflowExecutionConfig.encode(message.workflowExecutionSettings, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
                 if (message.clusterAssignmentSettings != null && message.hasOwnProperty("clusterAssignmentSettings"))
-                    $root.flyteidl.admin.MatchingAttributes.encode(message.clusterAssignmentSettings, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
+                    $root.flyteidl.admin.ClusterAssignment.encode(message.clusterAssignmentSettings, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
                 return writer;
             };
 
@@ -33523,28 +33523,28 @@ export const flyteidl = $root.flyteidl = (() => {
                     let tag = reader.uint32();
                     switch (tag >>> 3) {
                     case 1:
-                        message.taskResourceSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32());
+                        message.taskResourceSettings = $root.flyteidl.admin.TaskResourceAttributes.decode(reader, reader.uint32());
                         break;
                     case 2:
-                        message.clusterResourceSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32());
+                        message.clusterResourceSettings = $root.flyteidl.admin.ClusterResourceAttributes.decode(reader, reader.uint32());
                         break;
                     case 3:
-                        message.executionQueueSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32());
+                        message.executionQueueSettings = $root.flyteidl.admin.ExecutionQueueAttributes.decode(reader, reader.uint32());
                         break;
                     case 4:
-                        message.executionClusterLabelSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32());
+                        message.executionClusterLabelSettings = $root.flyteidl.admin.ExecutionClusterLabel.decode(reader, reader.uint32());
                         break;
                     case 5:
-                        message.qualityOfServiceSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32());
+                        message.qualityOfServiceSettings = $root.flyteidl.core.QualityOfService.decode(reader, reader.uint32());
                         break;
                     case 6:
-                        message.pluginOverrideSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32());
+                        message.pluginOverrideSettings = $root.flyteidl.admin.PluginOverride.decode(reader, reader.uint32());
                         break;
                     case 7:
-                        message.workflowExecutionSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32());
+                        message.workflowExecutionSettings = $root.flyteidl.admin.WorkflowExecutionConfig.decode(reader, reader.uint32());
                         break;
                     case 8:
-                        message.clusterAssignmentSettings = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32());
+                        message.clusterAssignmentSettings = $root.flyteidl.admin.ClusterAssignment.decode(reader, reader.uint32());
                         break;
                     default:
                         reader.skipType(tag & 7);
@@ -33566,42 +33566,42 @@ export const flyteidl = $root.flyteidl = (() => {
                 if (typeof message !== "object" || message === null)
                     return "object expected";
                 if (message.taskResourceSettings != null && message.hasOwnProperty("taskResourceSettings")) {
-                    let error = $root.flyteidl.admin.MatchingAttributes.verify(message.taskResourceSettings);
+                    let error = $root.flyteidl.admin.TaskResourceAttributes.verify(message.taskResourceSettings);
                     if (error)
                         return "taskResourceSettings." + error;
                 }
                 if (message.clusterResourceSettings != null && message.hasOwnProperty("clusterResourceSettings")) {
-                    let error = $root.flyteidl.admin.MatchingAttributes.verify(message.clusterResourceSettings);
+                    let error = $root.flyteidl.admin.ClusterResourceAttributes.verify(message.clusterResourceSettings);
                     if (error)
                         return "clusterResourceSettings." + error;
                 }
                 if (message.executionQueueSettings != null && message.hasOwnProperty("executionQueueSettings")) {
-                    let error = $root.flyteidl.admin.MatchingAttributes.verify(message.executionQueueSettings);
+                    let error = $root.flyteidl.admin.ExecutionQueueAttributes.verify(message.executionQueueSettings);
                     if (error)
                         return "executionQueueSettings." + error;
                 }
                 if (message.executionClusterLabelSettings != null && message.hasOwnProperty("executionClusterLabelSettings")) {
-                    let error = $root.flyteidl.admin.MatchingAttributes.verify(message.executionClusterLabelSettings);
+                    let error = $root.flyteidl.admin.ExecutionClusterLabel.verify(message.executionClusterLabelSettings);
                     if (error)
                         return "executionClusterLabelSettings." + error;
                 }
                 if (message.qualityOfServiceSettings != null && message.hasOwnProperty("qualityOfServiceSettings")) {
-                    let error = $root.flyteidl.admin.MatchingAttributes.verify(message.qualityOfServiceSettings);
+                    let error = $root.flyteidl.core.QualityOfService.verify(message.qualityOfServiceSettings);
                     if (error)
                         return "qualityOfServiceSettings." + error;
                 }
                 if (message.pluginOverrideSettings != null && message.hasOwnProperty("pluginOverrideSettings")) {
-                    let error = $root.flyteidl.admin.MatchingAttributes.verify(message.pluginOverrideSettings);
+                    let error = $root.flyteidl.admin.PluginOverride.verify(message.pluginOverrideSettings);
                     if (error)
                         return "pluginOverrideSettings." + error;
                 }
                 if (message.workflowExecutionSettings != null && message.hasOwnProperty("workflowExecutionSettings")) {
-                    let error = $root.flyteidl.admin.MatchingAttributes.verify(message.workflowExecutionSettings);
+                    let error = $root.flyteidl.admin.WorkflowExecutionConfig.verify(message.workflowExecutionSettings);
                     if (error)
                         return "workflowExecutionSettings." + error;
                 }
                 if (message.clusterAssignmentSettings != null && message.hasOwnProperty("clusterAssignmentSettings")) {
-                    let error = $root.flyteidl.admin.MatchingAttributes.verify(message.clusterAssignmentSettings);
+                    let error = $root.flyteidl.admin.ClusterAssignment.verify(message.clusterAssignmentSettings);
                     if (error)
                         return "clusterAssignmentSettings." + error;
                 }
diff --git a/gen/pb_python/flyteidl/admin/settings_pb2.py b/gen/pb_python/flyteidl/admin/settings_pb2.py
index e1001c9e5..2e48176a7 100644
--- a/gen/pb_python/flyteidl/admin/settings_pb2.py
+++ b/gen/pb_python/flyteidl/admin/settings_pb2.py
@@ -13,6 +13,8 @@
 _sym_db = _symbol_database.Default()
 
 
+from flyteidl.admin import cluster_assignment_pb2 as flyteidl_dot_admin_dot_cluster__assignment__pb2
+from flyteidl.core import execution_pb2 as flyteidl_dot_core_dot_execution__pb2
 from flyteidl.admin import matchable_resource_pb2 as flyteidl_dot_admin_dot_matchable__resource__pb2
 
 
@@ -21,9 +23,9 @@
   package='flyteidl.admin',
   syntax='proto3',
   serialized_options=_b('Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin'),
-  serialized_pb=_b('\n\x1d\x66lyteidl/admin/settings.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/matchable_resource.proto\"\xd4\x04\n\x12SettingsCollection\x12\x42\n\x16task_resource_settings\x18\x01 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12\x45\n\x19\x63luster_resource_settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12\x44\n\x18\x65xecution_queue_settings\x18\x03 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12L\n execution_cluster_label_settings\x18\x04 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12G\n\x1bquality_of_service_settings\x18\x05 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12\x44\n\x18plugin_override_settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12G\n\x1bworkflow_execution_settings\x18\x07 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\x12G\n\x1b\x63luster_assignment_settings\x18\x08 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\"\xe0\x01\n\x08Settings\x12\x32\n\x06global\x18\x01 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12G\n\x10project_settings\x18\x02 \x03(\x0b\x32-.flyteidl.admin.Settings.ProjectSettingsEntry\x1aW\n\x14ProjectSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.flyteidl.admin.ProjectSettings:\x02\x38\x01\"\xfd\x01\n\x0fProjectSettings\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12L\n\x0f\x64omain_settings\x18\x03 \x03(\x0b\x32\x33.flyteidl.admin.ProjectSettings.DomainSettingsEntry\x1aU\n\x13\x44omainSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.DomainSettings:\x02\x38\x01\"\x82\x02\n\x0e\x44omainSettings\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12O\n\x11workflow_settings\x18\x03 \x03(\x0b\x32\x34.flyteidl.admin.DomainSettings.WorkflowSettingsEntry\x1aY\n\x15WorkflowSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .flyteidl.admin.WorkflowSettings:\x02\x38\x01\"\x90\x02\n\x10WorkflowSettings\x12\x10\n\x08workflow\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12U\n\x13launchplan_settings\x18\x03 \x03(\x0b\x32\x38.flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry\x1a]\n\x17LaunchplanSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".flyteidl.admin.LaunchplanSettings:\x02\x38\x01\"^\n\x12LaunchplanSettings\x12\x12\n\nlaunchplan\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\"\r\n\x0bGlobalLevel\"\x1f\n\x0cProjectLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\".\n\x0b\x44omainLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\"B\n\rWorkflowLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x10\n\x08workflow\x18\x03 \x01(\t\"X\n\x0fLaunchplanLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x10\n\x08workflow\x18\x03 \x01(\t\x12\x12\n\nlaunchplan\x18\x04 \x01(\t\"\xed\x02\n\x15SettingsUpdateRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x12\x34\n\x08settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.SettingsCollectionB\x07\n\x05level\"\xf1\x02\n\x19\x46ullSettingsUpdateRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x12\x34\n\x08settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.SettingsCollectionB\x07\n\x05level\"\x1c\n\x1a\x46ullSettingsUpdateResponse\"\xb4\x02\n\x12SettingsGetRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x42\x07\n\x05level\"\xeb\x02\n\x13SettingsGetResponse\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x12\x34\n\x08settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.SettingsCollectionB\x07\n\x05level\"\x18\n\x16\x46ullSettingsGetRequest\"E\n\x17\x46ullSettingsGetResponse\x12*\n\x08settings\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.Settings\"\xb7\x02\n\x15SettingsDeleteRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x42\x07\n\x05level\"\x18\n\x16SettingsDeleteResponseB7Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3')
+  serialized_pb=_b('\n\x1d\x66lyteidl/admin/settings.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/cluster_assignment.proto\x1a\x1d\x66lyteidl/core/execution.proto\x1a\'flyteidl/admin/matchable_resource.proto\"\xe5\x04\n\x12SettingsCollection\x12\x46\n\x16task_resource_settings\x18\x01 \x01(\x0b\x32&.flyteidl.admin.TaskResourceAttributes\x12L\n\x19\x63luster_resource_settings\x18\x02 \x01(\x0b\x32).flyteidl.admin.ClusterResourceAttributes\x12J\n\x18\x65xecution_queue_settings\x18\x03 \x01(\x0b\x32(.flyteidl.admin.ExecutionQueueAttributes\x12O\n execution_cluster_label_settings\x18\x04 \x01(\x0b\x32%.flyteidl.admin.ExecutionClusterLabel\x12\x44\n\x1bquality_of_service_settings\x18\x05 \x01(\x0b\x32\x1f.flyteidl.core.QualityOfService\x12@\n\x18plugin_override_settings\x18\x06 \x01(\x0b\x32\x1e.flyteidl.admin.PluginOverride\x12L\n\x1bworkflow_execution_settings\x18\x07 \x01(\x0b\x32\'.flyteidl.admin.WorkflowExecutionConfig\x12\x46\n\x1b\x63luster_assignment_settings\x18\x08 \x01(\x0b\x32!.flyteidl.admin.ClusterAssignment\"\xe0\x01\n\x08Settings\x12\x32\n\x06global\x18\x01 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12G\n\x10project_settings\x18\x02 \x03(\x0b\x32-.flyteidl.admin.Settings.ProjectSettingsEntry\x1aW\n\x14ProjectSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.flyteidl.admin.ProjectSettings:\x02\x38\x01\"\xfd\x01\n\x0fProjectSettings\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12L\n\x0f\x64omain_settings\x18\x03 \x03(\x0b\x32\x33.flyteidl.admin.ProjectSettings.DomainSettingsEntry\x1aU\n\x13\x44omainSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12-\n\x05value\x18\x02 \x01(\x0b\x32\x1e.flyteidl.admin.DomainSettings:\x02\x38\x01\"\x82\x02\n\x0e\x44omainSettings\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12O\n\x11workflow_settings\x18\x03 \x03(\x0b\x32\x34.flyteidl.admin.DomainSettings.WorkflowSettingsEntry\x1aY\n\x15WorkflowSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .flyteidl.admin.WorkflowSettings:\x02\x38\x01\"\x90\x02\n\x10WorkflowSettings\x12\x10\n\x08workflow\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\x12U\n\x13launchplan_settings\x18\x03 \x03(\x0b\x32\x38.flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry\x1a]\n\x17LaunchplanSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".flyteidl.admin.LaunchplanSettings:\x02\x38\x01\"^\n\x12LaunchplanSettings\x12\x12\n\nlaunchplan\x18\x01 \x01(\t\x12\x34\n\x08settings\x18\x02 \x01(\x0b\x32\".flyteidl.admin.SettingsCollection\"\r\n\x0bGlobalLevel\"\x1f\n\x0cProjectLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\".\n\x0b\x44omainLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\"B\n\rWorkflowLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x10\n\x08workflow\x18\x03 \x01(\t\"X\n\x0fLaunchplanLevel\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x10\n\x08workflow\x18\x03 \x01(\t\x12\x12\n\nlaunchplan\x18\x04 \x01(\t\"\xed\x02\n\x15SettingsUpdateRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x12\x34\n\x08settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.SettingsCollectionB\x07\n\x05level\"\xf1\x02\n\x19\x46ullSettingsUpdateRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x12\x34\n\x08settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.SettingsCollectionB\x07\n\x05level\"\x1c\n\x1a\x46ullSettingsUpdateResponse\"\xb4\x02\n\x12SettingsGetRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x42\x07\n\x05level\"\xeb\x02\n\x13SettingsGetResponse\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x12\x34\n\x08settings\x18\x06 \x01(\x0b\x32\".flyteidl.admin.SettingsCollectionB\x07\n\x05level\"\x18\n\x16\x46ullSettingsGetRequest\"E\n\x17\x46ullSettingsGetResponse\x12*\n\x08settings\x18\x01 \x01(\x0b\x32\x18.flyteidl.admin.Settings\"\xb7\x02\n\x15SettingsDeleteRequest\x12\x33\n\x0cglobal_level\x18\x01 \x01(\x0b\x32\x1b.flyteidl.admin.GlobalLevelH\x00\x12\x35\n\rproject_level\x18\x02 \x01(\x0b\x32\x1c.flyteidl.admin.ProjectLevelH\x00\x12\x33\n\x0c\x64omain_level\x18\x03 \x01(\x0b\x32\x1b.flyteidl.admin.DomainLevelH\x00\x12\x37\n\x0eworkflow_level\x18\x04 \x01(\x0b\x32\x1d.flyteidl.admin.WorkflowLevelH\x00\x12;\n\x10launchplan_level\x18\x05 \x01(\x0b\x32\x1f.flyteidl.admin.LaunchplanLevelH\x00\x42\x07\n\x05level\"\x18\n\x16SettingsDeleteResponseB7Z5github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3')
   ,
-  dependencies=[flyteidl_dot_admin_dot_matchable__resource__pb2.DESCRIPTOR,])
+  dependencies=[flyteidl_dot_admin_dot_cluster__assignment__pb2.DESCRIPTOR,flyteidl_dot_core_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_matchable__resource__pb2.DESCRIPTOR,])
 
 
 
@@ -103,8 +105,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=91,
-  serialized_end=687,
+  serialized_start=163,
+  serialized_end=776,
 )
 
 
@@ -141,8 +143,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=827,
-  serialized_end=914,
+  serialized_start=916,
+  serialized_end=1003,
 )
 
 _SETTINGS = _descriptor.Descriptor(
@@ -178,8 +180,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=690,
-  serialized_end=914,
+  serialized_start=779,
+  serialized_end=1003,
 )
 
 
@@ -216,8 +218,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1085,
-  serialized_end=1170,
+  serialized_start=1174,
+  serialized_end=1259,
 )
 
 _PROJECTSETTINGS = _descriptor.Descriptor(
@@ -260,8 +262,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=917,
-  serialized_end=1170,
+  serialized_start=1006,
+  serialized_end=1259,
 )
 
 
@@ -298,8 +300,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1342,
-  serialized_end=1431,
+  serialized_start=1431,
+  serialized_end=1520,
 )
 
 _DOMAINSETTINGS = _descriptor.Descriptor(
@@ -342,8 +344,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1173,
-  serialized_end=1431,
+  serialized_start=1262,
+  serialized_end=1520,
 )
 
 
@@ -380,8 +382,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1613,
-  serialized_end=1706,
+  serialized_start=1702,
+  serialized_end=1795,
 )
 
 _WORKFLOWSETTINGS = _descriptor.Descriptor(
@@ -424,8 +426,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1434,
-  serialized_end=1706,
+  serialized_start=1523,
+  serialized_end=1795,
 )
 
 
@@ -462,8 +464,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1708,
-  serialized_end=1802,
+  serialized_start=1797,
+  serialized_end=1891,
 )
 
 
@@ -486,8 +488,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1804,
-  serialized_end=1817,
+  serialized_start=1893,
+  serialized_end=1906,
 )
 
 
@@ -517,8 +519,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1819,
-  serialized_end=1850,
+  serialized_start=1908,
+  serialized_end=1939,
 )
 
 
@@ -555,8 +557,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1852,
-  serialized_end=1898,
+  serialized_start=1941,
+  serialized_end=1987,
 )
 
 
@@ -600,8 +602,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1900,
-  serialized_end=1966,
+  serialized_start=1989,
+  serialized_end=2055,
 )
 
 
@@ -652,8 +654,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=1968,
-  serialized_end=2056,
+  serialized_start=2057,
+  serialized_end=2145,
 )
 
 
@@ -721,8 +723,8 @@
       name='level', full_name='flyteidl.admin.SettingsUpdateRequest.level',
       index=0, containing_type=None, fields=[]),
   ],
-  serialized_start=2059,
-  serialized_end=2424,
+  serialized_start=2148,
+  serialized_end=2513,
 )
 
 
@@ -790,8 +792,8 @@
       name='level', full_name='flyteidl.admin.FullSettingsUpdateRequest.level',
       index=0, containing_type=None, fields=[]),
   ],
-  serialized_start=2427,
-  serialized_end=2796,
+  serialized_start=2516,
+  serialized_end=2885,
 )
 
 
@@ -814,8 +816,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=2798,
-  serialized_end=2826,
+  serialized_start=2887,
+  serialized_end=2915,
 )
 
 
@@ -876,8 +878,8 @@
       name='level', full_name='flyteidl.admin.SettingsGetRequest.level',
       index=0, containing_type=None, fields=[]),
   ],
-  serialized_start=2829,
-  serialized_end=3137,
+  serialized_start=2918,
+  serialized_end=3226,
 )
 
 
@@ -945,8 +947,8 @@
       name='level', full_name='flyteidl.admin.SettingsGetResponse.level',
       index=0, containing_type=None, fields=[]),
   ],
-  serialized_start=3140,
-  serialized_end=3503,
+  serialized_start=3229,
+  serialized_end=3592,
 )
 
 
@@ -969,8 +971,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=3505,
-  serialized_end=3529,
+  serialized_start=3594,
+  serialized_end=3618,
 )
 
 
@@ -1000,8 +1002,8 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=3531,
-  serialized_end=3600,
+  serialized_start=3620,
+  serialized_end=3689,
 )
 
 
@@ -1062,8 +1064,8 @@
       name='level', full_name='flyteidl.admin.SettingsDeleteRequest.level',
       index=0, containing_type=None, fields=[]),
   ],
-  serialized_start=3603,
-  serialized_end=3914,
+  serialized_start=3692,
+  serialized_end=4003,
 )
 
 
@@ -1086,18 +1088,18 @@
   extension_ranges=[],
   oneofs=[
   ],
-  serialized_start=3916,
-  serialized_end=3940,
+  serialized_start=4005,
+  serialized_end=4029,
 )
 
-_SETTINGSCOLLECTION.fields_by_name['task_resource_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES
-_SETTINGSCOLLECTION.fields_by_name['cluster_resource_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES
-_SETTINGSCOLLECTION.fields_by_name['execution_queue_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES
-_SETTINGSCOLLECTION.fields_by_name['execution_cluster_label_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES
-_SETTINGSCOLLECTION.fields_by_name['quality_of_service_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES
-_SETTINGSCOLLECTION.fields_by_name['plugin_override_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES
-_SETTINGSCOLLECTION.fields_by_name['workflow_execution_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES
-_SETTINGSCOLLECTION.fields_by_name['cluster_assignment_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES
+_SETTINGSCOLLECTION.fields_by_name['task_resource_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._TASKRESOURCEATTRIBUTES
+_SETTINGSCOLLECTION.fields_by_name['cluster_resource_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._CLUSTERRESOURCEATTRIBUTES
+_SETTINGSCOLLECTION.fields_by_name['execution_queue_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._EXECUTIONQUEUEATTRIBUTES
+_SETTINGSCOLLECTION.fields_by_name['execution_cluster_label_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._EXECUTIONCLUSTERLABEL
+_SETTINGSCOLLECTION.fields_by_name['quality_of_service_settings'].message_type = flyteidl_dot_core_dot_execution__pb2._QUALITYOFSERVICE
+_SETTINGSCOLLECTION.fields_by_name['plugin_override_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._PLUGINOVERRIDE
+_SETTINGSCOLLECTION.fields_by_name['workflow_execution_settings'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._WORKFLOWEXECUTIONCONFIG
+_SETTINGSCOLLECTION.fields_by_name['cluster_assignment_settings'].message_type = flyteidl_dot_admin_dot_cluster__assignment__pb2._CLUSTERASSIGNMENT
 _SETTINGS_PROJECTSETTINGSENTRY.fields_by_name['value'].message_type = _PROJECTSETTINGS
 _SETTINGS_PROJECTSETTINGSENTRY.containing_type = _SETTINGS
 _SETTINGS.fields_by_name['global'].message_type = _SETTINGSCOLLECTION
diff --git a/protos/docs/admin/admin.rst b/protos/docs/admin/admin.rst
index e01eb55c8..75b106304 100644
--- a/protos/docs/admin/admin.rst
+++ b/protos/docs/admin/admin.rst
@@ -2942,6 +2942,553 @@ Represents a frequency at which to run a schedule.
 
 
 
+.. _ref_flyteidl/admin/settings.proto:
+
+flyteidl/admin/settings.proto
+==================================================================
+
+
+
+
+
+.. _ref_flyteidl.admin.DomainLevel:
+
+DomainLevel
+------------------------------------------------------------------
+
+Defines domain level
+
+
+
+.. csv-table:: DomainLevel type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "project", ":ref:`ref_string`", "", ""
+   "domain", ":ref:`ref_string`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.DomainSettings:
+
+DomainSettings
+------------------------------------------------------------------
+
+Defines a domain level settings which contains it own settings and all the workflow settings registered in that domain
+
+
+
+.. csv-table:: DomainSettings type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "domain", ":ref:`ref_string`", "", "Unique domain id for which these settings are defined in project"
+   "settings", ":ref:`ref_flyteidl.admin.SettingsCollection`", "", "Domain settings applicable for current project domain"
+   "workflow_settings", ":ref:`ref_flyteidl.admin.DomainSettings.WorkflowSettingsEntry`", "repeated", "All workflow settings keyed on there name"
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.DomainSettings.WorkflowSettingsEntry:
+
+DomainSettings.WorkflowSettingsEntry
+------------------------------------------------------------------
+
+
+
+
+
+.. csv-table:: DomainSettings.WorkflowSettingsEntry type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "key", ":ref:`ref_string`", "", ""
+   "value", ":ref:`ref_flyteidl.admin.WorkflowSettings`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.FullSettingsGetRequest:
+
+FullSettingsGetRequest
+------------------------------------------------------------------
+
+Defines the full settings get request.
+
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.FullSettingsGetResponse:
+
+FullSettingsGetResponse
+------------------------------------------------------------------
+
+Returns the full settings.
+
+
+
+.. csv-table:: FullSettingsGetResponse type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "settings", ":ref:`ref_flyteidl.admin.Settings`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.FullSettingsUpdateRequest:
+
+FullSettingsUpdateRequest
+------------------------------------------------------------------
+
+Defines the full settings update request to be applied.
+
+
+
+.. csv-table:: FullSettingsUpdateRequest type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "global_level", ":ref:`ref_flyteidl.admin.GlobalLevel`", "", ""
+   "project_level", ":ref:`ref_flyteidl.admin.ProjectLevel`", "", ""
+   "domain_level", ":ref:`ref_flyteidl.admin.DomainLevel`", "", ""
+   "workflow_level", ":ref:`ref_flyteidl.admin.WorkflowLevel`", "", ""
+   "launchplan_level", ":ref:`ref_flyteidl.admin.LaunchplanLevel`", "", ""
+   "settings", ":ref:`ref_flyteidl.admin.SettingsCollection`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.FullSettingsUpdateResponse:
+
+FullSettingsUpdateResponse
+------------------------------------------------------------------
+
+Purposefully empty, may be populated in the future.
+
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.GlobalLevel:
+
+GlobalLevel
+------------------------------------------------------------------
+
+Defines global level
+
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.LaunchplanLevel:
+
+LaunchplanLevel
+------------------------------------------------------------------
+
+Defines launchplan level
+
+
+
+.. csv-table:: LaunchplanLevel type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "project", ":ref:`ref_string`", "", ""
+   "domain", ":ref:`ref_string`", "", ""
+   "workflow", ":ref:`ref_string`", "", ""
+   "launchplan", ":ref:`ref_string`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.LaunchplanSettings:
+
+LaunchplanSettings
+------------------------------------------------------------------
+
+Defines a launchplan level settings which contains it own settings
+
+
+
+.. csv-table:: LaunchplanSettings type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "launchplan", ":ref:`ref_string`", "", "Launchplan name for which these settings are defined in the project domain workflow."
+   "settings", ":ref:`ref_flyteidl.admin.SettingsCollection`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.ProjectLevel:
+
+ProjectLevel
+------------------------------------------------------------------
+
+Defines project level
+
+
+
+.. csv-table:: ProjectLevel type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "project", ":ref:`ref_string`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.ProjectSettings:
+
+ProjectSettings
+------------------------------------------------------------------
+
+Defines Project level setting which contains it own settings and all the domain settings registered project
+
+
+
+.. csv-table:: ProjectSettings type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "project", ":ref:`ref_string`", "", "Unique project id for which these settings are defined"
+   "settings", ":ref:`ref_flyteidl.admin.SettingsCollection`", "", "Project settings applicable for current project"
+   "domain_settings", ":ref:`ref_flyteidl.admin.ProjectSettings.DomainSettingsEntry`", "repeated", "All domain settings keyed on there name"
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.ProjectSettings.DomainSettingsEntry:
+
+ProjectSettings.DomainSettingsEntry
+------------------------------------------------------------------
+
+
+
+
+
+.. csv-table:: ProjectSettings.DomainSettingsEntry type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "key", ":ref:`ref_string`", "", ""
+   "value", ":ref:`ref_flyteidl.admin.DomainSettings`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.Settings:
+
+Settings
+------------------------------------------------------------------
+
+Defines settings at various levels
+Global : These are global settings which apply if no overrides are defined.
+Project : These are project level settings which get applied if they exist and no overrides exist at domain level
+Domain : These are domain level settings which get applied if they exist and no overrides exist at workflow level
+Workflow : These are workflow level settings which get applied if they exist
+Launchplan : These are launchplan level settings which get applied if they exist and no overrides exist at launchplan level
+
+
+
+.. csv-table:: Settings type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "global", ":ref:`ref_flyteidl.admin.SettingsCollection`", "", "Global settings applicable for all projects"
+   "project_settings", ":ref:`ref_flyteidl.admin.Settings.ProjectSettingsEntry`", "repeated", "All project settings keyed on there name"
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.Settings.ProjectSettingsEntry:
+
+Settings.ProjectSettingsEntry
+------------------------------------------------------------------
+
+
+
+
+
+.. csv-table:: Settings.ProjectSettingsEntry type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "key", ":ref:`ref_string`", "", ""
+   "value", ":ref:`ref_flyteidl.admin.ProjectSettings`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.SettingsCollection:
+
+SettingsCollection
+------------------------------------------------------------------
+
+Defines settings collection for flyte resources
+
+
+
+.. csv-table:: SettingsCollection type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "task_resource_settings", ":ref:`ref_flyteidl.admin.TaskResourceAttributes`", "", ""
+   "cluster_resource_settings", ":ref:`ref_flyteidl.admin.ClusterResourceAttributes`", "", ""
+   "execution_queue_settings", ":ref:`ref_flyteidl.admin.ExecutionQueueAttributes`", "", ""
+   "execution_cluster_label_settings", ":ref:`ref_flyteidl.admin.ExecutionClusterLabel`", "", ""
+   "quality_of_service_settings", ":ref:`ref_flyteidl.core.QualityOfService`", "", ""
+   "plugin_override_settings", ":ref:`ref_flyteidl.admin.PluginOverride`", "", ""
+   "workflow_execution_settings", ":ref:`ref_flyteidl.admin.WorkflowExecutionConfig`", "", ""
+   "cluster_assignment_settings", ":ref:`ref_flyteidl.admin.ClusterAssignment`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.SettingsDeleteRequest:
+
+SettingsDeleteRequest
+------------------------------------------------------------------
+
+Defines the settings delete request.
+
+
+
+.. csv-table:: SettingsDeleteRequest type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "global_level", ":ref:`ref_flyteidl.admin.GlobalLevel`", "", ""
+   "project_level", ":ref:`ref_flyteidl.admin.ProjectLevel`", "", ""
+   "domain_level", ":ref:`ref_flyteidl.admin.DomainLevel`", "", ""
+   "workflow_level", ":ref:`ref_flyteidl.admin.WorkflowLevel`", "", ""
+   "launchplan_level", ":ref:`ref_flyteidl.admin.LaunchplanLevel`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.SettingsDeleteResponse:
+
+SettingsDeleteResponse
+------------------------------------------------------------------
+
+Purposefully empty, may be populated in the future.
+
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.SettingsGetRequest:
+
+SettingsGetRequest
+------------------------------------------------------------------
+
+Defines the settings get request.
+
+
+
+.. csv-table:: SettingsGetRequest type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "global_level", ":ref:`ref_flyteidl.admin.GlobalLevel`", "", ""
+   "project_level", ":ref:`ref_flyteidl.admin.ProjectLevel`", "", ""
+   "domain_level", ":ref:`ref_flyteidl.admin.DomainLevel`", "", ""
+   "workflow_level", ":ref:`ref_flyteidl.admin.WorkflowLevel`", "", ""
+   "launchplan_level", ":ref:`ref_flyteidl.admin.LaunchplanLevel`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.SettingsGetResponse:
+
+SettingsGetResponse
+------------------------------------------------------------------
+
+Returns the settings for the provided level in SettingsGetRequest.
+
+
+
+.. csv-table:: SettingsGetResponse type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "global_level", ":ref:`ref_flyteidl.admin.GlobalLevel`", "", ""
+   "project_level", ":ref:`ref_flyteidl.admin.ProjectLevel`", "", ""
+   "domain_level", ":ref:`ref_flyteidl.admin.DomainLevel`", "", ""
+   "workflow_level", ":ref:`ref_flyteidl.admin.WorkflowLevel`", "", ""
+   "launchplan_level", ":ref:`ref_flyteidl.admin.LaunchplanLevel`", "", ""
+   "settings", ":ref:`ref_flyteidl.admin.SettingsCollection`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.SettingsUpdateRequest:
+
+SettingsUpdateRequest
+------------------------------------------------------------------
+
+Defines the settings update with level at which settings need to be applied.
+
+
+
+.. csv-table:: SettingsUpdateRequest type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "global_level", ":ref:`ref_flyteidl.admin.GlobalLevel`", "", ""
+   "project_level", ":ref:`ref_flyteidl.admin.ProjectLevel`", "", ""
+   "domain_level", ":ref:`ref_flyteidl.admin.DomainLevel`", "", ""
+   "workflow_level", ":ref:`ref_flyteidl.admin.WorkflowLevel`", "", ""
+   "launchplan_level", ":ref:`ref_flyteidl.admin.LaunchplanLevel`", "", ""
+   "settings", ":ref:`ref_flyteidl.admin.SettingsCollection`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.WorkflowLevel:
+
+WorkflowLevel
+------------------------------------------------------------------
+
+Defines workflow level
+
+
+
+.. csv-table:: WorkflowLevel type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "project", ":ref:`ref_string`", "", ""
+   "domain", ":ref:`ref_string`", "", ""
+   "workflow", ":ref:`ref_string`", "", ""
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.WorkflowSettings:
+
+WorkflowSettings
+------------------------------------------------------------------
+
+Defines a workflow level settings which contains it own settings and all the launchplan settings registered in that domain
+
+
+
+.. csv-table:: WorkflowSettings type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "workflow", ":ref:`ref_string`", "", "Workflow name for which these settings are defined in the project domain."
+   "settings", ":ref:`ref_flyteidl.admin.SettingsCollection`", "", "Workflow settings applicable for current project domain workflow"
+   "launchplan_settings", ":ref:`ref_flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry`", "repeated", "All launchplan settings keyed on there name"
+
+
+
+
+
+
+
+.. _ref_flyteidl.admin.WorkflowSettings.LaunchplanSettingsEntry:
+
+WorkflowSettings.LaunchplanSettingsEntry
+------------------------------------------------------------------
+
+
+
+
+
+.. csv-table:: WorkflowSettings.LaunchplanSettingsEntry type fields
+   :header: "Field", "Type", "Label", "Description"
+   :widths: auto
+
+   "key", ":ref:`ref_string`", "", ""
+   "value", ":ref:`ref_flyteidl.admin.LaunchplanSettings`", "", ""
+
+
+
+
+
+ 
+
+ 
+
+ 
+
+ 
+
+
+
+
 .. _ref_flyteidl/admin/task.proto:
 
 flyteidl/admin/task.proto
diff --git a/protos/flyteidl/admin/settings.proto b/protos/flyteidl/admin/settings.proto
index 411173698..f20abac7e 100644
--- a/protos/flyteidl/admin/settings.proto
+++ b/protos/flyteidl/admin/settings.proto
@@ -3,19 +3,21 @@ syntax = "proto3";
 package flyteidl.admin;
 option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin";
 
+import "flyteidl/admin/cluster_assignment.proto";
+import "flyteidl/core/execution.proto";
 import "flyteidl/admin/matchable_resource.proto";
 
 
 // Defines settings collection for flyte resources
 message SettingsCollection {
-  MatchingAttributes task_resource_settings = 1;
-  MatchingAttributes cluster_resource_settings = 2;
-  MatchingAttributes execution_queue_settings = 3;
-  MatchingAttributes execution_cluster_label_settings = 4;
-  MatchingAttributes quality_of_service_settings = 5;
-  MatchingAttributes plugin_override_settings = 6;
-  MatchingAttributes workflow_execution_settings = 7;
-  MatchingAttributes cluster_assignment_settings = 8;
+  TaskResourceAttributes task_resource_settings = 1;
+  ClusterResourceAttributes cluster_resource_settings = 2;
+  ExecutionQueueAttributes execution_queue_settings = 3;
+  ExecutionClusterLabel execution_cluster_label_settings = 4;
+  core.QualityOfService quality_of_service_settings = 5;
+  PluginOverride plugin_override_settings = 6;
+  WorkflowExecutionConfig workflow_execution_settings = 7;
+  ClusterAssignment cluster_assignment_settings = 8;
 }