diff --git a/flyteidl/clients/go/admin/mocks/AdminServiceClient.go b/flyteidl/clients/go/admin/mocks/AdminServiceClient.go index ced4517c5e..816b53b7c1 100644 --- a/flyteidl/clients/go/admin/mocks/AdminServiceClient.go +++ b/flyteidl/clients/go/admin/mocks/AdminServiceClient.go @@ -1745,6 +1745,54 @@ func (_m *AdminServiceClient) UpdateNamedEntity(ctx context.Context, in *admin.N return r0, r1 } +type AdminServiceClient_UpdateProjectAttributes struct { + *mock.Call +} + +func (_m AdminServiceClient_UpdateProjectAttributes) Return(_a0 *admin.ProjectAttributesUpdateResponse, _a1 error) *AdminServiceClient_UpdateProjectAttributes { + return &AdminServiceClient_UpdateProjectAttributes{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *AdminServiceClient) OnUpdateProjectAttributes(ctx context.Context, in *admin.ProjectAttributesUpdateRequest, opts ...grpc.CallOption) *AdminServiceClient_UpdateProjectAttributes { + c := _m.On("UpdateProjectAttributes", ctx, in, opts) + return &AdminServiceClient_UpdateProjectAttributes{Call: c} +} + +func (_m *AdminServiceClient) OnUpdateProjectAttributesMatch(matchers ...interface{}) *AdminServiceClient_UpdateProjectAttributes { + c := _m.On("UpdateProjectAttributes", matchers...) + return &AdminServiceClient_UpdateProjectAttributes{Call: c} +} + +// UpdateProjectAttributes provides a mock function with given fields: ctx, in, opts +func (_m *AdminServiceClient) UpdateProjectAttributes(ctx context.Context, in *admin.ProjectAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesUpdateResponse, error) { + _va := make([]interface{}, len(opts)) + for _i := range opts { + _va[_i] = opts[_i] + } + var _ca []interface{} + _ca = append(_ca, ctx, in) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *admin.ProjectAttributesUpdateResponse + if rf, ok := ret.Get(0).(func(context.Context, *admin.ProjectAttributesUpdateRequest, ...grpc.CallOption) *admin.ProjectAttributesUpdateResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*admin.ProjectAttributesUpdateResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *admin.ProjectAttributesUpdateRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + type AdminServiceClient_UpdateProjectDomainAttributes struct { *mock.Call } @@ -1792,3 +1840,51 @@ func (_m *AdminServiceClient) UpdateProjectDomainAttributes(ctx context.Context, return r0, r1 } + +type AdminServiceClient_UpdateWorkflowAttributes struct { + *mock.Call +} + +func (_m AdminServiceClient_UpdateWorkflowAttributes) Return(_a0 *admin.WorkflowAttributesUpdateResponse, _a1 error) *AdminServiceClient_UpdateWorkflowAttributes { + return &AdminServiceClient_UpdateWorkflowAttributes{Call: _m.Call.Return(_a0, _a1)} +} + +func (_m *AdminServiceClient) OnUpdateWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesUpdateRequest, opts ...grpc.CallOption) *AdminServiceClient_UpdateWorkflowAttributes { + c := _m.On("UpdateWorkflowAttributes", ctx, in, opts) + return &AdminServiceClient_UpdateWorkflowAttributes{Call: c} +} + +func (_m *AdminServiceClient) OnUpdateWorkflowAttributesMatch(matchers ...interface{}) *AdminServiceClient_UpdateWorkflowAttributes { + c := _m.On("UpdateWorkflowAttributes", matchers...) + return &AdminServiceClient_UpdateWorkflowAttributes{Call: c} +} + +// UpdateWorkflowAttributes provides a mock function with given fields: ctx, in, opts +func (_m *AdminServiceClient) UpdateWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesUpdateResponse, error) { + _va := make([]interface{}, len(opts)) + for _i := range opts { + _va[_i] = opts[_i] + } + var _ca []interface{} + _ca = append(_ca, ctx, in) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + var r0 *admin.WorkflowAttributesUpdateResponse + if rf, ok := ret.Get(0).(func(context.Context, *admin.WorkflowAttributesUpdateRequest, ...grpc.CallOption) *admin.WorkflowAttributesUpdateResponse); ok { + r0 = rf(ctx, in, opts...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*admin.WorkflowAttributesUpdateResponse) + } + } + + var r1 error + if rf, ok := ret.Get(1).(func(context.Context, *admin.WorkflowAttributesUpdateRequest, ...grpc.CallOption) error); ok { + r1 = rf(ctx, in, opts...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.cc new file mode 100644 index 0000000000..0574051979 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.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/matchable_resource.proto + +#include "flyteidl/admin/matchable_resource.pb.h" +#include "flyteidl/admin/matchable_resource.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/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.grpc.pb.h new file mode 100644 index 0000000000..c6fe673d08 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.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/matchable_resource.proto +#ifndef GRPC_flyteidl_2fadmin_2fmatchable_5fresource_2eproto__INCLUDED +#define GRPC_flyteidl_2fadmin_2fmatchable_5fresource_2eproto__INCLUDED + +#include "flyteidl/admin/matchable_resource.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_2fmatchable_5fresource_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc new file mode 100644 index 0000000000..2fe4e772dd --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.cc @@ -0,0 +1,2387 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/matchable_resource.proto + +#include "flyteidl/admin/matchable_resource.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<0> scc_info_ClusterResourceAttributes_AttributesEntry_DoNotUse_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_TaskResourceSpec_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; +namespace flyteidl { +namespace admin { +class TaskResourceSpecDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _TaskResourceSpec_default_instance_; +class TaskResourceAttributesDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _TaskResourceAttributes_default_instance_; +class ClusterResourceAttributes_AttributesEntry_DoNotUseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_; +class ClusterResourceAttributesDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ClusterResourceAttributes_default_instance_; +class ExecutionQueueAttributesDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ExecutionQueueAttributes_default_instance_; +class MatchingAttributesDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; + const ::flyteidl::admin::TaskResourceAttributes* task_resource_attributes_; + const ::flyteidl::admin::ClusterResourceAttributes* cluster_resource_attributes_; + const ::flyteidl::admin::ExecutionQueueAttributes* execution_queue_attributes_; +} _MatchingAttributes_default_instance_; +} // namespace admin +} // namespace flyteidl +static void InitDefaultsTaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_TaskResourceSpec_default_instance_; + new (ptr) ::flyteidl::admin::TaskResourceSpec(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::TaskResourceSpec::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsTaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, {}}; + +static void InitDefaultsTaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_TaskResourceAttributes_default_instance_; + new (ptr) ::flyteidl::admin::TaskResourceAttributes(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::TaskResourceAttributes::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsTaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { + &scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; + +static void InitDefaultsClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_; + new (ptr) ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse(); + } + ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, {}}; + +static void InitDefaultsClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_ClusterResourceAttributes_default_instance_; + new (ptr) ::flyteidl::admin::ClusterResourceAttributes(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::ClusterResourceAttributes::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, { + &scc_info_ClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; + +static void InitDefaultsExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_ExecutionQueueAttributes_default_instance_; + new (ptr) ::flyteidl::admin::ExecutionQueueAttributes(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::ExecutionQueueAttributes::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto}, {}}; + +static void InitDefaultsMatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_MatchingAttributes_default_instance_; + new (ptr) ::flyteidl::admin::MatchingAttributes(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::MatchingAttributes::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<3> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 3, InitDefaultsMatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_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,}}; + +void InitDefaults_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ClusterResourceAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[6]; +const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[1]; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, cpu_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, gpu_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, memory_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceSpec, storage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceAttributes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceAttributes, defaults_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::TaskResourceAttributes, limits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse, _has_bits_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse, key_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse, value_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ClusterResourceAttributes, attributes_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionQueueAttributes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ExecutionQueueAttributes, tags_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchingAttributes, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchingAttributes, _oneof_case_[0]), + ~0u, // no _weak_field_map_ + offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, task_resource_attributes_), + offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, cluster_resource_attributes_), + offsetof(::flyteidl::admin::MatchingAttributesDefaultTypeInternal, execution_queue_attributes_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::MatchingAttributes, target_), +}; +static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::flyteidl::admin::TaskResourceSpec)}, + { 9, -1, sizeof(::flyteidl::admin::TaskResourceAttributes)}, + { 16, 23, sizeof(::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse)}, + { 25, -1, sizeof(::flyteidl::admin::ClusterResourceAttributes)}, + { 31, -1, sizeof(::flyteidl::admin::ExecutionQueueAttributes)}, + { 37, -1, sizeof(::flyteidl::admin::MatchingAttributes)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::admin::_TaskResourceSpec_default_instance_), + reinterpret_cast(&::flyteidl::admin::_TaskResourceAttributes_default_instance_), + reinterpret_cast(&::flyteidl::admin::_ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_), + reinterpret_cast(&::flyteidl::admin::_ClusterResourceAttributes_default_instance_), + reinterpret_cast(&::flyteidl::admin::_ExecutionQueueAttributes_default_instance_), + reinterpret_cast(&::flyteidl::admin::_MatchingAttributes_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = { + {}, AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, "flyteidl/admin/matchable_resource.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto::offsets, + file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, 6, file_level_enum_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[] = + "\n\'flyteidl/admin/matchable_resource.prot" + "o\022\016flyteidl.admin\"M\n\020TaskResourceSpec\022\013\n" + "\003cpu\030\001 \001(\t\022\013\n\003gpu\030\002 \001(\t\022\016\n\006memory\030\003 \001(\t\022" + "\017\n\007storage\030\004 \001(\t\"~\n\026TaskResourceAttribut" + "es\0222\n\010defaults\030\001 \001(\0132 .flyteidl.admin.Ta" + "skResourceSpec\0220\n\006limits\030\002 \001(\0132 .flyteid" + "l.admin.TaskResourceSpec\"\235\001\n\031ClusterReso" + "urceAttributes\022M\n\nattributes\030\001 \003(\01329.fly" + "teidl.admin.ClusterResourceAttributes.At" + "tributesEntry\0321\n\017AttributesEntry\022\013\n\003key\030" + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"(\n\030ExecutionQue" + "ueAttributes\022\014\n\004tags\030\001 \003(\t\"\214\002\n\022MatchingA" + "ttributes\022J\n\030task_resource_attributes\030\001 " + "\001(\0132&.flyteidl.admin.TaskResourceAttribu" + "tesH\000\022P\n\033cluster_resource_attributes\030\002 \001" + "(\0132).flyteidl.admin.ClusterResourceAttri" + "butesH\000\022N\n\032execution_queue_attributes\030\003 " + "\001(\0132(.flyteidl.admin.ExecutionQueueAttri" + "butesH\000B\010\n\006target*Q\n\021MatchableResource\022\021" + "\n\rTASK_RESOURCE\020\000\022\024\n\020CLUSTER_RESOURCE\020\001\022" + "\023\n\017EXECUTION_QUEUE\020\002B3Z1github.com/lyft/" + "flyteidl/gen/pb-go/flyteidl/adminb\006proto" + "3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = { + false, InitDefaults_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, + descriptor_table_protodef_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, + "flyteidl/admin/matchable_resource.proto", &assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, 881, +}; + +void AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[1] = + { + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, deps, 0); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fadmin_2fmatchable_5fresource_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto(); return true; }(); +namespace flyteidl { +namespace admin { +const ::google::protobuf::EnumDescriptor* MatchableResource_descriptor() { + ::google::protobuf::internal::AssignDescriptors(&assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); + return file_level_enum_descriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[0]; +} +bool MatchableResource_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + + +// =================================================================== + +void TaskResourceSpec::InitAsDefaultInstance() { +} +class TaskResourceSpec::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int TaskResourceSpec::kCpuFieldNumber; +const int TaskResourceSpec::kGpuFieldNumber; +const int TaskResourceSpec::kMemoryFieldNumber; +const int TaskResourceSpec::kStorageFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +TaskResourceSpec::TaskResourceSpec() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.TaskResourceSpec) +} +TaskResourceSpec::TaskResourceSpec(const TaskResourceSpec& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + cpu_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.cpu().size() > 0) { + cpu_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cpu_); + } + gpu_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.gpu().size() > 0) { + gpu_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.gpu_); + } + memory_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.memory().size() > 0) { + memory_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.memory_); + } + storage_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (from.storage().size() > 0) { + storage_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.storage_); + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskResourceSpec) +} + +void TaskResourceSpec::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + cpu_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + gpu_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + memory_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + storage_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +TaskResourceSpec::~TaskResourceSpec() { + // @@protoc_insertion_point(destructor:flyteidl.admin.TaskResourceSpec) + SharedDtor(); +} + +void TaskResourceSpec::SharedDtor() { + cpu_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + gpu_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + memory_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + storage_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} + +void TaskResourceSpec::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const TaskResourceSpec& TaskResourceSpec::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_TaskResourceSpec_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + return *internal_default_instance(); +} + + +void TaskResourceSpec::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskResourceSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cpu_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + gpu_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + memory_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + storage_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* TaskResourceSpec::_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 cpu = 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.TaskResourceSpec.cpu"); + object = msg->mutable_cpu(); + 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 gpu = 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.TaskResourceSpec.gpu"); + object = msg->mutable_gpu(); + 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 memory = 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.TaskResourceSpec.memory"); + object = msg->mutable_memory(); + 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 storage = 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.TaskResourceSpec.storage"); + object = msg->mutable_storage(); + 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 TaskResourceSpec::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.TaskResourceSpec) + 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 cpu = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_cpu())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->cpu().data(), static_cast(this->cpu().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.TaskResourceSpec.cpu")); + } else { + goto handle_unusual; + } + break; + } + + // string gpu = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_gpu())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->gpu().data(), static_cast(this->gpu().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.TaskResourceSpec.gpu")); + } else { + goto handle_unusual; + } + break; + } + + // string memory = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_memory())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->memory().data(), static_cast(this->memory().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.TaskResourceSpec.memory")); + } else { + goto handle_unusual; + } + break; + } + + // string storage = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->mutable_storage())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->storage().data(), static_cast(this->storage().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.TaskResourceSpec.storage")); + } 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.TaskResourceSpec) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskResourceSpec) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void TaskResourceSpec::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskResourceSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string cpu = 1; + if (this->cpu().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->cpu().data(), static_cast(this->cpu().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.TaskResourceSpec.cpu"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->cpu(), output); + } + + // string gpu = 2; + if (this->gpu().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->gpu().data(), static_cast(this->gpu().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.TaskResourceSpec.gpu"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 2, this->gpu(), output); + } + + // string memory = 3; + if (this->memory().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->memory().data(), static_cast(this->memory().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.TaskResourceSpec.memory"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->memory(), output); + } + + // string storage = 4; + if (this->storage().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->storage().data(), static_cast(this->storage().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.TaskResourceSpec.storage"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 4, this->storage(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.TaskResourceSpec) +} + +::google::protobuf::uint8* TaskResourceSpec::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskResourceSpec) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string cpu = 1; + if (this->cpu().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->cpu().data(), static_cast(this->cpu().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.TaskResourceSpec.cpu"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->cpu(), target); + } + + // string gpu = 2; + if (this->gpu().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->gpu().data(), static_cast(this->gpu().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.TaskResourceSpec.gpu"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 2, this->gpu(), target); + } + + // string memory = 3; + if (this->memory().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->memory().data(), static_cast(this->memory().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.TaskResourceSpec.memory"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->memory(), target); + } + + // string storage = 4; + if (this->storage().size() > 0) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->storage().data(), static_cast(this->storage().length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.TaskResourceSpec.storage"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 4, this->storage(), 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.TaskResourceSpec) + return target; +} + +size_t TaskResourceSpec::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskResourceSpec) + 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 cpu = 1; + if (this->cpu().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->cpu()); + } + + // string gpu = 2; + if (this->gpu().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->gpu()); + } + + // string memory = 3; + if (this->memory().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->memory()); + } + + // string storage = 4; + if (this->storage().size() > 0) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::StringSize( + this->storage()); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void TaskResourceSpec::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskResourceSpec) + GOOGLE_DCHECK_NE(&from, this); + const TaskResourceSpec* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskResourceSpec) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskResourceSpec) + MergeFrom(*source); + } +} + +void TaskResourceSpec::MergeFrom(const TaskResourceSpec& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskResourceSpec) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.cpu().size() > 0) { + + cpu_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.cpu_); + } + if (from.gpu().size() > 0) { + + gpu_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.gpu_); + } + if (from.memory().size() > 0) { + + memory_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.memory_); + } + if (from.storage().size() > 0) { + + storage_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.storage_); + } +} + +void TaskResourceSpec::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskResourceSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void TaskResourceSpec::CopyFrom(const TaskResourceSpec& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskResourceSpec) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TaskResourceSpec::IsInitialized() const { + return true; +} + +void TaskResourceSpec::Swap(TaskResourceSpec* other) { + if (other == this) return; + InternalSwap(other); +} +void TaskResourceSpec::InternalSwap(TaskResourceSpec* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + cpu_.Swap(&other->cpu_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + gpu_.Swap(&other->gpu_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + memory_.Swap(&other->memory_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + storage_.Swap(&other->storage_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::google::protobuf::Metadata TaskResourceSpec::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void TaskResourceAttributes::InitAsDefaultInstance() { + ::flyteidl::admin::_TaskResourceAttributes_default_instance_._instance.get_mutable()->defaults_ = const_cast< ::flyteidl::admin::TaskResourceSpec*>( + ::flyteidl::admin::TaskResourceSpec::internal_default_instance()); + ::flyteidl::admin::_TaskResourceAttributes_default_instance_._instance.get_mutable()->limits_ = const_cast< ::flyteidl::admin::TaskResourceSpec*>( + ::flyteidl::admin::TaskResourceSpec::internal_default_instance()); +} +class TaskResourceAttributes::HasBitSetters { + public: + static const ::flyteidl::admin::TaskResourceSpec& defaults(const TaskResourceAttributes* msg); + static const ::flyteidl::admin::TaskResourceSpec& limits(const TaskResourceAttributes* msg); +}; + +const ::flyteidl::admin::TaskResourceSpec& +TaskResourceAttributes::HasBitSetters::defaults(const TaskResourceAttributes* msg) { + return *msg->defaults_; +} +const ::flyteidl::admin::TaskResourceSpec& +TaskResourceAttributes::HasBitSetters::limits(const TaskResourceAttributes* msg) { + return *msg->limits_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int TaskResourceAttributes::kDefaultsFieldNumber; +const int TaskResourceAttributes::kLimitsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +TaskResourceAttributes::TaskResourceAttributes() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.TaskResourceAttributes) +} +TaskResourceAttributes::TaskResourceAttributes(const TaskResourceAttributes& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_defaults()) { + defaults_ = new ::flyteidl::admin::TaskResourceSpec(*from.defaults_); + } else { + defaults_ = nullptr; + } + if (from.has_limits()) { + limits_ = new ::flyteidl::admin::TaskResourceSpec(*from.limits_); + } else { + limits_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.TaskResourceAttributes) +} + +void TaskResourceAttributes::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + ::memset(&defaults_, 0, static_cast( + reinterpret_cast(&limits_) - + reinterpret_cast(&defaults_)) + sizeof(limits_)); +} + +TaskResourceAttributes::~TaskResourceAttributes() { + // @@protoc_insertion_point(destructor:flyteidl.admin.TaskResourceAttributes) + SharedDtor(); +} + +void TaskResourceAttributes::SharedDtor() { + if (this != internal_default_instance()) delete defaults_; + if (this != internal_default_instance()) delete limits_; +} + +void TaskResourceAttributes::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const TaskResourceAttributes& TaskResourceAttributes::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_TaskResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + return *internal_default_instance(); +} + + +void TaskResourceAttributes::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.TaskResourceAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && defaults_ != nullptr) { + delete defaults_; + } + defaults_ = nullptr; + if (GetArenaNoVirtual() == nullptr && limits_ != nullptr) { + delete limits_; + } + limits_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* TaskResourceAttributes::_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.TaskResourceSpec defaults = 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::TaskResourceSpec::_InternalParse; + object = msg->mutable_defaults(); + 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.TaskResourceSpec limits = 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::TaskResourceSpec::_InternalParse; + object = msg->mutable_limits(); + 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 TaskResourceAttributes::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.TaskResourceAttributes) + 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.TaskResourceSpec defaults = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_defaults())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.TaskResourceSpec limits = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_limits())); + } 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.TaskResourceAttributes) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.TaskResourceAttributes) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void TaskResourceAttributes::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.TaskResourceAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.TaskResourceSpec defaults = 1; + if (this->has_defaults()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::defaults(this), output); + } + + // .flyteidl.admin.TaskResourceSpec limits = 2; + if (this->has_limits()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::limits(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.TaskResourceAttributes) +} + +::google::protobuf::uint8* TaskResourceAttributes::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.TaskResourceAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.TaskResourceSpec defaults = 1; + if (this->has_defaults()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::defaults(this), target); + } + + // .flyteidl.admin.TaskResourceSpec limits = 2; + if (this->has_limits()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::limits(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.TaskResourceAttributes) + return target; +} + +size_t TaskResourceAttributes::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.TaskResourceAttributes) + 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.TaskResourceSpec defaults = 1; + if (this->has_defaults()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *defaults_); + } + + // .flyteidl.admin.TaskResourceSpec limits = 2; + if (this->has_limits()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *limits_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void TaskResourceAttributes::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.TaskResourceAttributes) + GOOGLE_DCHECK_NE(&from, this); + const TaskResourceAttributes* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.TaskResourceAttributes) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.TaskResourceAttributes) + MergeFrom(*source); + } +} + +void TaskResourceAttributes::MergeFrom(const TaskResourceAttributes& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.TaskResourceAttributes) + 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_defaults()) { + mutable_defaults()->::flyteidl::admin::TaskResourceSpec::MergeFrom(from.defaults()); + } + if (from.has_limits()) { + mutable_limits()->::flyteidl::admin::TaskResourceSpec::MergeFrom(from.limits()); + } +} + +void TaskResourceAttributes::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.TaskResourceAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void TaskResourceAttributes::CopyFrom(const TaskResourceAttributes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.TaskResourceAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool TaskResourceAttributes::IsInitialized() const { + return true; +} + +void TaskResourceAttributes::Swap(TaskResourceAttributes* other) { + if (other == this) return; + InternalSwap(other); +} +void TaskResourceAttributes::InternalSwap(TaskResourceAttributes* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(defaults_, other->defaults_); + swap(limits_, other->limits_); +} + +::google::protobuf::Metadata TaskResourceAttributes::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +ClusterResourceAttributes_AttributesEntry_DoNotUse::ClusterResourceAttributes_AttributesEntry_DoNotUse() {} +ClusterResourceAttributes_AttributesEntry_DoNotUse::ClusterResourceAttributes_AttributesEntry_DoNotUse(::google::protobuf::Arena* arena) + : SuperType(arena) {} +void ClusterResourceAttributes_AttributesEntry_DoNotUse::MergeFrom(const ClusterResourceAttributes_AttributesEntry_DoNotUse& other) { + MergeFromInternal(other); +} +::google::protobuf::Metadata ClusterResourceAttributes_AttributesEntry_DoNotUse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[2]; +} +void ClusterResourceAttributes_AttributesEntry_DoNotUse::MergeFrom( + const ::google::protobuf::Message& other) { + ::google::protobuf::Message::MergeFrom(other); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ClusterResourceAttributes_AttributesEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { + using MF = ::google::protobuf::internal::MapField< + ClusterResourceAttributes_AttributesEntry_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.ClusterResourceAttributes.AttributesEntry.key")); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.value().data(), static_cast(parser.value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.value")); +#undef DO_ + return true; +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + + +// =================================================================== + +void ClusterResourceAttributes::InitAsDefaultInstance() { +} +class ClusterResourceAttributes::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ClusterResourceAttributes::kAttributesFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ClusterResourceAttributes::ClusterResourceAttributes() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.ClusterResourceAttributes) +} +ClusterResourceAttributes::ClusterResourceAttributes(const ClusterResourceAttributes& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + attributes_.MergeFrom(from.attributes_); + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ClusterResourceAttributes) +} + +void ClusterResourceAttributes::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); +} + +ClusterResourceAttributes::~ClusterResourceAttributes() { + // @@protoc_insertion_point(destructor:flyteidl.admin.ClusterResourceAttributes) + SharedDtor(); +} + +void ClusterResourceAttributes::SharedDtor() { +} + +void ClusterResourceAttributes::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ClusterResourceAttributes& ClusterResourceAttributes::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ClusterResourceAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + return *internal_default_instance(); +} + + +void ClusterResourceAttributes::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ClusterResourceAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + attributes_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ClusterResourceAttributes::_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) { + // map attributes = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) 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::ClusterResourceAttributes_AttributesEntry_DoNotUse::_ParseMap; + ctx->extra_parse_data().payload.clear(); + ctx->extra_parse_data().parse_map = parse_map; + object = &msg->attributes_; + 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) == 10 && (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 ClusterResourceAttributes::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.ClusterResourceAttributes) + 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)) { + // map attributes = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + ClusterResourceAttributes_AttributesEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< + ClusterResourceAttributes_AttributesEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 >, + ::google::protobuf::Map< ::std::string, ::std::string > > parser(&attributes_); + 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.ClusterResourceAttributes.AttributesEntry.key")); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + parser.value().data(), static_cast(parser.value().length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.value")); + } 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.ClusterResourceAttributes) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.ClusterResourceAttributes) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ClusterResourceAttributes::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.ClusterResourceAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // map attributes = 1; + if (!this->attributes().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::std::string >::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.ClusterResourceAttributes.AttributesEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.value"); + } + }; + + if (output->IsSerializationDeterministic() && + this->attributes().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->attributes().size()]); + typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->attributes().begin(); + it != this->attributes().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(attributes_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *entry, output); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->attributes().begin(); + it != this->attributes().end(); ++it) { + entry.reset(attributes_.NewEntryWrapper(it->first, it->second)); + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(1, *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.ClusterResourceAttributes) +} + +::google::protobuf::uint8* ClusterResourceAttributes::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ClusterResourceAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // map attributes = 1; + if (!this->attributes().empty()) { + typedef ::google::protobuf::Map< ::std::string, ::std::string >::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.ClusterResourceAttributes.AttributesEntry.key"); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + p->second.data(), static_cast(p->second.length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ClusterResourceAttributes.AttributesEntry.value"); + } + }; + + if (false && + this->attributes().size() > 1) { + ::std::unique_ptr items( + new SortItem[this->attributes().size()]); + typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; + size_type n = 0; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->attributes().begin(); + it != this->attributes().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(attributes_.NewEntryWrapper(items[static_cast(i)]->first, items[static_cast(i)]->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *entry, target); + Utf8Check::Check(&(*items[static_cast(i)])); + } + } else { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->attributes().begin(); + it != this->attributes().end(); ++it) { + entry.reset(attributes_.NewEntryWrapper(it->first, it->second)); + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(1, *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.ClusterResourceAttributes) + return target; +} + +size_t ClusterResourceAttributes::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ClusterResourceAttributes) + 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 attributes = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->attributes_size()); + { + ::std::unique_ptr entry; + for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator + it = this->attributes().begin(); + it != this->attributes().end(); ++it) { + entry.reset(attributes_.NewEntryWrapper(it->first, it->second)); + total_size += ::google::protobuf::internal::WireFormatLite:: + MessageSizeNoVirtual(*entry); + } + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ClusterResourceAttributes::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ClusterResourceAttributes) + GOOGLE_DCHECK_NE(&from, this); + const ClusterResourceAttributes* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ClusterResourceAttributes) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ClusterResourceAttributes) + MergeFrom(*source); + } +} + +void ClusterResourceAttributes::MergeFrom(const ClusterResourceAttributes& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ClusterResourceAttributes) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + attributes_.MergeFrom(from.attributes_); +} + +void ClusterResourceAttributes::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ClusterResourceAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ClusterResourceAttributes::CopyFrom(const ClusterResourceAttributes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ClusterResourceAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ClusterResourceAttributes::IsInitialized() const { + return true; +} + +void ClusterResourceAttributes::Swap(ClusterResourceAttributes* other) { + if (other == this) return; + InternalSwap(other); +} +void ClusterResourceAttributes::InternalSwap(ClusterResourceAttributes* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + attributes_.Swap(&other->attributes_); +} + +::google::protobuf::Metadata ClusterResourceAttributes::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ExecutionQueueAttributes::InitAsDefaultInstance() { +} +class ExecutionQueueAttributes::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ExecutionQueueAttributes::kTagsFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ExecutionQueueAttributes::ExecutionQueueAttributes() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.ExecutionQueueAttributes) +} +ExecutionQueueAttributes::ExecutionQueueAttributes(const ExecutionQueueAttributes& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr), + tags_(from.tags_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ExecutionQueueAttributes) +} + +void ExecutionQueueAttributes::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); +} + +ExecutionQueueAttributes::~ExecutionQueueAttributes() { + // @@protoc_insertion_point(destructor:flyteidl.admin.ExecutionQueueAttributes) + SharedDtor(); +} + +void ExecutionQueueAttributes::SharedDtor() { +} + +void ExecutionQueueAttributes::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ExecutionQueueAttributes& ExecutionQueueAttributes::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ExecutionQueueAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + return *internal_default_instance(); +} + + +void ExecutionQueueAttributes::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ExecutionQueueAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + tags_.Clear(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ExecutionQueueAttributes::_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) { + // repeated string tags = 1; + case 1: { + if (static_cast<::google::protobuf::uint8>(tag) != 10) goto handle_unusual; + do { + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + ctx->extra_parse_data().SetFieldName("flyteidl.admin.ExecutionQueueAttributes.tags"); + object = msg->add_tags(); + 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; + if (ptr >= end) break; + } while ((::google::protobuf::io::UnalignedLoad<::google::protobuf::uint64>(ptr) & 255) == 10 && (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 ExecutionQueueAttributes::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.ExecutionQueueAttributes) + 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)) { + // repeated string tags = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadString( + input, this->add_tags())); + DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(this->tags_size() - 1).data(), + static_cast(this->tags(this->tags_size() - 1).length()), + ::google::protobuf::internal::WireFormatLite::PARSE, + "flyteidl.admin.ExecutionQueueAttributes.tags")); + } 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.ExecutionQueueAttributes) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.ExecutionQueueAttributes) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ExecutionQueueAttributes::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.ExecutionQueueAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string tags = 1; + for (int i = 0, n = this->tags_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(i).data(), static_cast(this->tags(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ExecutionQueueAttributes.tags"); + ::google::protobuf::internal::WireFormatLite::WriteString( + 1, this->tags(i), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::google::protobuf::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:flyteidl.admin.ExecutionQueueAttributes) +} + +::google::protobuf::uint8* ExecutionQueueAttributes::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ExecutionQueueAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string tags = 1; + for (int i = 0, n = this->tags_size(); i < n; i++) { + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + this->tags(i).data(), static_cast(this->tags(i).length()), + ::google::protobuf::internal::WireFormatLite::SERIALIZE, + "flyteidl.admin.ExecutionQueueAttributes.tags"); + target = ::google::protobuf::internal::WireFormatLite:: + WriteStringToArray(1, this->tags(i), 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.ExecutionQueueAttributes) + return target; +} + +size_t ExecutionQueueAttributes::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ExecutionQueueAttributes) + 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; + + // repeated string tags = 1; + total_size += 1 * + ::google::protobuf::internal::FromIntSize(this->tags_size()); + for (int i = 0, n = this->tags_size(); i < n; i++) { + total_size += ::google::protobuf::internal::WireFormatLite::StringSize( + this->tags(i)); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ExecutionQueueAttributes::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ExecutionQueueAttributes) + GOOGLE_DCHECK_NE(&from, this); + const ExecutionQueueAttributes* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ExecutionQueueAttributes) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ExecutionQueueAttributes) + MergeFrom(*source); + } +} + +void ExecutionQueueAttributes::MergeFrom(const ExecutionQueueAttributes& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ExecutionQueueAttributes) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + tags_.MergeFrom(from.tags_); +} + +void ExecutionQueueAttributes::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ExecutionQueueAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ExecutionQueueAttributes::CopyFrom(const ExecutionQueueAttributes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ExecutionQueueAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ExecutionQueueAttributes::IsInitialized() const { + return true; +} + +void ExecutionQueueAttributes::Swap(ExecutionQueueAttributes* other) { + if (other == this) return; + InternalSwap(other); +} +void ExecutionQueueAttributes::InternalSwap(ExecutionQueueAttributes* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + tags_.InternalSwap(CastToBase(&other->tags_)); +} + +::google::protobuf::Metadata ExecutionQueueAttributes::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void MatchingAttributes::InitAsDefaultInstance() { + ::flyteidl::admin::_MatchingAttributes_default_instance_.task_resource_attributes_ = const_cast< ::flyteidl::admin::TaskResourceAttributes*>( + ::flyteidl::admin::TaskResourceAttributes::internal_default_instance()); + ::flyteidl::admin::_MatchingAttributes_default_instance_.cluster_resource_attributes_ = const_cast< ::flyteidl::admin::ClusterResourceAttributes*>( + ::flyteidl::admin::ClusterResourceAttributes::internal_default_instance()); + ::flyteidl::admin::_MatchingAttributes_default_instance_.execution_queue_attributes_ = const_cast< ::flyteidl::admin::ExecutionQueueAttributes*>( + ::flyteidl::admin::ExecutionQueueAttributes::internal_default_instance()); +} +class MatchingAttributes::HasBitSetters { + public: + static const ::flyteidl::admin::TaskResourceAttributes& task_resource_attributes(const MatchingAttributes* msg); + static const ::flyteidl::admin::ClusterResourceAttributes& cluster_resource_attributes(const MatchingAttributes* msg); + static const ::flyteidl::admin::ExecutionQueueAttributes& execution_queue_attributes(const MatchingAttributes* msg); +}; + +const ::flyteidl::admin::TaskResourceAttributes& +MatchingAttributes::HasBitSetters::task_resource_attributes(const MatchingAttributes* msg) { + return *msg->target_.task_resource_attributes_; +} +const ::flyteidl::admin::ClusterResourceAttributes& +MatchingAttributes::HasBitSetters::cluster_resource_attributes(const MatchingAttributes* msg) { + return *msg->target_.cluster_resource_attributes_; +} +const ::flyteidl::admin::ExecutionQueueAttributes& +MatchingAttributes::HasBitSetters::execution_queue_attributes(const MatchingAttributes* msg) { + return *msg->target_.execution_queue_attributes_; +} +void MatchingAttributes::set_allocated_task_resource_attributes(::flyteidl::admin::TaskResourceAttributes* task_resource_attributes) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_target(); + if (task_resource_attributes) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + task_resource_attributes = ::google::protobuf::internal::GetOwnedMessage( + message_arena, task_resource_attributes, submessage_arena); + } + set_has_task_resource_attributes(); + target_.task_resource_attributes_ = task_resource_attributes; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.task_resource_attributes) +} +void MatchingAttributes::set_allocated_cluster_resource_attributes(::flyteidl::admin::ClusterResourceAttributes* cluster_resource_attributes) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_target(); + if (cluster_resource_attributes) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + cluster_resource_attributes = ::google::protobuf::internal::GetOwnedMessage( + message_arena, cluster_resource_attributes, submessage_arena); + } + set_has_cluster_resource_attributes(); + target_.cluster_resource_attributes_ = cluster_resource_attributes; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.cluster_resource_attributes) +} +void MatchingAttributes::set_allocated_execution_queue_attributes(::flyteidl::admin::ExecutionQueueAttributes* execution_queue_attributes) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + clear_target(); + if (execution_queue_attributes) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + execution_queue_attributes = ::google::protobuf::internal::GetOwnedMessage( + message_arena, execution_queue_attributes, submessage_arena); + } + set_has_execution_queue_attributes(); + target_.execution_queue_attributes_ = execution_queue_attributes; + } + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.MatchingAttributes.execution_queue_attributes) +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int MatchingAttributes::kTaskResourceAttributesFieldNumber; +const int MatchingAttributes::kClusterResourceAttributesFieldNumber; +const int MatchingAttributes::kExecutionQueueAttributesFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +MatchingAttributes::MatchingAttributes() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.MatchingAttributes) +} +MatchingAttributes::MatchingAttributes(const MatchingAttributes& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + clear_has_target(); + switch (from.target_case()) { + case kTaskResourceAttributes: { + mutable_task_resource_attributes()->::flyteidl::admin::TaskResourceAttributes::MergeFrom(from.task_resource_attributes()); + break; + } + case kClusterResourceAttributes: { + mutable_cluster_resource_attributes()->::flyteidl::admin::ClusterResourceAttributes::MergeFrom(from.cluster_resource_attributes()); + break; + } + case kExecutionQueueAttributes: { + mutable_execution_queue_attributes()->::flyteidl::admin::ExecutionQueueAttributes::MergeFrom(from.execution_queue_attributes()); + break; + } + case TARGET_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.MatchingAttributes) +} + +void MatchingAttributes::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + clear_has_target(); +} + +MatchingAttributes::~MatchingAttributes() { + // @@protoc_insertion_point(destructor:flyteidl.admin.MatchingAttributes) + SharedDtor(); +} + +void MatchingAttributes::SharedDtor() { + if (has_target()) { + clear_target(); + } +} + +void MatchingAttributes::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const MatchingAttributes& MatchingAttributes::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base); + return *internal_default_instance(); +} + + +void MatchingAttributes::clear_target() { +// @@protoc_insertion_point(one_of_clear_start:flyteidl.admin.MatchingAttributes) + switch (target_case()) { + case kTaskResourceAttributes: { + delete target_.task_resource_attributes_; + break; + } + case kClusterResourceAttributes: { + delete target_.cluster_resource_attributes_; + break; + } + case kExecutionQueueAttributes: { + delete target_.execution_queue_attributes_; + break; + } + case TARGET_NOT_SET: { + break; + } + } + _oneof_case_[0] = TARGET_NOT_SET; +} + + +void MatchingAttributes::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.MatchingAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_target(); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* MatchingAttributes::_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.TaskResourceAttributes task_resource_attributes = 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::TaskResourceAttributes::_InternalParse; + object = msg->mutable_task_resource_attributes(); + 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.ClusterResourceAttributes cluster_resource_attributes = 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::ClusterResourceAttributes::_InternalParse; + object = msg->mutable_cluster_resource_attributes(); + 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.ExecutionQueueAttributes execution_queue_attributes = 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::ExecutionQueueAttributes::_InternalParse; + object = msg->mutable_execution_queue_attributes(); + 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 MatchingAttributes::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.MatchingAttributes) + 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.TaskResourceAttributes task_resource_attributes = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_task_resource_attributes())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_cluster_resource_attributes())); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + case 3: { + if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_execution_queue_attributes())); + } 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.MatchingAttributes) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.MatchingAttributes) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void MatchingAttributes::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.MatchingAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + if (has_task_resource_attributes()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::task_resource_attributes(this), output); + } + + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + if (has_cluster_resource_attributes()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::cluster_resource_attributes(this), output); + } + + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + if (has_execution_queue_attributes()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::execution_queue_attributes(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.MatchingAttributes) +} + +::google::protobuf::uint8* MatchingAttributes::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.MatchingAttributes) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + if (has_task_resource_attributes()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::task_resource_attributes(this), target); + } + + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + if (has_cluster_resource_attributes()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::cluster_resource_attributes(this), target); + } + + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + if (has_execution_queue_attributes()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::execution_queue_attributes(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.MatchingAttributes) + return target; +} + +size_t MatchingAttributes::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.MatchingAttributes) + 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 (target_case()) { + // .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + case kTaskResourceAttributes: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *target_.task_resource_attributes_); + break; + } + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + case kClusterResourceAttributes: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *target_.cluster_resource_attributes_); + break; + } + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + case kExecutionQueueAttributes: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *target_.execution_queue_attributes_); + break; + } + case TARGET_NOT_SET: { + break; + } + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void MatchingAttributes::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.MatchingAttributes) + GOOGLE_DCHECK_NE(&from, this); + const MatchingAttributes* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.MatchingAttributes) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.MatchingAttributes) + MergeFrom(*source); + } +} + +void MatchingAttributes::MergeFrom(const MatchingAttributes& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.MatchingAttributes) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + switch (from.target_case()) { + case kTaskResourceAttributes: { + mutable_task_resource_attributes()->::flyteidl::admin::TaskResourceAttributes::MergeFrom(from.task_resource_attributes()); + break; + } + case kClusterResourceAttributes: { + mutable_cluster_resource_attributes()->::flyteidl::admin::ClusterResourceAttributes::MergeFrom(from.cluster_resource_attributes()); + break; + } + case kExecutionQueueAttributes: { + mutable_execution_queue_attributes()->::flyteidl::admin::ExecutionQueueAttributes::MergeFrom(from.execution_queue_attributes()); + break; + } + case TARGET_NOT_SET: { + break; + } + } +} + +void MatchingAttributes::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.MatchingAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void MatchingAttributes::CopyFrom(const MatchingAttributes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.MatchingAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool MatchingAttributes::IsInitialized() const { + return true; +} + +void MatchingAttributes::Swap(MatchingAttributes* other) { + if (other == this) return; + InternalSwap(other); +} +void MatchingAttributes::InternalSwap(MatchingAttributes* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(target_, other->target_); + swap(_oneof_case_[0], other->_oneof_case_[0]); +} + +::google::protobuf::Metadata MatchingAttributes::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fmatchable_5fresource_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fmatchable_5fresource_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskResourceSpec* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskResourceSpec >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::TaskResourceSpec >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::TaskResourceAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::TaskResourceAttributes >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::TaskResourceAttributes >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ClusterResourceAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::ClusterResourceAttributes >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ClusterResourceAttributes >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ExecutionQueueAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::ExecutionQueueAttributes >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ExecutionQueueAttributes >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::MatchingAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::MatchingAttributes >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::MatchingAttributes >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h new file mode 100644 index 0000000000..2a5f9119cb --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/matchable_resource.pb.h @@ -0,0 +1,1426 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/matchable_resource.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fmatchable_5fresource_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fmatchable_5fresource_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 +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_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[6] + 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_2fmatchable_5fresource_2eproto(); +namespace flyteidl { +namespace admin { +class ClusterResourceAttributes; +class ClusterResourceAttributesDefaultTypeInternal; +extern ClusterResourceAttributesDefaultTypeInternal _ClusterResourceAttributes_default_instance_; +class ClusterResourceAttributes_AttributesEntry_DoNotUse; +class ClusterResourceAttributes_AttributesEntry_DoNotUseDefaultTypeInternal; +extern ClusterResourceAttributes_AttributesEntry_DoNotUseDefaultTypeInternal _ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_; +class ExecutionQueueAttributes; +class ExecutionQueueAttributesDefaultTypeInternal; +extern ExecutionQueueAttributesDefaultTypeInternal _ExecutionQueueAttributes_default_instance_; +class MatchingAttributes; +class MatchingAttributesDefaultTypeInternal; +extern MatchingAttributesDefaultTypeInternal _MatchingAttributes_default_instance_; +class TaskResourceAttributes; +class TaskResourceAttributesDefaultTypeInternal; +extern TaskResourceAttributesDefaultTypeInternal _TaskResourceAttributes_default_instance_; +class TaskResourceSpec; +class TaskResourceSpecDefaultTypeInternal; +extern TaskResourceSpecDefaultTypeInternal _TaskResourceSpec_default_instance_; +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::admin::ClusterResourceAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::ClusterResourceAttributes>(Arena*); +template<> ::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::ClusterResourceAttributes_AttributesEntry_DoNotUse>(Arena*); +template<> ::flyteidl::admin::ExecutionQueueAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::ExecutionQueueAttributes>(Arena*); +template<> ::flyteidl::admin::MatchingAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(Arena*); +template<> ::flyteidl::admin::TaskResourceAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::TaskResourceAttributes>(Arena*); +template<> ::flyteidl::admin::TaskResourceSpec* Arena::CreateMaybeMessage<::flyteidl::admin::TaskResourceSpec>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace admin { + +enum MatchableResource { + TASK_RESOURCE = 0, + CLUSTER_RESOURCE = 1, + EXECUTION_QUEUE = 2, + MatchableResource_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::min(), + MatchableResource_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::google::protobuf::int32>::max() +}; +bool MatchableResource_IsValid(int value); +const MatchableResource MatchableResource_MIN = TASK_RESOURCE; +const MatchableResource MatchableResource_MAX = EXECUTION_QUEUE; +const int MatchableResource_ARRAYSIZE = MatchableResource_MAX + 1; + +const ::google::protobuf::EnumDescriptor* MatchableResource_descriptor(); +inline const ::std::string& MatchableResource_Name(MatchableResource value) { + return ::google::protobuf::internal::NameOfEnum( + MatchableResource_descriptor(), value); +} +inline bool MatchableResource_Parse( + const ::std::string& name, MatchableResource* value) { + return ::google::protobuf::internal::ParseNamedEnum( + MatchableResource_descriptor(), name, value); +} +// =================================================================== + +class TaskResourceSpec final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskResourceSpec) */ { + public: + TaskResourceSpec(); + virtual ~TaskResourceSpec(); + + TaskResourceSpec(const TaskResourceSpec& from); + + inline TaskResourceSpec& operator=(const TaskResourceSpec& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TaskResourceSpec(TaskResourceSpec&& from) noexcept + : TaskResourceSpec() { + *this = ::std::move(from); + } + + inline TaskResourceSpec& operator=(TaskResourceSpec&& 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 TaskResourceSpec& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TaskResourceSpec* internal_default_instance() { + return reinterpret_cast( + &_TaskResourceSpec_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(TaskResourceSpec* other); + friend void swap(TaskResourceSpec& a, TaskResourceSpec& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TaskResourceSpec* New() const final { + return CreateMaybeMessage(nullptr); + } + + TaskResourceSpec* 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 TaskResourceSpec& from); + void MergeFrom(const TaskResourceSpec& 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(TaskResourceSpec* 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 cpu = 1; + void clear_cpu(); + static const int kCpuFieldNumber = 1; + const ::std::string& cpu() const; + void set_cpu(const ::std::string& value); + #if LANG_CXX11 + void set_cpu(::std::string&& value); + #endif + void set_cpu(const char* value); + void set_cpu(const char* value, size_t size); + ::std::string* mutable_cpu(); + ::std::string* release_cpu(); + void set_allocated_cpu(::std::string* cpu); + + // string gpu = 2; + void clear_gpu(); + static const int kGpuFieldNumber = 2; + const ::std::string& gpu() const; + void set_gpu(const ::std::string& value); + #if LANG_CXX11 + void set_gpu(::std::string&& value); + #endif + void set_gpu(const char* value); + void set_gpu(const char* value, size_t size); + ::std::string* mutable_gpu(); + ::std::string* release_gpu(); + void set_allocated_gpu(::std::string* gpu); + + // string memory = 3; + void clear_memory(); + static const int kMemoryFieldNumber = 3; + const ::std::string& memory() const; + void set_memory(const ::std::string& value); + #if LANG_CXX11 + void set_memory(::std::string&& value); + #endif + void set_memory(const char* value); + void set_memory(const char* value, size_t size); + ::std::string* mutable_memory(); + ::std::string* release_memory(); + void set_allocated_memory(::std::string* memory); + + // string storage = 4; + void clear_storage(); + static const int kStorageFieldNumber = 4; + const ::std::string& storage() const; + void set_storage(const ::std::string& value); + #if LANG_CXX11 + void set_storage(::std::string&& value); + #endif + void set_storage(const char* value); + void set_storage(const char* value, size_t size); + ::std::string* mutable_storage(); + ::std::string* release_storage(); + void set_allocated_storage(::std::string* storage); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceSpec) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr cpu_; + ::google::protobuf::internal::ArenaStringPtr gpu_; + ::google::protobuf::internal::ArenaStringPtr memory_; + ::google::protobuf::internal::ArenaStringPtr storage_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +}; +// ------------------------------------------------------------------- + +class TaskResourceAttributes final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.TaskResourceAttributes) */ { + public: + TaskResourceAttributes(); + virtual ~TaskResourceAttributes(); + + TaskResourceAttributes(const TaskResourceAttributes& from); + + inline TaskResourceAttributes& operator=(const TaskResourceAttributes& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + TaskResourceAttributes(TaskResourceAttributes&& from) noexcept + : TaskResourceAttributes() { + *this = ::std::move(from); + } + + inline TaskResourceAttributes& operator=(TaskResourceAttributes&& 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 TaskResourceAttributes& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const TaskResourceAttributes* internal_default_instance() { + return reinterpret_cast( + &_TaskResourceAttributes_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(TaskResourceAttributes* other); + friend void swap(TaskResourceAttributes& a, TaskResourceAttributes& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline TaskResourceAttributes* New() const final { + return CreateMaybeMessage(nullptr); + } + + TaskResourceAttributes* 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 TaskResourceAttributes& from); + void MergeFrom(const TaskResourceAttributes& 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(TaskResourceAttributes* 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.TaskResourceSpec defaults = 1; + bool has_defaults() const; + void clear_defaults(); + static const int kDefaultsFieldNumber = 1; + const ::flyteidl::admin::TaskResourceSpec& defaults() const; + ::flyteidl::admin::TaskResourceSpec* release_defaults(); + ::flyteidl::admin::TaskResourceSpec* mutable_defaults(); + void set_allocated_defaults(::flyteidl::admin::TaskResourceSpec* defaults); + + // .flyteidl.admin.TaskResourceSpec limits = 2; + bool has_limits() const; + void clear_limits(); + static const int kLimitsFieldNumber = 2; + const ::flyteidl::admin::TaskResourceSpec& limits() const; + ::flyteidl::admin::TaskResourceSpec* release_limits(); + ::flyteidl::admin::TaskResourceSpec* mutable_limits(); + void set_allocated_limits(::flyteidl::admin::TaskResourceSpec* limits); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceAttributes) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::TaskResourceSpec* defaults_; + ::flyteidl::admin::TaskResourceSpec* limits_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +}; +// ------------------------------------------------------------------- + +class ClusterResourceAttributes_AttributesEntry_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; + ClusterResourceAttributes_AttributesEntry_DoNotUse(); + ClusterResourceAttributes_AttributesEntry_DoNotUse(::google::protobuf::Arena* arena); + void MergeFrom(const ClusterResourceAttributes_AttributesEntry_DoNotUse& other); + static const ClusterResourceAttributes_AttributesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_ClusterResourceAttributes_AttributesEntry_DoNotUse_default_instance_); } + void MergeFrom(const ::google::protobuf::Message& other) final; + ::google::protobuf::Metadata GetMetadata() const; +}; + +// ------------------------------------------------------------------- + +class ClusterResourceAttributes final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ClusterResourceAttributes) */ { + public: + ClusterResourceAttributes(); + virtual ~ClusterResourceAttributes(); + + ClusterResourceAttributes(const ClusterResourceAttributes& from); + + inline ClusterResourceAttributes& operator=(const ClusterResourceAttributes& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ClusterResourceAttributes(ClusterResourceAttributes&& from) noexcept + : ClusterResourceAttributes() { + *this = ::std::move(from); + } + + inline ClusterResourceAttributes& operator=(ClusterResourceAttributes&& 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 ClusterResourceAttributes& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ClusterResourceAttributes* internal_default_instance() { + return reinterpret_cast( + &_ClusterResourceAttributes_default_instance_); + } + static constexpr int kIndexInFileMessages = + 3; + + void Swap(ClusterResourceAttributes* other); + friend void swap(ClusterResourceAttributes& a, ClusterResourceAttributes& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ClusterResourceAttributes* New() const final { + return CreateMaybeMessage(nullptr); + } + + ClusterResourceAttributes* 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 ClusterResourceAttributes& from); + void MergeFrom(const ClusterResourceAttributes& 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(ClusterResourceAttributes* 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 attributes = 1; + int attributes_size() const; + void clear_attributes(); + static const int kAttributesFieldNumber = 1; + const ::google::protobuf::Map< ::std::string, ::std::string >& + attributes() const; + ::google::protobuf::Map< ::std::string, ::std::string >* + mutable_attributes(); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterResourceAttributes) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::MapField< + ClusterResourceAttributes_AttributesEntry_DoNotUse, + ::std::string, ::std::string, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + ::google::protobuf::internal::WireFormatLite::TYPE_STRING, + 0 > attributes_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +}; +// ------------------------------------------------------------------- + +class ExecutionQueueAttributes final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ExecutionQueueAttributes) */ { + public: + ExecutionQueueAttributes(); + virtual ~ExecutionQueueAttributes(); + + ExecutionQueueAttributes(const ExecutionQueueAttributes& from); + + inline ExecutionQueueAttributes& operator=(const ExecutionQueueAttributes& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ExecutionQueueAttributes(ExecutionQueueAttributes&& from) noexcept + : ExecutionQueueAttributes() { + *this = ::std::move(from); + } + + inline ExecutionQueueAttributes& operator=(ExecutionQueueAttributes&& 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 ExecutionQueueAttributes& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ExecutionQueueAttributes* internal_default_instance() { + return reinterpret_cast( + &_ExecutionQueueAttributes_default_instance_); + } + static constexpr int kIndexInFileMessages = + 4; + + void Swap(ExecutionQueueAttributes* other); + friend void swap(ExecutionQueueAttributes& a, ExecutionQueueAttributes& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ExecutionQueueAttributes* New() const final { + return CreateMaybeMessage(nullptr); + } + + ExecutionQueueAttributes* 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 ExecutionQueueAttributes& from); + void MergeFrom(const ExecutionQueueAttributes& 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(ExecutionQueueAttributes* 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 ------------------------------------------------------- + + // repeated string tags = 1; + int tags_size() const; + void clear_tags(); + static const int kTagsFieldNumber = 1; + const ::std::string& tags(int index) const; + ::std::string* mutable_tags(int index); + void set_tags(int index, const ::std::string& value); + #if LANG_CXX11 + void set_tags(int index, ::std::string&& value); + #endif + void set_tags(int index, const char* value); + void set_tags(int index, const char* value, size_t size); + ::std::string* add_tags(); + void add_tags(const ::std::string& value); + #if LANG_CXX11 + void add_tags(::std::string&& value); + #endif + void add_tags(const char* value); + void add_tags(const char* value, size_t size); + const ::google::protobuf::RepeatedPtrField<::std::string>& tags() const; + ::google::protobuf::RepeatedPtrField<::std::string>* mutable_tags(); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionQueueAttributes) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::RepeatedPtrField<::std::string> tags_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +}; +// ------------------------------------------------------------------- + +class MatchingAttributes final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.MatchingAttributes) */ { + public: + MatchingAttributes(); + virtual ~MatchingAttributes(); + + MatchingAttributes(const MatchingAttributes& from); + + inline MatchingAttributes& operator=(const MatchingAttributes& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + MatchingAttributes(MatchingAttributes&& from) noexcept + : MatchingAttributes() { + *this = ::std::move(from); + } + + inline MatchingAttributes& operator=(MatchingAttributes&& 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 MatchingAttributes& default_instance(); + + enum TargetCase { + kTaskResourceAttributes = 1, + kClusterResourceAttributes = 2, + kExecutionQueueAttributes = 3, + TARGET_NOT_SET = 0, + }; + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const MatchingAttributes* internal_default_instance() { + return reinterpret_cast( + &_MatchingAttributes_default_instance_); + } + static constexpr int kIndexInFileMessages = + 5; + + void Swap(MatchingAttributes* other); + friend void swap(MatchingAttributes& a, MatchingAttributes& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline MatchingAttributes* New() const final { + return CreateMaybeMessage(nullptr); + } + + MatchingAttributes* 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 MatchingAttributes& from); + void MergeFrom(const MatchingAttributes& 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(MatchingAttributes* 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.TaskResourceAttributes task_resource_attributes = 1; + bool has_task_resource_attributes() const; + void clear_task_resource_attributes(); + static const int kTaskResourceAttributesFieldNumber = 1; + const ::flyteidl::admin::TaskResourceAttributes& task_resource_attributes() const; + ::flyteidl::admin::TaskResourceAttributes* release_task_resource_attributes(); + ::flyteidl::admin::TaskResourceAttributes* mutable_task_resource_attributes(); + void set_allocated_task_resource_attributes(::flyteidl::admin::TaskResourceAttributes* task_resource_attributes); + + // .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + bool has_cluster_resource_attributes() const; + void clear_cluster_resource_attributes(); + static const int kClusterResourceAttributesFieldNumber = 2; + const ::flyteidl::admin::ClusterResourceAttributes& cluster_resource_attributes() const; + ::flyteidl::admin::ClusterResourceAttributes* release_cluster_resource_attributes(); + ::flyteidl::admin::ClusterResourceAttributes* mutable_cluster_resource_attributes(); + void set_allocated_cluster_resource_attributes(::flyteidl::admin::ClusterResourceAttributes* cluster_resource_attributes); + + // .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + bool has_execution_queue_attributes() const; + void clear_execution_queue_attributes(); + static const int kExecutionQueueAttributesFieldNumber = 3; + const ::flyteidl::admin::ExecutionQueueAttributes& execution_queue_attributes() const; + ::flyteidl::admin::ExecutionQueueAttributes* release_execution_queue_attributes(); + ::flyteidl::admin::ExecutionQueueAttributes* mutable_execution_queue_attributes(); + void set_allocated_execution_queue_attributes(::flyteidl::admin::ExecutionQueueAttributes* execution_queue_attributes); + + void clear_target(); + TargetCase target_case() const; + // @@protoc_insertion_point(class_scope:flyteidl.admin.MatchingAttributes) + private: + class HasBitSetters; + void set_has_task_resource_attributes(); + void set_has_cluster_resource_attributes(); + void set_has_execution_queue_attributes(); + + inline bool has_target() const; + inline void clear_has_target(); + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + union TargetUnion { + TargetUnion() {} + ::flyteidl::admin::TaskResourceAttributes* task_resource_attributes_; + ::flyteidl::admin::ClusterResourceAttributes* cluster_resource_attributes_; + ::flyteidl::admin::ExecutionQueueAttributes* execution_queue_attributes_; + } target_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::uint32 _oneof_case_[1]; + + friend struct ::TableStruct_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// TaskResourceSpec + +// string cpu = 1; +inline void TaskResourceSpec::clear_cpu() { + cpu_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskResourceSpec::cpu() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceSpec.cpu) + return cpu_.GetNoArena(); +} +inline void TaskResourceSpec::set_cpu(const ::std::string& value) { + + cpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.TaskResourceSpec.cpu) +} +#if LANG_CXX11 +inline void TaskResourceSpec::set_cpu(::std::string&& value) { + + cpu_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskResourceSpec.cpu) +} +#endif +inline void TaskResourceSpec::set_cpu(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + cpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskResourceSpec.cpu) +} +inline void TaskResourceSpec::set_cpu(const char* value, size_t size) { + + cpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskResourceSpec.cpu) +} +inline ::std::string* TaskResourceSpec::mutable_cpu() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceSpec.cpu) + return cpu_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskResourceSpec::release_cpu() { + // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceSpec.cpu) + + return cpu_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskResourceSpec::set_allocated_cpu(::std::string* cpu) { + if (cpu != nullptr) { + + } else { + + } + cpu_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cpu); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceSpec.cpu) +} + +// string gpu = 2; +inline void TaskResourceSpec::clear_gpu() { + gpu_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskResourceSpec::gpu() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceSpec.gpu) + return gpu_.GetNoArena(); +} +inline void TaskResourceSpec::set_gpu(const ::std::string& value) { + + gpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.TaskResourceSpec.gpu) +} +#if LANG_CXX11 +inline void TaskResourceSpec::set_gpu(::std::string&& value) { + + gpu_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskResourceSpec.gpu) +} +#endif +inline void TaskResourceSpec::set_gpu(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + gpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskResourceSpec.gpu) +} +inline void TaskResourceSpec::set_gpu(const char* value, size_t size) { + + gpu_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskResourceSpec.gpu) +} +inline ::std::string* TaskResourceSpec::mutable_gpu() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceSpec.gpu) + return gpu_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskResourceSpec::release_gpu() { + // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceSpec.gpu) + + return gpu_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskResourceSpec::set_allocated_gpu(::std::string* gpu) { + if (gpu != nullptr) { + + } else { + + } + gpu_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), gpu); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceSpec.gpu) +} + +// string memory = 3; +inline void TaskResourceSpec::clear_memory() { + memory_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskResourceSpec::memory() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceSpec.memory) + return memory_.GetNoArena(); +} +inline void TaskResourceSpec::set_memory(const ::std::string& value) { + + memory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.TaskResourceSpec.memory) +} +#if LANG_CXX11 +inline void TaskResourceSpec::set_memory(::std::string&& value) { + + memory_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskResourceSpec.memory) +} +#endif +inline void TaskResourceSpec::set_memory(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + memory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskResourceSpec.memory) +} +inline void TaskResourceSpec::set_memory(const char* value, size_t size) { + + memory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskResourceSpec.memory) +} +inline ::std::string* TaskResourceSpec::mutable_memory() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceSpec.memory) + return memory_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskResourceSpec::release_memory() { + // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceSpec.memory) + + return memory_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskResourceSpec::set_allocated_memory(::std::string* memory) { + if (memory != nullptr) { + + } else { + + } + memory_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), memory); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceSpec.memory) +} + +// string storage = 4; +inline void TaskResourceSpec::clear_storage() { + storage_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& TaskResourceSpec::storage() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceSpec.storage) + return storage_.GetNoArena(); +} +inline void TaskResourceSpec::set_storage(const ::std::string& value) { + + storage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.TaskResourceSpec.storage) +} +#if LANG_CXX11 +inline void TaskResourceSpec::set_storage(::std::string&& value) { + + storage_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.TaskResourceSpec.storage) +} +#endif +inline void TaskResourceSpec::set_storage(const char* value) { + GOOGLE_DCHECK(value != nullptr); + + storage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.TaskResourceSpec.storage) +} +inline void TaskResourceSpec::set_storage(const char* value, size_t size) { + + storage_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), + ::std::string(reinterpret_cast(value), size)); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.TaskResourceSpec.storage) +} +inline ::std::string* TaskResourceSpec::mutable_storage() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceSpec.storage) + return storage_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* TaskResourceSpec::release_storage() { + // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceSpec.storage) + + return storage_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void TaskResourceSpec::set_allocated_storage(::std::string* storage) { + if (storage != nullptr) { + + } else { + + } + storage_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), storage); + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceSpec.storage) +} + +// ------------------------------------------------------------------- + +// TaskResourceAttributes + +// .flyteidl.admin.TaskResourceSpec defaults = 1; +inline bool TaskResourceAttributes::has_defaults() const { + return this != internal_default_instance() && defaults_ != nullptr; +} +inline void TaskResourceAttributes::clear_defaults() { + if (GetArenaNoVirtual() == nullptr && defaults_ != nullptr) { + delete defaults_; + } + defaults_ = nullptr; +} +inline const ::flyteidl::admin::TaskResourceSpec& TaskResourceAttributes::defaults() const { + const ::flyteidl::admin::TaskResourceSpec* p = defaults_; + // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceAttributes.defaults) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_TaskResourceSpec_default_instance_); +} +inline ::flyteidl::admin::TaskResourceSpec* TaskResourceAttributes::release_defaults() { + // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceAttributes.defaults) + + ::flyteidl::admin::TaskResourceSpec* temp = defaults_; + defaults_ = nullptr; + return temp; +} +inline ::flyteidl::admin::TaskResourceSpec* TaskResourceAttributes::mutable_defaults() { + + if (defaults_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::TaskResourceSpec>(GetArenaNoVirtual()); + defaults_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceAttributes.defaults) + return defaults_; +} +inline void TaskResourceAttributes::set_allocated_defaults(::flyteidl::admin::TaskResourceSpec* defaults) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete defaults_; + } + if (defaults) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + defaults = ::google::protobuf::internal::GetOwnedMessage( + message_arena, defaults, submessage_arena); + } + + } else { + + } + defaults_ = defaults; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceAttributes.defaults) +} + +// .flyteidl.admin.TaskResourceSpec limits = 2; +inline bool TaskResourceAttributes::has_limits() const { + return this != internal_default_instance() && limits_ != nullptr; +} +inline void TaskResourceAttributes::clear_limits() { + if (GetArenaNoVirtual() == nullptr && limits_ != nullptr) { + delete limits_; + } + limits_ = nullptr; +} +inline const ::flyteidl::admin::TaskResourceSpec& TaskResourceAttributes::limits() const { + const ::flyteidl::admin::TaskResourceSpec* p = limits_; + // @@protoc_insertion_point(field_get:flyteidl.admin.TaskResourceAttributes.limits) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_TaskResourceSpec_default_instance_); +} +inline ::flyteidl::admin::TaskResourceSpec* TaskResourceAttributes::release_limits() { + // @@protoc_insertion_point(field_release:flyteidl.admin.TaskResourceAttributes.limits) + + ::flyteidl::admin::TaskResourceSpec* temp = limits_; + limits_ = nullptr; + return temp; +} +inline ::flyteidl::admin::TaskResourceSpec* TaskResourceAttributes::mutable_limits() { + + if (limits_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::TaskResourceSpec>(GetArenaNoVirtual()); + limits_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.TaskResourceAttributes.limits) + return limits_; +} +inline void TaskResourceAttributes::set_allocated_limits(::flyteidl::admin::TaskResourceSpec* limits) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete limits_; + } + if (limits) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + limits = ::google::protobuf::internal::GetOwnedMessage( + message_arena, limits, submessage_arena); + } + + } else { + + } + limits_ = limits; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.TaskResourceAttributes.limits) +} + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ClusterResourceAttributes + +// map attributes = 1; +inline int ClusterResourceAttributes::attributes_size() const { + return attributes_.size(); +} +inline void ClusterResourceAttributes::clear_attributes() { + attributes_.Clear(); +} +inline const ::google::protobuf::Map< ::std::string, ::std::string >& +ClusterResourceAttributes::attributes() const { + // @@protoc_insertion_point(field_map:flyteidl.admin.ClusterResourceAttributes.attributes) + return attributes_.GetMap(); +} +inline ::google::protobuf::Map< ::std::string, ::std::string >* +ClusterResourceAttributes::mutable_attributes() { + // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.ClusterResourceAttributes.attributes) + return attributes_.MutableMap(); +} + +// ------------------------------------------------------------------- + +// ExecutionQueueAttributes + +// repeated string tags = 1; +inline int ExecutionQueueAttributes::tags_size() const { + return tags_.size(); +} +inline void ExecutionQueueAttributes::clear_tags() { + tags_.Clear(); +} +inline const ::std::string& ExecutionQueueAttributes::tags(int index) const { + // @@protoc_insertion_point(field_get:flyteidl.admin.ExecutionQueueAttributes.tags) + return tags_.Get(index); +} +inline ::std::string* ExecutionQueueAttributes::mutable_tags(int index) { + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ExecutionQueueAttributes.tags) + return tags_.Mutable(index); +} +inline void ExecutionQueueAttributes::set_tags(int index, const ::std::string& value) { + // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionQueueAttributes.tags) + tags_.Mutable(index)->assign(value); +} +#if LANG_CXX11 +inline void ExecutionQueueAttributes::set_tags(int index, ::std::string&& value) { + // @@protoc_insertion_point(field_set:flyteidl.admin.ExecutionQueueAttributes.tags) + tags_.Mutable(index)->assign(std::move(value)); +} +#endif +inline void ExecutionQueueAttributes::set_tags(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + tags_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:flyteidl.admin.ExecutionQueueAttributes.tags) +} +inline void ExecutionQueueAttributes::set_tags(int index, const char* value, size_t size) { + tags_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:flyteidl.admin.ExecutionQueueAttributes.tags) +} +inline ::std::string* ExecutionQueueAttributes::add_tags() { + // @@protoc_insertion_point(field_add_mutable:flyteidl.admin.ExecutionQueueAttributes.tags) + return tags_.Add(); +} +inline void ExecutionQueueAttributes::add_tags(const ::std::string& value) { + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionQueueAttributes.tags) +} +#if LANG_CXX11 +inline void ExecutionQueueAttributes::add_tags(::std::string&& value) { + tags_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:flyteidl.admin.ExecutionQueueAttributes.tags) +} +#endif +inline void ExecutionQueueAttributes::add_tags(const char* value) { + GOOGLE_DCHECK(value != nullptr); + tags_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:flyteidl.admin.ExecutionQueueAttributes.tags) +} +inline void ExecutionQueueAttributes::add_tags(const char* value, size_t size) { + tags_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:flyteidl.admin.ExecutionQueueAttributes.tags) +} +inline const ::google::protobuf::RepeatedPtrField<::std::string>& +ExecutionQueueAttributes::tags() const { + // @@protoc_insertion_point(field_list:flyteidl.admin.ExecutionQueueAttributes.tags) + return tags_; +} +inline ::google::protobuf::RepeatedPtrField<::std::string>* +ExecutionQueueAttributes::mutable_tags() { + // @@protoc_insertion_point(field_mutable_list:flyteidl.admin.ExecutionQueueAttributes.tags) + return &tags_; +} + +// ------------------------------------------------------------------- + +// MatchingAttributes + +// .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; +inline bool MatchingAttributes::has_task_resource_attributes() const { + return target_case() == kTaskResourceAttributes; +} +inline void MatchingAttributes::set_has_task_resource_attributes() { + _oneof_case_[0] = kTaskResourceAttributes; +} +inline void MatchingAttributes::clear_task_resource_attributes() { + if (has_task_resource_attributes()) { + delete target_.task_resource_attributes_; + clear_has_target(); + } +} +inline ::flyteidl::admin::TaskResourceAttributes* MatchingAttributes::release_task_resource_attributes() { + // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.task_resource_attributes) + if (has_task_resource_attributes()) { + clear_has_target(); + ::flyteidl::admin::TaskResourceAttributes* temp = target_.task_resource_attributes_; + target_.task_resource_attributes_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::TaskResourceAttributes& MatchingAttributes::task_resource_attributes() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.task_resource_attributes) + return has_task_resource_attributes() + ? *target_.task_resource_attributes_ + : *reinterpret_cast< ::flyteidl::admin::TaskResourceAttributes*>(&::flyteidl::admin::_TaskResourceAttributes_default_instance_); +} +inline ::flyteidl::admin::TaskResourceAttributes* MatchingAttributes::mutable_task_resource_attributes() { + if (!has_task_resource_attributes()) { + clear_target(); + set_has_task_resource_attributes(); + target_.task_resource_attributes_ = CreateMaybeMessage< ::flyteidl::admin::TaskResourceAttributes >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.task_resource_attributes) + return target_.task_resource_attributes_; +} + +// .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; +inline bool MatchingAttributes::has_cluster_resource_attributes() const { + return target_case() == kClusterResourceAttributes; +} +inline void MatchingAttributes::set_has_cluster_resource_attributes() { + _oneof_case_[0] = kClusterResourceAttributes; +} +inline void MatchingAttributes::clear_cluster_resource_attributes() { + if (has_cluster_resource_attributes()) { + delete target_.cluster_resource_attributes_; + clear_has_target(); + } +} +inline ::flyteidl::admin::ClusterResourceAttributes* MatchingAttributes::release_cluster_resource_attributes() { + // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.cluster_resource_attributes) + if (has_cluster_resource_attributes()) { + clear_has_target(); + ::flyteidl::admin::ClusterResourceAttributes* temp = target_.cluster_resource_attributes_; + target_.cluster_resource_attributes_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::ClusterResourceAttributes& MatchingAttributes::cluster_resource_attributes() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.cluster_resource_attributes) + return has_cluster_resource_attributes() + ? *target_.cluster_resource_attributes_ + : *reinterpret_cast< ::flyteidl::admin::ClusterResourceAttributes*>(&::flyteidl::admin::_ClusterResourceAttributes_default_instance_); +} +inline ::flyteidl::admin::ClusterResourceAttributes* MatchingAttributes::mutable_cluster_resource_attributes() { + if (!has_cluster_resource_attributes()) { + clear_target(); + set_has_cluster_resource_attributes(); + target_.cluster_resource_attributes_ = CreateMaybeMessage< ::flyteidl::admin::ClusterResourceAttributes >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.cluster_resource_attributes) + return target_.cluster_resource_attributes_; +} + +// .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; +inline bool MatchingAttributes::has_execution_queue_attributes() const { + return target_case() == kExecutionQueueAttributes; +} +inline void MatchingAttributes::set_has_execution_queue_attributes() { + _oneof_case_[0] = kExecutionQueueAttributes; +} +inline void MatchingAttributes::clear_execution_queue_attributes() { + if (has_execution_queue_attributes()) { + delete target_.execution_queue_attributes_; + clear_has_target(); + } +} +inline ::flyteidl::admin::ExecutionQueueAttributes* MatchingAttributes::release_execution_queue_attributes() { + // @@protoc_insertion_point(field_release:flyteidl.admin.MatchingAttributes.execution_queue_attributes) + if (has_execution_queue_attributes()) { + clear_has_target(); + ::flyteidl::admin::ExecutionQueueAttributes* temp = target_.execution_queue_attributes_; + target_.execution_queue_attributes_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::flyteidl::admin::ExecutionQueueAttributes& MatchingAttributes::execution_queue_attributes() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.MatchingAttributes.execution_queue_attributes) + return has_execution_queue_attributes() + ? *target_.execution_queue_attributes_ + : *reinterpret_cast< ::flyteidl::admin::ExecutionQueueAttributes*>(&::flyteidl::admin::_ExecutionQueueAttributes_default_instance_); +} +inline ::flyteidl::admin::ExecutionQueueAttributes* MatchingAttributes::mutable_execution_queue_attributes() { + if (!has_execution_queue_attributes()) { + clear_target(); + set_has_execution_queue_attributes(); + target_.execution_queue_attributes_ = CreateMaybeMessage< ::flyteidl::admin::ExecutionQueueAttributes >( + GetArenaNoVirtual()); + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.MatchingAttributes.execution_queue_attributes) + return target_.execution_queue_attributes_; +} + +inline bool MatchingAttributes::has_target() const { + return target_case() != TARGET_NOT_SET; +} +inline void MatchingAttributes::clear_has_target() { + _oneof_case_[0] = TARGET_NOT_SET; +} +inline MatchingAttributes::TargetCase MatchingAttributes::target_case() const { + return MatchingAttributes::TargetCase(_oneof_case_[0]); +} +#ifdef __GNUC__ + #pragma GCC diagnostic pop +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + + +// @@protoc_insertion_point(namespace_scope) + +} // namespace admin +} // namespace flyteidl + +namespace google { +namespace protobuf { + +template <> struct is_proto_enum< ::flyteidl::admin::MatchableResource> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::flyteidl::admin::MatchableResource>() { + return ::flyteidl::admin::MatchableResource_descriptor(); +} + +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) + +#include +#endif // PROTOBUF_INCLUDED_flyteidl_2fadmin_2fmatchable_5fresource_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.cc new file mode 100644 index 0000000000..ecf7b1271b --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.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/project_attributes.proto + +#include "flyteidl/admin/project_attributes.pb.h" +#include "flyteidl/admin/project_attributes.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/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.grpc.pb.h new file mode 100644 index 0000000000..8957c5cb16 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.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/project_attributes.proto +#ifndef GRPC_flyteidl_2fadmin_2fproject_5fattributes_2eproto__INCLUDED +#define GRPC_flyteidl_2fadmin_2fproject_5fattributes_2eproto__INCLUDED + +#include "flyteidl/admin/project_attributes.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_2fproject_5fattributes_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.cc new file mode 100644 index 0000000000..502c04eb3e --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.cc @@ -0,0 +1,1044 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/project_attributes.proto + +#include "flyteidl/admin/project_attributes.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<3> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_5fattributes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto; +namespace flyteidl { +namespace admin { +class ProjectAttributesDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ProjectAttributes_default_instance_; +class ProjectAttributesUpdateRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ProjectAttributesUpdateRequest_default_instance_; +class ProjectAttributesUpdateResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _ProjectAttributesUpdateResponse_default_instance_; +} // namespace admin +} // namespace flyteidl +static void InitDefaultsProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_ProjectAttributes_default_instance_; + new (ptr) ::flyteidl::admin::ProjectAttributes(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::ProjectAttributes::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, { + &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; + +static void InitDefaultsProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_ProjectAttributesUpdateRequest_default_instance_; + new (ptr) ::flyteidl::admin::ProjectAttributesUpdateRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::ProjectAttributesUpdateRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_ProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, { + &scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base,}}; + +static void InitDefaultsProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_ProjectAttributesUpdateResponse_default_instance_; + new (ptr) ::flyteidl::admin::ProjectAttributesUpdateResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::ProjectAttributesUpdateResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_ProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto}, {}}; + +void InitDefaults_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_ProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[3]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributes, project_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributes, matching_attributes_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesUpdateRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesUpdateRequest, attributes_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectAttributesUpdateResponse, _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::ProjectAttributes)}, + { 7, -1, sizeof(::flyteidl::admin::ProjectAttributesUpdateRequest)}, + { 13, -1, sizeof(::flyteidl::admin::ProjectAttributesUpdateResponse)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::admin::_ProjectAttributes_default_instance_), + reinterpret_cast(&::flyteidl::admin::_ProjectAttributesUpdateRequest_default_instance_), + reinterpret_cast(&::flyteidl::admin::_ProjectAttributesUpdateResponse_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto = { + {}, AddDescriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto, "flyteidl/admin/project_attributes.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto::offsets, + file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto, 3, file_level_enum_descriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fadmin_2fproject_5fattributes_2eproto[] = + "\n\'flyteidl/admin/project_attributes.prot" + "o\022\016flyteidl.admin\032\'flyteidl/admin/matcha" + "ble_resource.proto\"e\n\021ProjectAttributes\022" + "\017\n\007project\030\001 \001(\t\022\?\n\023matching_attributes\030" + "\002 \001(\0132\".flyteidl.admin.MatchingAttribute" + "s\"W\n\036ProjectAttributesUpdateRequest\0225\n\na" + "ttributes\030\001 \001(\0132!.flyteidl.admin.Project" + "Attributes\"!\n\037ProjectAttributesUpdateRes" + "ponseB3Z1github.com/lyft/flyteidl/gen/pb" + "-go/flyteidl/adminb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto = { + false, InitDefaults_flyteidl_2fadmin_2fproject_5fattributes_2eproto, + descriptor_table_protodef_flyteidl_2fadmin_2fproject_5fattributes_2eproto, + "flyteidl/admin/project_attributes.proto", &assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto, 386, +}; + +void AddDescriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[1] = + { + ::AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto, deps, 1); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fadmin_2fproject_5fattributes_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto(); return true; }(); +namespace flyteidl { +namespace admin { + +// =================================================================== + +void ProjectAttributes::InitAsDefaultInstance() { + ::flyteidl::admin::_ProjectAttributes_default_instance_._instance.get_mutable()->matching_attributes_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); +} +class ProjectAttributes::HasBitSetters { + public: + static const ::flyteidl::admin::MatchingAttributes& matching_attributes(const ProjectAttributes* msg); +}; + +const ::flyteidl::admin::MatchingAttributes& +ProjectAttributes::HasBitSetters::matching_attributes(const ProjectAttributes* msg) { + return *msg->matching_attributes_; +} +void ProjectAttributes::clear_matching_attributes() { + if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { + delete matching_attributes_; + } + matching_attributes_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ProjectAttributes::kProjectFieldNumber; +const int ProjectAttributes::kMatchingAttributesFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ProjectAttributes::ProjectAttributes() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributes) +} +ProjectAttributes::ProjectAttributes(const ProjectAttributes& 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_); + } + if (from.has_matching_attributes()) { + matching_attributes_ = new ::flyteidl::admin::MatchingAttributes(*from.matching_attributes_); + } else { + matching_attributes_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributes) +} + +void ProjectAttributes::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + matching_attributes_ = nullptr; +} + +ProjectAttributes::~ProjectAttributes() { + // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributes) + SharedDtor(); +} + +void ProjectAttributes::SharedDtor() { + project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete matching_attributes_; +} + +void ProjectAttributes::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ProjectAttributes& ProjectAttributes::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributes_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); + return *internal_default_instance(); +} + + +void ProjectAttributes::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributes) + ::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()); + if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { + delete matching_attributes_; + } + matching_attributes_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ProjectAttributes::_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.ProjectAttributes.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.MatchingAttributes matching_attributes = 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_matching_attributes(); + 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 ProjectAttributes::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.ProjectAttributes) + 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.ProjectAttributes.project")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.MatchingAttributes matching_attributes = 2; + case 2: { + if (static_cast< ::google::protobuf::uint8>(tag) == (18 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_matching_attributes())); + } 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.ProjectAttributes) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributes) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ProjectAttributes::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributes) + ::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.ProjectAttributes.project"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 1, this->project(), output); + } + + // .flyteidl.admin.MatchingAttributes matching_attributes = 2; + if (this->has_matching_attributes()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 2, HasBitSetters::matching_attributes(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.ProjectAttributes) +} + +::google::protobuf::uint8* ProjectAttributes::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributes) + ::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.ProjectAttributes.project"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 1, this->project(), target); + } + + // .flyteidl.admin.MatchingAttributes matching_attributes = 2; + if (this->has_matching_attributes()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, HasBitSetters::matching_attributes(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.ProjectAttributes) + return target; +} + +size_t ProjectAttributes::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributes) + 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()); + } + + // .flyteidl.admin.MatchingAttributes matching_attributes = 2; + if (this->has_matching_attributes()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *matching_attributes_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ProjectAttributes::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributes) + GOOGLE_DCHECK_NE(&from, this); + const ProjectAttributes* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributes) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributes) + MergeFrom(*source); + } +} + +void ProjectAttributes::MergeFrom(const ProjectAttributes& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributes) + 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.has_matching_attributes()) { + mutable_matching_attributes()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.matching_attributes()); + } +} + +void ProjectAttributes::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ProjectAttributes::CopyFrom(const ProjectAttributes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProjectAttributes::IsInitialized() const { + return true; +} + +void ProjectAttributes::Swap(ProjectAttributes* other) { + if (other == this) return; + InternalSwap(other); +} +void ProjectAttributes::InternalSwap(ProjectAttributes* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(matching_attributes_, other->matching_attributes_); +} + +::google::protobuf::Metadata ProjectAttributes::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ProjectAttributesUpdateRequest::InitAsDefaultInstance() { + ::flyteidl::admin::_ProjectAttributesUpdateRequest_default_instance_._instance.get_mutable()->attributes_ = const_cast< ::flyteidl::admin::ProjectAttributes*>( + ::flyteidl::admin::ProjectAttributes::internal_default_instance()); +} +class ProjectAttributesUpdateRequest::HasBitSetters { + public: + static const ::flyteidl::admin::ProjectAttributes& attributes(const ProjectAttributesUpdateRequest* msg); +}; + +const ::flyteidl::admin::ProjectAttributes& +ProjectAttributesUpdateRequest::HasBitSetters::attributes(const ProjectAttributesUpdateRequest* msg) { + return *msg->attributes_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int ProjectAttributesUpdateRequest::kAttributesFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ProjectAttributesUpdateRequest::ProjectAttributesUpdateRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributesUpdateRequest) +} +ProjectAttributesUpdateRequest::ProjectAttributesUpdateRequest(const ProjectAttributesUpdateRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_attributes()) { + attributes_ = new ::flyteidl::admin::ProjectAttributes(*from.attributes_); + } else { + attributes_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributesUpdateRequest) +} + +void ProjectAttributesUpdateRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_ProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); + attributes_ = nullptr; +} + +ProjectAttributesUpdateRequest::~ProjectAttributesUpdateRequest() { + // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributesUpdateRequest) + SharedDtor(); +} + +void ProjectAttributesUpdateRequest::SharedDtor() { + if (this != internal_default_instance()) delete attributes_; +} + +void ProjectAttributesUpdateRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ProjectAttributesUpdateRequest& ProjectAttributesUpdateRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); + return *internal_default_instance(); +} + + +void ProjectAttributesUpdateRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributesUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { + delete attributes_; + } + attributes_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ProjectAttributesUpdateRequest::_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.ProjectAttributes attributes = 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::ProjectAttributes::_InternalParse; + object = msg->mutable_attributes(); + 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 ProjectAttributesUpdateRequest::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.ProjectAttributesUpdateRequest) + 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.ProjectAttributes attributes = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_attributes())); + } 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.ProjectAttributesUpdateRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributesUpdateRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ProjectAttributesUpdateRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributesUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.ProjectAttributes attributes = 1; + if (this->has_attributes()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::attributes(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.ProjectAttributesUpdateRequest) +} + +::google::protobuf::uint8* ProjectAttributesUpdateRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributesUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.ProjectAttributes attributes = 1; + if (this->has_attributes()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::attributes(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.ProjectAttributesUpdateRequest) + return target; +} + +size_t ProjectAttributesUpdateRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributesUpdateRequest) + 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.ProjectAttributes attributes = 1; + if (this->has_attributes()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *attributes_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ProjectAttributesUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributesUpdateRequest) + GOOGLE_DCHECK_NE(&from, this); + const ProjectAttributesUpdateRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributesUpdateRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributesUpdateRequest) + MergeFrom(*source); + } +} + +void ProjectAttributesUpdateRequest::MergeFrom(const ProjectAttributesUpdateRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributesUpdateRequest) + 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_attributes()) { + mutable_attributes()->::flyteidl::admin::ProjectAttributes::MergeFrom(from.attributes()); + } +} + +void ProjectAttributesUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributesUpdateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ProjectAttributesUpdateRequest::CopyFrom(const ProjectAttributesUpdateRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributesUpdateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProjectAttributesUpdateRequest::IsInitialized() const { + return true; +} + +void ProjectAttributesUpdateRequest::Swap(ProjectAttributesUpdateRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void ProjectAttributesUpdateRequest::InternalSwap(ProjectAttributesUpdateRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(attributes_, other->attributes_); +} + +::google::protobuf::Metadata ProjectAttributesUpdateRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void ProjectAttributesUpdateResponse::InitAsDefaultInstance() { +} +class ProjectAttributesUpdateResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +ProjectAttributesUpdateResponse::ProjectAttributesUpdateResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.ProjectAttributesUpdateResponse) +} +ProjectAttributesUpdateResponse::ProjectAttributesUpdateResponse(const ProjectAttributesUpdateResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectAttributesUpdateResponse) +} + +void ProjectAttributesUpdateResponse::SharedCtor() { +} + +ProjectAttributesUpdateResponse::~ProjectAttributesUpdateResponse() { + // @@protoc_insertion_point(destructor:flyteidl.admin.ProjectAttributesUpdateResponse) + SharedDtor(); +} + +void ProjectAttributesUpdateResponse::SharedDtor() { +} + +void ProjectAttributesUpdateResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ProjectAttributesUpdateResponse& ProjectAttributesUpdateResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_ProjectAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fattributes_2eproto.base); + return *internal_default_instance(); +} + + +void ProjectAttributesUpdateResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.ProjectAttributesUpdateResponse) + ::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* ProjectAttributesUpdateResponse::_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 ProjectAttributesUpdateResponse::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.ProjectAttributesUpdateResponse) + 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.ProjectAttributesUpdateResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.ProjectAttributesUpdateResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ProjectAttributesUpdateResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.ProjectAttributesUpdateResponse) + ::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.ProjectAttributesUpdateResponse) +} + +::google::protobuf::uint8* ProjectAttributesUpdateResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.ProjectAttributesUpdateResponse) + ::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.ProjectAttributesUpdateResponse) + return target; +} + +size_t ProjectAttributesUpdateResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.ProjectAttributesUpdateResponse) + 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 ProjectAttributesUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.ProjectAttributesUpdateResponse) + GOOGLE_DCHECK_NE(&from, this); + const ProjectAttributesUpdateResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.ProjectAttributesUpdateResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.ProjectAttributesUpdateResponse) + MergeFrom(*source); + } +} + +void ProjectAttributesUpdateResponse::MergeFrom(const ProjectAttributesUpdateResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.ProjectAttributesUpdateResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void ProjectAttributesUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.ProjectAttributesUpdateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ProjectAttributesUpdateResponse::CopyFrom(const ProjectAttributesUpdateResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.ProjectAttributesUpdateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ProjectAttributesUpdateResponse::IsInitialized() const { + return true; +} + +void ProjectAttributesUpdateResponse::Swap(ProjectAttributesUpdateResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void ProjectAttributesUpdateResponse::InternalSwap(ProjectAttributesUpdateResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata ProjectAttributesUpdateResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fattributes_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fattributes_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributes >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributes >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributesUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributesUpdateRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributesUpdateRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectAttributesUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectAttributesUpdateResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::ProjectAttributesUpdateResponse >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.h new file mode 100644 index 0000000000..6c929abe39 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/project_attributes.pb.h @@ -0,0 +1,609 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/project_attributes.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_5fattributes_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fproject_5fattributes_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 +#include "flyteidl/admin/matchable_resource.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_5fattributes_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fadmin_2fproject_5fattributes_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[3] + 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_2fproject_5fattributes_2eproto(); +namespace flyteidl { +namespace admin { +class ProjectAttributes; +class ProjectAttributesDefaultTypeInternal; +extern ProjectAttributesDefaultTypeInternal _ProjectAttributes_default_instance_; +class ProjectAttributesUpdateRequest; +class ProjectAttributesUpdateRequestDefaultTypeInternal; +extern ProjectAttributesUpdateRequestDefaultTypeInternal _ProjectAttributesUpdateRequest_default_instance_; +class ProjectAttributesUpdateResponse; +class ProjectAttributesUpdateResponseDefaultTypeInternal; +extern ProjectAttributesUpdateResponseDefaultTypeInternal _ProjectAttributesUpdateResponse_default_instance_; +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::admin::ProjectAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributes>(Arena*); +template<> ::flyteidl::admin::ProjectAttributesUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributesUpdateRequest>(Arena*); +template<> ::flyteidl::admin::ProjectAttributesUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectAttributesUpdateResponse>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace admin { + +// =================================================================== + +class ProjectAttributes final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributes) */ { + public: + ProjectAttributes(); + virtual ~ProjectAttributes(); + + ProjectAttributes(const ProjectAttributes& from); + + inline ProjectAttributes& operator=(const ProjectAttributes& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ProjectAttributes(ProjectAttributes&& from) noexcept + : ProjectAttributes() { + *this = ::std::move(from); + } + + inline ProjectAttributes& operator=(ProjectAttributes&& 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 ProjectAttributes& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ProjectAttributes* internal_default_instance() { + return reinterpret_cast( + &_ProjectAttributes_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(ProjectAttributes* other); + friend void swap(ProjectAttributes& a, ProjectAttributes& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ProjectAttributes* New() const final { + return CreateMaybeMessage(nullptr); + } + + ProjectAttributes* 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 ProjectAttributes& from); + void MergeFrom(const ProjectAttributes& 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(ProjectAttributes* 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); + + // .flyteidl.admin.MatchingAttributes matching_attributes = 2; + bool has_matching_attributes() const; + void clear_matching_attributes(); + static const int kMatchingAttributesFieldNumber = 2; + const ::flyteidl::admin::MatchingAttributes& matching_attributes() const; + ::flyteidl::admin::MatchingAttributes* release_matching_attributes(); + ::flyteidl::admin::MatchingAttributes* mutable_matching_attributes(); + void set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributes) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr project_; + ::flyteidl::admin::MatchingAttributes* matching_attributes_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; +}; +// ------------------------------------------------------------------- + +class ProjectAttributesUpdateRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributesUpdateRequest) */ { + public: + ProjectAttributesUpdateRequest(); + virtual ~ProjectAttributesUpdateRequest(); + + ProjectAttributesUpdateRequest(const ProjectAttributesUpdateRequest& from); + + inline ProjectAttributesUpdateRequest& operator=(const ProjectAttributesUpdateRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ProjectAttributesUpdateRequest(ProjectAttributesUpdateRequest&& from) noexcept + : ProjectAttributesUpdateRequest() { + *this = ::std::move(from); + } + + inline ProjectAttributesUpdateRequest& operator=(ProjectAttributesUpdateRequest&& 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 ProjectAttributesUpdateRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ProjectAttributesUpdateRequest* internal_default_instance() { + return reinterpret_cast( + &_ProjectAttributesUpdateRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(ProjectAttributesUpdateRequest* other); + friend void swap(ProjectAttributesUpdateRequest& a, ProjectAttributesUpdateRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ProjectAttributesUpdateRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + ProjectAttributesUpdateRequest* 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 ProjectAttributesUpdateRequest& from); + void MergeFrom(const ProjectAttributesUpdateRequest& 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(ProjectAttributesUpdateRequest* 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.ProjectAttributes attributes = 1; + bool has_attributes() const; + void clear_attributes(); + static const int kAttributesFieldNumber = 1; + const ::flyteidl::admin::ProjectAttributes& attributes() const; + ::flyteidl::admin::ProjectAttributes* release_attributes(); + ::flyteidl::admin::ProjectAttributes* mutable_attributes(); + void set_allocated_attributes(::flyteidl::admin::ProjectAttributes* attributes); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesUpdateRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::ProjectAttributes* attributes_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; +}; +// ------------------------------------------------------------------- + +class ProjectAttributesUpdateResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectAttributesUpdateResponse) */ { + public: + ProjectAttributesUpdateResponse(); + virtual ~ProjectAttributesUpdateResponse(); + + ProjectAttributesUpdateResponse(const ProjectAttributesUpdateResponse& from); + + inline ProjectAttributesUpdateResponse& operator=(const ProjectAttributesUpdateResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + ProjectAttributesUpdateResponse(ProjectAttributesUpdateResponse&& from) noexcept + : ProjectAttributesUpdateResponse() { + *this = ::std::move(from); + } + + inline ProjectAttributesUpdateResponse& operator=(ProjectAttributesUpdateResponse&& 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 ProjectAttributesUpdateResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ProjectAttributesUpdateResponse* internal_default_instance() { + return reinterpret_cast( + &_ProjectAttributesUpdateResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(ProjectAttributesUpdateResponse* other); + friend void swap(ProjectAttributesUpdateResponse& a, ProjectAttributesUpdateResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline ProjectAttributesUpdateResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + ProjectAttributesUpdateResponse* 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 ProjectAttributesUpdateResponse& from); + void MergeFrom(const ProjectAttributesUpdateResponse& 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(ProjectAttributesUpdateResponse* 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.ProjectAttributesUpdateResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fattributes_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ProjectAttributes + +// string project = 1; +inline void ProjectAttributes::clear_project() { + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& ProjectAttributes::project() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributes.project) + return project_.GetNoArena(); +} +inline void ProjectAttributes::set_project(const ::std::string& value) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.ProjectAttributes.project) +} +#if LANG_CXX11 +inline void ProjectAttributes::set_project(::std::string&& value) { + + project_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.ProjectAttributes.project) +} +#endif +inline void ProjectAttributes::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.ProjectAttributes.project) +} +inline void ProjectAttributes::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.ProjectAttributes.project) +} +inline ::std::string* ProjectAttributes::mutable_project() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributes.project) + return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* ProjectAttributes::release_project() { + // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributes.project) + + return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void ProjectAttributes::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.ProjectAttributes.project) +} + +// .flyteidl.admin.MatchingAttributes matching_attributes = 2; +inline bool ProjectAttributes::has_matching_attributes() const { + return this != internal_default_instance() && matching_attributes_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& ProjectAttributes::matching_attributes() const { + const ::flyteidl::admin::MatchingAttributes* p = matching_attributes_; + // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributes.matching_attributes) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* ProjectAttributes::release_matching_attributes() { + // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributes.matching_attributes) + + ::flyteidl::admin::MatchingAttributes* temp = matching_attributes_; + matching_attributes_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* ProjectAttributes::mutable_matching_attributes() { + + if (matching_attributes_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + matching_attributes_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributes.matching_attributes) + return matching_attributes_; +} +inline void ProjectAttributes::set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(matching_attributes_); + } + if (matching_attributes) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + matching_attributes = ::google::protobuf::internal::GetOwnedMessage( + message_arena, matching_attributes, submessage_arena); + } + + } else { + + } + matching_attributes_ = matching_attributes; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributes.matching_attributes) +} + +// ------------------------------------------------------------------- + +// ProjectAttributesUpdateRequest + +// .flyteidl.admin.ProjectAttributes attributes = 1; +inline bool ProjectAttributesUpdateRequest::has_attributes() const { + return this != internal_default_instance() && attributes_ != nullptr; +} +inline void ProjectAttributesUpdateRequest::clear_attributes() { + if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { + delete attributes_; + } + attributes_ = nullptr; +} +inline const ::flyteidl::admin::ProjectAttributes& ProjectAttributesUpdateRequest::attributes() const { + const ::flyteidl::admin::ProjectAttributes* p = attributes_; + // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectAttributesUpdateRequest.attributes) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_ProjectAttributes_default_instance_); +} +inline ::flyteidl::admin::ProjectAttributes* ProjectAttributesUpdateRequest::release_attributes() { + // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectAttributesUpdateRequest.attributes) + + ::flyteidl::admin::ProjectAttributes* temp = attributes_; + attributes_ = nullptr; + return temp; +} +inline ::flyteidl::admin::ProjectAttributes* ProjectAttributesUpdateRequest::mutable_attributes() { + + if (attributes_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::ProjectAttributes>(GetArenaNoVirtual()); + attributes_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectAttributesUpdateRequest.attributes) + return attributes_; +} +inline void ProjectAttributesUpdateRequest::set_allocated_attributes(::flyteidl::admin::ProjectAttributes* attributes) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete attributes_; + } + if (attributes) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + attributes = ::google::protobuf::internal::GetOwnedMessage( + message_arena, attributes, submessage_arena); + } + + } else { + + } + attributes_ = attributes; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectAttributesUpdateRequest.attributes) +} + +// ------------------------------------------------------------------- + +// ProjectAttributesUpdateResponse + +#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_2fproject_5fattributes_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.cc index a68b5b8b3d..bc2562ee54 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.cc @@ -16,14 +16,10 @@ // @@protoc_insertion_point(includes) #include -extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_ProjectDomainAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fmatchable_5fresource_2eproto ::google::protobuf::internal::SCCInfo<3> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; namespace flyteidl { namespace admin { -class ProjectDomainAttributes_AttributesEntry_DoNotUseDefaultTypeInternal { - public: - ::google::protobuf::internal::ExplicitlyConstructed _instance; -} _ProjectDomainAttributes_AttributesEntry_DoNotUse_default_instance_; class ProjectDomainAttributesDefaultTypeInternal { public: ::google::protobuf::internal::ExplicitlyConstructed _instance; @@ -38,19 +34,6 @@ class ProjectDomainAttributesUpdateResponseDefaultTypeInternal { } _ProjectDomainAttributesUpdateResponse_default_instance_; } // namespace admin } // namespace flyteidl -static void InitDefaultsProjectDomainAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - GOOGLE_PROTOBUF_VERIFY_VERSION; - - { - void* ptr = &::flyteidl::admin::_ProjectDomainAttributes_AttributesEntry_DoNotUse_default_instance_; - new (ptr) ::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse(); - } - ::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse::InitAsDefaultInstance(); -} - -::google::protobuf::internal::SCCInfo<0> scc_info_ProjectDomainAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = - {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectDomainAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, {}}; - static void InitDefaultsProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -64,7 +47,7 @@ static void InitDefaultsProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdom ::google::protobuf::internal::SCCInfo<1> scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, { - &scc_info_ProjectDomainAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base,}}; + &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; static void InitDefaultsProjectDomainAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -96,26 +79,16 @@ ::google::protobuf::internal::SCCInfo<0> scc_info_ProjectDomainAttributesUpdateR {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsProjectDomainAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto}, {}}; void InitDefaults_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { - ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributes_AttributesEntry_DoNotUse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributesUpdateRequest_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); ::google::protobuf::internal::InitSCC(&scc_info_ProjectDomainAttributesUpdateResponse_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); } -::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[4]; +::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[3]; constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = nullptr; constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = nullptr; const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse, _has_bits_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse, key_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse, value_), - 0, - 1, ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, _internal_metadata_), ~0u, // no _extensions_ @@ -123,7 +96,7 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fproject_5fdomain ~0u, // no _weak_field_map_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, project_), PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, domain_), - PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, attributes_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributes, matching_attributes_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::flyteidl::admin::ProjectDomainAttributesUpdateRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -137,14 +110,12 @@ const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fproject_5fdomain ~0u, // no _weak_field_map_ }; static const ::google::protobuf::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { - { 0, 7, sizeof(::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse)}, - { 9, -1, sizeof(::flyteidl::admin::ProjectDomainAttributes)}, - { 17, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesUpdateRequest)}, - { 23, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesUpdateResponse)}, + { 0, -1, sizeof(::flyteidl::admin::ProjectDomainAttributes)}, + { 8, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesUpdateRequest)}, + { 14, -1, sizeof(::flyteidl::admin::ProjectDomainAttributesUpdateResponse)}, }; static ::google::protobuf::Message const * const file_default_instances[] = { - reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributes_AttributesEntry_DoNotUse_default_instance_), reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributes_default_instance_), reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributesUpdateRequest_default_instance_), reinterpret_cast(&::flyteidl::admin::_ProjectDomainAttributesUpdateResponse_default_instance_), @@ -153,34 +124,34 @@ static ::google::protobuf::Message const * const file_default_instances[] = { ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = { {}, AddDescriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, "flyteidl/admin/project_domain_attributes.proto", schemas, file_default_instances, TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto::offsets, - file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, 4, file_level_enum_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, + file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, 3, file_level_enum_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, }; const char descriptor_table_protodef_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[] = "\n.flyteidl/admin/project_domain_attribut" - "es.proto\022\016flyteidl.admin\"\272\001\n\027ProjectDoma" + "es.proto\022\016flyteidl.admin\032\'flyteidl/admin" + "/matchable_resource.proto\"{\n\027ProjectDoma" "inAttributes\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030" - "\002 \001(\t\022K\n\nattributes\030\003 \003(\01327.flyteidl.adm" - "in.ProjectDomainAttributes.AttributesEnt" - "ry\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - "lue\030\002 \001(\t:\0028\001\"c\n$ProjectDomainAttributes" - "UpdateRequest\022;\n\nattributes\030\001 \001(\0132\'.flyt" - "eidl.admin.ProjectDomainAttributes\"\'\n%Pr" - "ojectDomainAttributesUpdateResponseB3Z1g" - "ithub.com/lyft/flyteidl/gen/pb-go/flytei" - "dl/adminb\006proto3" + "\002 \001(\t\022\?\n\023matching_attributes\030\003 \001(\0132\".fly" + "teidl.admin.MatchingAttributes\"c\n$Projec" + "tDomainAttributesUpdateRequest\022;\n\nattrib" + "utes\030\001 \001(\0132\'.flyteidl.admin.ProjectDomai" + "nAttributes\"\'\n%ProjectDomainAttributesUp" + "dateResponseB3Z1github.com/lyft/flyteidl" + "/gen/pb-go/flyteidl/adminb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto = { false, InitDefaults_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, descriptor_table_protodef_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, - "flyteidl/admin/project_domain_attributes.proto", &assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, 456, + "flyteidl/admin/project_domain_attributes.proto", &assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, 433, }; void AddDescriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto() { static constexpr ::google::protobuf::internal::InitFunc deps[1] = { + ::AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, deps, 0); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, deps, 1); } // Force running AddDescriptors() at dynamic initialization time. @@ -188,59 +159,31 @@ static bool dynamic_init_dummy_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_ namespace flyteidl { namespace admin { -// =================================================================== - -ProjectDomainAttributes_AttributesEntry_DoNotUse::ProjectDomainAttributes_AttributesEntry_DoNotUse() {} -ProjectDomainAttributes_AttributesEntry_DoNotUse::ProjectDomainAttributes_AttributesEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena) {} -void ProjectDomainAttributes_AttributesEntry_DoNotUse::MergeFrom(const ProjectDomainAttributes_AttributesEntry_DoNotUse& other) { - MergeFromInternal(other); -} -::google::protobuf::Metadata ProjectDomainAttributes_AttributesEntry_DoNotUse::GetMetadata() const { - ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto); - return ::file_level_metadata_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto[0]; -} -void ProjectDomainAttributes_AttributesEntry_DoNotUse::MergeFrom( - const ::google::protobuf::Message& other) { - ::google::protobuf::Message::MergeFrom(other); -} - -#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER -bool ProjectDomainAttributes_AttributesEntry_DoNotUse::_ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx) { - using MF = ::google::protobuf::internal::MapField< - ProjectDomainAttributes_AttributesEntry_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.ProjectDomainAttributes.AttributesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributes.AttributesEntry.value")); -#undef DO_ - return true; -} -#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER - - // =================================================================== void ProjectDomainAttributes::InitAsDefaultInstance() { + ::flyteidl::admin::_ProjectDomainAttributes_default_instance_._instance.get_mutable()->matching_attributes_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); } class ProjectDomainAttributes::HasBitSetters { public: + static const ::flyteidl::admin::MatchingAttributes& matching_attributes(const ProjectDomainAttributes* msg); }; +const ::flyteidl::admin::MatchingAttributes& +ProjectDomainAttributes::HasBitSetters::matching_attributes(const ProjectDomainAttributes* msg) { + return *msg->matching_attributes_; +} +void ProjectDomainAttributes::clear_matching_attributes() { + if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { + delete matching_attributes_; + } + matching_attributes_ = nullptr; +} #if !defined(_MSC_VER) || _MSC_VER >= 1900 const int ProjectDomainAttributes::kProjectFieldNumber; const int ProjectDomainAttributes::kDomainFieldNumber; -const int ProjectDomainAttributes::kAttributesFieldNumber; +const int ProjectDomainAttributes::kMatchingAttributesFieldNumber; #endif // !defined(_MSC_VER) || _MSC_VER >= 1900 ProjectDomainAttributes::ProjectDomainAttributes() @@ -252,7 +195,6 @@ ProjectDomainAttributes::ProjectDomainAttributes(const ProjectDomainAttributes& : ::google::protobuf::Message(), _internal_metadata_(nullptr) { _internal_metadata_.MergeFrom(from._internal_metadata_); - attributes_.MergeFrom(from.attributes_); project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); if (from.project().size() > 0) { project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); @@ -261,6 +203,11 @@ ProjectDomainAttributes::ProjectDomainAttributes(const ProjectDomainAttributes& if (from.domain().size() > 0) { domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); } + if (from.has_matching_attributes()) { + matching_attributes_ = new ::flyteidl::admin::MatchingAttributes(*from.matching_attributes_); + } else { + matching_attributes_ = nullptr; + } // @@protoc_insertion_point(copy_constructor:flyteidl.admin.ProjectDomainAttributes) } @@ -269,6 +216,7 @@ void ProjectDomainAttributes::SharedCtor() { &scc_info_ProjectDomainAttributes_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto.base); project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + matching_attributes_ = nullptr; } ProjectDomainAttributes::~ProjectDomainAttributes() { @@ -279,6 +227,7 @@ ProjectDomainAttributes::~ProjectDomainAttributes() { void ProjectDomainAttributes::SharedDtor() { project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete matching_attributes_; } void ProjectDomainAttributes::SetCachedSize(int size) const { @@ -296,9 +245,12 @@ void ProjectDomainAttributes::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - attributes_.Clear(); project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { + delete matching_attributes_; + } + matching_attributes_ = nullptr; _internal_metadata_.Clear(); } @@ -347,23 +299,17 @@ const char* ProjectDomainAttributes::_InternalParse(const char* begin, const cha ptr += size; break; } - // map attributes = 3; + // .flyteidl.admin.MatchingAttributes matching_attributes = 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::ProjectDomainAttributes_AttributesEntry_DoNotUse::_ParseMap; - ctx->extra_parse_data().payload.clear(); - ctx->extra_parse_data().parse_map = parse_map; - object = &msg->attributes_; - 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)); + ptr = ::google::protobuf::io::ReadSize(ptr, &size); + GOOGLE_PROTOBUF_PARSER_ASSERT(ptr); + parser_till_end = ::flyteidl::admin::MatchingAttributes::_InternalParse; + object = msg->mutable_matching_attributes(); + 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: { @@ -430,26 +376,11 @@ bool ProjectDomainAttributes::MergePartialFromCodedStream( break; } - // map attributes = 3; + // .flyteidl.admin.MatchingAttributes matching_attributes = 3; case 3: { if (static_cast< ::google::protobuf::uint8>(tag) == (26 & 0xFF)) { - ProjectDomainAttributes_AttributesEntry_DoNotUse::Parser< ::google::protobuf::internal::MapField< - ProjectDomainAttributes_AttributesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 >, - ::google::protobuf::Map< ::std::string, ::std::string > > parser(&attributes_); - 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.ProjectDomainAttributes.AttributesEntry.key")); - DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - parser.value().data(), static_cast(parser.value().length()), - ::google::protobuf::internal::WireFormatLite::PARSE, - "flyteidl.admin.ProjectDomainAttributes.AttributesEntry.value")); + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_matching_attributes())); } else { goto handle_unusual; } @@ -503,53 +434,10 @@ void ProjectDomainAttributes::SerializeWithCachedSizes( 2, this->domain(), output); } - // map attributes = 3; - if (!this->attributes().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::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.ProjectDomainAttributes.AttributesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributes.AttributesEntry.value"); - } - }; - - if (output->IsSerializationDeterministic() && - this->attributes().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->attributes().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().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(attributes_.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, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().end(); ++it) { - entry.reset(attributes_.NewEntryWrapper(it->first, it->second)); - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(3, *entry, output); - Utf8Check::Check(&(*it)); - } - } + // .flyteidl.admin.MatchingAttributes matching_attributes = 3; + if (this->has_matching_attributes()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, HasBitSetters::matching_attributes(this), output); } if (_internal_metadata_.have_unknown_fields()) { @@ -587,53 +475,11 @@ ::google::protobuf::uint8* ProjectDomainAttributes::InternalSerializeWithCachedS 2, this->domain(), target); } - // map attributes = 3; - if (!this->attributes().empty()) { - typedef ::google::protobuf::Map< ::std::string, ::std::string >::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.ProjectDomainAttributes.AttributesEntry.key"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - p->second.data(), static_cast(p->second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, - "flyteidl.admin.ProjectDomainAttributes.AttributesEntry.value"); - } - }; - - if (false && - this->attributes().size() > 1) { - ::std::unique_ptr items( - new SortItem[this->attributes().size()]); - typedef ::google::protobuf::Map< ::std::string, ::std::string >::size_type size_type; - size_type n = 0; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().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(attributes_.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, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().end(); ++it) { - entry.reset(attributes_.NewEntryWrapper(it->first, it->second)); - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageNoVirtualToArray(3, *entry, target); - Utf8Check::Check(&(*it)); - } - } + // .flyteidl.admin.MatchingAttributes matching_attributes = 3; + if (this->has_matching_attributes()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, HasBitSetters::matching_attributes(this), target); } if (_internal_metadata_.have_unknown_fields()) { @@ -657,20 +503,6 @@ size_t ProjectDomainAttributes::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // map attributes = 3; - total_size += 1 * - ::google::protobuf::internal::FromIntSize(this->attributes_size()); - { - ::std::unique_ptr entry; - for (::google::protobuf::Map< ::std::string, ::std::string >::const_iterator - it = this->attributes().begin(); - it != this->attributes().end(); ++it) { - entry.reset(attributes_.NewEntryWrapper(it->first, it->second)); - total_size += ::google::protobuf::internal::WireFormatLite:: - MessageSizeNoVirtual(*entry); - } - } - // string project = 1; if (this->project().size() > 0) { total_size += 1 + @@ -685,6 +517,13 @@ size_t ProjectDomainAttributes::ByteSizeLong() const { this->domain()); } + // .flyteidl.admin.MatchingAttributes matching_attributes = 3; + if (this->has_matching_attributes()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *matching_attributes_); + } + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -712,7 +551,6 @@ void ProjectDomainAttributes::MergeFrom(const ProjectDomainAttributes& from) { ::google::protobuf::uint32 cached_has_bits = 0; (void) cached_has_bits; - attributes_.MergeFrom(from.attributes_); if (from.project().size() > 0) { project_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.project_); @@ -721,6 +559,9 @@ void ProjectDomainAttributes::MergeFrom(const ProjectDomainAttributes& from) { domain_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.domain_); } + if (from.has_matching_attributes()) { + mutable_matching_attributes()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.matching_attributes()); + } } void ProjectDomainAttributes::CopyFrom(const ::google::protobuf::Message& from) { @@ -748,11 +589,11 @@ void ProjectDomainAttributes::Swap(ProjectDomainAttributes* other) { void ProjectDomainAttributes::InternalSwap(ProjectDomainAttributes* other) { using std::swap; _internal_metadata_.Swap(&other->_internal_metadata_); - attributes_.Swap(&other->attributes_); project_.Swap(&other->project_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); domain_.Swap(&other->domain_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); + swap(matching_attributes_, other->matching_attributes_); } ::google::protobuf::Metadata ProjectDomainAttributes::GetMetadata() const { @@ -1262,9 +1103,6 @@ ::google::protobuf::Metadata ProjectDomainAttributesUpdateResponse::GetMetadata( } // namespace flyteidl namespace google { namespace protobuf { -template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse >(Arena* arena) { - return Arena::CreateInternal< ::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse >(arena); -} template<> PROTOBUF_NOINLINE ::flyteidl::admin::ProjectDomainAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::ProjectDomainAttributes >(Arena* arena) { return Arena::CreateInternal< ::flyteidl::admin::ProjectDomainAttributes >(arena); } diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.h index 475c013349..b289c97eac 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/project_domain_attributes.pb.h @@ -30,10 +30,8 @@ #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_2fproject_5fdomain_5fattributes_2eproto @@ -44,7 +42,7 @@ struct TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::google::protobuf::internal::ParseTable schema[4] + static const ::google::protobuf::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::google::protobuf::internal::FieldMetadata field_metadata[]; static const ::google::protobuf::internal::SerializationTable serialization_table[]; @@ -62,9 +60,6 @@ extern ProjectDomainAttributesUpdateRequestDefaultTypeInternal _ProjectDomainAtt class ProjectDomainAttributesUpdateResponse; class ProjectDomainAttributesUpdateResponseDefaultTypeInternal; extern ProjectDomainAttributesUpdateResponseDefaultTypeInternal _ProjectDomainAttributesUpdateResponse_default_instance_; -class ProjectDomainAttributes_AttributesEntry_DoNotUse; -class ProjectDomainAttributes_AttributesEntry_DoNotUseDefaultTypeInternal; -extern ProjectDomainAttributes_AttributesEntry_DoNotUseDefaultTypeInternal _ProjectDomainAttributes_AttributesEntry_DoNotUse_default_instance_; } // namespace admin } // namespace flyteidl namespace google { @@ -72,7 +67,6 @@ namespace protobuf { template<> ::flyteidl::admin::ProjectDomainAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributes>(Arena*); template<> ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributesUpdateRequest>(Arena*); template<> ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributesUpdateResponse>(Arena*); -template<> ::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse* Arena::CreateMaybeMessage<::flyteidl::admin::ProjectDomainAttributes_AttributesEntry_DoNotUse>(Arena*); } // namespace protobuf } // namespace google namespace flyteidl { @@ -80,30 +74,6 @@ namespace admin { // =================================================================== -class ProjectDomainAttributes_AttributesEntry_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; - ProjectDomainAttributes_AttributesEntry_DoNotUse(); - ProjectDomainAttributes_AttributesEntry_DoNotUse(::google::protobuf::Arena* arena); - void MergeFrom(const ProjectDomainAttributes_AttributesEntry_DoNotUse& other); - static const ProjectDomainAttributes_AttributesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast(&_ProjectDomainAttributes_AttributesEntry_DoNotUse_default_instance_); } - void MergeFrom(const ::google::protobuf::Message& other) final; - ::google::protobuf::Metadata GetMetadata() const; -}; - -// ------------------------------------------------------------------- - class ProjectDomainAttributes final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.ProjectDomainAttributes) */ { public: @@ -142,7 +112,7 @@ class ProjectDomainAttributes final : &_ProjectDomainAttributes_default_instance_); } static constexpr int kIndexInFileMessages = - 1; + 0; void Swap(ProjectDomainAttributes* other); friend void swap(ProjectDomainAttributes& a, ProjectDomainAttributes& b) { @@ -197,18 +167,8 @@ class ProjectDomainAttributes final : // nested types ---------------------------------------------------- - // accessors ------------------------------------------------------- - // map attributes = 3; - int attributes_size() const; - void clear_attributes(); - static const int kAttributesFieldNumber = 3; - const ::google::protobuf::Map< ::std::string, ::std::string >& - attributes() const; - ::google::protobuf::Map< ::std::string, ::std::string >* - mutable_attributes(); - // string project = 1; void clear_project(); static const int kProjectFieldNumber = 1; @@ -237,19 +197,23 @@ class ProjectDomainAttributes final : ::std::string* release_domain(); void set_allocated_domain(::std::string* domain); + // .flyteidl.admin.MatchingAttributes matching_attributes = 3; + bool has_matching_attributes() const; + void clear_matching_attributes(); + static const int kMatchingAttributesFieldNumber = 3; + const ::flyteidl::admin::MatchingAttributes& matching_attributes() const; + ::flyteidl::admin::MatchingAttributes* release_matching_attributes(); + ::flyteidl::admin::MatchingAttributes* mutable_matching_attributes(); + void set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes); + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributes) private: class HasBitSetters; ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; - ::google::protobuf::internal::MapField< - ProjectDomainAttributes_AttributesEntry_DoNotUse, - ::std::string, ::std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - 0 > attributes_; ::google::protobuf::internal::ArenaStringPtr project_; ::google::protobuf::internal::ArenaStringPtr domain_; + ::flyteidl::admin::MatchingAttributes* matching_attributes_; mutable ::google::protobuf::internal::CachedSize _cached_size_; friend struct ::TableStruct_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto; }; @@ -293,7 +257,7 @@ class ProjectDomainAttributesUpdateRequest final : &_ProjectDomainAttributesUpdateRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 2; + 1; void Swap(ProjectDomainAttributesUpdateRequest* other); friend void swap(ProjectDomainAttributesUpdateRequest& a, ProjectDomainAttributesUpdateRequest& b) { @@ -408,7 +372,7 @@ class ProjectDomainAttributesUpdateResponse final : &_ProjectDomainAttributesUpdateResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 3; + 2; void Swap(ProjectDomainAttributesUpdateResponse* other); friend void swap(ProjectDomainAttributesUpdateResponse& a, ProjectDomainAttributesUpdateResponse& b) { @@ -482,8 +446,6 @@ class ProjectDomainAttributesUpdateResponse final : #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ -// ------------------------------------------------------------------- - // ProjectDomainAttributes // string project = 1; @@ -592,22 +554,49 @@ inline void ProjectDomainAttributes::set_allocated_domain(::std::string* domain) // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributes.domain) } -// map attributes = 3; -inline int ProjectDomainAttributes::attributes_size() const { - return attributes_.size(); +// .flyteidl.admin.MatchingAttributes matching_attributes = 3; +inline bool ProjectDomainAttributes::has_matching_attributes() const { + return this != internal_default_instance() && matching_attributes_ != nullptr; } -inline void ProjectDomainAttributes::clear_attributes() { - attributes_.Clear(); +inline const ::flyteidl::admin::MatchingAttributes& ProjectDomainAttributes::matching_attributes() const { + const ::flyteidl::admin::MatchingAttributes* p = matching_attributes_; + // @@protoc_insertion_point(field_get:flyteidl.admin.ProjectDomainAttributes.matching_attributes) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); } -inline const ::google::protobuf::Map< ::std::string, ::std::string >& -ProjectDomainAttributes::attributes() const { - // @@protoc_insertion_point(field_map:flyteidl.admin.ProjectDomainAttributes.attributes) - return attributes_.GetMap(); +inline ::flyteidl::admin::MatchingAttributes* ProjectDomainAttributes::release_matching_attributes() { + // @@protoc_insertion_point(field_release:flyteidl.admin.ProjectDomainAttributes.matching_attributes) + + ::flyteidl::admin::MatchingAttributes* temp = matching_attributes_; + matching_attributes_ = nullptr; + return temp; } -inline ::google::protobuf::Map< ::std::string, ::std::string >* -ProjectDomainAttributes::mutable_attributes() { - // @@protoc_insertion_point(field_mutable_map:flyteidl.admin.ProjectDomainAttributes.attributes) - return attributes_.MutableMap(); +inline ::flyteidl::admin::MatchingAttributes* ProjectDomainAttributes::mutable_matching_attributes() { + + if (matching_attributes_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + matching_attributes_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.ProjectDomainAttributes.matching_attributes) + return matching_attributes_; +} +inline void ProjectDomainAttributes::set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(matching_attributes_); + } + if (matching_attributes) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + matching_attributes = ::google::protobuf::internal::GetOwnedMessage( + message_arena, matching_attributes, submessage_arena); + } + + } else { + + } + matching_attributes_ = matching_attributes; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.ProjectDomainAttributes.matching_attributes) } // ------------------------------------------------------------------- @@ -676,8 +665,6 @@ inline void ProjectDomainAttributesUpdateRequest::set_allocated_attributes(::fly // ------------------------------------------------------------------- -// ------------------------------------------------------------------- - // @@protoc_insertion_point(namespace_scope) diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.cc new file mode 100644 index 0000000000..c42027a322 --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.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/workflow_attributes.proto + +#include "flyteidl/admin/workflow_attributes.pb.h" +#include "flyteidl/admin/workflow_attributes.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/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.grpc.pb.h new file mode 100644 index 0000000000..4f2a22456a --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.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/workflow_attributes.proto +#ifndef GRPC_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto__INCLUDED +#define GRPC_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto__INCLUDED + +#include "flyteidl/admin/workflow_attributes.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_2fworkflow_5fattributes_2eproto__INCLUDED diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.cc new file mode 100644 index 0000000000..3b3d7c768a --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.cc @@ -0,0 +1,1193 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/workflow_attributes.proto + +#include "flyteidl/admin/workflow_attributes.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<3> scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto ::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; +namespace flyteidl { +namespace admin { +class WorkflowAttributesDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _WorkflowAttributes_default_instance_; +class WorkflowAttributesUpdateRequestDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _WorkflowAttributesUpdateRequest_default_instance_; +class WorkflowAttributesUpdateResponseDefaultTypeInternal { + public: + ::google::protobuf::internal::ExplicitlyConstructed _instance; +} _WorkflowAttributesUpdateResponse_default_instance_; +} // namespace admin +} // namespace flyteidl +static void InitDefaultsWorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_WorkflowAttributes_default_instance_; + new (ptr) ::flyteidl::admin::WorkflowAttributes(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::WorkflowAttributes::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, { + &scc_info_MatchingAttributes_flyteidl_2fadmin_2fmatchable_5fresource_2eproto.base,}}; + +static void InitDefaultsWorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_WorkflowAttributesUpdateRequest_default_instance_; + new (ptr) ::flyteidl::admin::WorkflowAttributesUpdateRequest(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::WorkflowAttributesUpdateRequest::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<1> scc_info_WorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsWorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, { + &scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base,}}; + +static void InitDefaultsWorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::flyteidl::admin::_WorkflowAttributesUpdateResponse_default_instance_; + new (ptr) ::flyteidl::admin::WorkflowAttributesUpdateResponse(); + ::google::protobuf::internal::OnShutdownDestroyMessage(ptr); + } + ::flyteidl::admin::WorkflowAttributesUpdateResponse::InitAsDefaultInstance(); +} + +::google::protobuf::internal::SCCInfo<0> scc_info_WorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = + {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsWorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto}, {}}; + +void InitDefaults_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { + ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); + ::google::protobuf::internal::InitSCC(&scc_info_WorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); +} + +::google::protobuf::Metadata file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[3]; +constexpr ::google::protobuf::EnumDescriptor const** file_level_enum_descriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = nullptr; +constexpr ::google::protobuf::ServiceDescriptor const** file_level_service_descriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = nullptr; + +const ::google::protobuf::uint32 TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, project_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, domain_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, workflow_), + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributes, matching_attributes_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesUpdateRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesUpdateRequest, attributes_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::flyteidl::admin::WorkflowAttributesUpdateResponse, _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::WorkflowAttributes)}, + { 9, -1, sizeof(::flyteidl::admin::WorkflowAttributesUpdateRequest)}, + { 15, -1, sizeof(::flyteidl::admin::WorkflowAttributesUpdateResponse)}, +}; + +static ::google::protobuf::Message const * const file_default_instances[] = { + reinterpret_cast(&::flyteidl::admin::_WorkflowAttributes_default_instance_), + reinterpret_cast(&::flyteidl::admin::_WorkflowAttributesUpdateRequest_default_instance_), + reinterpret_cast(&::flyteidl::admin::_WorkflowAttributesUpdateResponse_default_instance_), +}; + +::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = { + {}, AddDescriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, "flyteidl/admin/workflow_attributes.proto", schemas, + file_default_instances, TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto::offsets, + file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, 3, file_level_enum_descriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, file_level_service_descriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, +}; + +const char descriptor_table_protodef_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[] = + "\n(flyteidl/admin/workflow_attributes.pro" + "to\022\016flyteidl.admin\032\'flyteidl/admin/match" + "able_resource.proto\"\210\001\n\022WorkflowAttribut" + "es\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010w" + "orkflow\030\003 \001(\t\022\?\n\023matching_attributes\030\004 \001" + "(\0132\".flyteidl.admin.MatchingAttributes\"Y" + "\n\037WorkflowAttributesUpdateRequest\0226\n\natt" + "ributes\030\001 \001(\0132\".flyteidl.admin.WorkflowA" + "ttributes\"\"\n WorkflowAttributesUpdateRes" + "ponseB3Z1github.com/lyft/flyteidl/gen/pb" + "-go/flyteidl/adminb\006proto3" + ; +::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = { + false, InitDefaults_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, + descriptor_table_protodef_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, + "flyteidl/admin/workflow_attributes.proto", &assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, 426, +}; + +void AddDescriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto() { + static constexpr ::google::protobuf::internal::InitFunc deps[1] = + { + ::AddDescriptors_flyteidl_2fadmin_2fmatchable_5fresource_2eproto, + }; + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, deps, 1); +} + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto = []() { AddDescriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto(); return true; }(); +namespace flyteidl { +namespace admin { + +// =================================================================== + +void WorkflowAttributes::InitAsDefaultInstance() { + ::flyteidl::admin::_WorkflowAttributes_default_instance_._instance.get_mutable()->matching_attributes_ = const_cast< ::flyteidl::admin::MatchingAttributes*>( + ::flyteidl::admin::MatchingAttributes::internal_default_instance()); +} +class WorkflowAttributes::HasBitSetters { + public: + static const ::flyteidl::admin::MatchingAttributes& matching_attributes(const WorkflowAttributes* msg); +}; + +const ::flyteidl::admin::MatchingAttributes& +WorkflowAttributes::HasBitSetters::matching_attributes(const WorkflowAttributes* msg) { + return *msg->matching_attributes_; +} +void WorkflowAttributes::clear_matching_attributes() { + if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { + delete matching_attributes_; + } + matching_attributes_ = nullptr; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int WorkflowAttributes::kProjectFieldNumber; +const int WorkflowAttributes::kDomainFieldNumber; +const int WorkflowAttributes::kWorkflowFieldNumber; +const int WorkflowAttributes::kMatchingAttributesFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +WorkflowAttributes::WorkflowAttributes() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributes) +} +WorkflowAttributes::WorkflowAttributes(const WorkflowAttributes& 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_); + } + if (from.has_matching_attributes()) { + matching_attributes_ = new ::flyteidl::admin::MatchingAttributes(*from.matching_attributes_); + } else { + matching_attributes_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributes) +} + +void WorkflowAttributes::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); + project_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + workflow_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + matching_attributes_ = nullptr; +} + +WorkflowAttributes::~WorkflowAttributes() { + // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributes) + SharedDtor(); +} + +void WorkflowAttributes::SharedDtor() { + project_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + domain_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + workflow_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete matching_attributes_; +} + +void WorkflowAttributes::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const WorkflowAttributes& WorkflowAttributes::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributes_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); + return *internal_default_instance(); +} + + +void WorkflowAttributes::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributes) + ::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()); + if (GetArenaNoVirtual() == nullptr && matching_attributes_ != nullptr) { + delete matching_attributes_; + } + matching_attributes_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* WorkflowAttributes::_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.WorkflowAttributes.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.WorkflowAttributes.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.WorkflowAttributes.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.MatchingAttributes matching_attributes = 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_matching_attributes(); + 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 WorkflowAttributes::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.WorkflowAttributes) + 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.WorkflowAttributes.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.WorkflowAttributes.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.WorkflowAttributes.workflow")); + } else { + goto handle_unusual; + } + break; + } + + // .flyteidl.admin.MatchingAttributes matching_attributes = 4; + case 4: { + if (static_cast< ::google::protobuf::uint8>(tag) == (34 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_matching_attributes())); + } 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.WorkflowAttributes) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributes) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void WorkflowAttributes::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributes) + ::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.WorkflowAttributes.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.WorkflowAttributes.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.WorkflowAttributes.workflow"); + ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased( + 3, this->workflow(), output); + } + + // .flyteidl.admin.MatchingAttributes matching_attributes = 4; + if (this->has_matching_attributes()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 4, HasBitSetters::matching_attributes(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.WorkflowAttributes) +} + +::google::protobuf::uint8* WorkflowAttributes::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributes) + ::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.WorkflowAttributes.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.WorkflowAttributes.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.WorkflowAttributes.workflow"); + target = + ::google::protobuf::internal::WireFormatLite::WriteStringToArray( + 3, this->workflow(), target); + } + + // .flyteidl.admin.MatchingAttributes matching_attributes = 4; + if (this->has_matching_attributes()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, HasBitSetters::matching_attributes(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.WorkflowAttributes) + return target; +} + +size_t WorkflowAttributes::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributes) + 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()); + } + + // .flyteidl.admin.MatchingAttributes matching_attributes = 4; + if (this->has_matching_attributes()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *matching_attributes_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void WorkflowAttributes::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributes) + GOOGLE_DCHECK_NE(&from, this); + const WorkflowAttributes* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributes) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributes) + MergeFrom(*source); + } +} + +void WorkflowAttributes::MergeFrom(const WorkflowAttributes& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributes) + 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.has_matching_attributes()) { + mutable_matching_attributes()->::flyteidl::admin::MatchingAttributes::MergeFrom(from.matching_attributes()); + } +} + +void WorkflowAttributes::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void WorkflowAttributes::CopyFrom(const WorkflowAttributes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WorkflowAttributes::IsInitialized() const { + return true; +} + +void WorkflowAttributes::Swap(WorkflowAttributes* other) { + if (other == this) return; + InternalSwap(other); +} +void WorkflowAttributes::InternalSwap(WorkflowAttributes* 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()); + swap(matching_attributes_, other->matching_attributes_); +} + +::google::protobuf::Metadata WorkflowAttributes::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void WorkflowAttributesUpdateRequest::InitAsDefaultInstance() { + ::flyteidl::admin::_WorkflowAttributesUpdateRequest_default_instance_._instance.get_mutable()->attributes_ = const_cast< ::flyteidl::admin::WorkflowAttributes*>( + ::flyteidl::admin::WorkflowAttributes::internal_default_instance()); +} +class WorkflowAttributesUpdateRequest::HasBitSetters { + public: + static const ::flyteidl::admin::WorkflowAttributes& attributes(const WorkflowAttributesUpdateRequest* msg); +}; + +const ::flyteidl::admin::WorkflowAttributes& +WorkflowAttributesUpdateRequest::HasBitSetters::attributes(const WorkflowAttributesUpdateRequest* msg) { + return *msg->attributes_; +} +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +const int WorkflowAttributesUpdateRequest::kAttributesFieldNumber; +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +WorkflowAttributesUpdateRequest::WorkflowAttributesUpdateRequest() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributesUpdateRequest) +} +WorkflowAttributesUpdateRequest::WorkflowAttributesUpdateRequest(const WorkflowAttributesUpdateRequest& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_attributes()) { + attributes_ = new ::flyteidl::admin::WorkflowAttributes(*from.attributes_); + } else { + attributes_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributesUpdateRequest) +} + +void WorkflowAttributesUpdateRequest::SharedCtor() { + ::google::protobuf::internal::InitSCC( + &scc_info_WorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); + attributes_ = nullptr; +} + +WorkflowAttributesUpdateRequest::~WorkflowAttributesUpdateRequest() { + // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributesUpdateRequest) + SharedDtor(); +} + +void WorkflowAttributesUpdateRequest::SharedDtor() { + if (this != internal_default_instance()) delete attributes_; +} + +void WorkflowAttributesUpdateRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const WorkflowAttributesUpdateRequest& WorkflowAttributesUpdateRequest::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributesUpdateRequest_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); + return *internal_default_instance(); +} + + +void WorkflowAttributesUpdateRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributesUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { + delete attributes_; + } + attributes_ = nullptr; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* WorkflowAttributesUpdateRequest::_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.WorkflowAttributes attributes = 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::WorkflowAttributes::_InternalParse; + object = msg->mutable_attributes(); + 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 WorkflowAttributesUpdateRequest::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.WorkflowAttributesUpdateRequest) + 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.WorkflowAttributes attributes = 1; + case 1: { + if (static_cast< ::google::protobuf::uint8>(tag) == (10 & 0xFF)) { + DO_(::google::protobuf::internal::WireFormatLite::ReadMessage( + input, mutable_attributes())); + } 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.WorkflowAttributesUpdateRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributesUpdateRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void WorkflowAttributesUpdateRequest::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributesUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.WorkflowAttributes attributes = 1; + if (this->has_attributes()) { + ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, HasBitSetters::attributes(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.WorkflowAttributesUpdateRequest) +} + +::google::protobuf::uint8* WorkflowAttributesUpdateRequest::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributesUpdateRequest) + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .flyteidl.admin.WorkflowAttributes attributes = 1; + if (this->has_attributes()) { + target = ::google::protobuf::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, HasBitSetters::attributes(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.WorkflowAttributesUpdateRequest) + return target; +} + +size_t WorkflowAttributesUpdateRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributesUpdateRequest) + 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.WorkflowAttributes attributes = 1; + if (this->has_attributes()) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize( + *attributes_); + } + + int cached_size = ::google::protobuf::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void WorkflowAttributesUpdateRequest::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributesUpdateRequest) + GOOGLE_DCHECK_NE(&from, this); + const WorkflowAttributesUpdateRequest* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributesUpdateRequest) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributesUpdateRequest) + MergeFrom(*source); + } +} + +void WorkflowAttributesUpdateRequest::MergeFrom(const WorkflowAttributesUpdateRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributesUpdateRequest) + 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_attributes()) { + mutable_attributes()->::flyteidl::admin::WorkflowAttributes::MergeFrom(from.attributes()); + } +} + +void WorkflowAttributesUpdateRequest::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributesUpdateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void WorkflowAttributesUpdateRequest::CopyFrom(const WorkflowAttributesUpdateRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributesUpdateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WorkflowAttributesUpdateRequest::IsInitialized() const { + return true; +} + +void WorkflowAttributesUpdateRequest::Swap(WorkflowAttributesUpdateRequest* other) { + if (other == this) return; + InternalSwap(other); +} +void WorkflowAttributesUpdateRequest::InternalSwap(WorkflowAttributesUpdateRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(attributes_, other->attributes_); +} + +::google::protobuf::Metadata WorkflowAttributesUpdateRequest::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; +} + + +// =================================================================== + +void WorkflowAttributesUpdateResponse::InitAsDefaultInstance() { +} +class WorkflowAttributesUpdateResponse::HasBitSetters { + public: +}; + +#if !defined(_MSC_VER) || _MSC_VER >= 1900 +#endif // !defined(_MSC_VER) || _MSC_VER >= 1900 + +WorkflowAttributesUpdateResponse::WorkflowAttributesUpdateResponse() + : ::google::protobuf::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:flyteidl.admin.WorkflowAttributesUpdateResponse) +} +WorkflowAttributesUpdateResponse::WorkflowAttributesUpdateResponse(const WorkflowAttributesUpdateResponse& from) + : ::google::protobuf::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:flyteidl.admin.WorkflowAttributesUpdateResponse) +} + +void WorkflowAttributesUpdateResponse::SharedCtor() { +} + +WorkflowAttributesUpdateResponse::~WorkflowAttributesUpdateResponse() { + // @@protoc_insertion_point(destructor:flyteidl.admin.WorkflowAttributesUpdateResponse) + SharedDtor(); +} + +void WorkflowAttributesUpdateResponse::SharedDtor() { +} + +void WorkflowAttributesUpdateResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const WorkflowAttributesUpdateResponse& WorkflowAttributesUpdateResponse::default_instance() { + ::google::protobuf::internal::InitSCC(&::scc_info_WorkflowAttributesUpdateResponse_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto.base); + return *internal_default_instance(); +} + + +void WorkflowAttributesUpdateResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:flyteidl.admin.WorkflowAttributesUpdateResponse) + ::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* WorkflowAttributesUpdateResponse::_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 WorkflowAttributesUpdateResponse::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.WorkflowAttributesUpdateResponse) + 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.WorkflowAttributesUpdateResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:flyteidl.admin.WorkflowAttributesUpdateResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void WorkflowAttributesUpdateResponse::SerializeWithCachedSizes( + ::google::protobuf::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:flyteidl.admin.WorkflowAttributesUpdateResponse) + ::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.WorkflowAttributesUpdateResponse) +} + +::google::protobuf::uint8* WorkflowAttributesUpdateResponse::InternalSerializeWithCachedSizesToArray( + ::google::protobuf::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:flyteidl.admin.WorkflowAttributesUpdateResponse) + ::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.WorkflowAttributesUpdateResponse) + return target; +} + +size_t WorkflowAttributesUpdateResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:flyteidl.admin.WorkflowAttributesUpdateResponse) + 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 WorkflowAttributesUpdateResponse::MergeFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:flyteidl.admin.WorkflowAttributesUpdateResponse) + GOOGLE_DCHECK_NE(&from, this); + const WorkflowAttributesUpdateResponse* source = + ::google::protobuf::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:flyteidl.admin.WorkflowAttributesUpdateResponse) + ::google::protobuf::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:flyteidl.admin.WorkflowAttributesUpdateResponse) + MergeFrom(*source); + } +} + +void WorkflowAttributesUpdateResponse::MergeFrom(const WorkflowAttributesUpdateResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:flyteidl.admin.WorkflowAttributesUpdateResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::google::protobuf::uint32 cached_has_bits = 0; + (void) cached_has_bits; + +} + +void WorkflowAttributesUpdateResponse::CopyFrom(const ::google::protobuf::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:flyteidl.admin.WorkflowAttributesUpdateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void WorkflowAttributesUpdateResponse::CopyFrom(const WorkflowAttributesUpdateResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:flyteidl.admin.WorkflowAttributesUpdateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool WorkflowAttributesUpdateResponse::IsInitialized() const { + return true; +} + +void WorkflowAttributesUpdateResponse::Swap(WorkflowAttributesUpdateResponse* other) { + if (other == this) return; + InternalSwap(other); +} +void WorkflowAttributesUpdateResponse::InternalSwap(WorkflowAttributesUpdateResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); +} + +::google::protobuf::Metadata WorkflowAttributesUpdateResponse::GetMetadata() const { + ::google::protobuf::internal::AssignDescriptors(&::assign_descriptors_table_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto); + return ::file_level_metadata_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto[kIndexInFileMessages]; +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributes* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributes >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributes >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributesUpdateRequest* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributesUpdateRequest >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributesUpdateRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::flyteidl::admin::WorkflowAttributesUpdateResponse* Arena::CreateMaybeMessage< ::flyteidl::admin::WorkflowAttributesUpdateResponse >(Arena* arena) { + return Arena::CreateInternal< ::flyteidl::admin::WorkflowAttributesUpdateResponse >(arena); +} +} // namespace protobuf +} // namespace google + +// @@protoc_insertion_point(global_scope) +#include diff --git a/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.h b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.h new file mode 100644 index 0000000000..21879ce7ec --- /dev/null +++ b/flyteidl/gen/pb-cpp/flyteidl/admin/workflow_attributes.pb.h @@ -0,0 +1,745 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/workflow_attributes.proto + +#ifndef PROTOBUF_INCLUDED_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto +#define PROTOBUF_INCLUDED_flyteidl_2fadmin_2fworkflow_5fattributes_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 +#include "flyteidl/admin/matchable_resource.pb.h" +// @@protoc_insertion_point(includes) +#include +#define PROTOBUF_INTERNAL_EXPORT_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto + +// Internal implementation detail -- do not use these members. +struct TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_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[3] + 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_2fworkflow_5fattributes_2eproto(); +namespace flyteidl { +namespace admin { +class WorkflowAttributes; +class WorkflowAttributesDefaultTypeInternal; +extern WorkflowAttributesDefaultTypeInternal _WorkflowAttributes_default_instance_; +class WorkflowAttributesUpdateRequest; +class WorkflowAttributesUpdateRequestDefaultTypeInternal; +extern WorkflowAttributesUpdateRequestDefaultTypeInternal _WorkflowAttributesUpdateRequest_default_instance_; +class WorkflowAttributesUpdateResponse; +class WorkflowAttributesUpdateResponseDefaultTypeInternal; +extern WorkflowAttributesUpdateResponseDefaultTypeInternal _WorkflowAttributesUpdateResponse_default_instance_; +} // namespace admin +} // namespace flyteidl +namespace google { +namespace protobuf { +template<> ::flyteidl::admin::WorkflowAttributes* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributes>(Arena*); +template<> ::flyteidl::admin::WorkflowAttributesUpdateRequest* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributesUpdateRequest>(Arena*); +template<> ::flyteidl::admin::WorkflowAttributesUpdateResponse* Arena::CreateMaybeMessage<::flyteidl::admin::WorkflowAttributesUpdateResponse>(Arena*); +} // namespace protobuf +} // namespace google +namespace flyteidl { +namespace admin { + +// =================================================================== + +class WorkflowAttributes final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributes) */ { + public: + WorkflowAttributes(); + virtual ~WorkflowAttributes(); + + WorkflowAttributes(const WorkflowAttributes& from); + + inline WorkflowAttributes& operator=(const WorkflowAttributes& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + WorkflowAttributes(WorkflowAttributes&& from) noexcept + : WorkflowAttributes() { + *this = ::std::move(from); + } + + inline WorkflowAttributes& operator=(WorkflowAttributes&& 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 WorkflowAttributes& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const WorkflowAttributes* internal_default_instance() { + return reinterpret_cast( + &_WorkflowAttributes_default_instance_); + } + static constexpr int kIndexInFileMessages = + 0; + + void Swap(WorkflowAttributes* other); + friend void swap(WorkflowAttributes& a, WorkflowAttributes& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline WorkflowAttributes* New() const final { + return CreateMaybeMessage(nullptr); + } + + WorkflowAttributes* 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 WorkflowAttributes& from); + void MergeFrom(const WorkflowAttributes& 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(WorkflowAttributes* 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); + + // .flyteidl.admin.MatchingAttributes matching_attributes = 4; + bool has_matching_attributes() const; + void clear_matching_attributes(); + static const int kMatchingAttributesFieldNumber = 4; + const ::flyteidl::admin::MatchingAttributes& matching_attributes() const; + ::flyteidl::admin::MatchingAttributes* release_matching_attributes(); + ::flyteidl::admin::MatchingAttributes* mutable_matching_attributes(); + void set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributes) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::google::protobuf::internal::ArenaStringPtr project_; + ::google::protobuf::internal::ArenaStringPtr domain_; + ::google::protobuf::internal::ArenaStringPtr workflow_; + ::flyteidl::admin::MatchingAttributes* matching_attributes_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; +}; +// ------------------------------------------------------------------- + +class WorkflowAttributesUpdateRequest final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributesUpdateRequest) */ { + public: + WorkflowAttributesUpdateRequest(); + virtual ~WorkflowAttributesUpdateRequest(); + + WorkflowAttributesUpdateRequest(const WorkflowAttributesUpdateRequest& from); + + inline WorkflowAttributesUpdateRequest& operator=(const WorkflowAttributesUpdateRequest& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + WorkflowAttributesUpdateRequest(WorkflowAttributesUpdateRequest&& from) noexcept + : WorkflowAttributesUpdateRequest() { + *this = ::std::move(from); + } + + inline WorkflowAttributesUpdateRequest& operator=(WorkflowAttributesUpdateRequest&& 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 WorkflowAttributesUpdateRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const WorkflowAttributesUpdateRequest* internal_default_instance() { + return reinterpret_cast( + &_WorkflowAttributesUpdateRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 1; + + void Swap(WorkflowAttributesUpdateRequest* other); + friend void swap(WorkflowAttributesUpdateRequest& a, WorkflowAttributesUpdateRequest& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline WorkflowAttributesUpdateRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + WorkflowAttributesUpdateRequest* 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 WorkflowAttributesUpdateRequest& from); + void MergeFrom(const WorkflowAttributesUpdateRequest& 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(WorkflowAttributesUpdateRequest* 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.WorkflowAttributes attributes = 1; + bool has_attributes() const; + void clear_attributes(); + static const int kAttributesFieldNumber = 1; + const ::flyteidl::admin::WorkflowAttributes& attributes() const; + ::flyteidl::admin::WorkflowAttributes* release_attributes(); + ::flyteidl::admin::WorkflowAttributes* mutable_attributes(); + void set_allocated_attributes(::flyteidl::admin::WorkflowAttributes* attributes); + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesUpdateRequest) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + ::flyteidl::admin::WorkflowAttributes* attributes_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; +}; +// ------------------------------------------------------------------- + +class WorkflowAttributesUpdateResponse final : + public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:flyteidl.admin.WorkflowAttributesUpdateResponse) */ { + public: + WorkflowAttributesUpdateResponse(); + virtual ~WorkflowAttributesUpdateResponse(); + + WorkflowAttributesUpdateResponse(const WorkflowAttributesUpdateResponse& from); + + inline WorkflowAttributesUpdateResponse& operator=(const WorkflowAttributesUpdateResponse& from) { + CopyFrom(from); + return *this; + } + #if LANG_CXX11 + WorkflowAttributesUpdateResponse(WorkflowAttributesUpdateResponse&& from) noexcept + : WorkflowAttributesUpdateResponse() { + *this = ::std::move(from); + } + + inline WorkflowAttributesUpdateResponse& operator=(WorkflowAttributesUpdateResponse&& 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 WorkflowAttributesUpdateResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const WorkflowAttributesUpdateResponse* internal_default_instance() { + return reinterpret_cast( + &_WorkflowAttributesUpdateResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 2; + + void Swap(WorkflowAttributesUpdateResponse* other); + friend void swap(WorkflowAttributesUpdateResponse& a, WorkflowAttributesUpdateResponse& b) { + a.Swap(&b); + } + + // implements Message ---------------------------------------------- + + inline WorkflowAttributesUpdateResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + WorkflowAttributesUpdateResponse* 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 WorkflowAttributesUpdateResponse& from); + void MergeFrom(const WorkflowAttributesUpdateResponse& 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(WorkflowAttributesUpdateResponse* 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.WorkflowAttributesUpdateResponse) + private: + class HasBitSetters; + + ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; + mutable ::google::protobuf::internal::CachedSize _cached_size_; + friend struct ::TableStruct_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto; +}; +// =================================================================== + + +// =================================================================== + +#ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// WorkflowAttributes + +// string project = 1; +inline void WorkflowAttributes::clear_project() { + project_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& WorkflowAttributes::project() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributes.project) + return project_.GetNoArena(); +} +inline void WorkflowAttributes::set_project(const ::std::string& value) { + + project_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributes.project) +} +#if LANG_CXX11 +inline void WorkflowAttributes::set_project(::std::string&& value) { + + project_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributes.project) +} +#endif +inline void WorkflowAttributes::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.WorkflowAttributes.project) +} +inline void WorkflowAttributes::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.WorkflowAttributes.project) +} +inline ::std::string* WorkflowAttributes::mutable_project() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributes.project) + return project_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* WorkflowAttributes::release_project() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributes.project) + + return project_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void WorkflowAttributes::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.WorkflowAttributes.project) +} + +// string domain = 2; +inline void WorkflowAttributes::clear_domain() { + domain_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& WorkflowAttributes::domain() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributes.domain) + return domain_.GetNoArena(); +} +inline void WorkflowAttributes::set_domain(const ::std::string& value) { + + domain_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributes.domain) +} +#if LANG_CXX11 +inline void WorkflowAttributes::set_domain(::std::string&& value) { + + domain_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributes.domain) +} +#endif +inline void WorkflowAttributes::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.WorkflowAttributes.domain) +} +inline void WorkflowAttributes::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.WorkflowAttributes.domain) +} +inline ::std::string* WorkflowAttributes::mutable_domain() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributes.domain) + return domain_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* WorkflowAttributes::release_domain() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributes.domain) + + return domain_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void WorkflowAttributes::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.WorkflowAttributes.domain) +} + +// string workflow = 3; +inline void WorkflowAttributes::clear_workflow() { + workflow_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline const ::std::string& WorkflowAttributes::workflow() const { + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributes.workflow) + return workflow_.GetNoArena(); +} +inline void WorkflowAttributes::set_workflow(const ::std::string& value) { + + workflow_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); + // @@protoc_insertion_point(field_set:flyteidl.admin.WorkflowAttributes.workflow) +} +#if LANG_CXX11 +inline void WorkflowAttributes::set_workflow(::std::string&& value) { + + workflow_.SetNoArena( + &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); + // @@protoc_insertion_point(field_set_rvalue:flyteidl.admin.WorkflowAttributes.workflow) +} +#endif +inline void WorkflowAttributes::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.WorkflowAttributes.workflow) +} +inline void WorkflowAttributes::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.WorkflowAttributes.workflow) +} +inline ::std::string* WorkflowAttributes::mutable_workflow() { + + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributes.workflow) + return workflow_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline ::std::string* WorkflowAttributes::release_workflow() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributes.workflow) + + return workflow_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); +} +inline void WorkflowAttributes::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.WorkflowAttributes.workflow) +} + +// .flyteidl.admin.MatchingAttributes matching_attributes = 4; +inline bool WorkflowAttributes::has_matching_attributes() const { + return this != internal_default_instance() && matching_attributes_ != nullptr; +} +inline const ::flyteidl::admin::MatchingAttributes& WorkflowAttributes::matching_attributes() const { + const ::flyteidl::admin::MatchingAttributes* p = matching_attributes_; + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributes.matching_attributes) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_MatchingAttributes_default_instance_); +} +inline ::flyteidl::admin::MatchingAttributes* WorkflowAttributes::release_matching_attributes() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributes.matching_attributes) + + ::flyteidl::admin::MatchingAttributes* temp = matching_attributes_; + matching_attributes_ = nullptr; + return temp; +} +inline ::flyteidl::admin::MatchingAttributes* WorkflowAttributes::mutable_matching_attributes() { + + if (matching_attributes_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::MatchingAttributes>(GetArenaNoVirtual()); + matching_attributes_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributes.matching_attributes) + return matching_attributes_; +} +inline void WorkflowAttributes::set_allocated_matching_attributes(::flyteidl::admin::MatchingAttributes* matching_attributes) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::google::protobuf::MessageLite*>(matching_attributes_); + } + if (matching_attributes) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + matching_attributes = ::google::protobuf::internal::GetOwnedMessage( + message_arena, matching_attributes, submessage_arena); + } + + } else { + + } + matching_attributes_ = matching_attributes; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributes.matching_attributes) +} + +// ------------------------------------------------------------------- + +// WorkflowAttributesUpdateRequest + +// .flyteidl.admin.WorkflowAttributes attributes = 1; +inline bool WorkflowAttributesUpdateRequest::has_attributes() const { + return this != internal_default_instance() && attributes_ != nullptr; +} +inline void WorkflowAttributesUpdateRequest::clear_attributes() { + if (GetArenaNoVirtual() == nullptr && attributes_ != nullptr) { + delete attributes_; + } + attributes_ = nullptr; +} +inline const ::flyteidl::admin::WorkflowAttributes& WorkflowAttributesUpdateRequest::attributes() const { + const ::flyteidl::admin::WorkflowAttributes* p = attributes_; + // @@protoc_insertion_point(field_get:flyteidl.admin.WorkflowAttributesUpdateRequest.attributes) + return p != nullptr ? *p : *reinterpret_cast( + &::flyteidl::admin::_WorkflowAttributes_default_instance_); +} +inline ::flyteidl::admin::WorkflowAttributes* WorkflowAttributesUpdateRequest::release_attributes() { + // @@protoc_insertion_point(field_release:flyteidl.admin.WorkflowAttributesUpdateRequest.attributes) + + ::flyteidl::admin::WorkflowAttributes* temp = attributes_; + attributes_ = nullptr; + return temp; +} +inline ::flyteidl::admin::WorkflowAttributes* WorkflowAttributesUpdateRequest::mutable_attributes() { + + if (attributes_ == nullptr) { + auto* p = CreateMaybeMessage<::flyteidl::admin::WorkflowAttributes>(GetArenaNoVirtual()); + attributes_ = p; + } + // @@protoc_insertion_point(field_mutable:flyteidl.admin.WorkflowAttributesUpdateRequest.attributes) + return attributes_; +} +inline void WorkflowAttributesUpdateRequest::set_allocated_attributes(::flyteidl::admin::WorkflowAttributes* attributes) { + ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete attributes_; + } + if (attributes) { + ::google::protobuf::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + attributes = ::google::protobuf::internal::GetOwnedMessage( + message_arena, attributes, submessage_arena); + } + + } else { + + } + attributes_ = attributes; + // @@protoc_insertion_point(field_set_allocated:flyteidl.admin.WorkflowAttributesUpdateRequest.attributes) +} + +// ------------------------------------------------------------------- + +// WorkflowAttributesUpdateResponse + +#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_2fworkflow_5fattributes_2eproto diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc index 7d4bedf0aa..09d34e9600 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.cc @@ -53,7 +53,9 @@ static const char* AdminService_method_names[] = { "/flyteidl.service.AdminService/GetTaskExecution", "/flyteidl.service.AdminService/ListTaskExecutions", "/flyteidl.service.AdminService/GetTaskExecutionData", + "/flyteidl.service.AdminService/UpdateProjectAttributes", "/flyteidl.service.AdminService/UpdateProjectDomainAttributes", + "/flyteidl.service.AdminService/UpdateWorkflowAttributes", "/flyteidl.service.AdminService/ListNamedEntities", "/flyteidl.service.AdminService/GetNamedEntity", "/flyteidl.service.AdminService/UpdateNamedEntity", @@ -99,10 +101,12 @@ AdminService::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& chann , rpcmethod_GetTaskExecution_(AdminService_method_names[30], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_ListTaskExecutions_(AdminService_method_names[31], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) , rpcmethod_GetTaskExecutionData_(AdminService_method_names[32], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateProjectDomainAttributes_(AdminService_method_names[33], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_ListNamedEntities_(AdminService_method_names[34], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_GetNamedEntity_(AdminService_method_names[35], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) - , rpcmethod_UpdateNamedEntity_(AdminService_method_names[36], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateProjectAttributes_(AdminService_method_names[33], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateProjectDomainAttributes_(AdminService_method_names[34], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateWorkflowAttributes_(AdminService_method_names[35], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_ListNamedEntities_(AdminService_method_names[36], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_GetNamedEntity_(AdminService_method_names[37], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) + , rpcmethod_UpdateNamedEntity_(AdminService_method_names[38], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status AdminService::Stub::CreateTask(::grpc::ClientContext* context, const ::flyteidl::admin::TaskCreateRequest& request, ::flyteidl::admin::TaskCreateResponse* response) { @@ -1029,6 +1033,34 @@ ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataRespon return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::TaskExecutionGetDataResponse>::Create(channel_.get(), cq, rpcmethod_GetTaskExecutionData_, context, request, false); } +::grpc::Status AdminService::Stub::UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateProjectAttributes_, context, request, response); +} + +void AdminService::Stub::experimental_async::UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectAttributes_, context, request, response, std::move(f)); +} + +void AdminService::Stub::experimental_async::UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectAttributes_, context, request, response, std::move(f)); +} + +void AdminService::Stub::experimental_async::UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectAttributes_, context, request, response, reactor); +} + +void AdminService::Stub::experimental_async::UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateProjectAttributes_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>* AdminService::Stub::AsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateProjectAttributes_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>* AdminService::Stub::PrepareAsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateProjectAttributes_, context, request, false); +} + ::grpc::Status AdminService::Stub::UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateProjectDomainAttributes_, context, request, response); } @@ -1057,6 +1089,34 @@ ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpd return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateProjectDomainAttributes_, context, request, false); } +::grpc::Status AdminService::Stub::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) { + return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_UpdateWorkflowAttributes_, context, request, response); +} + +void AdminService::Stub::experimental_async::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateWorkflowAttributes_, context, request, response, std::move(f)); +} + +void AdminService::Stub::experimental_async::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function f) { + ::grpc::internal::CallbackUnaryCall(stub_->channel_.get(), stub_->rpcmethod_UpdateWorkflowAttributes_, context, request, response, std::move(f)); +} + +void AdminService::Stub::experimental_async::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateWorkflowAttributes_, context, request, response, reactor); +} + +void AdminService::Stub::experimental_async::UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) { + ::grpc::internal::ClientCallbackUnaryFactory::Create(stub_->channel_.get(), stub_->rpcmethod_UpdateWorkflowAttributes_, context, request, response, reactor); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* AdminService::Stub::AsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateWorkflowAttributes_, context, request, true); +} + +::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* AdminService::Stub::PrepareAsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return ::grpc::internal::ClientAsyncResponseReaderFactory< ::flyteidl::admin::WorkflowAttributesUpdateResponse>::Create(channel_.get(), cq, rpcmethod_UpdateWorkflowAttributes_, context, request, false); +} + ::grpc::Status AdminService::Stub::ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::flyteidl::admin::NamedEntityList* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_ListNamedEntities_, context, request, response); } @@ -1310,20 +1370,30 @@ AdminService::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( AdminService_method_names[33], ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>( + std::mem_fn(&AdminService::Service::UpdateProjectAttributes), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AdminService_method_names[34], + ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>( std::mem_fn(&AdminService::Service::UpdateProjectDomainAttributes), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[34], + AdminService_method_names[35], + ::grpc::internal::RpcMethod::NORMAL_RPC, + new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>( + std::mem_fn(&AdminService::Service::UpdateWorkflowAttributes), this))); + AddMethod(new ::grpc::internal::RpcServiceMethod( + AdminService_method_names[36], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>( std::mem_fn(&AdminService::Service::ListNamedEntities), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[35], + AdminService_method_names[37], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>( std::mem_fn(&AdminService::Service::GetNamedEntity), this))); AddMethod(new ::grpc::internal::RpcServiceMethod( - AdminService_method_names[36], + AdminService_method_names[38], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< AdminService::Service, ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>( std::mem_fn(&AdminService::Service::UpdateNamedEntity), this))); @@ -1563,6 +1633,13 @@ ::grpc::Status AdminService::Service::GetTaskExecutionData(::grpc::ServerContext return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status AdminService::Service::UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status AdminService::Service::UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) { (void) context; (void) request; @@ -1570,6 +1647,13 @@ ::grpc::Status AdminService::Service::UpdateProjectDomainAttributes(::grpc::Serv return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } +::grpc::Status AdminService::Service::UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) { + (void) context; + (void) request; + (void) response; + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); +} + ::grpc::Status AdminService::Service::ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response) { (void) context; (void) request; diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h index e35b4c87dc..a87fd52e1a 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/service/admin.grpc.pb.h @@ -281,6 +281,13 @@ class AdminService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>> PrepareAsyncGetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>>(PrepareAsyncGetTaskExecutionDataRaw(context, request, cq)); } + virtual ::grpc::Status UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>> AsyncUpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>>(AsyncUpdateProjectAttributesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>> PrepareAsyncUpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>>(PrepareAsyncUpdateProjectAttributesRaw(context, request, cq)); + } virtual ::grpc::Status UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>> AsyncUpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>>(AsyncUpdateProjectDomainAttributesRaw(context, request, cq)); @@ -288,6 +295,13 @@ class AdminService final { std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>> PrepareAsyncUpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>>(PrepareAsyncUpdateProjectDomainAttributesRaw(context, request, cq)); } + virtual ::grpc::Status UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) = 0; + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>> AsyncUpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>>(AsyncUpdateWorkflowAttributesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>> PrepareAsyncUpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>>(PrepareAsyncUpdateWorkflowAttributesRaw(context, request, cq)); + } virtual ::grpc::Status ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::flyteidl::admin::NamedEntityList* response) = 0; std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>> AsyncListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>>(AsyncListNamedEntitiesRaw(context, request, cq)); @@ -444,10 +458,18 @@ class AdminService final { virtual void GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, std::function) = 0; virtual void GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function) = 0; + virtual void UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function) = 0; + virtual void UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function) = 0; virtual void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function) = 0; virtual void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function) = 0; + virtual void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function) = 0; + virtual void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; + virtual void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; virtual void ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, std::function) = 0; virtual void ListNamedEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityList* response, std::function) = 0; virtual void ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) = 0; @@ -529,8 +551,12 @@ class AdminService final { virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionList>* PrepareAsyncListTaskExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>* AsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::TaskExecutionGetDataResponse>* PrepareAsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>* AsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectAttributesUpdateResponse>* PrepareAsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* AsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* PrepareAsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* AsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; + virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* PrepareAsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>* AsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntityList>* PrepareAsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) = 0; virtual ::grpc::ClientAsyncResponseReaderInterface< ::flyteidl::admin::NamedEntity>* AsyncGetNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) = 0; @@ -772,6 +798,13 @@ class AdminService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>> PrepareAsyncGetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>>(PrepareAsyncGetTaskExecutionDataRaw(context, request, cq)); } + ::grpc::Status UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>> AsyncUpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>>(AsyncUpdateProjectAttributesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>> PrepareAsyncUpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>>(PrepareAsyncUpdateProjectAttributesRaw(context, request, cq)); + } ::grpc::Status UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>> AsyncUpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>>(AsyncUpdateProjectDomainAttributesRaw(context, request, cq)); @@ -779,6 +812,13 @@ class AdminService final { std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>> PrepareAsyncUpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>>(PrepareAsyncUpdateProjectDomainAttributesRaw(context, request, cq)); } + ::grpc::Status UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override; + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>> AsyncUpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>>(AsyncUpdateWorkflowAttributesRaw(context, request, cq)); + } + std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>> PrepareAsyncUpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) { + return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>>(PrepareAsyncUpdateWorkflowAttributesRaw(context, request, cq)); + } ::grpc::Status ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::flyteidl::admin::NamedEntityList* response) override; std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>> AsyncListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) { return std::unique_ptr< ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>>(AsyncListNamedEntitiesRaw(context, request, cq)); @@ -935,10 +975,18 @@ class AdminService final { void GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, std::function) override; void GetTaskExecutionData(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void GetTaskExecutionData(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function) override; + void UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, std::function) override; + void UpdateProjectAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void UpdateProjectAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function) override; void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, std::function) override; void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void UpdateProjectDomainAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function) override; + void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, std::function) override; + void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; + void UpdateWorkflowAttributes(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; void ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, std::function) override; void ListNamedEntities(::grpc::ClientContext* context, const ::grpc::ByteBuffer* request, ::flyteidl::admin::NamedEntityList* response, std::function) override; void ListNamedEntities(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response, ::grpc::experimental::ClientUnaryReactor* reactor) override; @@ -1028,8 +1076,12 @@ class AdminService final { ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionList>* PrepareAsyncListTaskExecutionsRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionListRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>* AsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::TaskExecutionGetDataResponse>* PrepareAsyncGetTaskExecutionDataRaw(::grpc::ClientContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>* AsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectAttributesUpdateResponse>* PrepareAsyncUpdateProjectAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* AsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* PrepareAsyncUpdateProjectDomainAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* AsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; + ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* PrepareAsyncUpdateWorkflowAttributesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>* AsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntityList>* PrepareAsyncListNamedEntitiesRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityListRequest& request, ::grpc::CompletionQueue* cq) override; ::grpc::ClientAsyncResponseReader< ::flyteidl::admin::NamedEntity>* AsyncGetNamedEntityRaw(::grpc::ClientContext* context, const ::flyteidl::admin::NamedEntityGetRequest& request, ::grpc::CompletionQueue* cq) override; @@ -1069,7 +1121,9 @@ class AdminService final { const ::grpc::internal::RpcMethod rpcmethod_GetTaskExecution_; const ::grpc::internal::RpcMethod rpcmethod_ListTaskExecutions_; const ::grpc::internal::RpcMethod rpcmethod_GetTaskExecutionData_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateProjectAttributes_; const ::grpc::internal::RpcMethod rpcmethod_UpdateProjectDomainAttributes_; + const ::grpc::internal::RpcMethod rpcmethod_UpdateWorkflowAttributes_; const ::grpc::internal::RpcMethod rpcmethod_ListNamedEntities_; const ::grpc::internal::RpcMethod rpcmethod_GetNamedEntity_; const ::grpc::internal::RpcMethod rpcmethod_UpdateNamedEntity_; @@ -1113,7 +1167,9 @@ class AdminService final { virtual ::grpc::Status GetTaskExecution(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetRequest* request, ::flyteidl::admin::TaskExecution* response); virtual ::grpc::Status ListTaskExecutions(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionListRequest* request, ::flyteidl::admin::TaskExecutionList* response); virtual ::grpc::Status GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response); + virtual ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response); virtual ::grpc::Status UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response); + virtual ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response); virtual ::grpc::Status ListNamedEntities(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, ::flyteidl::admin::NamedEntityList* response); virtual ::grpc::Status GetNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, ::flyteidl::admin::NamedEntity* response); virtual ::grpc::Status UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response); @@ -1779,12 +1835,32 @@ class AdminService final { } }; template + class WithAsyncMethod_UpdateProjectAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_UpdateProjectAttributes() { + ::grpc::Service::MarkMethodAsync(33); + } + ~WithAsyncMethod_UpdateProjectAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateProjectAttributes(::grpc::ServerContext* context, ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectAttributesUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithAsyncMethod_UpdateProjectDomainAttributes : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::MarkMethodAsync(33); + ::grpc::Service::MarkMethodAsync(34); } ~WithAsyncMethod_UpdateProjectDomainAttributes() override { BaseClassMustBeDerivedFromService(this); @@ -1795,7 +1871,27 @@ class AdminService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateProjectDomainAttributes(::grpc::ServerContext* context, ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithAsyncMethod_UpdateWorkflowAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithAsyncMethod_UpdateWorkflowAttributes() { + ::grpc::Service::MarkMethodAsync(35); + } + ~WithAsyncMethod_UpdateWorkflowAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateWorkflowAttributes(::grpc::ServerContext* context, ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::WorkflowAttributesUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1804,7 +1900,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_ListNamedEntities() { - ::grpc::Service::MarkMethodAsync(34); + ::grpc::Service::MarkMethodAsync(36); } ~WithAsyncMethod_ListNamedEntities() override { BaseClassMustBeDerivedFromService(this); @@ -1815,7 +1911,7 @@ class AdminService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListNamedEntities(::grpc::ServerContext* context, ::flyteidl::admin::NamedEntityListRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NamedEntityList>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1824,7 +1920,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_GetNamedEntity() { - ::grpc::Service::MarkMethodAsync(35); + ::grpc::Service::MarkMethodAsync(37); } ~WithAsyncMethod_GetNamedEntity() override { BaseClassMustBeDerivedFromService(this); @@ -1835,7 +1931,7 @@ class AdminService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetNamedEntity(::grpc::ServerContext* context, ::flyteidl::admin::NamedEntityGetRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NamedEntity>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -1844,7 +1940,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithAsyncMethod_UpdateNamedEntity() { - ::grpc::Service::MarkMethodAsync(36); + ::grpc::Service::MarkMethodAsync(38); } ~WithAsyncMethod_UpdateNamedEntity() override { BaseClassMustBeDerivedFromService(this); @@ -1855,10 +1951,10 @@ class AdminService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateNamedEntity(::grpc::ServerContext* context, ::flyteidl::admin::NamedEntityUpdateRequest* request, ::grpc::ServerAsyncResponseWriter< ::flyteidl::admin::NamedEntityUpdateResponse>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(38, context, request, response, new_call_cq, notification_cq, tag); } }; - typedef WithAsyncMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; + typedef WithAsyncMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AsyncService; template class ExperimentalWithCallbackMethod_CreateTask : public BaseClass { private: @@ -2883,12 +2979,43 @@ class AdminService final { virtual void GetTaskExecutionData(::grpc::ServerContext* context, const ::flyteidl::admin::TaskExecutionGetDataRequest* request, ::flyteidl::admin::TaskExecutionGetDataResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithCallbackMethod_UpdateProjectAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_UpdateProjectAttributes() { + ::grpc::Service::experimental().MarkMethodCallback(33, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, + ::flyteidl::admin::ProjectAttributesUpdateResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->UpdateProjectAttributes(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_UpdateProjectAttributes( + ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>*>( + ::grpc::Service::experimental().GetHandler(33)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_UpdateProjectAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class ExperimentalWithCallbackMethod_UpdateProjectDomainAttributes : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithCallbackMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::experimental().MarkMethodCallback(33, + ::grpc::Service::experimental().MarkMethodCallback(34, new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>( [this](::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, @@ -2900,7 +3027,7 @@ class AdminService final { void SetMessageAllocatorFor_UpdateProjectDomainAttributes( ::grpc::experimental::MessageAllocator< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* allocator) { static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>*>( - ::grpc::Service::experimental().GetHandler(33)) + ::grpc::Service::experimental().GetHandler(34)) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_UpdateProjectDomainAttributes() override { @@ -2914,12 +3041,43 @@ class AdminService final { virtual void UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectDomainAttributesUpdateRequest* request, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithCallbackMethod_UpdateWorkflowAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithCallbackMethod_UpdateWorkflowAttributes() { + ::grpc::Service::experimental().MarkMethodCallback(35, + new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>( + [this](::grpc::ServerContext* context, + const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, + ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + return this->UpdateWorkflowAttributes(context, request, response, controller); + })); + } + void SetMessageAllocatorFor_UpdateWorkflowAttributes( + ::grpc::experimental::MessageAllocator< ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>* allocator) { + static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>*>( + ::grpc::Service::experimental().GetHandler(35)) + ->SetMessageAllocator(allocator); + } + ~ExperimentalWithCallbackMethod_UpdateWorkflowAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class ExperimentalWithCallbackMethod_ListNamedEntities : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithCallbackMethod_ListNamedEntities() { - ::grpc::Service::experimental().MarkMethodCallback(34, + ::grpc::Service::experimental().MarkMethodCallback(36, new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>( [this](::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityListRequest* request, @@ -2931,7 +3089,7 @@ class AdminService final { void SetMessageAllocatorFor_ListNamedEntities( ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>* allocator) { static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>*>( - ::grpc::Service::experimental().GetHandler(34)) + ::grpc::Service::experimental().GetHandler(36)) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_ListNamedEntities() override { @@ -2950,7 +3108,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithCallbackMethod_GetNamedEntity() { - ::grpc::Service::experimental().MarkMethodCallback(35, + ::grpc::Service::experimental().MarkMethodCallback(37, new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>( [this](::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityGetRequest* request, @@ -2962,7 +3120,7 @@ class AdminService final { void SetMessageAllocatorFor_GetNamedEntity( ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>* allocator) { static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>*>( - ::grpc::Service::experimental().GetHandler(35)) + ::grpc::Service::experimental().GetHandler(37)) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_GetNamedEntity() override { @@ -2981,7 +3139,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithCallbackMethod_UpdateNamedEntity() { - ::grpc::Service::experimental().MarkMethodCallback(36, + ::grpc::Service::experimental().MarkMethodCallback(38, new ::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>( [this](::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, @@ -2993,7 +3151,7 @@ class AdminService final { void SetMessageAllocatorFor_UpdateNamedEntity( ::grpc::experimental::MessageAllocator< ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>* allocator) { static_cast<::grpc::internal::CallbackUnaryHandler< ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>*>( - ::grpc::Service::experimental().GetHandler(36)) + ::grpc::Service::experimental().GetHandler(38)) ->SetMessageAllocator(allocator); } ~ExperimentalWithCallbackMethod_UpdateNamedEntity() override { @@ -3006,7 +3164,7 @@ class AdminService final { } virtual void UpdateNamedEntity(::grpc::ServerContext* context, const ::flyteidl::admin::NamedEntityUpdateRequest* request, ::flyteidl::admin::NamedEntityUpdateResponse* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; - typedef ExperimentalWithCallbackMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ExperimentalCallbackService; + typedef ExperimentalWithCallbackMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ExperimentalCallbackService; template class WithGenericMethod_CreateTask : public BaseClass { private: @@ -3569,12 +3727,29 @@ class AdminService final { } }; template + class WithGenericMethod_UpdateProjectAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_UpdateProjectAttributes() { + ::grpc::Service::MarkMethodGeneric(33); + } + ~WithGenericMethod_UpdateProjectAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_UpdateProjectDomainAttributes : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::MarkMethodGeneric(33); + ::grpc::Service::MarkMethodGeneric(34); } ~WithGenericMethod_UpdateProjectDomainAttributes() override { BaseClassMustBeDerivedFromService(this); @@ -3586,12 +3761,29 @@ class AdminService final { } }; template + class WithGenericMethod_UpdateWorkflowAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithGenericMethod_UpdateWorkflowAttributes() { + ::grpc::Service::MarkMethodGeneric(35); + } + ~WithGenericMethod_UpdateWorkflowAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + }; + template class WithGenericMethod_ListNamedEntities : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_ListNamedEntities() { - ::grpc::Service::MarkMethodGeneric(34); + ::grpc::Service::MarkMethodGeneric(36); } ~WithGenericMethod_ListNamedEntities() override { BaseClassMustBeDerivedFromService(this); @@ -3608,7 +3800,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_GetNamedEntity() { - ::grpc::Service::MarkMethodGeneric(35); + ::grpc::Service::MarkMethodGeneric(37); } ~WithGenericMethod_GetNamedEntity() override { BaseClassMustBeDerivedFromService(this); @@ -3625,7 +3817,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithGenericMethod_UpdateNamedEntity() { - ::grpc::Service::MarkMethodGeneric(36); + ::grpc::Service::MarkMethodGeneric(38); } ~WithGenericMethod_UpdateNamedEntity() override { BaseClassMustBeDerivedFromService(this); @@ -4297,12 +4489,32 @@ class AdminService final { } }; template + class WithRawMethod_UpdateProjectAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_UpdateProjectAttributes() { + ::grpc::Service::MarkMethodRaw(33); + } + ~WithRawMethod_UpdateProjectAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateProjectAttributes(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template class WithRawMethod_UpdateProjectDomainAttributes : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::MarkMethodRaw(33); + ::grpc::Service::MarkMethodRaw(34); } ~WithRawMethod_UpdateProjectDomainAttributes() override { BaseClassMustBeDerivedFromService(this); @@ -4313,7 +4525,27 @@ class AdminService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateProjectDomainAttributes(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(33, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); + } + }; + template + class WithRawMethod_UpdateWorkflowAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithRawMethod_UpdateWorkflowAttributes() { + ::grpc::Service::MarkMethodRaw(35); + } + ~WithRawMethod_UpdateWorkflowAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + void RequestUpdateWorkflowAttributes(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { + ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4322,7 +4554,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_ListNamedEntities() { - ::grpc::Service::MarkMethodRaw(34); + ::grpc::Service::MarkMethodRaw(36); } ~WithRawMethod_ListNamedEntities() override { BaseClassMustBeDerivedFromService(this); @@ -4333,7 +4565,7 @@ class AdminService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestListNamedEntities(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(34, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4342,7 +4574,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_GetNamedEntity() { - ::grpc::Service::MarkMethodRaw(35); + ::grpc::Service::MarkMethodRaw(37); } ~WithRawMethod_GetNamedEntity() override { BaseClassMustBeDerivedFromService(this); @@ -4353,7 +4585,7 @@ class AdminService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestGetNamedEntity(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(35, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(37, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -4362,7 +4594,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithRawMethod_UpdateNamedEntity() { - ::grpc::Service::MarkMethodRaw(36); + ::grpc::Service::MarkMethodRaw(38); } ~WithRawMethod_UpdateNamedEntity() override { BaseClassMustBeDerivedFromService(this); @@ -4373,7 +4605,7 @@ class AdminService final { return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } void RequestUpdateNamedEntity(::grpc::ServerContext* context, ::grpc::ByteBuffer* request, ::grpc::ServerAsyncResponseWriter< ::grpc::ByteBuffer>* response, ::grpc::CompletionQueue* new_call_cq, ::grpc::ServerCompletionQueue* notification_cq, void *tag) { - ::grpc::Service::RequestAsyncUnary(36, context, request, response, new_call_cq, notification_cq, tag); + ::grpc::Service::RequestAsyncUnary(38, context, request, response, new_call_cq, notification_cq, tag); } }; template @@ -5202,12 +5434,37 @@ class AdminService final { virtual void GetTaskExecutionData(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithRawCallbackMethod_UpdateProjectAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_UpdateProjectAttributes() { + ::grpc::Service::experimental().MarkMethodRawCallback(33, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->UpdateProjectAttributes(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_UpdateProjectAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void UpdateProjectAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class ExperimentalWithRawCallbackMethod_UpdateProjectDomainAttributes : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithRawCallbackMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::experimental().MarkMethodRawCallback(33, + ::grpc::Service::experimental().MarkMethodRawCallback(34, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this](::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, @@ -5227,12 +5484,37 @@ class AdminService final { virtual void UpdateProjectDomainAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } }; template + class ExperimentalWithRawCallbackMethod_UpdateWorkflowAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + ExperimentalWithRawCallbackMethod_UpdateWorkflowAttributes() { + ::grpc::Service::experimental().MarkMethodRawCallback(35, + new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( + [this](::grpc::ServerContext* context, + const ::grpc::ByteBuffer* request, + ::grpc::ByteBuffer* response, + ::grpc::experimental::ServerCallbackRpcController* controller) { + this->UpdateWorkflowAttributes(context, request, response, controller); + })); + } + ~ExperimentalWithRawCallbackMethod_UpdateWorkflowAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable synchronous version of this method + ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + virtual void UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, ::grpc::ByteBuffer* response, ::grpc::experimental::ServerCallbackRpcController* controller) { controller->Finish(::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, "")); } + }; + template class ExperimentalWithRawCallbackMethod_ListNamedEntities : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithRawCallbackMethod_ListNamedEntities() { - ::grpc::Service::experimental().MarkMethodRawCallback(34, + ::grpc::Service::experimental().MarkMethodRawCallback(36, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this](::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, @@ -5257,7 +5539,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithRawCallbackMethod_GetNamedEntity() { - ::grpc::Service::experimental().MarkMethodRawCallback(35, + ::grpc::Service::experimental().MarkMethodRawCallback(37, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this](::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, @@ -5282,7 +5564,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: ExperimentalWithRawCallbackMethod_UpdateNamedEntity() { - ::grpc::Service::experimental().MarkMethodRawCallback(36, + ::grpc::Service::experimental().MarkMethodRawCallback(38, new ::grpc::internal::CallbackUnaryHandler< ::grpc::ByteBuffer, ::grpc::ByteBuffer>( [this](::grpc::ServerContext* context, const ::grpc::ByteBuffer* request, @@ -5962,12 +6244,32 @@ class AdminService final { virtual ::grpc::Status StreamedGetTaskExecutionData(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::TaskExecutionGetDataRequest,::flyteidl::admin::TaskExecutionGetDataResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_UpdateProjectAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_UpdateProjectAttributes() { + ::grpc::Service::MarkMethodStreamed(33, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectAttributesUpdateRequest, ::flyteidl::admin::ProjectAttributesUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateProjectAttributes::StreamedUpdateProjectAttributes, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_UpdateProjectAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateProjectAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::ProjectAttributesUpdateRequest* request, ::flyteidl::admin::ProjectAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateProjectAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectAttributesUpdateRequest,::flyteidl::admin::ProjectAttributesUpdateResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_UpdateProjectDomainAttributes : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_UpdateProjectDomainAttributes() { - ::grpc::Service::MarkMethodStreamed(33, + ::grpc::Service::MarkMethodStreamed(34, new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest, ::flyteidl::admin::ProjectDomainAttributesUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateProjectDomainAttributes::StreamedUpdateProjectDomainAttributes, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_UpdateProjectDomainAttributes() override { @@ -5982,12 +6284,32 @@ class AdminService final { virtual ::grpc::Status StreamedUpdateProjectDomainAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::ProjectDomainAttributesUpdateRequest,::flyteidl::admin::ProjectDomainAttributesUpdateResponse>* server_unary_streamer) = 0; }; template + class WithStreamedUnaryMethod_UpdateWorkflowAttributes : public BaseClass { + private: + void BaseClassMustBeDerivedFromService(const Service *service) {} + public: + WithStreamedUnaryMethod_UpdateWorkflowAttributes() { + ::grpc::Service::MarkMethodStreamed(35, + new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::WorkflowAttributesUpdateRequest, ::flyteidl::admin::WorkflowAttributesUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateWorkflowAttributes::StreamedUpdateWorkflowAttributes, this, std::placeholders::_1, std::placeholders::_2))); + } + ~WithStreamedUnaryMethod_UpdateWorkflowAttributes() override { + BaseClassMustBeDerivedFromService(this); + } + // disable regular version of this method + ::grpc::Status UpdateWorkflowAttributes(::grpc::ServerContext* context, const ::flyteidl::admin::WorkflowAttributesUpdateRequest* request, ::flyteidl::admin::WorkflowAttributesUpdateResponse* response) override { + abort(); + return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); + } + // replace default version of method with streamed unary + virtual ::grpc::Status StreamedUpdateWorkflowAttributes(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::WorkflowAttributesUpdateRequest,::flyteidl::admin::WorkflowAttributesUpdateResponse>* server_unary_streamer) = 0; + }; + template class WithStreamedUnaryMethod_ListNamedEntities : public BaseClass { private: void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_ListNamedEntities() { - ::grpc::Service::MarkMethodStreamed(34, + ::grpc::Service::MarkMethodStreamed(36, new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NamedEntityListRequest, ::flyteidl::admin::NamedEntityList>(std::bind(&WithStreamedUnaryMethod_ListNamedEntities::StreamedListNamedEntities, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_ListNamedEntities() override { @@ -6007,7 +6329,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_GetNamedEntity() { - ::grpc::Service::MarkMethodStreamed(35, + ::grpc::Service::MarkMethodStreamed(37, new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NamedEntityGetRequest, ::flyteidl::admin::NamedEntity>(std::bind(&WithStreamedUnaryMethod_GetNamedEntity::StreamedGetNamedEntity, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_GetNamedEntity() override { @@ -6027,7 +6349,7 @@ class AdminService final { void BaseClassMustBeDerivedFromService(const Service *service) {} public: WithStreamedUnaryMethod_UpdateNamedEntity() { - ::grpc::Service::MarkMethodStreamed(36, + ::grpc::Service::MarkMethodStreamed(38, new ::grpc::internal::StreamedUnaryHandler< ::flyteidl::admin::NamedEntityUpdateRequest, ::flyteidl::admin::NamedEntityUpdateResponse>(std::bind(&WithStreamedUnaryMethod_UpdateNamedEntity::StreamedUpdateNamedEntity, this, std::placeholders::_1, std::placeholders::_2))); } ~WithStreamedUnaryMethod_UpdateNamedEntity() override { @@ -6041,9 +6363,9 @@ class AdminService final { // replace default version of method with streamed unary virtual ::grpc::Status StreamedUpdateNamedEntity(::grpc::ServerContext* context, ::grpc::ServerUnaryStreamer< ::flyteidl::admin::NamedEntityUpdateRequest,::flyteidl::admin::NamedEntityUpdateResponse>* server_unary_streamer) = 0; }; - typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; + typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedUnaryService; typedef Service SplitStreamedService; - typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; + typedef WithStreamedUnaryMethod_CreateTask > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > StreamedService; }; } // namespace service diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.cc index 8eba4f0393..43e9fb930c 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.cc @@ -39,292 +39,311 @@ ::google::protobuf::internal::AssignDescriptorsTable assign_descriptors_table_fl const char descriptor_table_protodef_flyteidl_2fservice_2fadmin_2eproto[] = "\n\034flyteidl/service/admin.proto\022\020flyteidl" ".service\032\034google/api/annotations.proto\032\034" - "flyteidl/admin/project.proto\032.flyteidl/a" - "dmin/project_domain_attributes.proto\032\031fl" - "yteidl/admin/task.proto\032\035flyteidl/admin/" - "workflow.proto\032 flyteidl/admin/launch_pl" - "an.proto\032\032flyteidl/admin/event.proto\032\036fl" - "yteidl/admin/execution.proto\032#flyteidl/a" - "dmin/node_execution.proto\032#flyteidl/admi" - "n/task_execution.proto\032\033flyteidl/admin/c" - "ommon.proto\032,protoc-gen-swagger/options/" - "annotations.proto2\200Q\n\014AdminService\022\305\002\n\nC" - "reateTask\022!.flyteidl.admin.TaskCreateReq" - "uest\032\".flyteidl.admin.TaskCreateResponse" - "\"\357\001\202\323\344\223\002\022\"\r/api/v1/tasks:\001*\222A\323\001\032&Create " - "and register a task definition.JB\n\003400\022;" - "\n9Returned for bad request that may have" - " failed validation.Je\n\003409\022^\n\\Returned f" - "or a request that references an identica" - "l entity that has already been registere" - "d.\022\262\001\n\007GetTask\022 .flyteidl.admin.ObjectGe" - "tRequest\032\024.flyteidl.admin.Task\"o\202\323\344\223\002\?\022=" - "/api/v1/tasks/{id.project}/{id.domain}/{" - "id.name}/{id.version}\222A\'\032%Retrieve an ex" - "isting task definition.\022\336\001\n\013ListTaskIds\022" - "0.flyteidl.admin.NamedEntityIdentifierLi" - "stRequest\032).flyteidl.admin.NamedEntityId" - "entifierList\"r\202\323\344\223\002%\022#/api/v1/task_ids/{" - "project}/{domain}\222AD\032BFetch existing tas" - "k definition identifiers matching input " - "filters.\022\353\001\n\tListTasks\022#.flyteidl.admin." - "ResourceListRequest\032\030.flyteidl.admin.Tas" - "kList\"\236\001\202\323\344\223\002\\\0220/api/v1/tasks/{id.projec" - "t}/{id.domain}/{id.name}Z(\022&/api/v1/task" - "s/{id.project}/{id.domain}\222A9\0327Fetch exi" - "sting task definitions matching input fi" - "lters.\022\331\002\n\016CreateWorkflow\022%.flyteidl.adm" - "in.WorkflowCreateRequest\032&.flyteidl.admi" - "n.WorkflowCreateResponse\"\367\001\202\323\344\223\002\026\"\021/api/" - "v1/workflows:\001*\222A\327\001\032*Create and register" - " a workflow definition.JB\n\003400\022;\n9Return" - "ed for bad request that may have failed " - "validation.Je\n\003409\022^\n\\Returned for a req" - "uest that references an identical entity" - " that has already been registered.\022\302\001\n\013G" - "etWorkflow\022 .flyteidl.admin.ObjectGetReq" - "uest\032\030.flyteidl.admin.Workflow\"w\202\323\344\223\002C\022A" - "/api/v1/workflows/{id.project}/{id.domai" - "n}/{id.name}/{id.version}\222A+\032)Retrieve a" - "n existing workflow definition.\022\355\001\n\017List" - "WorkflowIds\0220.flyteidl.admin.NamedEntity" - "IdentifierListRequest\032).flyteidl.admin.N" - "amedEntityIdentifierList\"}\202\323\344\223\002)\022\'/api/v" - "1/workflow_ids/{project}/{domain}\222AK\032IFe" - "tch an existing workflow definition iden" - "tifiers matching input filters.\022\377\001\n\rList" - "Workflows\022#.flyteidl.admin.ResourceListR" - "equest\032\034.flyteidl.admin.WorkflowList\"\252\001\202" - "\323\344\223\002d\0224/api/v1/workflows/{id.project}/{i" - "d.domain}/{id.name}Z,\022*/api/v1/workflows" - "/{id.project}/{id.domain}\222A=\032;Fetch exis" - "ting workflow definitions matching input" - " filters.\022\345\002\n\020CreateLaunchPlan\022\'.flyteid" - "l.admin.LaunchPlanCreateRequest\032(.flytei" - "dl.admin.LaunchPlanCreateResponse\"\375\001\202\323\344\223" - "\002\031\"\024/api/v1/launch_plans:\001*\222A\332\001\032-Create " - "and register a launch plan definition.JB" - "\n\003400\022;\n9Returned for bad request that m" - "ay have failed validation.Je\n\003409\022^\n\\Ret" - "urned for a request that references an i" - "dentical entity that has already been re" - "gistered.\022\314\001\n\rGetLaunchPlan\022 .flyteidl.a" - "dmin.ObjectGetRequest\032\032.flyteidl.admin.L" - "aunchPlan\"}\202\323\344\223\002F\022D/api/v1/launch_plans/" - "{id.project}/{id.domain}/{id.name}/{id.v" - "ersion}\222A.\032,Retrieve an existing launch " - "plan definition.\022\363\001\n\023GetActiveLaunchPlan" - "\022\'.flyteidl.admin.ActiveLaunchPlanReques" - "t\032\032.flyteidl.admin.LaunchPlan\"\226\001\202\323\344\223\002@\022>" - "/api/v1/active_launch_plans/{id.project}" - "/{id.domain}/{id.name}\222AM\032KRetrieve the " - "active launch plan version specified by " - "input request filters.\022\353\001\n\025ListActiveLau" - "nchPlans\022+.flyteidl.admin.ActiveLaunchPl" - "anListRequest\032\036.flyteidl.admin.LaunchPla" - "nList\"\204\001\202\323\344\223\0020\022./api/v1/active_launch_pl" - "ans/{project}/{domain}\222AK\032IFetch the act" - "ive launch plan versions specified by in" - "put request filters.\022\363\001\n\021ListLaunchPlanI" + "flyteidl/admin/project.proto\032\'flyteidl/a" + "dmin/project_attributes.proto\032.flyteidl/" + "admin/project_domain_attributes.proto\032\031f" + "lyteidl/admin/task.proto\032\035flyteidl/admin" + "/workflow.proto\032(flyteidl/admin/workflow" + "_attributes.proto\032 flyteidl/admin/launch" + "_plan.proto\032\032flyteidl/admin/event.proto\032" + "\036flyteidl/admin/execution.proto\032#flyteid" + "l/admin/node_execution.proto\032#flyteidl/a" + "dmin/task_execution.proto\032\033flyteidl/admi" + "n/common.proto\032,protoc-gen-swagger/optio" + "ns/annotations.proto2\323U\n\014AdminService\022\305\002" + "\n\nCreateTask\022!.flyteidl.admin.TaskCreate" + "Request\032\".flyteidl.admin.TaskCreateRespo" + "nse\"\357\001\202\323\344\223\002\022\"\r/api/v1/tasks:\001*\222A\323\001\032&Crea" + "te and register a task definition.JB\n\00340" + "0\022;\n9Returned for bad request that may h" + "ave failed validation.Je\n\003409\022^\n\\Returne" + "d for a request that references an ident" + "ical entity that has already been regist" + "ered.\022\262\001\n\007GetTask\022 .flyteidl.admin.Objec" + "tGetRequest\032\024.flyteidl.admin.Task\"o\202\323\344\223\002" + "\?\022=/api/v1/tasks/{id.project}/{id.domain" + "}/{id.name}/{id.version}\222A\'\032%Retrieve an" + " existing task definition.\022\336\001\n\013ListTaskI" "ds\0220.flyteidl.admin.NamedEntityIdentifie" "rListRequest\032).flyteidl.admin.NamedEntit" - "yIdentifierList\"\200\001\202\323\344\223\002,\022*/api/v1/launch" - "_plan_ids/{project}/{domain}\222AK\032IFetch e" - "xisting launch plan definition identifie" - "rs matching input filters.\022\214\002\n\017ListLaunc" - "hPlans\022#.flyteidl.admin.ResourceListRequ" - "est\032\036.flyteidl.admin.LaunchPlanList\"\263\001\202\323" - "\344\223\002j\0227/api/v1/launch_plans/{id.project}/" - "{id.domain}/{id.name}Z/\022-/api/v1/launch_" - "plans/{id.project}/{id.domain}\222A@\032>Fetch" - " existing launch plan definitions matchi" - "ng input filters.\022\300\006\n\020UpdateLaunchPlan\022\'" - ".flyteidl.admin.LaunchPlanUpdateRequest\032" - "(.flyteidl.admin.LaunchPlanUpdateRespons" - "e\"\330\005\202\323\344\223\002I\032D/api/v1/launch_plans/{id.pro" - "ject}/{id.domain}/{id.name}/{id.version}" - ":\001*\222A\205\005\032\202\005Update the status of an existi" - "ng launch plan definition. At most one l" - "aunch plan version for a given {project," - " domain, name} can be active at a time. " - "If this call sets a launch plan to activ" - "e and existing version is already active" - ", the result of this call will be that t" - "he formerly active launch plan will be m" - "ade inactive and specified launch plan i" - "n this request will be made active. In t" - "he event that the formerly active launch" - " plan had a schedule associated it with " - "it, this schedule will be disabled. If t" - "he reference launch plan in this request" - " is being set to active and has a schedu" - "le associated with it, the schedule will" - " be enabled.\022\242\001\n\017CreateExecution\022&.flyte" - "idl.admin.ExecutionCreateRequest\032\'.flyte" - "idl.admin.ExecutionCreateResponse\">\202\323\344\223\002" - "\027\"\022/api/v1/executions:\001*\222A\036\032\034Create a wo" - "rkflow execution.\022\261\001\n\021RelaunchExecution\022" - "(.flyteidl.admin.ExecutionRelaunchReques" - "t\032\'.flyteidl.admin.ExecutionCreateRespon" - "se\"I\202\323\344\223\002 \"\033/api/v1/executions/relaunch:" - "\001*\222A \032\036Relaunch a workflow execution.\022\302\001" - "\n\014GetExecution\022+.flyteidl.admin.Workflow" - "ExecutionGetRequest\032\031.flyteidl.admin.Exe" - "cution\"j\202\323\344\223\0027\0225/api/v1/executions/{id.p" - "roject}/{id.domain}/{id.name}\222A*\032(Retrie" - "ve an existing workflow execution.\022\202\002\n\020G" - "etExecutionData\022/.flyteidl.admin.Workflo" - "wExecutionGetDataRequest\0320.flyteidl.admi" - "n.WorkflowExecutionGetDataResponse\"\212\001\202\323\344" - "\223\002<\022:/api/v1/data/executions/{id.project" - "}/{id.domain}/{id.name}\222AE\032CRetrieve inp" - "ut and output data from an existing work" - "flow execution.\022\310\001\n\016ListExecutions\022#.fly" - "teidl.admin.ResourceListRequest\032\035.flytei" - "dl.admin.ExecutionList\"r\202\323\344\223\002-\022+/api/v1/" - "executions/{id.project}/{id.domain}\222A<\032:" - "Fetch existing workflow executions match" - "ing input filters.\022\364\001\n\022TerminateExecutio" - "n\022).flyteidl.admin.ExecutionTerminateReq" - "uest\032*.flyteidl.admin.ExecutionTerminate" - "Response\"\206\001\202\323\344\223\002:*5/api/v1/executions/{i" - "d.project}/{id.domain}/{id.name}:\001*\222AC\032A" - "Terminate the active workflow execution " - "specified in the request.\022\374\001\n\020GetNodeExe" - "cution\022\'.flyteidl.admin.NodeExecutionGet" - "Request\032\035.flyteidl.admin.NodeExecution\"\237" - "\001\202\323\344\223\002p\022n/api/v1/node_executions/{id.exe" - "cution_id.project}/{id.execution_id.doma" - "in}/{id.execution_id.name}/{id.node_id}\222" - "A&\032$Retrieve an existing node execution." - "\022\232\002\n\022ListNodeExecutions\022(.flyteidl.admin" - ".NodeExecutionListRequest\032!.flyteidl.adm" - "in.NodeExecutionList\"\266\001\202\323\344\223\002u\022s/api/v1/n" - "ode_executions/{workflow_execution_id.pr" - "oject}/{workflow_execution_id.domain}/{w" - "orkflow_execution_id.name}\222A8\0326Fetch exi" - "sting node executions matching input fil" - "ters.\022\357\004\n\031ListNodeExecutionsForTask\022/.fl" - "yteidl.admin.NodeExecutionForTaskListReq" - "uest\032!.flyteidl.admin.NodeExecutionList\"" - "\375\003\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_execut" - "ions/{task_execution_id.node_execution_i" - "d.execution_id.project}/{task_execution_" - "id.node_execution_id.execution_id.domain" - "}/{task_execution_id.node_execution_id.e" - "xecution_id.name}/{task_execution_id.nod" - "e_execution_id.node_id}/{task_execution_" - "id.task_id.project}/{task_execution_id.t" - "ask_id.domain}/{task_execution_id.task_i" - "d.name}/{task_execution_id.task_id.versi" - "on}/{task_execution_id.retry_attempt}\222AG" - "\032EFetch child node executions launched b" - "y the specified task execution.\022\263\002\n\024GetN" - "odeExecutionData\022+.flyteidl.admin.NodeEx" - "ecutionGetDataRequest\032,.flyteidl.admin.N" - "odeExecutionGetDataResponse\"\277\001\202\323\344\223\002u\022s/a" - "pi/v1/data/node_executions/{id.execution" - "_id.project}/{id.execution_id.domain}/{i" - "d.execution_id.name}/{id.node_id}\222AA\032\?Re" - "trieve input and output data from an exi" - "sting node execution.\022\227\001\n\017RegisterProjec" - "t\022&.flyteidl.admin.ProjectRegisterReques" - "t\032\'.flyteidl.admin.ProjectRegisterRespon" - "se\"3\202\323\344\223\002\025\"\020/api/v1/projects:\001*\222A\025\032\023Regi" - "ster a project.\022\205\001\n\014ListProjects\022\".flyte" - "idl.admin.ProjectListRequest\032\030.flyteidl." - "admin.Projects\"7\202\323\344\223\002\022\022\020/api/v1/projects" - "\222A\034\032\032Fetch registered projects.\022\335\001\n\023Crea" - "teWorkflowEvent\022-.flyteidl.admin.Workflo" - "wExecutionEventRequest\032..flyteidl.admin." - "WorkflowExecutionEventResponse\"g\202\323\344\223\002\035\"\030" - "/api/v1/events/workflows:\001*\222AA\032\?Create a" - " workflow execution event recording a ph" - "ase transition.\022\311\001\n\017CreateNodeEvent\022).fl" - "yteidl.admin.NodeExecutionEventRequest\032*" - ".flyteidl.admin.NodeExecutionEventRespon" - "se\"_\202\323\344\223\002\031\"\024/api/v1/events/nodes:\001*\222A=\032;" - "Create a node execution event recording " - "a phase transition.\022\311\001\n\017CreateTaskEvent\022" - ").flyteidl.admin.TaskExecutionEventReque" - "st\032*.flyteidl.admin.TaskExecutionEventRe" - "sponse\"_\202\323\344\223\002\031\"\024/api/v1/events/tasks:\001*\222" - "A=\032;Create a task execution event record" - "ing a phase transition.\022\251\003\n\020GetTaskExecu" - "tion\022\'.flyteidl.admin.TaskExecutionGetRe" - "quest\032\035.flyteidl.admin.TaskExecution\"\314\002\202" - "\323\344\223\002\234\002\022\231\002/api/v1/task_executions/{id.nod" - "e_execution_id.execution_id.project}/{id" - ".node_execution_id.execution_id.domain}/" - "{id.node_execution_id.execution_id.name}" - "/{id.node_execution_id.node_id}/{id.task" - "_id.project}/{id.task_id.domain}/{id.tas" - "k_id.name}/{id.task_id.version}/{id.retr" - "y_attempt}\222A&\032$Retrieve an existing task" - " execution.\022\323\002\n\022ListTaskExecutions\022(.fly" - "teidl.admin.TaskExecutionListRequest\032!.f" - "lyteidl.admin.TaskExecutionList\"\357\001\202\323\344\223\002\255" - "\001\022\252\001/api/v1/task_executions/{node_execut" - "ion_id.execution_id.project}/{node_execu" - "tion_id.execution_id.domain}/{node_execu" - "tion_id.execution_id.name}/{node_executi" - "on_id.node_id}\222A8\0326Fetch existing task e" - "xecutions matching input filters.\022\340\003\n\024Ge" - "tTaskExecutionData\022+.flyteidl.admin.Task" - "ExecutionGetDataRequest\032,.flyteidl.admin" - ".TaskExecutionGetDataResponse\"\354\002\202\323\344\223\002\241\002\022" - "\236\002/api/v1/data/task_executions/{id.node_" - "execution_id.execution_id.project}/{id.n" - "ode_execution_id.execution_id.domain}/{i" - "d.node_execution_id.execution_id.name}/{" - "id.node_execution_id.node_id}/{id.task_i" - "d.project}/{id.task_id.domain}/{id.task_" - "id.name}/{id.task_id.version}/{id.retry_" - "attempt}\222AA\032\?Retrieve input and output d" - "ata from an existing task execution.\022\277\002\n" - "\035UpdateProjectDomainAttributes\0224.flyteid" - "l.admin.ProjectDomainAttributesUpdateReq" - "uest\0325.flyteidl.admin.ProjectDomainAttri" - "butesUpdateResponse\"\260\001\202\323\344\223\002O\032J/api/v1/pr" - "oject_domain_attributes/{attributes.proj" - "ect}/{attributes.domain}:\001*\222AX\032VUpdate t" - "he customized resource attributes associ" - "ated with a project-domain combination\022\200" - "\002\n\021ListNamedEntities\022&.flyteidl.admin.Na" - "medEntityListRequest\032\037.flyteidl.admin.Na" - "medEntityList\"\241\001\202\323\344\223\002;\0229/api/v1/named_en" - "tities/{resource_type}/{project}/{domain" - "}\222A]\032[Retrieve a list of NamedEntity obj" - "ects sharing a common resource type, pro" - "ject, and domain.\022\312\001\n\016GetNamedEntity\022%.f" - "lyteidl.admin.NamedEntityGetRequest\032\033.fl" - "yteidl.admin.NamedEntity\"t\202\323\344\223\002K\022I/api/v" - "1/named_entities/{resource_type}/{id.pro" - "ject}/{id.domain}/{id.name}\222A \032\036Retrieve" - " a NamedEntity object.\022\363\001\n\021UpdateNamedEn" - "tity\022(.flyteidl.admin.NamedEntityUpdateR" - "equest\032).flyteidl.admin.NamedEntityUpdat" - "eResponse\"\210\001\202\323\344\223\002N\032I/api/v1/named_entiti" - "es/{resource_type}/{id.project}/{id.doma" - "in}/{id.name}:\001*\222A1\032/Update the fields a" - "ssociated with a NamedEntityB5Z3github.c" - "om/lyft/flyteidl/gen/pb-go/flyteidl/serv" - "iceb\006proto3" + "yIdentifierList\"r\202\323\344\223\002%\022#/api/v1/task_id" + "s/{project}/{domain}\222AD\032BFetch existing " + "task definition identifiers matching inp" + "ut filters.\022\353\001\n\tListTasks\022#.flyteidl.adm" + "in.ResourceListRequest\032\030.flyteidl.admin." + "TaskList\"\236\001\202\323\344\223\002\\\0220/api/v1/tasks/{id.pro" + "ject}/{id.domain}/{id.name}Z(\022&/api/v1/t" + "asks/{id.project}/{id.domain}\222A9\0327Fetch " + "existing task definitions matching input" + " filters.\022\331\002\n\016CreateWorkflow\022%.flyteidl." + "admin.WorkflowCreateRequest\032&.flyteidl.a" + "dmin.WorkflowCreateResponse\"\367\001\202\323\344\223\002\026\"\021/a" + "pi/v1/workflows:\001*\222A\327\001\032*Create and regis" + "ter a workflow definition.JB\n\003400\022;\n9Ret" + "urned for bad request that may have fail" + "ed validation.Je\n\003409\022^\n\\Returned for a " + "request that references an identical ent" + "ity that has already been registered.\022\302\001" + "\n\013GetWorkflow\022 .flyteidl.admin.ObjectGet" + "Request\032\030.flyteidl.admin.Workflow\"w\202\323\344\223\002" + "C\022A/api/v1/workflows/{id.project}/{id.do" + "main}/{id.name}/{id.version}\222A+\032)Retriev" + "e an existing workflow definition.\022\355\001\n\017L" + "istWorkflowIds\0220.flyteidl.admin.NamedEnt" + "ityIdentifierListRequest\032).flyteidl.admi" + "n.NamedEntityIdentifierList\"}\202\323\344\223\002)\022\'/ap" + "i/v1/workflow_ids/{project}/{domain}\222AK\032" + "IFetch an existing workflow definition i" + "dentifiers matching input filters.\022\377\001\n\rL" + "istWorkflows\022#.flyteidl.admin.ResourceLi" + "stRequest\032\034.flyteidl.admin.WorkflowList\"" + "\252\001\202\323\344\223\002d\0224/api/v1/workflows/{id.project}" + "/{id.domain}/{id.name}Z,\022*/api/v1/workfl" + "ows/{id.project}/{id.domain}\222A=\032;Fetch e" + "xisting workflow definitions matching in" + "put filters.\022\345\002\n\020CreateLaunchPlan\022\'.flyt" + "eidl.admin.LaunchPlanCreateRequest\032(.fly" + "teidl.admin.LaunchPlanCreateResponse\"\375\001\202" + "\323\344\223\002\031\"\024/api/v1/launch_plans:\001*\222A\332\001\032-Crea" + "te and register a launch plan definition" + ".JB\n\003400\022;\n9Returned for bad request tha" + "t may have failed validation.Je\n\003409\022^\n\\" + "Returned for a request that references a" + "n identical entity that has already been" + " registered.\022\314\001\n\rGetLaunchPlan\022 .flyteid" + "l.admin.ObjectGetRequest\032\032.flyteidl.admi" + "n.LaunchPlan\"}\202\323\344\223\002F\022D/api/v1/launch_pla" + "ns/{id.project}/{id.domain}/{id.name}/{i" + "d.version}\222A.\032,Retrieve an existing laun" + "ch plan definition.\022\363\001\n\023GetActiveLaunchP" + "lan\022\'.flyteidl.admin.ActiveLaunchPlanReq" + "uest\032\032.flyteidl.admin.LaunchPlan\"\226\001\202\323\344\223\002" + "@\022>/api/v1/active_launch_plans/{id.proje" + "ct}/{id.domain}/{id.name}\222AM\032KRetrieve t" + "he active launch plan version specified " + "by input request filters.\022\353\001\n\025ListActive" + "LaunchPlans\022+.flyteidl.admin.ActiveLaunc" + "hPlanListRequest\032\036.flyteidl.admin.Launch" + "PlanList\"\204\001\202\323\344\223\0020\022./api/v1/active_launch" + "_plans/{project}/{domain}\222AK\032IFetch the " + "active launch plan versions specified by" + " input request filters.\022\363\001\n\021ListLaunchPl" + "anIds\0220.flyteidl.admin.NamedEntityIdenti" + "fierListRequest\032).flyteidl.admin.NamedEn" + "tityIdentifierList\"\200\001\202\323\344\223\002,\022*/api/v1/lau" + "nch_plan_ids/{project}/{domain}\222AK\032IFetc" + "h existing launch plan definition identi" + "fiers matching input filters.\022\214\002\n\017ListLa" + "unchPlans\022#.flyteidl.admin.ResourceListR" + "equest\032\036.flyteidl.admin.LaunchPlanList\"\263" + "\001\202\323\344\223\002j\0227/api/v1/launch_plans/{id.projec" + "t}/{id.domain}/{id.name}Z/\022-/api/v1/laun" + "ch_plans/{id.project}/{id.domain}\222A@\032>Fe" + "tch existing launch plan definitions mat" + "ching input filters.\022\300\006\n\020UpdateLaunchPla" + "n\022\'.flyteidl.admin.LaunchPlanUpdateReque" + "st\032(.flyteidl.admin.LaunchPlanUpdateResp" + "onse\"\330\005\202\323\344\223\002I\032D/api/v1/launch_plans/{id." + "project}/{id.domain}/{id.name}/{id.versi" + "on}:\001*\222A\205\005\032\202\005Update the status of an exi" + "sting launch plan definition. At most on" + "e launch plan version for a given {proje" + "ct, domain, name} can be active at a tim" + "e. If this call sets a launch plan to ac" + "tive and existing version is already act" + "ive, the result of this call will be tha" + "t the formerly active launch plan will b" + "e made inactive and specified launch pla" + "n in this request will be made active. I" + "n the event that the formerly active lau" + "nch plan had a schedule associated it wi" + "th it, this schedule will be disabled. I" + "f the reference launch plan in this requ" + "est is being set to active and has a sch" + "edule associated with it, the schedule w" + "ill be enabled.\022\242\001\n\017CreateExecution\022&.fl" + "yteidl.admin.ExecutionCreateRequest\032\'.fl" + "yteidl.admin.ExecutionCreateResponse\">\202\323" + "\344\223\002\027\"\022/api/v1/executions:\001*\222A\036\032\034Create a" + " workflow execution.\022\261\001\n\021RelaunchExecuti" + "on\022(.flyteidl.admin.ExecutionRelaunchReq" + "uest\032\'.flyteidl.admin.ExecutionCreateRes" + "ponse\"I\202\323\344\223\002 \"\033/api/v1/executions/relaun" + "ch:\001*\222A \032\036Relaunch a workflow execution." + "\022\302\001\n\014GetExecution\022+.flyteidl.admin.Workf" + "lowExecutionGetRequest\032\031.flyteidl.admin." + "Execution\"j\202\323\344\223\0027\0225/api/v1/executions/{i" + "d.project}/{id.domain}/{id.name}\222A*\032(Ret" + "rieve an existing workflow execution.\022\202\002" + "\n\020GetExecutionData\022/.flyteidl.admin.Work" + "flowExecutionGetDataRequest\0320.flyteidl.a" + "dmin.WorkflowExecutionGetDataResponse\"\212\001" + "\202\323\344\223\002<\022:/api/v1/data/executions/{id.proj" + "ect}/{id.domain}/{id.name}\222AE\032CRetrieve " + "input and output data from an existing w" + "orkflow execution.\022\310\001\n\016ListExecutions\022#." + "flyteidl.admin.ResourceListRequest\032\035.fly" + "teidl.admin.ExecutionList\"r\202\323\344\223\002-\022+/api/" + "v1/executions/{id.project}/{id.domain}\222A" + "<\032:Fetch existing workflow executions ma" + "tching input filters.\022\364\001\n\022TerminateExecu" + "tion\022).flyteidl.admin.ExecutionTerminate" + "Request\032*.flyteidl.admin.ExecutionTermin" + "ateResponse\"\206\001\202\323\344\223\002:*5/api/v1/executions" + "/{id.project}/{id.domain}/{id.name}:\001*\222A" + "C\032ATerminate the active workflow executi" + "on specified in the request.\022\374\001\n\020GetNode" + "Execution\022\'.flyteidl.admin.NodeExecution" + "GetRequest\032\035.flyteidl.admin.NodeExecutio" + "n\"\237\001\202\323\344\223\002p\022n/api/v1/node_executions/{id." + "execution_id.project}/{id.execution_id.d" + "omain}/{id.execution_id.name}/{id.node_i" + "d}\222A&\032$Retrieve an existing node executi" + "on.\022\232\002\n\022ListNodeExecutions\022(.flyteidl.ad" + "min.NodeExecutionListRequest\032!.flyteidl." + "admin.NodeExecutionList\"\266\001\202\323\344\223\002u\022s/api/v" + "1/node_executions/{workflow_execution_id" + ".project}/{workflow_execution_id.domain}" + "/{workflow_execution_id.name}\222A8\0326Fetch " + "existing node executions matching input " + "filters.\022\357\004\n\031ListNodeExecutionsForTask\022/" + ".flyteidl.admin.NodeExecutionForTaskList" + "Request\032!.flyteidl.admin.NodeExecutionLi" + "st\"\375\003\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_exe" + "cutions/{task_execution_id.node_executio" + "n_id.execution_id.project}/{task_executi" + "on_id.node_execution_id.execution_id.dom" + "ain}/{task_execution_id.node_execution_i" + "d.execution_id.name}/{task_execution_id." + "node_execution_id.node_id}/{task_executi" + "on_id.task_id.project}/{task_execution_i" + "d.task_id.domain}/{task_execution_id.tas" + "k_id.name}/{task_execution_id.task_id.ve" + "rsion}/{task_execution_id.retry_attempt}" + "\222AG\032EFetch child node executions launche" + "d by the specified task execution.\022\263\002\n\024G" + "etNodeExecutionData\022+.flyteidl.admin.Nod" + "eExecutionGetDataRequest\032,.flyteidl.admi" + "n.NodeExecutionGetDataResponse\"\277\001\202\323\344\223\002u\022" + "s/api/v1/data/node_executions/{id.execut" + "ion_id.project}/{id.execution_id.domain}" + "/{id.execution_id.name}/{id.node_id}\222AA\032" + "\?Retrieve input and output data from an " + "existing node execution.\022\227\001\n\017RegisterPro" + "ject\022&.flyteidl.admin.ProjectRegisterReq" + "uest\032\'.flyteidl.admin.ProjectRegisterRes" + "ponse\"3\202\323\344\223\002\025\"\020/api/v1/projects:\001*\222A\025\032\023R" + "egister a project.\022\205\001\n\014ListProjects\022\".fl" + "yteidl.admin.ProjectListRequest\032\030.flytei" + "dl.admin.Projects\"7\202\323\344\223\002\022\022\020/api/v1/proje" + "cts\222A\034\032\032Fetch registered projects.\022\335\001\n\023C" + "reateWorkflowEvent\022-.flyteidl.admin.Work" + "flowExecutionEventRequest\032..flyteidl.adm" + "in.WorkflowExecutionEventResponse\"g\202\323\344\223\002" + "\035\"\030/api/v1/events/workflows:\001*\222AA\032\?Creat" + "e a workflow execution event recording a" + " phase transition.\022\311\001\n\017CreateNodeEvent\022)" + ".flyteidl.admin.NodeExecutionEventReques" + "t\032*.flyteidl.admin.NodeExecutionEventRes" + "ponse\"_\202\323\344\223\002\031\"\024/api/v1/events/nodes:\001*\222A" + "=\032;Create a node execution event recordi" + "ng a phase transition.\022\311\001\n\017CreateTaskEve" + "nt\022).flyteidl.admin.TaskExecutionEventRe" + "quest\032*.flyteidl.admin.TaskExecutionEven" + "tResponse\"_\202\323\344\223\002\031\"\024/api/v1/events/tasks:" + "\001*\222A=\032;Create a task execution event rec" + "ording a phase transition.\022\251\003\n\020GetTaskEx" + "ecution\022\'.flyteidl.admin.TaskExecutionGe" + "tRequest\032\035.flyteidl.admin.TaskExecution\"" + "\314\002\202\323\344\223\002\234\002\022\231\002/api/v1/task_executions/{id." + "node_execution_id.execution_id.project}/" + "{id.node_execution_id.execution_id.domai" + "n}/{id.node_execution_id.execution_id.na" + "me}/{id.node_execution_id.node_id}/{id.t" + "ask_id.project}/{id.task_id.domain}/{id." + "task_id.name}/{id.task_id.version}/{id.r" + "etry_attempt}\222A&\032$Retrieve an existing t" + "ask execution.\022\323\002\n\022ListTaskExecutions\022(." + "flyteidl.admin.TaskExecutionListRequest\032" + "!.flyteidl.admin.TaskExecutionList\"\357\001\202\323\344" + "\223\002\255\001\022\252\001/api/v1/task_executions/{node_exe" + "cution_id.execution_id.project}/{node_ex" + "ecution_id.execution_id.domain}/{node_ex" + "ecution_id.execution_id.name}/{node_exec" + "ution_id.node_id}\222A8\0326Fetch existing tas" + "k executions matching input filters.\022\340\003\n" + "\024GetTaskExecutionData\022+.flyteidl.admin.T" + "askExecutionGetDataRequest\032,.flyteidl.ad" + "min.TaskExecutionGetDataResponse\"\354\002\202\323\344\223\002" + "\241\002\022\236\002/api/v1/data/task_executions/{id.no" + "de_execution_id.execution_id.project}/{i" + "d.node_execution_id.execution_id.domain}" + "/{id.node_execution_id.execution_id.name" + "}/{id.node_execution_id.node_id}/{id.tas" + "k_id.project}/{id.task_id.domain}/{id.ta" + "sk_id.name}/{id.task_id.version}/{id.ret" + "ry_attempt}\222AA\032\?Retrieve input and outpu" + "t data from an existing task execution.\022" + "\377\001\n\027UpdateProjectAttributes\022..flyteidl.a" + "dmin.ProjectAttributesUpdateRequest\032/.fl" + "yteidl.admin.ProjectAttributesUpdateResp" + "onse\"\202\001\202\323\344\223\0024\032//api/v1/project_attribute" + "s/{attributes.project}:\001*\222AE\032CUpdate the" + " customized resource attributes associat" + "ed with a project\022\277\002\n\035UpdateProjectDomai" + "nAttributes\0224.flyteidl.admin.ProjectDoma" + "inAttributesUpdateRequest\0325.flyteidl.adm" + "in.ProjectDomainAttributesUpdateResponse" + "\"\260\001\202\323\344\223\002O\032J/api/v1/project_domain_attrib" + "utes/{attributes.project}/{attributes.do" + "main}:\001*\222AX\032VUpdate the customized resou" + "rce attributes associated with a project" + "-domain combination\022\316\002\n\030UpdateWorkflowAt" + "tributes\022/.flyteidl.admin.WorkflowAttrib" + "utesUpdateRequest\0320.flyteidl.admin.Workf" + "lowAttributesUpdateResponse\"\316\001\202\323\344\223\002_\032Z/a" + "pi/v1/workflow_attributes/{attributes.pr" + "oject}/{attributes.domain}/{attributes.w" + "orkflow}:\001*\222Af\032dUpdate the customized re" + "source attributes associated with a proj" + "ect, domain and workflow combination\022\200\002\n" + "\021ListNamedEntities\022&.flyteidl.admin.Name" + "dEntityListRequest\032\037.flyteidl.admin.Name" + "dEntityList\"\241\001\202\323\344\223\002;\0229/api/v1/named_enti" + "ties/{resource_type}/{project}/{domain}\222" + "A]\032[Retrieve a list of NamedEntity objec" + "ts sharing a common resource type, proje" + "ct, and domain.\022\312\001\n\016GetNamedEntity\022%.fly" + "teidl.admin.NamedEntityGetRequest\032\033.flyt" + "eidl.admin.NamedEntity\"t\202\323\344\223\002K\022I/api/v1/" + "named_entities/{resource_type}/{id.proje" + "ct}/{id.domain}/{id.name}\222A \032\036Retrieve a" + " NamedEntity object.\022\363\001\n\021UpdateNamedEnti" + "ty\022(.flyteidl.admin.NamedEntityUpdateReq" + "uest\032).flyteidl.admin.NamedEntityUpdateR" + "esponse\"\210\001\202\323\344\223\002N\032I/api/v1/named_entities" + "/{resource_type}/{id.project}/{id.domain" + "}/{id.name}:\001*\222A1\032/Update the fields ass" + "ociated with a NamedEntityB5Z3github.com" + "/lyft/flyteidl/gen/pb-go/flyteidl/servic" + "eb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fservice_2fadmin_2eproto = { false, InitDefaults_flyteidl_2fservice_2fadmin_2eproto, descriptor_table_protodef_flyteidl_2fservice_2fadmin_2eproto, - "flyteidl/service/admin.proto", &assign_descriptors_table_flyteidl_2fservice_2fadmin_2eproto, 10891, + "flyteidl/service/admin.proto", &assign_descriptors_table_flyteidl_2fservice_2fadmin_2eproto, 11569, }; void AddDescriptors_flyteidl_2fservice_2fadmin_2eproto() { - static constexpr ::google::protobuf::internal::InitFunc deps[12] = + static constexpr ::google::protobuf::internal::InitFunc deps[14] = { ::AddDescriptors_google_2fapi_2fannotations_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fproject_2eproto, + ::AddDescriptors_flyteidl_2fadmin_2fproject_5fattributes_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fproject_5fdomain_5fattributes_2eproto, ::AddDescriptors_flyteidl_2fadmin_2ftask_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fworkflow_2eproto, + ::AddDescriptors_flyteidl_2fadmin_2fworkflow_5fattributes_2eproto, ::AddDescriptors_flyteidl_2fadmin_2flaunch_5fplan_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fevent_2eproto, ::AddDescriptors_flyteidl_2fadmin_2fexecution_2eproto, @@ -333,7 +352,7 @@ void AddDescriptors_flyteidl_2fservice_2fadmin_2eproto() { ::AddDescriptors_flyteidl_2fadmin_2fcommon_2eproto, ::AddDescriptors_protoc_2dgen_2dswagger_2foptions_2fannotations_2eproto, }; - ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fadmin_2eproto, deps, 12); + ::google::protobuf::internal::AddDescriptors(&descriptor_table_flyteidl_2fservice_2fadmin_2eproto, deps, 14); } // Force running AddDescriptors() at dynamic initialization time. diff --git a/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.h b/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.h index 75d065040f..5629e3251f 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.h +++ b/flyteidl/gen/pb-cpp/flyteidl/service/admin.pb.h @@ -31,9 +31,11 @@ #include // IWYU pragma: export #include "google/api/annotations.pb.h" #include "flyteidl/admin/project.pb.h" +#include "flyteidl/admin/project_attributes.pb.h" #include "flyteidl/admin/project_domain_attributes.pb.h" #include "flyteidl/admin/task.pb.h" #include "flyteidl/admin/workflow.pb.h" +#include "flyteidl/admin/workflow_attributes.pb.h" #include "flyteidl/admin/launch_plan.pb.h" #include "flyteidl/admin/event.pb.h" #include "flyteidl/admin/execution.pb.h" diff --git a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go new file mode 100644 index 0000000000..c6c1fde627 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.go @@ -0,0 +1,391 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/admin/matchable_resource.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 a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes +// based on matching tags. +type MatchableResource int32 + +const ( + // Applies to customizable task resource requests and limits. + MatchableResource_TASK_RESOURCE MatchableResource = 0 + // Applies to configuring templated kubernetes cluster resources. + MatchableResource_CLUSTER_RESOURCE MatchableResource = 1 + // Configures task and dynamic task execution queue assignment. + MatchableResource_EXECUTION_QUEUE MatchableResource = 2 +) + +var MatchableResource_name = map[int32]string{ + 0: "TASK_RESOURCE", + 1: "CLUSTER_RESOURCE", + 2: "EXECUTION_QUEUE", +} + +var MatchableResource_value = map[string]int32{ + "TASK_RESOURCE": 0, + "CLUSTER_RESOURCE": 1, + "EXECUTION_QUEUE": 2, +} + +func (x MatchableResource) String() string { + return proto.EnumName(MatchableResource_name, int32(x)) +} + +func (MatchableResource) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_1d15bcabb02640f4, []int{0} +} + +type TaskResourceSpec struct { + Cpu string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"` + Gpu string `protobuf:"bytes,2,opt,name=gpu,proto3" json:"gpu,omitempty"` + Memory string `protobuf:"bytes,3,opt,name=memory,proto3" json:"memory,omitempty"` + Storage string `protobuf:"bytes,4,opt,name=storage,proto3" json:"storage,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskResourceSpec) Reset() { *m = TaskResourceSpec{} } +func (m *TaskResourceSpec) String() string { return proto.CompactTextString(m) } +func (*TaskResourceSpec) ProtoMessage() {} +func (*TaskResourceSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_1d15bcabb02640f4, []int{0} +} + +func (m *TaskResourceSpec) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TaskResourceSpec.Unmarshal(m, b) +} +func (m *TaskResourceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TaskResourceSpec.Marshal(b, m, deterministic) +} +func (m *TaskResourceSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskResourceSpec.Merge(m, src) +} +func (m *TaskResourceSpec) XXX_Size() int { + return xxx_messageInfo_TaskResourceSpec.Size(m) +} +func (m *TaskResourceSpec) XXX_DiscardUnknown() { + xxx_messageInfo_TaskResourceSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskResourceSpec proto.InternalMessageInfo + +func (m *TaskResourceSpec) GetCpu() string { + if m != nil { + return m.Cpu + } + return "" +} + +func (m *TaskResourceSpec) GetGpu() string { + if m != nil { + return m.Gpu + } + return "" +} + +func (m *TaskResourceSpec) GetMemory() string { + if m != nil { + return m.Memory + } + return "" +} + +func (m *TaskResourceSpec) GetStorage() string { + if m != nil { + return m.Storage + } + return "" +} + +type TaskResourceAttributes struct { + Defaults *TaskResourceSpec `protobuf:"bytes,1,opt,name=defaults,proto3" json:"defaults,omitempty"` + Limits *TaskResourceSpec `protobuf:"bytes,2,opt,name=limits,proto3" json:"limits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskResourceAttributes) Reset() { *m = TaskResourceAttributes{} } +func (m *TaskResourceAttributes) String() string { return proto.CompactTextString(m) } +func (*TaskResourceAttributes) ProtoMessage() {} +func (*TaskResourceAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_1d15bcabb02640f4, []int{1} +} + +func (m *TaskResourceAttributes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TaskResourceAttributes.Unmarshal(m, b) +} +func (m *TaskResourceAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TaskResourceAttributes.Marshal(b, m, deterministic) +} +func (m *TaskResourceAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskResourceAttributes.Merge(m, src) +} +func (m *TaskResourceAttributes) XXX_Size() int { + return xxx_messageInfo_TaskResourceAttributes.Size(m) +} +func (m *TaskResourceAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_TaskResourceAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskResourceAttributes proto.InternalMessageInfo + +func (m *TaskResourceAttributes) GetDefaults() *TaskResourceSpec { + if m != nil { + return m.Defaults + } + return nil +} + +func (m *TaskResourceAttributes) GetLimits() *TaskResourceSpec { + if m != nil { + return m.Limits + } + return nil +} + +type ClusterResourceAttributes struct { + // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). + // Map keys are the *case-sensitive* names of variables in templatized resource files. + // Map values should be the custom values which get substituted during resource creation. + Attributes map[string]string `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,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 *ClusterResourceAttributes) Reset() { *m = ClusterResourceAttributes{} } +func (m *ClusterResourceAttributes) String() string { return proto.CompactTextString(m) } +func (*ClusterResourceAttributes) ProtoMessage() {} +func (*ClusterResourceAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_1d15bcabb02640f4, []int{2} +} + +func (m *ClusterResourceAttributes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ClusterResourceAttributes.Unmarshal(m, b) +} +func (m *ClusterResourceAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ClusterResourceAttributes.Marshal(b, m, deterministic) +} +func (m *ClusterResourceAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterResourceAttributes.Merge(m, src) +} +func (m *ClusterResourceAttributes) XXX_Size() int { + return xxx_messageInfo_ClusterResourceAttributes.Size(m) +} +func (m *ClusterResourceAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterResourceAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterResourceAttributes proto.InternalMessageInfo + +func (m *ClusterResourceAttributes) GetAttributes() map[string]string { + if m != nil { + return m.Attributes + } + return nil +} + +type ExecutionQueueAttributes struct { + // Tags used for assigning execution queues for tasks defined within this project. + Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExecutionQueueAttributes) Reset() { *m = ExecutionQueueAttributes{} } +func (m *ExecutionQueueAttributes) String() string { return proto.CompactTextString(m) } +func (*ExecutionQueueAttributes) ProtoMessage() {} +func (*ExecutionQueueAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_1d15bcabb02640f4, []int{3} +} + +func (m *ExecutionQueueAttributes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExecutionQueueAttributes.Unmarshal(m, b) +} +func (m *ExecutionQueueAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExecutionQueueAttributes.Marshal(b, m, deterministic) +} +func (m *ExecutionQueueAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExecutionQueueAttributes.Merge(m, src) +} +func (m *ExecutionQueueAttributes) XXX_Size() int { + return xxx_messageInfo_ExecutionQueueAttributes.Size(m) +} +func (m *ExecutionQueueAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ExecutionQueueAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ExecutionQueueAttributes proto.InternalMessageInfo + +func (m *ExecutionQueueAttributes) GetTags() []string { + if m != nil { + return m.Tags + } + return nil +} + +// Generic container for encapsulating all types of the above attributes messages. +type MatchingAttributes struct { + // Types that are valid to be assigned to Target: + // *MatchingAttributes_TaskResourceAttributes + // *MatchingAttributes_ClusterResourceAttributes + // *MatchingAttributes_ExecutionQueueAttributes + Target isMatchingAttributes_Target `protobuf_oneof:"target"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MatchingAttributes) Reset() { *m = MatchingAttributes{} } +func (m *MatchingAttributes) String() string { return proto.CompactTextString(m) } +func (*MatchingAttributes) ProtoMessage() {} +func (*MatchingAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_1d15bcabb02640f4, []int{4} +} + +func (m *MatchingAttributes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_MatchingAttributes.Unmarshal(m, b) +} +func (m *MatchingAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_MatchingAttributes.Marshal(b, m, deterministic) +} +func (m *MatchingAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_MatchingAttributes.Merge(m, src) +} +func (m *MatchingAttributes) XXX_Size() int { + return xxx_messageInfo_MatchingAttributes.Size(m) +} +func (m *MatchingAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_MatchingAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_MatchingAttributes proto.InternalMessageInfo + +type isMatchingAttributes_Target interface { + isMatchingAttributes_Target() +} + +type MatchingAttributes_TaskResourceAttributes struct { + TaskResourceAttributes *TaskResourceAttributes `protobuf:"bytes,1,opt,name=task_resource_attributes,json=taskResourceAttributes,proto3,oneof"` +} + +type MatchingAttributes_ClusterResourceAttributes struct { + ClusterResourceAttributes *ClusterResourceAttributes `protobuf:"bytes,2,opt,name=cluster_resource_attributes,json=clusterResourceAttributes,proto3,oneof"` +} + +type MatchingAttributes_ExecutionQueueAttributes struct { + ExecutionQueueAttributes *ExecutionQueueAttributes `protobuf:"bytes,3,opt,name=execution_queue_attributes,json=executionQueueAttributes,proto3,oneof"` +} + +func (*MatchingAttributes_TaskResourceAttributes) isMatchingAttributes_Target() {} + +func (*MatchingAttributes_ClusterResourceAttributes) isMatchingAttributes_Target() {} + +func (*MatchingAttributes_ExecutionQueueAttributes) isMatchingAttributes_Target() {} + +func (m *MatchingAttributes) GetTarget() isMatchingAttributes_Target { + if m != nil { + return m.Target + } + return nil +} + +func (m *MatchingAttributes) GetTaskResourceAttributes() *TaskResourceAttributes { + if x, ok := m.GetTarget().(*MatchingAttributes_TaskResourceAttributes); ok { + return x.TaskResourceAttributes + } + return nil +} + +func (m *MatchingAttributes) GetClusterResourceAttributes() *ClusterResourceAttributes { + if x, ok := m.GetTarget().(*MatchingAttributes_ClusterResourceAttributes); ok { + return x.ClusterResourceAttributes + } + return nil +} + +func (m *MatchingAttributes) GetExecutionQueueAttributes() *ExecutionQueueAttributes { + if x, ok := m.GetTarget().(*MatchingAttributes_ExecutionQueueAttributes); ok { + return x.ExecutionQueueAttributes + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*MatchingAttributes) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*MatchingAttributes_TaskResourceAttributes)(nil), + (*MatchingAttributes_ClusterResourceAttributes)(nil), + (*MatchingAttributes_ExecutionQueueAttributes)(nil), + } +} + +func init() { + proto.RegisterEnum("flyteidl.admin.MatchableResource", MatchableResource_name, MatchableResource_value) + proto.RegisterType((*TaskResourceSpec)(nil), "flyteidl.admin.TaskResourceSpec") + proto.RegisterType((*TaskResourceAttributes)(nil), "flyteidl.admin.TaskResourceAttributes") + proto.RegisterType((*ClusterResourceAttributes)(nil), "flyteidl.admin.ClusterResourceAttributes") + proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.ClusterResourceAttributes.AttributesEntry") + proto.RegisterType((*ExecutionQueueAttributes)(nil), "flyteidl.admin.ExecutionQueueAttributes") + proto.RegisterType((*MatchingAttributes)(nil), "flyteidl.admin.MatchingAttributes") +} + +func init() { + proto.RegisterFile("flyteidl/admin/matchable_resource.proto", fileDescriptor_1d15bcabb02640f4) +} + +var fileDescriptor_1d15bcabb02640f4 = []byte{ + // 494 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcd, 0x6e, 0xd3, 0x4c, + 0x14, 0x8d, 0x93, 0x7e, 0xf9, 0xda, 0x5b, 0x41, 0xdd, 0xa1, 0x8a, 0xdc, 0xb2, 0x89, 0xbc, 0x80, + 0x80, 0x84, 0x2d, 0xda, 0x4d, 0x41, 0xb0, 0x68, 0x23, 0x4b, 0x41, 0x50, 0xaa, 0x4c, 0x62, 0x09, + 0xd8, 0x58, 0x63, 0x67, 0xe2, 0x58, 0xfe, 0xc5, 0xbe, 0x83, 0xf0, 0x5b, 0xf0, 0x32, 0x3c, 0x0c, + 0x6f, 0x83, 0x6c, 0xc7, 0x89, 0x13, 0x25, 0xa8, 0xbb, 0xfb, 0x7f, 0xce, 0x9c, 0x3b, 0x17, 0x9e, + 0xcf, 0x83, 0x1c, 0xb9, 0x37, 0x0b, 0x74, 0x36, 0x0b, 0xbd, 0x48, 0x0f, 0x19, 0x3a, 0x0b, 0x66, + 0x07, 0xdc, 0x4a, 0x79, 0x16, 0x8b, 0xd4, 0xe1, 0x5a, 0x92, 0xc6, 0x18, 0x93, 0xc7, 0x75, 0xa1, + 0x56, 0x16, 0xaa, 0x0b, 0x90, 0xa7, 0x2c, 0xf3, 0xe9, 0xb2, 0x6a, 0x92, 0x70, 0x87, 0xc8, 0xd0, + 0x71, 0x12, 0xa1, 0x48, 0x7d, 0x69, 0x70, 0x44, 0x0b, 0xb3, 0x88, 0xb8, 0x89, 0x50, 0xda, 0x55, + 0xc4, 0x4d, 0x04, 0xe9, 0x41, 0x37, 0xe4, 0x61, 0x9c, 0xe6, 0x4a, 0xa7, 0x0c, 0x2e, 0x3d, 0xa2, + 0xc0, 0xff, 0x19, 0xc6, 0x29, 0x73, 0xb9, 0x72, 0x50, 0x26, 0x6a, 0x57, 0xfd, 0x25, 0x41, 0xaf, + 0x09, 0x75, 0x83, 0x98, 0x7a, 0xb6, 0x40, 0x9e, 0x91, 0x77, 0x70, 0x38, 0xe3, 0x73, 0x26, 0x02, + 0xcc, 0x4a, 0xd4, 0xe3, 0xcb, 0xbe, 0xb6, 0xc9, 0x53, 0xdb, 0x26, 0x49, 0x57, 0x1d, 0xe4, 0x1a, + 0xba, 0x81, 0x17, 0x7a, 0x98, 0x95, 0xfc, 0x1e, 0xd2, 0xbb, 0xac, 0x57, 0x7f, 0x4b, 0x70, 0x3e, + 0x0c, 0x44, 0x86, 0x3c, 0xdd, 0xc1, 0xea, 0x2b, 0x00, 0x5b, 0x79, 0x8a, 0xd4, 0xef, 0x0c, 0x8e, + 0x2f, 0xdf, 0x6c, 0xcf, 0xde, 0xdb, 0xae, 0xad, 0x4d, 0x23, 0xc2, 0x34, 0xa7, 0x8d, 0x61, 0x17, + 0xef, 0xe1, 0x64, 0x2b, 0x5d, 0x48, 0xec, 0xf3, 0xbc, 0x16, 0xdd, 0xe7, 0x39, 0x39, 0x83, 0xff, + 0x7e, 0xb0, 0x40, 0xf0, 0xa5, 0xec, 0x95, 0xf3, 0xb6, 0x7d, 0x2d, 0xa9, 0x1a, 0x28, 0xc6, 0x4f, + 0xee, 0x08, 0xf4, 0xe2, 0x68, 0x2c, 0xb8, 0x68, 0xb2, 0x26, 0x70, 0x80, 0xcc, 0xad, 0xf8, 0x1e, + 0xd1, 0xd2, 0x56, 0xff, 0xb4, 0x81, 0xdc, 0x15, 0x3f, 0xc2, 0x8b, 0xdc, 0x46, 0xa9, 0x0d, 0x0a, + 0xb2, 0xcc, 0x5f, 0x7d, 0x11, 0x6b, 0xe3, 0xb9, 0x85, 0x94, 0xcf, 0xfe, 0x25, 0xe5, 0x7a, 0xd2, + 0xa8, 0x45, 0x7b, 0xb8, 0x7b, 0xb5, 0x3e, 0x3c, 0x75, 0x2a, 0x89, 0x76, 0xc2, 0x54, 0x1b, 0x7b, + 0xf1, 0x60, 0x55, 0x47, 0x2d, 0x7a, 0xee, 0xec, 0xdd, 0xd8, 0x02, 0x2e, 0x78, 0xad, 0x8b, 0xf5, + 0xbd, 0x10, 0xa6, 0x89, 0xd5, 0x29, 0xb1, 0x06, 0xdb, 0x58, 0xfb, 0x94, 0x1c, 0xb5, 0xa8, 0xc2, + 0xf7, 0xe4, 0x6e, 0x0f, 0xa1, 0x8b, 0x2c, 0x75, 0x39, 0xbe, 0x1c, 0xc3, 0xe9, 0x5d, 0x7d, 0x6c, + 0x35, 0x25, 0x72, 0x0a, 0x8f, 0xa6, 0x37, 0x93, 0x8f, 0x16, 0x35, 0x26, 0xf7, 0x26, 0x1d, 0x1a, + 0x72, 0x8b, 0x9c, 0x81, 0x3c, 0xfc, 0x64, 0x4e, 0xa6, 0x06, 0x5d, 0x47, 0x25, 0xf2, 0x04, 0x4e, + 0x8c, 0x2f, 0xc6, 0xd0, 0x9c, 0x7e, 0xb8, 0xff, 0x6c, 0x8d, 0x4d, 0xc3, 0x34, 0xe4, 0xf6, 0xed, + 0xd5, 0xb7, 0xd7, 0xae, 0x87, 0x0b, 0x61, 0x6b, 0x4e, 0x1c, 0xea, 0x41, 0x3e, 0x47, 0x7d, 0x75, + 0xde, 0x2e, 0x8f, 0xf4, 0xc4, 0x7e, 0xe5, 0xc6, 0xfa, 0xe6, 0xc5, 0xdb, 0xdd, 0xf2, 0xbe, 0xaf, + 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, 0x02, 0x54, 0xd7, 0x54, 0x0a, 0x04, 0x00, 0x00, +} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go new file mode 100644 index 0000000000..03ab4995ba --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.pb.validate.go @@ -0,0 +1,440 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/admin/matchable_resource.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 _matchable_resource_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 TaskResourceSpec with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *TaskResourceSpec) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Cpu + + // no validation rules for Gpu + + // no validation rules for Memory + + // no validation rules for Storage + + return nil +} + +// TaskResourceSpecValidationError is the validation error returned by +// TaskResourceSpec.Validate if the designated constraints aren't met. +type TaskResourceSpecValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e TaskResourceSpecValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e TaskResourceSpecValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e TaskResourceSpecValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e TaskResourceSpecValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e TaskResourceSpecValidationError) ErrorName() string { return "TaskResourceSpecValidationError" } + +// Error satisfies the builtin error interface +func (e TaskResourceSpecValidationError) 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 %sTaskResourceSpec.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = TaskResourceSpecValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = TaskResourceSpecValidationError{} + +// Validate checks the field values on TaskResourceAttributes with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *TaskResourceAttributes) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetDefaults()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return TaskResourceAttributesValidationError{ + field: "Defaults", + reason: "embedded message failed validation", + cause: err, + } + } + } + + if v, ok := interface{}(m.GetLimits()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return TaskResourceAttributesValidationError{ + field: "Limits", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// TaskResourceAttributesValidationError is the validation error returned by +// TaskResourceAttributes.Validate if the designated constraints aren't met. +type TaskResourceAttributesValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e TaskResourceAttributesValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e TaskResourceAttributesValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e TaskResourceAttributesValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e TaskResourceAttributesValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e TaskResourceAttributesValidationError) ErrorName() string { + return "TaskResourceAttributesValidationError" +} + +// Error satisfies the builtin error interface +func (e TaskResourceAttributesValidationError) 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 %sTaskResourceAttributes.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = TaskResourceAttributesValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = TaskResourceAttributesValidationError{} + +// Validate checks the field values on ClusterResourceAttributes with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ClusterResourceAttributes) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Attributes + + return nil +} + +// ClusterResourceAttributesValidationError is the validation error returned by +// ClusterResourceAttributes.Validate if the designated constraints aren't met. +type ClusterResourceAttributesValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ClusterResourceAttributesValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ClusterResourceAttributesValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ClusterResourceAttributesValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ClusterResourceAttributesValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ClusterResourceAttributesValidationError) ErrorName() string { + return "ClusterResourceAttributesValidationError" +} + +// Error satisfies the builtin error interface +func (e ClusterResourceAttributesValidationError) 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 %sClusterResourceAttributes.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ClusterResourceAttributesValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ClusterResourceAttributesValidationError{} + +// Validate checks the field values on ExecutionQueueAttributes with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ExecutionQueueAttributes) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// ExecutionQueueAttributesValidationError is the validation error returned by +// ExecutionQueueAttributes.Validate if the designated constraints aren't met. +type ExecutionQueueAttributesValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ExecutionQueueAttributesValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ExecutionQueueAttributesValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ExecutionQueueAttributesValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ExecutionQueueAttributesValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ExecutionQueueAttributesValidationError) ErrorName() string { + return "ExecutionQueueAttributesValidationError" +} + +// Error satisfies the builtin error interface +func (e ExecutionQueueAttributesValidationError) 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 %sExecutionQueueAttributes.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ExecutionQueueAttributesValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ExecutionQueueAttributesValidationError{} + +// Validate checks the field values on MatchingAttributes with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *MatchingAttributes) Validate() error { + if m == nil { + return nil + } + + switch m.Target.(type) { + + case *MatchingAttributes_TaskResourceAttributes: + + if v, ok := interface{}(m.GetTaskResourceAttributes()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return MatchingAttributesValidationError{ + field: "TaskResourceAttributes", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *MatchingAttributes_ClusterResourceAttributes: + + if v, ok := interface{}(m.GetClusterResourceAttributes()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return MatchingAttributesValidationError{ + field: "ClusterResourceAttributes", + reason: "embedded message failed validation", + cause: err, + } + } + } + + case *MatchingAttributes_ExecutionQueueAttributes: + + if v, ok := interface{}(m.GetExecutionQueueAttributes()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return MatchingAttributesValidationError{ + field: "ExecutionQueueAttributes", + reason: "embedded message failed validation", + cause: err, + } + } + } + + } + + return nil +} + +// MatchingAttributesValidationError is the validation error returned by +// MatchingAttributes.Validate if the designated constraints aren't met. +type MatchingAttributesValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e MatchingAttributesValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e MatchingAttributesValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e MatchingAttributesValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e MatchingAttributesValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e MatchingAttributesValidationError) ErrorName() string { + return "MatchingAttributesValidationError" +} + +// Error satisfies the builtin error interface +func (e MatchingAttributesValidationError) 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 %sMatchingAttributes.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = MatchingAttributesValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = MatchingAttributesValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.swagger.json new file mode 100644 index 0000000000..4f9f550804 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/admin/matchable_resource.swagger.json @@ -0,0 +1,19 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/matchable_resource.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": {} +} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go new file mode 100644 index 0000000000..aeb46de6e8 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.go @@ -0,0 +1,171 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/admin/project_attributes.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 + +type ProjectAttributes struct { + // Unique project id for which this set of attributes will be applied. + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + MatchingAttributes *MatchingAttributes `protobuf:"bytes,2,opt,name=matching_attributes,json=matchingAttributes,proto3" json:"matching_attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProjectAttributes) Reset() { *m = ProjectAttributes{} } +func (m *ProjectAttributes) String() string { return proto.CompactTextString(m) } +func (*ProjectAttributes) ProtoMessage() {} +func (*ProjectAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_cb8dc9faa9640256, []int{0} +} + +func (m *ProjectAttributes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProjectAttributes.Unmarshal(m, b) +} +func (m *ProjectAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProjectAttributes.Marshal(b, m, deterministic) +} +func (m *ProjectAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProjectAttributes.Merge(m, src) +} +func (m *ProjectAttributes) XXX_Size() int { + return xxx_messageInfo_ProjectAttributes.Size(m) +} +func (m *ProjectAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ProjectAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ProjectAttributes proto.InternalMessageInfo + +func (m *ProjectAttributes) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +func (m *ProjectAttributes) GetMatchingAttributes() *MatchingAttributes { + if m != nil { + return m.MatchingAttributes + } + return nil +} + +// Sets custom attributes for a project combination. +type ProjectAttributesUpdateRequest struct { + Attributes *ProjectAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProjectAttributesUpdateRequest) Reset() { *m = ProjectAttributesUpdateRequest{} } +func (m *ProjectAttributesUpdateRequest) String() string { return proto.CompactTextString(m) } +func (*ProjectAttributesUpdateRequest) ProtoMessage() {} +func (*ProjectAttributesUpdateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_cb8dc9faa9640256, []int{1} +} + +func (m *ProjectAttributesUpdateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProjectAttributesUpdateRequest.Unmarshal(m, b) +} +func (m *ProjectAttributesUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProjectAttributesUpdateRequest.Marshal(b, m, deterministic) +} +func (m *ProjectAttributesUpdateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProjectAttributesUpdateRequest.Merge(m, src) +} +func (m *ProjectAttributesUpdateRequest) XXX_Size() int { + return xxx_messageInfo_ProjectAttributesUpdateRequest.Size(m) +} +func (m *ProjectAttributesUpdateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ProjectAttributesUpdateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ProjectAttributesUpdateRequest proto.InternalMessageInfo + +func (m *ProjectAttributesUpdateRequest) GetAttributes() *ProjectAttributes { + if m != nil { + return m.Attributes + } + return nil +} + +// Purposefully empty, may be populated in the future. +type ProjectAttributesUpdateResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ProjectAttributesUpdateResponse) Reset() { *m = ProjectAttributesUpdateResponse{} } +func (m *ProjectAttributesUpdateResponse) String() string { return proto.CompactTextString(m) } +func (*ProjectAttributesUpdateResponse) ProtoMessage() {} +func (*ProjectAttributesUpdateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_cb8dc9faa9640256, []int{2} +} + +func (m *ProjectAttributesUpdateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ProjectAttributesUpdateResponse.Unmarshal(m, b) +} +func (m *ProjectAttributesUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ProjectAttributesUpdateResponse.Marshal(b, m, deterministic) +} +func (m *ProjectAttributesUpdateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProjectAttributesUpdateResponse.Merge(m, src) +} +func (m *ProjectAttributesUpdateResponse) XXX_Size() int { + return xxx_messageInfo_ProjectAttributesUpdateResponse.Size(m) +} +func (m *ProjectAttributesUpdateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ProjectAttributesUpdateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ProjectAttributesUpdateResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ProjectAttributes)(nil), "flyteidl.admin.ProjectAttributes") + proto.RegisterType((*ProjectAttributesUpdateRequest)(nil), "flyteidl.admin.ProjectAttributesUpdateRequest") + proto.RegisterType((*ProjectAttributesUpdateResponse)(nil), "flyteidl.admin.ProjectAttributesUpdateResponse") +} + +func init() { + proto.RegisterFile("flyteidl/admin/project_attributes.proto", fileDescriptor_cb8dc9faa9640256) +} + +var fileDescriptor_cb8dc9faa9640256 = []byte{ + // 242 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xbd, 0x4e, 0xc3, 0x30, + 0x14, 0x85, 0x65, 0x06, 0x10, 0x17, 0x09, 0x09, 0xb3, 0x44, 0x0c, 0xd0, 0x66, 0xa1, 0x0b, 0xb6, + 0xa0, 0x4f, 0x50, 0x76, 0x24, 0x14, 0xc4, 0xc2, 0x52, 0xd9, 0xce, 0x6d, 0x6a, 0x94, 0xc4, 0xc6, + 0xbe, 0x19, 0xba, 0xf2, 0xe4, 0x48, 0xee, 0x0f, 0x69, 0xa2, 0x8e, 0xb6, 0xee, 0xf9, 0xbe, 0xa3, + 0x03, 0x8f, 0xab, 0x7a, 0x43, 0x68, 0xcb, 0x5a, 0xaa, 0xb2, 0xb1, 0xad, 0xf4, 0xc1, 0x7d, 0xa3, + 0xa1, 0xa5, 0x22, 0x0a, 0x56, 0x77, 0x84, 0x51, 0xf8, 0xe0, 0xc8, 0xf1, 0xeb, 0xfd, 0xa1, 0x48, + 0x87, 0x77, 0xc3, 0x60, 0xa3, 0xc8, 0xac, 0x95, 0xae, 0x71, 0x19, 0x30, 0xba, 0x2e, 0x18, 0xdc, + 0x06, 0xf3, 0x5f, 0x06, 0x37, 0xef, 0x5b, 0xea, 0xe2, 0x00, 0xe5, 0x19, 0x5c, 0xec, 0x54, 0x19, + 0x9b, 0xb0, 0xd9, 0x65, 0xb1, 0x7f, 0xf2, 0x0f, 0xb8, 0x4d, 0x2c, 0xdb, 0x56, 0xbd, 0x16, 0xd9, + 0xd9, 0x84, 0xcd, 0xae, 0x5e, 0x72, 0x71, 0x5c, 0x43, 0xbc, 0xed, 0x4e, 0xff, 0xd1, 0x05, 0x6f, + 0x46, 0x7f, 0xb9, 0x81, 0xfb, 0x51, 0x87, 0x4f, 0x5f, 0x2a, 0xc2, 0x02, 0x7f, 0x3a, 0x8c, 0xc4, + 0x17, 0x00, 0x3d, 0x1b, 0x4b, 0xb6, 0xe9, 0xd0, 0x36, 0x62, 0x14, 0xbd, 0x50, 0x3e, 0x85, 0x87, + 0x93, 0x92, 0xe8, 0x5d, 0x1b, 0xf1, 0x75, 0xfe, 0xf5, 0x5c, 0x59, 0x5a, 0x77, 0x5a, 0x18, 0xd7, + 0xc8, 0x7a, 0xb3, 0x22, 0x79, 0xd8, 0xb1, 0xc2, 0x56, 0x7a, 0xfd, 0x54, 0x39, 0x79, 0x3c, 0xad, + 0x3e, 0x4f, 0x43, 0xce, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xdb, 0x08, 0x91, 0x5a, 0xac, 0x01, + 0x00, 0x00, +} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.validate.go new file mode 100644 index 0000000000..19ce865fba --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.pb.validate.go @@ -0,0 +1,262 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/admin/project_attributes.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 _project_attributes_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 ProjectAttributes with the rules defined +// in the proto definition for this message. If any rules are violated, an +// error is returned. +func (m *ProjectAttributes) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + if v, ok := interface{}(m.GetMatchingAttributes()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ProjectAttributesValidationError{ + field: "MatchingAttributes", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ProjectAttributesValidationError is the validation error returned by +// ProjectAttributes.Validate if the designated constraints aren't met. +type ProjectAttributesValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ProjectAttributesValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ProjectAttributesValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ProjectAttributesValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ProjectAttributesValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ProjectAttributesValidationError) ErrorName() string { + return "ProjectAttributesValidationError" +} + +// Error satisfies the builtin error interface +func (e ProjectAttributesValidationError) 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 %sProjectAttributes.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ProjectAttributesValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ProjectAttributesValidationError{} + +// Validate checks the field values on ProjectAttributesUpdateRequest with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ProjectAttributesUpdateRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetAttributes()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ProjectAttributesUpdateRequestValidationError{ + field: "Attributes", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// ProjectAttributesUpdateRequestValidationError is the validation error +// returned by ProjectAttributesUpdateRequest.Validate if the designated +// constraints aren't met. +type ProjectAttributesUpdateRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ProjectAttributesUpdateRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ProjectAttributesUpdateRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ProjectAttributesUpdateRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ProjectAttributesUpdateRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ProjectAttributesUpdateRequestValidationError) ErrorName() string { + return "ProjectAttributesUpdateRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e ProjectAttributesUpdateRequestValidationError) 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 %sProjectAttributesUpdateRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ProjectAttributesUpdateRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ProjectAttributesUpdateRequestValidationError{} + +// Validate checks the field values on ProjectAttributesUpdateResponse with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *ProjectAttributesUpdateResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// ProjectAttributesUpdateResponseValidationError is the validation error +// returned by ProjectAttributesUpdateResponse.Validate if the designated +// constraints aren't met. +type ProjectAttributesUpdateResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e ProjectAttributesUpdateResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e ProjectAttributesUpdateResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e ProjectAttributesUpdateResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e ProjectAttributesUpdateResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e ProjectAttributesUpdateResponseValidationError) ErrorName() string { + return "ProjectAttributesUpdateResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e ProjectAttributesUpdateResponseValidationError) 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 %sProjectAttributesUpdateResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = ProjectAttributesUpdateResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = ProjectAttributesUpdateResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.swagger.json new file mode 100644 index 0000000000..4280d59371 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/admin/project_attributes.swagger.json @@ -0,0 +1,19 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/project_attributes.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": {} +} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go index d20e0dd300..c21faa4318 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.go @@ -24,14 +24,11 @@ type ProjectDomainAttributes struct { // Unique project id for which this set of attributes will be applied. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Unique domain id for which this set of attributes will be applied. - Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` - // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). - // Map keys are the *case-sensitive* names of variables in templatized resource files. - // Map values should be the custom values which get substituted during resource creation. - Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,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:"-"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + MatchingAttributes *MatchingAttributes `protobuf:"bytes,3,opt,name=matching_attributes,json=matchingAttributes,proto3" json:"matching_attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ProjectDomainAttributes) Reset() { *m = ProjectDomainAttributes{} } @@ -73,9 +70,9 @@ func (m *ProjectDomainAttributes) GetDomain() string { return "" } -func (m *ProjectDomainAttributes) GetAttributes() map[string]string { +func (m *ProjectDomainAttributes) GetMatchingAttributes() *MatchingAttributes { if m != nil { - return m.Attributes + return m.MatchingAttributes } return nil } @@ -154,7 +151,6 @@ var xxx_messageInfo_ProjectDomainAttributesUpdateResponse proto.InternalMessageI func init() { proto.RegisterType((*ProjectDomainAttributes)(nil), "flyteidl.admin.ProjectDomainAttributes") - proto.RegisterMapType((map[string]string)(nil), "flyteidl.admin.ProjectDomainAttributes.AttributesEntry") proto.RegisterType((*ProjectDomainAttributesUpdateRequest)(nil), "flyteidl.admin.ProjectDomainAttributesUpdateRequest") proto.RegisterType((*ProjectDomainAttributesUpdateResponse)(nil), "flyteidl.admin.ProjectDomainAttributesUpdateResponse") } @@ -164,22 +160,22 @@ func init() { } var fileDescriptor_e8ab0b551a649f05 = []byte{ - // 272 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4b, 0xcb, 0xa9, 0x2c, - 0x49, 0xcd, 0x4c, 0xc9, 0xd1, 0x4f, 0x4c, 0xc9, 0xcd, 0xcc, 0xd3, 0x2f, 0x28, 0xca, 0xcf, 0x4a, - 0x4d, 0x2e, 0x89, 0x4f, 0xc9, 0xcf, 0x4d, 0xcc, 0xcc, 0x8b, 0x4f, 0x2c, 0x29, 0x29, 0xca, 0x4c, - 0x2a, 0x2d, 0x49, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x83, 0xa9, 0xd7, 0x03, - 0xab, 0x57, 0x7a, 0xcc, 0xc8, 0x25, 0x1e, 0x00, 0xd1, 0xe3, 0x02, 0xd6, 0xe2, 0x08, 0xd7, 0x21, - 0x24, 0xc1, 0xc5, 0x0e, 0x35, 0x4e, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x08, 0xc6, 0x15, 0x12, - 0xe3, 0x62, 0x83, 0x58, 0x20, 0xc1, 0x04, 0x96, 0x80, 0xf2, 0x84, 0xc2, 0xb9, 0xb8, 0x10, 0x36, - 0x4a, 0x30, 0x2b, 0x30, 0x6b, 0x70, 0x1b, 0x99, 0xeb, 0xa1, 0x5a, 0xa9, 0x87, 0xc3, 0x3a, 0x3d, - 0x04, 0xd3, 0x35, 0xaf, 0xa4, 0xa8, 0x32, 0x08, 0xc9, 0x28, 0x29, 0x5b, 0x2e, 0x7e, 0x34, 0x69, - 0x21, 0x01, 0x2e, 0xe6, 0xec, 0xd4, 0x4a, 0xa8, 0xcb, 0x40, 0x4c, 0x21, 0x11, 0x2e, 0xd6, 0xb2, - 0xc4, 0x9c, 0xd2, 0x54, 0xa8, 0xa3, 0x20, 0x1c, 0x2b, 0x26, 0x0b, 0x46, 0xa5, 0x7c, 0x2e, 0x15, - 0x1c, 0xb6, 0x86, 0x16, 0xa4, 0x24, 0x96, 0xa4, 0x06, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x08, - 0xb9, 0xa3, 0xb8, 0x1f, 0x64, 0x34, 0xb7, 0x91, 0x3a, 0x91, 0xee, 0x47, 0x76, 0xaf, 0x92, 0x3a, - 0x97, 0x2a, 0x01, 0x0b, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x9d, 0x8c, 0xa3, 0x0c, 0xd3, 0x33, - 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x73, 0x2a, 0xd3, 0x4a, 0xf4, 0xe1, 0x31, - 0x9a, 0x9e, 0x9a, 0xa7, 0x5f, 0x90, 0xa4, 0x9b, 0x9e, 0xaf, 0x8f, 0x1a, 0xc9, 0x49, 0x6c, 0xe0, - 0xb8, 0x34, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xed, 0xb3, 0x0d, 0x20, 0xfd, 0x01, 0x00, 0x00, + // 264 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x5f, 0x4b, 0xc3, 0x30, + 0x14, 0xc5, 0xa9, 0xc2, 0xc4, 0x08, 0x3e, 0x44, 0xd0, 0xe2, 0xd3, 0x28, 0x4a, 0xf7, 0x62, 0x82, + 0xee, 0x13, 0x28, 0x82, 0x4f, 0x82, 0x54, 0x7c, 0xf1, 0xa5, 0x24, 0xed, 0x5d, 0x17, 0x69, 0xfe, + 0x98, 0xdc, 0x3e, 0xec, 0xdb, 0xf8, 0x51, 0x85, 0xb4, 0x9b, 0xdd, 0x64, 0xec, 0xf1, 0x26, 0xe7, + 0x9c, 0xdf, 0xe1, 0x5e, 0xc2, 0x16, 0xed, 0x0a, 0x41, 0xd5, 0x2d, 0x17, 0xb5, 0x56, 0x86, 0x3b, + 0x6f, 0xbf, 0xa0, 0xc2, 0xb2, 0xb6, 0x5a, 0x28, 0x53, 0x0a, 0x44, 0xaf, 0x64, 0x87, 0x10, 0x98, + 0xf3, 0x16, 0x2d, 0x3d, 0x5f, 0xeb, 0x59, 0xd4, 0x5f, 0xe7, 0x3b, 0x7e, 0x2d, 0xb0, 0x5a, 0x0a, + 0xd9, 0x42, 0xe9, 0x21, 0xd8, 0xce, 0x57, 0xd0, 0x1b, 0xb3, 0x9f, 0x84, 0x5c, 0xbd, 0xf5, 0xe1, + 0xcf, 0x31, 0xfb, 0x71, 0x13, 0x4d, 0x53, 0x72, 0x32, 0x70, 0xd3, 0x64, 0x9a, 0xcc, 0x4e, 0x8b, + 0xf5, 0x48, 0x2f, 0xc9, 0xa4, 0x6f, 0x92, 0x1e, 0xc5, 0x8f, 0x61, 0xa2, 0xef, 0xe4, 0x22, 0x92, + 0x94, 0x69, 0x46, 0x1d, 0xd3, 0xe3, 0x69, 0x32, 0x3b, 0x7b, 0xc8, 0xd8, 0x76, 0x49, 0xf6, 0x3a, + 0x48, 0xff, 0x90, 0x05, 0xd5, 0xff, 0xde, 0x32, 0x4b, 0x6e, 0xf6, 0x34, 0xfc, 0x70, 0xb5, 0x40, + 0x28, 0xe0, 0xbb, 0x83, 0x80, 0xf4, 0x85, 0x90, 0x11, 0x33, 0x89, 0xcc, 0x7c, 0x97, 0xb9, 0x27, + 0xa9, 0x18, 0x59, 0xb3, 0x9c, 0xdc, 0x1e, 0x00, 0x06, 0x67, 0x4d, 0x80, 0xa7, 0xf9, 0xe7, 0x7d, + 0xa3, 0x70, 0xd9, 0x49, 0x56, 0x59, 0xcd, 0xdb, 0xd5, 0x02, 0xf9, 0x66, 0xef, 0x0d, 0x18, 0xee, + 0xe4, 0x5d, 0x63, 0xf9, 0xf6, 0x29, 0xe4, 0x24, 0x2e, 0x7e, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, + 0x57, 0x22, 0x02, 0x82, 0xe3, 0x01, 0x00, 0x00, } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.validate.go index 9990d76455..16a08132cb 100644 --- a/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.validate.go +++ b/flyteidl/gen/pb-go/flyteidl/admin/project_domain_attributes.pb.validate.go @@ -48,7 +48,15 @@ func (m *ProjectDomainAttributes) Validate() error { // no validation rules for Domain - // no validation rules for Attributes + if v, ok := interface{}(m.GetMatchingAttributes()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return ProjectDomainAttributesValidationError{ + field: "MatchingAttributes", + reason: "embedded message failed validation", + cause: err, + } + } + } return nil } diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go new file mode 100644 index 0000000000..b91cf72eec --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.go @@ -0,0 +1,190 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: flyteidl/admin/workflow_attributes.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 + +type WorkflowAttributes struct { + // Unique project id for which this set of attributes will be applied. + Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` + // Unique domain id for which this set of attributes will be applied. + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + // Workflow name for which this set of attributes will be applied. + Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"` + MatchingAttributes *MatchingAttributes `protobuf:"bytes,4,opt,name=matching_attributes,json=matchingAttributes,proto3" json:"matching_attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowAttributes) Reset() { *m = WorkflowAttributes{} } +func (m *WorkflowAttributes) String() string { return proto.CompactTextString(m) } +func (*WorkflowAttributes) ProtoMessage() {} +func (*WorkflowAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8ba8a51ab86bc38c, []int{0} +} + +func (m *WorkflowAttributes) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowAttributes.Unmarshal(m, b) +} +func (m *WorkflowAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowAttributes.Marshal(b, m, deterministic) +} +func (m *WorkflowAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowAttributes.Merge(m, src) +} +func (m *WorkflowAttributes) XXX_Size() int { + return xxx_messageInfo_WorkflowAttributes.Size(m) +} +func (m *WorkflowAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowAttributes proto.InternalMessageInfo + +func (m *WorkflowAttributes) GetProject() string { + if m != nil { + return m.Project + } + return "" +} + +func (m *WorkflowAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *WorkflowAttributes) GetWorkflow() string { + if m != nil { + return m.Workflow + } + return "" +} + +func (m *WorkflowAttributes) GetMatchingAttributes() *MatchingAttributes { + if m != nil { + return m.MatchingAttributes + } + return nil +} + +// Sets custom attributes for a project, domain and workflow combination. +type WorkflowAttributesUpdateRequest struct { + Attributes *WorkflowAttributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowAttributesUpdateRequest) Reset() { *m = WorkflowAttributesUpdateRequest{} } +func (m *WorkflowAttributesUpdateRequest) String() string { return proto.CompactTextString(m) } +func (*WorkflowAttributesUpdateRequest) ProtoMessage() {} +func (*WorkflowAttributesUpdateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_8ba8a51ab86bc38c, []int{1} +} + +func (m *WorkflowAttributesUpdateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowAttributesUpdateRequest.Unmarshal(m, b) +} +func (m *WorkflowAttributesUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowAttributesUpdateRequest.Marshal(b, m, deterministic) +} +func (m *WorkflowAttributesUpdateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowAttributesUpdateRequest.Merge(m, src) +} +func (m *WorkflowAttributesUpdateRequest) XXX_Size() int { + return xxx_messageInfo_WorkflowAttributesUpdateRequest.Size(m) +} +func (m *WorkflowAttributesUpdateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowAttributesUpdateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowAttributesUpdateRequest proto.InternalMessageInfo + +func (m *WorkflowAttributesUpdateRequest) GetAttributes() *WorkflowAttributes { + if m != nil { + return m.Attributes + } + return nil +} + +// Purposefully empty, may be populated in the future. +type WorkflowAttributesUpdateResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowAttributesUpdateResponse) Reset() { *m = WorkflowAttributesUpdateResponse{} } +func (m *WorkflowAttributesUpdateResponse) String() string { return proto.CompactTextString(m) } +func (*WorkflowAttributesUpdateResponse) ProtoMessage() {} +func (*WorkflowAttributesUpdateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_8ba8a51ab86bc38c, []int{2} +} + +func (m *WorkflowAttributesUpdateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WorkflowAttributesUpdateResponse.Unmarshal(m, b) +} +func (m *WorkflowAttributesUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WorkflowAttributesUpdateResponse.Marshal(b, m, deterministic) +} +func (m *WorkflowAttributesUpdateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowAttributesUpdateResponse.Merge(m, src) +} +func (m *WorkflowAttributesUpdateResponse) XXX_Size() int { + return xxx_messageInfo_WorkflowAttributesUpdateResponse.Size(m) +} +func (m *WorkflowAttributesUpdateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowAttributesUpdateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowAttributesUpdateResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*WorkflowAttributes)(nil), "flyteidl.admin.WorkflowAttributes") + proto.RegisterType((*WorkflowAttributesUpdateRequest)(nil), "flyteidl.admin.WorkflowAttributesUpdateRequest") + proto.RegisterType((*WorkflowAttributesUpdateResponse)(nil), "flyteidl.admin.WorkflowAttributesUpdateResponse") +} + +func init() { + proto.RegisterFile("flyteidl/admin/workflow_attributes.proto", fileDescriptor_8ba8a51ab86bc38c) +} + +var fileDescriptor_8ba8a51ab86bc38c = []byte{ + // 268 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xcf, 0x4e, 0xbb, 0x40, + 0x10, 0xc7, 0xc3, 0xef, 0x67, 0xaa, 0x8e, 0x89, 0x87, 0x35, 0x31, 0xa4, 0x17, 0x09, 0x17, 0xb9, + 0xc8, 0x46, 0xfb, 0x04, 0xf6, 0xee, 0x05, 0x63, 0x4c, 0xbc, 0x34, 0x0b, 0x0c, 0x74, 0x15, 0x18, + 0xdc, 0x1d, 0xd2, 0xf4, 0xc9, 0x7c, 0x3d, 0x93, 0x15, 0x90, 0x8a, 0x1e, 0x67, 0xe7, 0xfb, 0xe7, + 0x93, 0x1d, 0x88, 0x8a, 0x6a, 0xcf, 0xa8, 0xf3, 0x4a, 0xaa, 0xbc, 0xd6, 0x8d, 0xdc, 0x91, 0x79, + 0x2b, 0x2a, 0xda, 0x6d, 0x14, 0xb3, 0xd1, 0x69, 0xc7, 0x68, 0xe3, 0xd6, 0x10, 0x93, 0x38, 0x1f, + 0x94, 0xb1, 0x53, 0x2e, 0xaf, 0x7f, 0x38, 0x6b, 0xc5, 0xd9, 0x56, 0xa5, 0x15, 0x6e, 0x0c, 0x5a, + 0xea, 0x4c, 0x86, 0x5f, 0xc6, 0xf0, 0xc3, 0x03, 0xf1, 0xdc, 0xc7, 0xde, 0x8f, 0xa9, 0xc2, 0x87, + 0xe3, 0xd6, 0xd0, 0x2b, 0x66, 0xec, 0x7b, 0x81, 0x17, 0x9d, 0x26, 0xc3, 0x28, 0x2e, 0x61, 0x91, + 0x53, 0xad, 0x74, 0xe3, 0xff, 0x73, 0x8b, 0x7e, 0x12, 0x4b, 0x38, 0x19, 0xf0, 0xfc, 0xff, 0x6e, + 0x33, 0xce, 0xe2, 0x11, 0x2e, 0x1c, 0x80, 0x6e, 0xca, 0x09, 0xba, 0x7f, 0x14, 0x78, 0xd1, 0xd9, + 0x5d, 0x18, 0x1f, 0xb2, 0xc7, 0x0f, 0xbd, 0xf4, 0x1b, 0x27, 0x11, 0xf5, 0xec, 0x2d, 0x44, 0xb8, + 0x9a, 0x83, 0x3f, 0xb5, 0xb9, 0x62, 0x4c, 0xf0, 0xbd, 0x43, 0xcb, 0x62, 0x0d, 0x30, 0xa9, 0xf3, + 0x7e, 0xaf, 0x9b, 0x87, 0x24, 0x13, 0x57, 0x18, 0x42, 0xf0, 0x77, 0x8d, 0x6d, 0xa9, 0xb1, 0xb8, + 0x5e, 0xbd, 0xdc, 0x96, 0x9a, 0xb7, 0x5d, 0x1a, 0x67, 0x54, 0xcb, 0x6a, 0x5f, 0xb0, 0x1c, 0xff, + 0xbf, 0xc4, 0x46, 0xb6, 0xe9, 0x4d, 0x49, 0xf2, 0xf0, 0x24, 0xe9, 0xc2, 0x1d, 0x60, 0xf5, 0x19, + 0x00, 0x00, 0xff, 0xff, 0x65, 0x13, 0x5b, 0x31, 0xe5, 0x01, 0x00, 0x00, +} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.validate.go b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.validate.go new file mode 100644 index 0000000000..252990acc2 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.pb.validate.go @@ -0,0 +1,266 @@ +// Code generated by protoc-gen-validate. DO NOT EDIT. +// source: flyteidl/admin/workflow_attributes.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 _workflow_attributes_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 WorkflowAttributes with the rules +// defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *WorkflowAttributes) Validate() error { + if m == nil { + return nil + } + + // no validation rules for Project + + // no validation rules for Domain + + // no validation rules for Workflow + + if v, ok := interface{}(m.GetMatchingAttributes()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return WorkflowAttributesValidationError{ + field: "MatchingAttributes", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// WorkflowAttributesValidationError is the validation error returned by +// WorkflowAttributes.Validate if the designated constraints aren't met. +type WorkflowAttributesValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e WorkflowAttributesValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e WorkflowAttributesValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e WorkflowAttributesValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e WorkflowAttributesValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e WorkflowAttributesValidationError) ErrorName() string { + return "WorkflowAttributesValidationError" +} + +// Error satisfies the builtin error interface +func (e WorkflowAttributesValidationError) 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 %sWorkflowAttributes.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = WorkflowAttributesValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = WorkflowAttributesValidationError{} + +// Validate checks the field values on WorkflowAttributesUpdateRequest with the +// rules defined in the proto definition for this message. If any rules are +// violated, an error is returned. +func (m *WorkflowAttributesUpdateRequest) Validate() error { + if m == nil { + return nil + } + + if v, ok := interface{}(m.GetAttributes()).(interface{ Validate() error }); ok { + if err := v.Validate(); err != nil { + return WorkflowAttributesUpdateRequestValidationError{ + field: "Attributes", + reason: "embedded message failed validation", + cause: err, + } + } + } + + return nil +} + +// WorkflowAttributesUpdateRequestValidationError is the validation error +// returned by WorkflowAttributesUpdateRequest.Validate if the designated +// constraints aren't met. +type WorkflowAttributesUpdateRequestValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e WorkflowAttributesUpdateRequestValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e WorkflowAttributesUpdateRequestValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e WorkflowAttributesUpdateRequestValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e WorkflowAttributesUpdateRequestValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e WorkflowAttributesUpdateRequestValidationError) ErrorName() string { + return "WorkflowAttributesUpdateRequestValidationError" +} + +// Error satisfies the builtin error interface +func (e WorkflowAttributesUpdateRequestValidationError) 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 %sWorkflowAttributesUpdateRequest.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = WorkflowAttributesUpdateRequestValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = WorkflowAttributesUpdateRequestValidationError{} + +// Validate checks the field values on WorkflowAttributesUpdateResponse with +// the rules defined in the proto definition for this message. If any rules +// are violated, an error is returned. +func (m *WorkflowAttributesUpdateResponse) Validate() error { + if m == nil { + return nil + } + + return nil +} + +// WorkflowAttributesUpdateResponseValidationError is the validation error +// returned by WorkflowAttributesUpdateResponse.Validate if the designated +// constraints aren't met. +type WorkflowAttributesUpdateResponseValidationError struct { + field string + reason string + cause error + key bool +} + +// Field function returns field value. +func (e WorkflowAttributesUpdateResponseValidationError) Field() string { return e.field } + +// Reason function returns reason value. +func (e WorkflowAttributesUpdateResponseValidationError) Reason() string { return e.reason } + +// Cause function returns cause value. +func (e WorkflowAttributesUpdateResponseValidationError) Cause() error { return e.cause } + +// Key function returns key value. +func (e WorkflowAttributesUpdateResponseValidationError) Key() bool { return e.key } + +// ErrorName returns error name. +func (e WorkflowAttributesUpdateResponseValidationError) ErrorName() string { + return "WorkflowAttributesUpdateResponseValidationError" +} + +// Error satisfies the builtin error interface +func (e WorkflowAttributesUpdateResponseValidationError) 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 %sWorkflowAttributesUpdateResponse.%s: %s%s", + key, + e.field, + e.reason, + cause) +} + +var _ error = WorkflowAttributesUpdateResponseValidationError{} + +var _ interface { + Field() string + Reason() string + Key() bool + Cause() error + ErrorName() string +} = WorkflowAttributesUpdateResponseValidationError{} diff --git a/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.swagger.json b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.swagger.json new file mode 100644 index 0000000000..96d8d580c0 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/admin/workflow_attributes.swagger.json @@ -0,0 +1,19 @@ +{ + "swagger": "2.0", + "info": { + "title": "flyteidl/admin/workflow_attributes.proto", + "version": "version not set" + }, + "schemes": [ + "http", + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": {} +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go b/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go index a7e56ec2bc..b0bb1c115c 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/service/admin.pb.go @@ -30,166 +30,172 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package func init() { proto.RegisterFile("flyteidl/service/admin.proto", fileDescriptor_5cfa31da1d67295d) } var fileDescriptor_5cfa31da1d67295d = []byte{ - // 2533 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x5b, 0x8c, 0x1c, 0x47, - 0xd5, 0x56, 0xcf, 0xfe, 0xc9, 0x2f, 0x3a, 0x89, 0x2f, 0x65, 0x1b, 0xec, 0xf6, 0x85, 0xca, 0x18, - 0x5f, 0x76, 0xbd, 0x3b, 0xb3, 0xc1, 0x36, 0xc6, 0x76, 0xe2, 0xa4, 0x7d, 0x5b, 0x6d, 0x1c, 0x9c, - 0xb0, 0x84, 0x8b, 0x4c, 0x60, 0x54, 0x33, 0x5d, 0x33, 0x53, 0x76, 0x4f, 0xf7, 0xd0, 0x55, 0xb3, - 0xce, 0x62, 0xad, 0x64, 0x59, 0x04, 0x21, 0xc4, 0x53, 0x23, 0x81, 0x40, 0x28, 0x28, 0xbc, 0x25, - 0x02, 0x09, 0x88, 0xc4, 0x6b, 0x10, 0x12, 0x12, 0xa0, 0xbc, 0xf9, 0x81, 0x8b, 0x04, 0xe2, 0x01, - 0x9e, 0x00, 0xe5, 0xc1, 0x48, 0xbc, 0x10, 0x81, 0xea, 0xd6, 0xf7, 0xee, 0xe9, 0x31, 0x09, 0x52, - 0x24, 0x9e, 0x76, 0xb6, 0xcf, 0xa9, 0xea, 0xf3, 0x9d, 0x3a, 0xe7, 0x7c, 0xa7, 0x4f, 0xb7, 0xb9, - 0xaf, 0xef, 0x6e, 0x30, 0x4c, 0x1c, 0xb7, 0x4d, 0x71, 0xb0, 0x4e, 0x7a, 0xb8, 0x8d, 0x9c, 0x11, - 0xf1, 0x5a, 0xe3, 0xc0, 0x67, 0x3e, 0xd8, 0xa6, 0xa5, 0x2d, 0x25, 0xb5, 0xf6, 0x0d, 0x7c, 0x7f, - 0xe0, 0xe2, 0x36, 0x1a, 0x93, 0x36, 0xf2, 0x3c, 0x9f, 0x21, 0x46, 0x7c, 0x8f, 0x4a, 0x7d, 0x2b, - 0xde, 0x4d, 0xec, 0xd2, 0x1e, 0x07, 0xfe, 0x75, 0xdc, 0x63, 0x4a, 0xda, 0x2a, 0x96, 0x76, 0x1c, - 0x7f, 0x84, 0x88, 0xd7, 0x41, 0x8c, 0x05, 0xa4, 0x3b, 0x61, 0x58, 0xef, 0xb6, 0x27, 0xa3, 0xcf, - 0x10, 0xbd, 0xa1, 0x44, 0xfb, 0x33, 0xa2, 0x9b, 0x7e, 0x70, 0xa3, 0xef, 0xfa, 0x37, 0x95, 0x18, - 0x66, 0xc4, 0x2e, 0x9a, 0x78, 0xbd, 0x61, 0x67, 0xec, 0x22, 0x85, 0xcc, 0xb2, 0x32, 0x1a, 0x78, - 0x1d, 0x7b, 0xda, 0xce, 0x03, 0x59, 0xd9, 0x8b, 0xb8, 0x37, 0xe1, 0x30, 0x95, 0xfc, 0x60, 0x46, - 0xee, 0xf9, 0x0e, 0xee, 0x4c, 0x53, 0xe2, 0xc6, 0xe7, 0x94, 0xf6, 0x66, 0x94, 0x7a, 0xfe, 0x68, - 0x14, 0x09, 0x17, 0xc5, 0x9f, 0xde, 0xd2, 0x00, 0x7b, 0x4b, 0xf4, 0x26, 0x1a, 0x0c, 0x70, 0xd0, - 0xf6, 0xc7, 0xc2, 0xdd, 0x79, 0xd7, 0x7f, 0xf8, 0xf6, 0xc7, 0xcd, 0x87, 0x6d, 0xbe, 0xc9, 0x27, - 0xe4, 0x49, 0x81, 0x9f, 0x37, 0x4c, 0xf3, 0x42, 0x80, 0x11, 0xc3, 0xcf, 0x23, 0x7a, 0x03, 0x3c, - 0x1a, 0x79, 0xbf, 0x25, 0x4f, 0x98, 0x5f, 0x95, 0xf2, 0x35, 0xfc, 0x85, 0x09, 0xa6, 0xcc, 0x6a, - 0x56, 0xa9, 0xd0, 0xb1, 0xef, 0x51, 0xdc, 0x7c, 0xcb, 0x08, 0xed, 0xbb, 0x86, 0x75, 0x58, 0x5e, - 0x86, 0xc8, 0x73, 0x60, 0x80, 0x07, 0x84, 0x32, 0x1c, 0x40, 0x04, 0x39, 0x48, 0xe8, 0xe0, 0x3e, - 0xf1, 0x88, 0x40, 0xf9, 0xf4, 0x79, 0x73, 0xee, 0xc4, 0xf2, 0x32, 0x38, 0x6b, 0x9e, 0x5e, 0xc3, - 0x6c, 0x12, 0x78, 0xd8, 0x81, 0x7d, 0x3f, 0x80, 0x5d, 0xc4, 0x97, 0x89, 0xbb, 0x42, 0x36, 0x44, - 0x0c, 0x8e, 0xd0, 0x06, 0x1c, 0xa2, 0x75, 0x0c, 0xfb, 0x88, 0xb8, 0xd8, 0x81, 0xeb, 0xc8, 0x25, - 0x0e, 0x92, 0x7b, 0x60, 0xbe, 0xc7, 0x69, 0xf0, 0x79, 0xf3, 0x85, 0xd4, 0x1e, 0x28, 0xbd, 0x43, - 0x80, 0xfb, 0x38, 0xc0, 0x5e, 0x0f, 0x53, 0x88, 0x3c, 0x48, 0x1c, 0xec, 0x31, 0xd2, 0x43, 0x2e, - 0xe4, 0x7f, 0xd9, 0x86, 0xd4, 0x19, 0x22, 0x0a, 0x91, 0x1b, 0x60, 0xe4, 0x6c, 0xc0, 0x2e, 0xc6, - 0x5e, 0x64, 0x3a, 0x76, 0x5a, 0x77, 0xee, 0xfe, 0xe9, 0xeb, 0x0d, 0xd0, 0x7c, 0x44, 0x44, 0xf6, - 0xfa, 0x63, 0xe2, 0xbc, 0xe8, 0x19, 0x63, 0x01, 0xfc, 0xd8, 0x30, 0xff, 0x7f, 0x05, 0x33, 0xe1, - 0x44, 0x98, 0xf5, 0xd0, 0xb3, 0x5d, 0x1e, 0xc1, 0x2b, 0x98, 0x69, 0x1f, 0xee, 0x2c, 0xf2, 0x61, - 0xd3, 0x0f, 0xed, 0x23, 0xd6, 0xa1, 0x35, 0xcc, 0x02, 0x82, 0xd7, 0xb9, 0xd7, 0x20, 0x7e, 0x91, - 0x50, 0x46, 0xbc, 0x41, 0xce, 0x65, 0xc2, 0x8e, 0x27, 0xc1, 0x13, 0x29, 0x3b, 0xda, 0xb7, 0x88, - 0xd3, 0x52, 0xe9, 0xb2, 0x29, 0xfe, 0x91, 0x39, 0x23, 0x7f, 0x7b, 0x68, 0x84, 0xe5, 0xaf, 0x75, - 0x1c, 0x50, 0xe2, 0x7b, 0x9b, 0xe0, 0x0f, 0x86, 0xf9, 0xd0, 0x33, 0x84, 0x0a, 0xab, 0x57, 0x1d, - 0x0a, 0x96, 0xb3, 0x66, 0x5d, 0x45, 0x23, 0xec, 0x5c, 0x12, 0xbe, 0x59, 0x15, 0xbe, 0xea, 0x13, - 0x1c, 0xf0, 0x15, 0x1a, 0xc8, 0x7c, 0xed, 0x15, 0xcd, 0x20, 0xb4, 0x2f, 0x5a, 0xe7, 0x2f, 0x63, - 0xd6, 0x1b, 0x96, 0xe2, 0x52, 0x27, 0xc2, 0xd7, 0x50, 0x38, 0x42, 0xac, 0x37, 0xe4, 0x4a, 0xc4, - 0x1b, 0x4f, 0x18, 0xec, 0x13, 0x97, 0xe1, 0x80, 0x4a, 0xe8, 0x87, 0xc0, 0xc1, 0x24, 0xf4, 0x0e, - 0x71, 0x68, 0xfb, 0x56, 0x0c, 0x5d, 0xe1, 0x06, 0x7f, 0x31, 0xcc, 0xf7, 0x69, 0x80, 0x14, 0x1c, - 0xcc, 0x1a, 0xbb, 0x86, 0xa9, 0x3f, 0x09, 0x7a, 0x38, 0x89, 0x68, 0x77, 0xd1, 0xd1, 0x08, 0x00, - 0x2f, 0x1b, 0xa1, 0x7d, 0xda, 0x3a, 0x55, 0x8d, 0xa0, 0xda, 0xec, 0x17, 0xc0, 0xf2, 0xac, 0x27, - 0x76, 0xed, 0x28, 0x38, 0x5c, 0x6f, 0x0d, 0xf8, 0x6d, 0xc3, 0xdc, 0x22, 0x33, 0xee, 0xd3, 0xaa, - 0xd0, 0x81, 0x43, 0x59, 0x34, 0x5a, 0x92, 0xce, 0xe9, 0xc3, 0xd3, 0xd4, 0x54, 0x5e, 0xff, 0xc3, - 0x08, 0xed, 0x5f, 0x1b, 0xd6, 0x42, 0x71, 0x5e, 0xeb, 0xf2, 0xfa, 0x5e, 0xce, 0xed, 0xf7, 0x37, - 0xb7, 0x6b, 0x6f, 0x6b, 0x38, 0x22, 0xbf, 0x7f, 0x66, 0x98, 0x0f, 0xad, 0x60, 0x16, 0x39, 0x76, - 0x7a, 0x8e, 0xef, 0x2e, 0xf3, 0x69, 0xf3, 0x66, 0x68, 0x1f, 0xb3, 0xe6, 0x0b, 0xf3, 0xbc, 0xc8, - 0x85, 0xc2, 0xae, 0x0b, 0xc0, 0xce, 0xd9, 0x35, 0x73, 0xbe, 0xff, 0xcd, 0x30, 0xb7, 0xf2, 0x50, - 0xd6, 0x96, 0xbc, 0xeb, 0x39, 0xbf, 0x19, 0xda, 0x57, 0xac, 0x55, 0x99, 0x31, 0x53, 0x60, 0xd6, - 0x4e, 0xfd, 0x79, 0x70, 0x24, 0xeb, 0x89, 0xb2, 0xf4, 0xff, 0x97, 0x61, 0x3e, 0x92, 0xc4, 0x5b, - 0xb3, 0x04, 0xec, 0x2b, 0x3b, 0x39, 0x81, 0xe9, 0x35, 0x23, 0xb4, 0x9f, 0xb0, 0xce, 0x66, 0xca, - 0x40, 0x01, 0xa2, 0x6a, 0x18, 0x0e, 0x38, 0x71, 0x3f, 0x07, 0x7a, 0x6d, 0x11, 0x2c, 0xd4, 0x5f, - 0x07, 0xfe, 0xdc, 0x30, 0xb7, 0xc9, 0x64, 0x7d, 0x46, 0x34, 0x37, 0xcf, 0xb9, 0xc8, 0x03, 0x47, - 0xb2, 0xf8, 0x62, 0x59, 0xba, 0x2c, 0x1c, 0x9d, 0xae, 0xa8, 0x0a, 0xc3, 0xdb, 0x46, 0x68, 0xff, - 0xce, 0xb0, 0x96, 0x8a, 0x0b, 0x83, 0x6c, 0xac, 0x20, 0x6f, 0xac, 0xde, 0xcb, 0xb5, 0x61, 0x4f, - 0x73, 0xa7, 0x76, 0x7d, 0xa2, 0x55, 0x14, 0xe5, 0xe1, 0x4d, 0xc3, 0x7c, 0x64, 0x05, 0xb3, 0x84, - 0x93, 0xa7, 0x17, 0x08, 0xab, 0xdc, 0xbb, 0x3c, 0x71, 0x5a, 0xd6, 0x62, 0x61, 0x89, 0x28, 0x71, - 0xa6, 0xb0, 0xf0, 0x32, 0xb8, 0x58, 0x64, 0xe1, 0xcc, 0x85, 0xe2, 0x9e, 0x61, 0xee, 0x58, 0xc1, - 0xcc, 0xee, 0x31, 0xb2, 0x5e, 0x19, 0x39, 0x59, 0x8d, 0x3a, 0xd8, 0xbe, 0x61, 0x84, 0xf6, 0xc7, - 0xac, 0x2b, 0x11, 0x38, 0x36, 0xc4, 0x10, 0x89, 0x7d, 0x52, 0xd8, 0x94, 0x31, 0x90, 0x8e, 0x71, - 0x8f, 0x97, 0x05, 0x07, 0x76, 0x37, 0x54, 0x22, 0xe9, 0xa3, 0x4d, 0x25, 0xd4, 0x53, 0xe0, 0x9c, - 0xc6, 0x2e, 0x77, 0xeb, 0xcc, 0xe8, 0x02, 0xde, 0x2d, 0xec, 0xe2, 0x29, 0x9e, 0x05, 0x45, 0xc1, - 0xb1, 0x69, 0xb8, 0x93, 0xe5, 0xe3, 0x40, 0x39, 0x76, 0x51, 0x40, 0xbe, 0x64, 0x24, 0xaa, 0x62, - 0x35, 0x78, 0x5a, 0x1b, 0xfd, 0x32, 0x68, 0x55, 0xa2, 0xcf, 0x17, 0xc7, 0x7b, 0x86, 0xb9, 0x9d, - 0xdb, 0x13, 0x5b, 0xf7, 0xae, 0xd3, 0xc1, 0xed, 0x24, 0xf2, 0x29, 0x01, 0x5d, 0x9b, 0x0f, 0x12, - 0x05, 0x31, 0x01, 0xb9, 0x8c, 0x12, 0xbe, 0xd6, 0x90, 0x14, 0x98, 0x3c, 0xdd, 0x5a, 0xa4, 0x30, - 0xed, 0x54, 0x5f, 0x37, 0x42, 0xfb, 0x29, 0xeb, 0x5c, 0x2d, 0x6c, 0xd5, 0x80, 0xae, 0x83, 0x53, - 0xf7, 0x99, 0xc4, 0xd7, 0xda, 0x60, 0x69, 0xa6, 0xa5, 0xe0, 0xa7, 0x0f, 0x9a, 0xdb, 0x3e, 0x39, - 0x76, 0x6a, 0xf3, 0x83, 0xd4, 0xad, 0xc1, 0x0f, 0x5a, 0x51, 0xf1, 0xc3, 0x6f, 0x1e, 0x08, 0xed, - 0x97, 0x1e, 0xb0, 0xee, 0x3c, 0x20, 0xaf, 0x8b, 0xb0, 0xa7, 0x0c, 0xb1, 0x09, 0x85, 0x7e, 0xbf, - 0x4e, 0x79, 0x83, 0x36, 0x83, 0x23, 0x9f, 0x32, 0xe8, 0x7b, 0xc5, 0x65, 0x42, 0x16, 0xfd, 0x01, - 0x59, 0xc7, 0x1e, 0xd4, 0xe7, 0xbe, 0x08, 0x25, 0xce, 0x45, 0x28, 0xdc, 0x03, 0x7b, 0xc8, 0x83, - 0xdd, 0x28, 0xdf, 0x10, 0xe3, 0xcf, 0xa2, 0x64, 0x84, 0x5b, 0x70, 0xb5, 0x0f, 0xd9, 0x90, 0x50, - 0xd8, 0x43, 0xae, 0x0b, 0x29, 0x66, 0x34, 0x43, 0x5a, 0xcc, 0x8f, 0x16, 0x79, 0x4e, 0x6c, 0xab, - 0xbe, 0x37, 0x89, 0x89, 0x43, 0xaa, 0x2d, 0x0a, 0x80, 0x01, 0xa6, 0x13, 0x97, 0x71, 0x80, 0xf1, - 0xe6, 0x37, 0x89, 0xeb, 0x72, 0x1b, 0x04, 0xe3, 0x70, 0xa5, 0xbe, 0x1f, 0x8c, 0x70, 0xe0, 0x6e, - 0x14, 0x55, 0x01, 0xad, 0x3c, 0x42, 0x0e, 0x86, 0xc4, 0x4b, 0x98, 0x10, 0x97, 0x85, 0xa4, 0x3e, - 0xf1, 0xe4, 0x9d, 0x74, 0x85, 0x48, 0xad, 0x97, 0xab, 0x5b, 0x70, 0xd5, 0x13, 0xf7, 0x15, 0xa3, - 0x8c, 0x7a, 0x66, 0x0c, 0x91, 0x03, 0x11, 0xa4, 0xbd, 0x21, 0x76, 0x26, 0x2e, 0x86, 0x88, 0x52, - 0xbf, 0x47, 0x10, 0xc3, 0x0e, 0x24, 0xfc, 0x1e, 0x6c, 0x08, 0x09, 0x5b, 0x94, 0x77, 0x8e, 0x94, - 0xf4, 0xad, 0x1d, 0x42, 0x51, 0xd7, 0xc5, 0x8e, 0xf2, 0x31, 0x8e, 0x99, 0xb8, 0xd2, 0x72, 0x42, - 0x61, 0x17, 0x73, 0x17, 0x53, 0xcc, 0x32, 0xde, 0x17, 0x34, 0x5d, 0x68, 0x4d, 0xc2, 0x14, 0x9c, - 0xb7, 0x04, 0x7b, 0xd2, 0x10, 0x91, 0x63, 0xab, 0xd6, 0x3b, 0x42, 0x94, 0x9c, 0xfa, 0xbf, 0x67, - 0x98, 0x5b, 0x65, 0xdb, 0x73, 0x49, 0xcf, 0x6d, 0x40, 0xee, 0x79, 0x2a, 0x12, 0xa5, 0x1b, 0xac, - 0x23, 0x53, 0xf5, 0x54, 0xfe, 0x9c, 0x0b, 0xed, 0x03, 0xd6, 0x3e, 0xdd, 0x5d, 0xc5, 0xdd, 0x66, - 0x3c, 0x2a, 0x12, 0xb0, 0x3e, 0xd0, 0x04, 0x1a, 0x56, 0x24, 0x11, 0xfd, 0xc9, 0x8f, 0x0c, 0x73, - 0xfb, 0x1a, 0x96, 0x50, 0x63, 0x33, 0x8f, 0x96, 0xde, 0x5e, 0xeb, 0xce, 0x6c, 0xe8, 0x6a, 0x68, - 0x43, 0xeb, 0x80, 0x5e, 0x5e, 0x61, 0x2a, 0x6c, 0xee, 0xcd, 0x9b, 0xda, 0x0e, 0xd4, 0x42, 0xf5, - 0xc8, 0xf5, 0xf0, 0x0a, 0x66, 0xb1, 0xb9, 0xc7, 0xca, 0xfa, 0xf2, 0x48, 0x25, 0xd1, 0x5d, 0xed, - 0x29, 0xb5, 0xb8, 0x79, 0x3d, 0xb4, 0x17, 0xac, 0xa3, 0xd5, 0xcf, 0x5f, 0x19, 0x6b, 0x4f, 0x81, - 0x93, 0x05, 0xd6, 0xd6, 0xe8, 0x29, 0xee, 0x34, 0xcc, 0x6d, 0x49, 0x10, 0x17, 0x11, 0x43, 0xa0, - 0x5d, 0x07, 0x08, 0xd7, 0xd4, 0x60, 0x96, 0xeb, 0x2f, 0x50, 0xe7, 0xf0, 0x55, 0x23, 0xb4, 0x2f, - 0x59, 0x17, 0x22, 0x90, 0x92, 0x67, 0x78, 0xfe, 0xf8, 0x13, 0xc6, 0x7f, 0x3a, 0x88, 0x21, 0xd8, - 0x0f, 0xfc, 0x51, 0x2d, 0xfc, 0x8f, 0x83, 0x33, 0x1a, 0x3f, 0x5f, 0x38, 0xa3, 0x13, 0x7e, 0x61, - 0x98, 0x5b, 0x38, 0x49, 0x46, 0xd6, 0xd6, 0xe4, 0xdc, 0xfd, 0xa5, 0x67, 0xa8, 0x27, 0x4a, 0x8f, - 0x5b, 0x67, 0xca, 0x1e, 0xc4, 0x62, 0x13, 0x2b, 0xd9, 0x76, 0x09, 0x1c, 0x9b, 0xe1, 0x64, 0xc1, - 0xdf, 0x0d, 0x13, 0x3c, 0x8f, 0x83, 0x11, 0xf1, 0x52, 0x09, 0x3f, 0x5f, 0x6a, 0x69, 0xa4, 0xac, - 0x41, 0x2d, 0xd4, 0x51, 0x55, 0xa7, 0xf8, 0x65, 0x23, 0xb4, 0x2f, 0x58, 0x76, 0x24, 0x48, 0xb6, - 0x8b, 0x79, 0xa0, 0x09, 0x56, 0x20, 0x9e, 0x2a, 0xb6, 0xe2, 0x9e, 0x12, 0xe9, 0x99, 0x85, 0xfb, - 0x8b, 0x61, 0x9e, 0x8b, 0xff, 0x34, 0x44, 0x18, 0x5f, 0xf5, 0x9d, 0x04, 0xe8, 0x5c, 0x51, 0x48, - 0x89, 0x13, 0xb9, 0xb8, 0xbf, 0x52, 0xb1, 0xf9, 0x5d, 0x23, 0xb4, 0x0f, 0x5b, 0x1f, 0x2a, 0x4c, - 0x48, 0xcf, 0x77, 0x70, 0x36, 0x18, 0xc7, 0xc0, 0xd3, 0x40, 0xd2, 0x43, 0x75, 0x89, 0x26, 0xfa, - 0xb7, 0x93, 0x85, 0x96, 0x92, 0x24, 0x71, 0xa6, 0x04, 0x71, 0x99, 0x17, 0xbb, 0x13, 0x67, 0x13, - 0x7c, 0xbb, 0x61, 0x02, 0x1e, 0x72, 0x29, 0xbb, 0x69, 0xbe, 0x7e, 0xa6, 0xe4, 0xc9, 0x48, 0x7e, - 0x74, 0xaa, 0x66, 0xf3, 0x27, 0x46, 0x68, 0x7f, 0xd4, 0xfa, 0x48, 0x26, 0x9c, 0xd3, 0xf8, 0xab, - 0x43, 0x79, 0x02, 0x68, 0xa9, 0x5f, 0xa2, 0x51, 0x49, 0x89, 0x77, 0x8a, 0xe5, 0x91, 0x8f, 0x8a, - 0xc5, 0x32, 0xbb, 0xdf, 0xfa, 0x3f, 0x73, 0x4f, 0xde, 0x39, 0x97, 0xfd, 0x40, 0x0c, 0xc3, 0xdb, - 0x95, 0xc8, 0x95, 0xd6, 0x8c, 0xae, 0x7a, 0x7b, 0x2e, 0xb4, 0x57, 0xac, 0x4b, 0xd2, 0x55, 0xbd, - 0x21, 0x71, 0x9d, 0x9c, 0x9f, 0x24, 0x8d, 0xc8, 0xc7, 0x26, 0xd1, 0x0e, 0x44, 0xa9, 0x21, 0x06, - 0xb6, 0x99, 0x88, 0xfa, 0xfe, 0x1c, 0x78, 0x75, 0x4e, 0xfb, 0x4e, 0x6c, 0x18, 0xe0, 0xec, 0xcb, - 0x18, 0xda, 0xbe, 0x95, 0xbe, 0xd0, 0xd1, 0x11, 0x92, 0xba, 0x52, 0xe2, 0xdf, 0x99, 0x97, 0x46, - 0xae, 0x9f, 0x79, 0xa5, 0x8a, 0xdf, 0x3a, 0xeb, 0x74, 0x80, 0x17, 0x69, 0xab, 0xb9, 0x7a, 0x25, - 0x06, 0xad, 0x53, 0x61, 0xac, 0x56, 0x29, 0xb5, 0x4a, 0x2b, 0xe8, 0x9e, 0xaa, 0x48, 0x27, 0xc0, - 0x2c, 0xd8, 0xe8, 0x20, 0xc6, 0xf0, 0x68, 0xcc, 0x36, 0xc1, 0xeb, 0x0d, 0x73, 0x67, 0xb6, 0x1a, - 0x09, 0x62, 0x3d, 0x36, 0xad, 0x22, 0x25, 0x49, 0x75, 0xb1, 0x9e, 0xb2, 0x2a, 0xc5, 0x6f, 0x18, - 0xa1, 0x6d, 0x5b, 0x4f, 0xce, 0x4a, 0xa8, 0x45, 0xf5, 0x2b, 0x91, 0xa7, 0x82, 0x4c, 0xff, 0x4b, - 0x45, 0xec, 0x9b, 0x86, 0xb9, 0x75, 0x4d, 0x8d, 0xb4, 0x9e, 0x93, 0x3b, 0xe6, 0x1b, 0x55, 0x25, - 0xd0, 0x7a, 0xa5, 0xfd, 0x5f, 0x4e, 0x4f, 0xb9, 0xe9, 0x78, 0x68, 0xef, 0xb2, 0x76, 0xac, 0xc5, - 0xb3, 0x3f, 0xfd, 0x72, 0x57, 0x20, 0xdf, 0xd5, 0xdc, 0xa6, 0x91, 0xab, 0xeb, 0xa2, 0x3b, 0x7d, - 0xc9, 0x30, 0x1f, 0xe6, 0x89, 0xad, 0x36, 0xa5, 0xa0, 0x59, 0x72, 0xbb, 0xca, 0x17, 0x35, 0x7a, - 0x75, 0xf3, 0x54, 0x68, 0xef, 0xb3, 0x2c, 0x59, 0x1d, 0xe2, 0x19, 0x9e, 0xb6, 0x44, 0x15, 0x4b, - 0x00, 0x72, 0xa6, 0x80, 0xdf, 0x1b, 0xe6, 0x8e, 0xf4, 0x0b, 0x94, 0x4b, 0xfc, 0x29, 0x09, 0x2c, - 0x4d, 0x6d, 0xbf, 0x84, 0x9e, 0xb6, 0xac, 0x55, 0x57, 0x5d, 0xf9, 0x6c, 0x20, 0x22, 0xab, 0xa2, - 0xb9, 0x57, 0x0f, 0x6b, 0x01, 0xee, 0xf9, 0x81, 0xc3, 0xa3, 0x0a, 0xc1, 0xf1, 0x10, 0x51, 0x0c, - 0x59, 0x80, 0x3c, 0x9a, 0x98, 0xff, 0xed, 0x6f, 0xee, 0x8e, 0x28, 0x9e, 0x2f, 0xa1, 0xe9, 0x97, - 0x18, 0xbf, 0x8c, 0x1e, 0x55, 0x44, 0xa8, 0x0b, 0x6c, 0xf3, 0x95, 0x59, 0x90, 0xc2, 0xb5, 0x50, - 0x47, 0x55, 0x61, 0xea, 0x88, 0x21, 0x79, 0x84, 0x29, 0x9d, 0x06, 0xb5, 0xf1, 0x24, 0x26, 0xae, - 0x0a, 0x0f, 0xdf, 0x28, 0x83, 0x85, 0x13, 0x48, 0x09, 0x16, 0x21, 0xaa, 0x87, 0xa5, 0x48, 0xb5, - 0x18, 0x4b, 0x9a, 0x40, 0xfe, 0x03, 0x2c, 0xd1, 0xcb, 0xe3, 0x57, 0xe7, 0x44, 0x77, 0x95, 0x32, - 0x21, 0xdf, 0x5d, 0xa5, 0xc4, 0x55, 0xdd, 0x55, 0x4a, 0xb1, 0xf9, 0x66, 0xa3, 0xbc, 0xbb, 0x2a, - 0xe2, 0xc2, 0xef, 0x34, 0xc0, 0xb7, 0x1a, 0xa9, 0x97, 0xab, 0x99, 0xd2, 0x54, 0x9b, 0xf3, 0x66, - 0x20, 0xb9, 0xda, 0xac, 0x36, 0x85, 0xc6, 0x0a, 0x79, 0xab, 0x88, 0xa8, 0xf2, 0xcc, 0x54, 0x48, - 0x45, 0x79, 0xee, 0xb9, 0xab, 0x5a, 0xc1, 0x94, 0x93, 0x0b, 0x5a, 0xc1, 0x94, 0xbc, 0xb2, 0xbf, - 0xc9, 0x69, 0x8a, 0xcf, 0x27, 0xf2, 0xad, 0x60, 0xfa, 0xb0, 0xaa, 0x5b, 0xc1, 0x1f, 0x18, 0xe0, - 0x35, 0xa3, 0xf4, 0x10, 0x6b, 0x9f, 0x60, 0xdd, 0xe3, 0xab, 0x77, 0x76, 0xe5, 0x07, 0x07, 0xfe, - 0x38, 0x27, 0x18, 0x3d, 0xe5, 0x8a, 0x62, 0x46, 0xcf, 0x66, 0x41, 0x25, 0xa3, 0x17, 0x2b, 0xab, - 0xb4, 0xfe, 0x6b, 0xe3, 0xbe, 0x18, 0xbd, 0x28, 0x67, 0x5e, 0x69, 0x80, 0x97, 0x1b, 0x29, 0x4e, - 0xff, 0x5f, 0xe2, 0x64, 0x13, 0xe7, 0x8d, 0x86, 0xb9, 0x5f, 0x4e, 0x7f, 0x15, 0x51, 0x5f, 0x14, - 0x5b, 0xda, 0xd1, 0xf7, 0x5c, 0xe0, 0x44, 0x09, 0xa3, 0x67, 0x15, 0xd3, 0x43, 0xe8, 0x93, 0x33, - 0xae, 0x52, 0xa7, 0xff, 0x43, 0x23, 0xb4, 0x3f, 0x63, 0x7d, 0x2a, 0x31, 0x8f, 0xee, 0x4d, 0x28, - 0xf3, 0x47, 0xe4, 0x8b, 0xd8, 0x81, 0x81, 0x1a, 0x46, 0xc0, 0xf8, 0x6b, 0xb3, 0xdc, 0xa0, 0x31, - 0x6a, 0x6d, 0x96, 0xa4, 0x6f, 0x60, 0xcf, 0x1f, 0x75, 0xf9, 0x53, 0x3a, 0xf1, 0x3d, 0x11, 0x14, - 0xcf, 0x5a, 0x4f, 0x67, 0x3a, 0x8c, 0xfc, 0x37, 0x6c, 0xed, 0x5b, 0xe9, 0xef, 0xd9, 0x94, 0xe3, - 0x13, 0x17, 0x95, 0xe3, 0x39, 0x4d, 0xdc, 0x6e, 0xc8, 0x37, 0x36, 0xf1, 0x0b, 0x16, 0x82, 0x69, - 0xbe, 0x85, 0x4b, 0xbc, 0x7f, 0x49, 0xd6, 0x9d, 0x0f, 0x4e, 0xd1, 0x6b, 0xbe, 0x62, 0x84, 0xf6, - 0xe7, 0xac, 0xcf, 0xc6, 0x44, 0x01, 0x5d, 0x42, 0xc5, 0xf8, 0x3a, 0xa1, 0x09, 0x7d, 0xf1, 0x1a, - 0x93, 0x42, 0x3a, 0x44, 0x81, 0xa4, 0x3b, 0xf9, 0x39, 0x5a, 0xec, 0x33, 0xb6, 0x31, 0xc6, 0x8b, - 0x30, 0x1a, 0xc1, 0xf3, 0x84, 0x92, 0x20, 0x64, 0xae, 0x9c, 0x05, 0xa7, 0xa3, 0xa7, 0x54, 0xbe, - 0x6f, 0x07, 0x2b, 0x24, 0xed, 0x5b, 0x7a, 0x8b, 0x0e, 0xdf, 0x62, 0xb3, 0xe8, 0xf5, 0xcd, 0xaf, - 0x0c, 0x73, 0x0b, 0xef, 0xfc, 0x63, 0x83, 0xf2, 0x9f, 0xb8, 0x24, 0x84, 0x09, 0x96, 0xdc, 0x5b, - 0xa1, 0xd6, 0x64, 0x6a, 0x6a, 0x19, 0x21, 0xcf, 0x23, 0x96, 0xc6, 0x5f, 0x01, 0xab, 0x75, 0x8d, - 0x9f, 0x3e, 0x16, 0xbb, 0x67, 0x98, 0xdb, 0x65, 0xfc, 0x25, 0xf1, 0x1c, 0xad, 0x30, 0x34, 0x1d, - 0xf9, 0xf3, 0x35, 0x34, 0x55, 0xb4, 0x7f, 0xc5, 0x08, 0xed, 0xc7, 0xac, 0x76, 0x22, 0xda, 0xfb, - 0x04, 0xbb, 0x4e, 0x51, 0x54, 0x27, 0x36, 0x11, 0x90, 0xaf, 0x5a, 0xef, 0x1c, 0xe4, 0x33, 0xc6, - 0xc2, 0xf9, 0x93, 0xd7, 0x8e, 0x0f, 0x08, 0x1b, 0x4e, 0xba, 0xad, 0x9e, 0x3f, 0x6a, 0xbb, 0x1b, - 0x7d, 0xd6, 0x8e, 0xbe, 0x6f, 0x1c, 0x60, 0xaf, 0x3d, 0xee, 0x2e, 0x0d, 0xfc, 0x76, 0xf6, 0x83, - 0xd3, 0xee, 0x83, 0xe2, 0x03, 0xc6, 0xe3, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x04, 0xa4, 0xea, - 0xd7, 0x8b, 0x2a, 0x00, 0x00, + // 2637 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0x4b, 0x8c, 0x1c, 0x47, + 0xf9, 0x57, 0xcf, 0xfe, 0x93, 0xbf, 0xe8, 0xbc, 0xec, 0x4a, 0x4c, 0xec, 0xf6, 0x83, 0xca, 0x18, + 0xdb, 0xbb, 0xeb, 0xdd, 0x99, 0x0d, 0xb6, 0x31, 0xb6, 0x13, 0x27, 0xed, 0xd7, 0x6a, 0xe3, 0xe0, + 0x44, 0x4b, 0x02, 0xc8, 0x04, 0x46, 0x35, 0xd3, 0x35, 0x33, 0x65, 0xf7, 0x74, 0x0f, 0x5d, 0x35, + 0xeb, 0x2c, 0xd6, 0x4a, 0x91, 0x45, 0x10, 0x42, 0x9c, 0x1a, 0x09, 0x04, 0x42, 0x41, 0xe1, 0x96, + 0x08, 0x24, 0x20, 0x12, 0xd7, 0x20, 0x24, 0x24, 0x40, 0x51, 0x2e, 0x3e, 0xf0, 0x90, 0x40, 0x1c, + 0xe0, 0x04, 0x28, 0x07, 0x23, 0x71, 0x21, 0x0a, 0xaa, 0x57, 0xbf, 0xbb, 0xa7, 0xc7, 0x38, 0x48, + 0x91, 0x38, 0x79, 0x3d, 0xdf, 0xaf, 0xaa, 0xbf, 0xdf, 0xaf, 0xea, 0x7b, 0x74, 0x55, 0x9b, 0x7b, + 0xfa, 0xee, 0x26, 0xc3, 0xc4, 0x71, 0xdb, 0x14, 0x07, 0x1b, 0xa4, 0x87, 0xdb, 0xc8, 0x19, 0x11, + 0xaf, 0x35, 0x0e, 0x7c, 0xe6, 0x83, 0x6d, 0xda, 0xda, 0x52, 0x56, 0x6b, 0xcf, 0xc0, 0xf7, 0x07, + 0x2e, 0x6e, 0xa3, 0x31, 0x69, 0x23, 0xcf, 0xf3, 0x19, 0x62, 0xc4, 0xf7, 0xa8, 0xc4, 0x5b, 0xf1, + 0x6c, 0x62, 0x96, 0xf6, 0x38, 0xf0, 0xaf, 0xe0, 0x1e, 0x53, 0xd6, 0x43, 0xc5, 0xd6, 0x0e, 0x62, + 0x2c, 0x20, 0xdd, 0x09, 0xc3, 0x7a, 0x9a, 0x56, 0x09, 0xd0, 0xf1, 0x47, 0x88, 0x78, 0x79, 0xfc, + 0xae, 0x0c, 0x9e, 0x21, 0x7a, 0x55, 0x99, 0xf6, 0x66, 0x4c, 0xd7, 0xfc, 0xe0, 0x6a, 0xdf, 0xf5, + 0xaf, 0x29, 0xf3, 0x7c, 0x89, 0x39, 0xff, 0x0c, 0x98, 0x41, 0xba, 0x68, 0xe2, 0xf5, 0x86, 0x9d, + 0xb1, 0x8b, 0x94, 0x58, 0x96, 0x95, 0x41, 0xe0, 0x0d, 0xec, 0x69, 0xea, 0xfb, 0xb2, 0xb6, 0x17, + 0x71, 0x6f, 0xc2, 0x95, 0x53, 0xf6, 0xfd, 0x19, 0xbb, 0xe7, 0x3b, 0xb8, 0x33, 0x0d, 0xc4, 0x69, + 0xe6, 0x40, 0xbb, 0x33, 0xa0, 0x9e, 0x3f, 0x1a, 0x45, 0xc6, 0x25, 0xf1, 0x4f, 0x6f, 0x79, 0x80, + 0xbd, 0x65, 0x7a, 0x0d, 0x0d, 0x06, 0x38, 0x68, 0xfb, 0x63, 0xb1, 0x82, 0xf9, 0xd5, 0xfc, 0xd8, + 0xcd, 0xe7, 0xcd, 0x7b, 0x6d, 0x3e, 0xc9, 0xa7, 0xe4, 0xe2, 0x83, 0x5f, 0x34, 0x4c, 0xf3, 0x6c, + 0x80, 0x11, 0xc3, 0xcf, 0x21, 0x7a, 0x15, 0x3c, 0x12, 0xad, 0x53, 0x4b, 0x6e, 0x1a, 0xfe, 0xab, + 0xb4, 0xaf, 0xe3, 0x2f, 0x4e, 0x30, 0x65, 0x56, 0xb3, 0x0a, 0x42, 0xc7, 0xbe, 0x47, 0x71, 0xf3, + 0x1d, 0x23, 0xb4, 0x6f, 0x1a, 0xd6, 0x41, 0xf9, 0x33, 0x44, 0x9e, 0x03, 0x03, 0x3c, 0x20, 0x94, + 0xe1, 0x00, 0x22, 0xc8, 0x49, 0x42, 0x07, 0xf7, 0x89, 0x47, 0x04, 0xcb, 0xa7, 0xce, 0x98, 0x73, + 0x47, 0x57, 0x56, 0xc0, 0x29, 0xf3, 0xc4, 0x3a, 0x66, 0x93, 0xc0, 0xc3, 0x0e, 0xec, 0xfb, 0x01, + 0xec, 0x22, 0x3e, 0x4c, 0x3c, 0x15, 0xb2, 0x21, 0x62, 0x70, 0x84, 0x36, 0xe1, 0x10, 0x6d, 0x60, + 0xd8, 0x47, 0xc4, 0xc5, 0x0e, 0xdc, 0x40, 0x2e, 0x71, 0x90, 0x9c, 0x03, 0xf3, 0x39, 0x4e, 0x80, + 0x2f, 0x98, 0x2f, 0xa4, 0xe6, 0x40, 0xe9, 0x19, 0x02, 0xdc, 0xc7, 0x01, 0xf6, 0x7a, 0x98, 0x42, + 0xe4, 0x41, 0xe2, 0x60, 0x8f, 0x91, 0x1e, 0x72, 0x21, 0xff, 0x97, 0x6d, 0x4a, 0xcc, 0x10, 0x51, + 0x88, 0xdc, 0x00, 0x23, 0x67, 0x13, 0x76, 0x31, 0xf6, 0x22, 0xd7, 0xb1, 0xd3, 0xba, 0x71, 0xf3, + 0xcf, 0xdf, 0x68, 0x80, 0xe6, 0x7d, 0x22, 0x58, 0x36, 0x1e, 0x15, 0xeb, 0x45, 0x4f, 0x1a, 0x8b, + 0xe0, 0x27, 0x86, 0xf9, 0xff, 0xab, 0x98, 0x09, 0x11, 0x61, 0x56, 0xa1, 0x67, 0xba, 0x7c, 0xaf, + 0xaf, 0x62, 0xa6, 0x35, 0x7c, 0xa8, 0x48, 0xc3, 0xa6, 0x1f, 0xda, 0x87, 0xac, 0x03, 0xeb, 0x98, + 0x05, 0x04, 0x6f, 0x70, 0xd5, 0x20, 0x7e, 0x91, 0x50, 0x46, 0xbc, 0x41, 0x4e, 0x32, 0xe1, 0xc7, + 0x13, 0xe0, 0xf1, 0x94, 0x1f, 0xed, 0xeb, 0xc4, 0x69, 0xa9, 0xc0, 0xda, 0x12, 0xff, 0x91, 0xd1, + 0x25, 0xff, 0xf6, 0xd0, 0x08, 0xcb, 0xbf, 0x36, 0x70, 0x40, 0x89, 0xef, 0x6d, 0x81, 0x3f, 0x1a, + 0xe6, 0x3d, 0x4f, 0x13, 0x2a, 0xbc, 0x5e, 0x73, 0x28, 0x58, 0xc9, 0xba, 0x75, 0x09, 0x8d, 0xb0, + 0x73, 0x5e, 0x68, 0xb3, 0x26, 0xb4, 0xea, 0x13, 0x1c, 0xf0, 0x11, 0x9a, 0xc8, 0x42, 0xed, 0x11, + 0xcd, 0x20, 0xb4, 0xcf, 0x59, 0x67, 0x2e, 0x60, 0xd6, 0x1b, 0x96, 0xf2, 0x52, 0x2b, 0xc2, 0xc7, + 0x50, 0x38, 0x42, 0xac, 0x37, 0xe4, 0x20, 0xe2, 0x8d, 0x27, 0x0c, 0xf6, 0x89, 0xcb, 0x70, 0x40, + 0x25, 0xf5, 0x03, 0x60, 0x7f, 0x92, 0x7a, 0x87, 0x38, 0xb4, 0x7d, 0x3d, 0xa6, 0xae, 0x78, 0x83, + 0xbf, 0x1a, 0xe6, 0x87, 0x34, 0x41, 0x0a, 0xf6, 0x67, 0x9d, 0x5d, 0xc7, 0xd4, 0x9f, 0x04, 0x3d, + 0x9c, 0x64, 0xb4, 0xb3, 0x68, 0x69, 0x04, 0x81, 0x57, 0x8c, 0xd0, 0x3e, 0x61, 0x1d, 0xaf, 0x66, + 0x50, 0xed, 0xf6, 0x0b, 0x60, 0x65, 0xd6, 0x15, 0xbb, 0x3c, 0x0f, 0x0e, 0xd6, 0x1b, 0x03, 0x7e, + 0xd7, 0x30, 0xef, 0x97, 0x11, 0xf7, 0x19, 0x95, 0xf3, 0xc0, 0x81, 0x2c, 0x1b, 0x6d, 0x49, 0xc7, + 0xf4, 0xc1, 0x69, 0x30, 0x15, 0xd7, 0xff, 0x34, 0x42, 0xfb, 0x37, 0x86, 0xb5, 0x58, 0x1c, 0xd7, + 0x3a, 0xd3, 0x7e, 0x90, 0x63, 0xfb, 0xc3, 0xcd, 0xed, 0x5a, 0x6d, 0x4d, 0x47, 0xc4, 0xf7, 0xcf, + 0x0d, 0xf3, 0x9e, 0x55, 0xcc, 0x22, 0x61, 0xa7, 0xc7, 0xf8, 0xce, 0x32, 0x4d, 0x9b, 0xd7, 0x42, + 0xfb, 0xb0, 0xb5, 0x50, 0x18, 0xe7, 0x45, 0x12, 0x0a, 0xbf, 0xce, 0x02, 0x3b, 0xe7, 0xd7, 0xcc, + 0xf1, 0xfe, 0x77, 0xc3, 0x7c, 0x80, 0x6f, 0x65, 0xed, 0xc9, 0xfb, 0x1e, 0xf3, 0x5b, 0xa1, 0x7d, + 0xd1, 0x5a, 0x93, 0x11, 0x33, 0x85, 0x66, 0xed, 0xd0, 0x5f, 0x00, 0x87, 0xb2, 0x4a, 0x94, 0x85, + 0xff, 0x7b, 0x86, 0x79, 0x5f, 0x92, 0x6f, 0xcd, 0x14, 0xb0, 0xa7, 0x6c, 0xe5, 0x04, 0xa7, 0xd7, + 0x8d, 0xd0, 0x7e, 0xdc, 0x3a, 0x95, 0x49, 0x03, 0x05, 0x8c, 0xaa, 0x69, 0x38, 0xe0, 0xe8, 0xed, + 0x2c, 0xe8, 0xe5, 0x25, 0xb0, 0x58, 0x7f, 0x1c, 0xf8, 0x4b, 0xc3, 0xdc, 0x26, 0x83, 0xf5, 0x69, + 0xd1, 0xdc, 0x3c, 0xeb, 0x22, 0x0f, 0x1c, 0xca, 0xf2, 0x8b, 0x6d, 0xe9, 0xb4, 0x30, 0x3f, 0x1d, + 0xa8, 0x12, 0xc3, 0xbb, 0x46, 0x68, 0xff, 0xde, 0xb0, 0x96, 0x8b, 0x13, 0x83, 0x6c, 0xac, 0x20, + 0x6f, 0xac, 0x3e, 0xc8, 0xb9, 0x61, 0x57, 0xf3, 0x21, 0x2d, 0x7d, 0xa2, 0x55, 0x14, 0xe9, 0xe1, + 0x2d, 0xc3, 0xbc, 0x6f, 0x15, 0xb3, 0x84, 0xc8, 0xd3, 0x13, 0x84, 0x55, 0xae, 0x2e, 0x0f, 0x9c, + 0x96, 0xb5, 0x54, 0x98, 0x22, 0x4a, 0xc4, 0x14, 0x1e, 0x5e, 0x00, 0xe7, 0x8a, 0x3c, 0x9c, 0x39, + 0x51, 0xdc, 0x32, 0xcc, 0x07, 0x57, 0x31, 0xb3, 0x7b, 0x8c, 0x6c, 0x54, 0xee, 0x9c, 0x2c, 0xa2, + 0x0e, 0xb7, 0x6f, 0x1a, 0xa1, 0xfd, 0x49, 0xeb, 0x62, 0x44, 0x8e, 0x0d, 0x31, 0x44, 0x62, 0x9e, + 0x14, 0x37, 0xe5, 0x0c, 0xa4, 0x63, 0xdc, 0xe3, 0x69, 0xc1, 0x81, 0xdd, 0x4d, 0x15, 0x48, 0x7a, + 0x69, 0x53, 0x01, 0xf5, 0x24, 0x38, 0xad, 0xb9, 0xcb, 0xd9, 0x3a, 0x33, 0x4a, 0xc0, 0xbb, 0x85, + 0x1d, 0x3c, 0xc4, 0xb3, 0xa4, 0x28, 0x38, 0x3c, 0x8d, 0x77, 0x32, 0x7d, 0xec, 0x2b, 0xe7, 0x2e, + 0x12, 0xc8, 0x97, 0x8d, 0x44, 0x56, 0xac, 0x26, 0x4f, 0x6b, 0xb3, 0x5f, 0x01, 0xad, 0x4a, 0xf6, + 0xf9, 0xe4, 0x78, 0xcb, 0x30, 0xb7, 0x73, 0x7f, 0x62, 0xef, 0xde, 0xf7, 0x72, 0xf0, 0x52, 0x92, + 0xf9, 0x94, 0x0d, 0x5d, 0xbb, 0x1e, 0x24, 0x12, 0x62, 0x82, 0x72, 0x59, 0x49, 0xf8, 0x7a, 0x43, + 0x96, 0xc0, 0xe4, 0xea, 0xd6, 0x2a, 0x0a, 0xd3, 0x56, 0xf5, 0x0d, 0x23, 0xb4, 0x9f, 0xb4, 0x4e, + 0xd7, 0xe2, 0x56, 0x4d, 0xe8, 0x0a, 0x38, 0x7e, 0x9b, 0x41, 0x7c, 0xb9, 0x0d, 0x96, 0x67, 0x1a, + 0x0a, 0x7e, 0x76, 0xb7, 0xb9, 0xed, 0xf9, 0xb1, 0x53, 0xbb, 0x3e, 0x48, 0x6c, 0x8d, 0xfa, 0xa0, + 0x81, 0xaa, 0x3e, 0xfc, 0xf6, 0xae, 0xd0, 0x7e, 0xf9, 0x2e, 0xeb, 0xc6, 0x5d, 0xf2, 0x77, 0xb1, + 0xed, 0x29, 0x43, 0x6c, 0x42, 0xa1, 0xdf, 0xaf, 0x93, 0xde, 0xa0, 0xcd, 0xe0, 0xc8, 0xa7, 0x0c, + 0xfa, 0x5e, 0x71, 0x9a, 0x90, 0x49, 0x7f, 0x40, 0x36, 0xb0, 0x07, 0xf5, 0xba, 0x2f, 0x41, 0xc9, + 0x73, 0x09, 0x0a, 0x79, 0x60, 0x0f, 0x79, 0xb0, 0x1b, 0xc5, 0x1b, 0x62, 0xfc, 0x5d, 0x94, 0x8c, + 0x70, 0x0b, 0xae, 0xf5, 0x21, 0x1b, 0x12, 0x0a, 0x7b, 0xc8, 0x75, 0x21, 0xc5, 0x8c, 0x66, 0x8a, + 0x16, 0xf3, 0xa3, 0x41, 0x9e, 0x13, 0xfb, 0xaa, 0x9f, 0x4d, 0xe2, 0xc2, 0x21, 0x61, 0x4b, 0x82, + 0x60, 0x80, 0xe9, 0xc4, 0x65, 0x9c, 0x60, 0x3c, 0xf9, 0x35, 0xe2, 0xba, 0xdc, 0x07, 0x51, 0x71, + 0x38, 0xa8, 0xef, 0x07, 0x23, 0x1c, 0xb8, 0x9b, 0x45, 0x59, 0x40, 0x83, 0x47, 0xc8, 0xc1, 0x90, + 0x78, 0x09, 0x17, 0xe2, 0xb4, 0x90, 0xc4, 0x13, 0x4f, 0x3e, 0x49, 0x67, 0x88, 0xd4, 0x78, 0x39, + 0xba, 0x05, 0xd7, 0x3c, 0xf1, 0x5c, 0x71, 0x94, 0x51, 0xcf, 0x8d, 0x21, 0x72, 0x20, 0x82, 0xb4, + 0x37, 0xc4, 0xce, 0xc4, 0xc5, 0x10, 0x51, 0xea, 0xf7, 0x08, 0x62, 0xd8, 0x81, 0x84, 0x3f, 0x83, + 0x0d, 0x21, 0x61, 0x4b, 0xf2, 0xc9, 0x11, 0x48, 0x3f, 0xda, 0x21, 0x14, 0x75, 0x5d, 0xec, 0x28, + 0x8d, 0x71, 0x5c, 0x89, 0x2b, 0x3d, 0x27, 0x14, 0x76, 0x31, 0x97, 0x98, 0x62, 0x96, 0x51, 0x5f, + 0x94, 0xe9, 0x42, 0x6f, 0x12, 0xae, 0xe0, 0xbc, 0x27, 0xd8, 0x93, 0x8e, 0x88, 0x18, 0x5b, 0xb3, + 0xee, 0x48, 0xa1, 0xe4, 0xa5, 0xff, 0xfb, 0x86, 0xf9, 0x80, 0x6c, 0x7b, 0xce, 0xeb, 0x73, 0x1b, + 0x90, 0x7b, 0x9f, 0x8a, 0x4c, 0xe9, 0x06, 0xeb, 0xd0, 0x54, 0x9c, 0x8a, 0x9f, 0xd3, 0xa1, 0xbd, + 0xcf, 0xda, 0xa3, 0xbb, 0xab, 0xb8, 0xdb, 0x8c, 0x8f, 0x8a, 0x04, 0xad, 0x87, 0x9b, 0x40, 0xd3, + 0x8a, 0x2c, 0xa2, 0x3f, 0xf9, 0xb1, 0x61, 0x6e, 0x5f, 0xc7, 0x92, 0x6a, 0xec, 0xe6, 0x7c, 0xe9, + 0xe3, 0x35, 0x76, 0x66, 0x47, 0xd7, 0x42, 0x1b, 0x5a, 0xfb, 0xf4, 0xf0, 0x0a, 0x57, 0x61, 0x73, + 0x77, 0xde, 0xd5, 0x76, 0xa0, 0x06, 0xaa, 0x57, 0xae, 0x7b, 0x57, 0x31, 0x8b, 0xdd, 0x3d, 0x5c, + 0xd6, 0x97, 0x47, 0x90, 0x44, 0x77, 0xb5, 0xab, 0xd4, 0xe3, 0xe6, 0x95, 0xd0, 0x5e, 0xb4, 0xe6, + 0xab, 0xdf, 0xbf, 0x32, 0xde, 0x1e, 0x07, 0xc7, 0x0a, 0xbc, 0xad, 0xd1, 0x53, 0xdc, 0x68, 0x98, + 0xdb, 0x92, 0x24, 0xce, 0x21, 0x86, 0x40, 0xbb, 0x0e, 0x11, 0x8e, 0xd4, 0x64, 0x56, 0xea, 0x0f, + 0x50, 0xeb, 0xf0, 0x35, 0x23, 0xb4, 0xcf, 0x5b, 0x67, 0x23, 0x92, 0xb2, 0xce, 0xf0, 0xf8, 0xf1, + 0x27, 0x8c, 0xff, 0xe9, 0x20, 0x86, 0x60, 0x3f, 0xf0, 0x47, 0xb5, 0xf8, 0x3f, 0x06, 0x4e, 0x6a, + 0xfe, 0x7c, 0xe0, 0x8c, 0x22, 0xfc, 0xd2, 0x30, 0xef, 0xe7, 0x45, 0x32, 0xf2, 0xb6, 0x66, 0xcd, + 0xdd, 0x5b, 0xba, 0x86, 0xfa, 0x44, 0xe9, 0x31, 0xeb, 0x64, 0xd9, 0x8b, 0x58, 0xec, 0x62, 0x65, + 0xb5, 0x5d, 0x06, 0x87, 0x67, 0x58, 0x59, 0xf0, 0x0f, 0xc3, 0x04, 0xcf, 0xe1, 0x60, 0x44, 0xbc, + 0x54, 0xc0, 0x2f, 0x94, 0x7a, 0x1a, 0x81, 0x35, 0xa9, 0xc5, 0x3a, 0x50, 0xb5, 0x8a, 0x5f, 0x31, + 0x42, 0xfb, 0xac, 0x65, 0x47, 0x86, 0x64, 0xbb, 0x98, 0x27, 0x9a, 0xa8, 0x0a, 0xc4, 0x53, 0xc9, + 0x56, 0x3c, 0x53, 0x32, 0x3d, 0xb9, 0x78, 0x7b, 0x7b, 0x98, 0xc7, 0xe2, 0xbf, 0x0c, 0xb1, 0x8d, + 0x2f, 0xf9, 0x4e, 0x82, 0x74, 0x2e, 0x29, 0xa4, 0xcc, 0x89, 0x58, 0xdc, 0x5b, 0x09, 0x6c, 0x7e, + 0xcf, 0x08, 0xed, 0x83, 0xd6, 0x47, 0x0b, 0x03, 0xd2, 0xf3, 0x1d, 0x9c, 0xdd, 0x8c, 0x63, 0xe0, + 0x69, 0x22, 0xe9, 0x43, 0x75, 0xc9, 0x26, 0xfa, 0x6f, 0x27, 0x4b, 0x2d, 0x65, 0x49, 0xf2, 0x4c, + 0x19, 0xe2, 0x34, 0x2f, 0x66, 0x27, 0xce, 0x16, 0xf8, 0x4e, 0xc3, 0x04, 0x7c, 0xcb, 0xa5, 0xfc, + 0xa6, 0xf9, 0xfc, 0x99, 0xb2, 0x27, 0x77, 0xf2, 0x23, 0x53, 0x91, 0xcd, 0x9f, 0x1a, 0xa1, 0xfd, + 0x09, 0xeb, 0xe3, 0x99, 0xed, 0x9c, 0xe6, 0x5f, 0xbd, 0x95, 0x27, 0x80, 0x96, 0xea, 0x12, 0x1d, + 0x95, 0x94, 0xa8, 0x53, 0x6c, 0x8f, 0x34, 0x2a, 0x36, 0xcb, 0xe8, 0x7e, 0xe7, 0xff, 0xcc, 0x5d, + 0x79, 0x71, 0x2e, 0xf8, 0x81, 0x38, 0x0c, 0x6f, 0x57, 0x32, 0x57, 0xa8, 0x19, 0xa5, 0x7a, 0x77, + 0x2e, 0xb4, 0x57, 0xad, 0xf3, 0x52, 0xaa, 0xde, 0x90, 0xb8, 0x4e, 0x4e, 0x27, 0x59, 0x46, 0xe4, + 0x6b, 0x93, 0x68, 0x07, 0xa2, 0xd0, 0x10, 0x07, 0xb6, 0x99, 0x1d, 0xf5, 0x83, 0x39, 0xf0, 0xda, + 0x9c, 0xd6, 0x4e, 0x4c, 0x18, 0xe0, 0xec, 0x65, 0x0c, 0x6d, 0x5f, 0x4f, 0xff, 0xd0, 0xd1, 0x3b, + 0x24, 0xf5, 0x4b, 0x89, 0xbe, 0x33, 0x0f, 0x8d, 0xa4, 0x9f, 0x79, 0xa4, 0xda, 0xbf, 0x75, 0xc6, + 0xe9, 0x0d, 0x5e, 0x84, 0x56, 0xe7, 0xea, 0x95, 0x1c, 0x34, 0xa6, 0xc2, 0x59, 0x0d, 0x29, 0xf5, + 0x4a, 0x03, 0x74, 0x4f, 0x55, 0x84, 0x09, 0x30, 0x0b, 0x36, 0x3b, 0x88, 0x31, 0x3c, 0x1a, 0xb3, + 0x2d, 0xf0, 0x46, 0xc3, 0x7c, 0x28, 0x9b, 0x8d, 0x44, 0x61, 0x3d, 0x3c, 0x2d, 0x23, 0x25, 0x8b, + 0xea, 0x52, 0x3d, 0xb0, 0x4a, 0xc5, 0x6f, 0x1a, 0xa1, 0x6d, 0x5b, 0x4f, 0xcc, 0x5a, 0x50, 0x8b, + 0xf2, 0x57, 0x22, 0x4e, 0x45, 0x31, 0xfd, 0x2f, 0x25, 0xb1, 0x6f, 0x19, 0xe6, 0x03, 0xeb, 0xea, + 0x48, 0xeb, 0x59, 0x39, 0x63, 0xbe, 0x51, 0x55, 0x06, 0x8d, 0x2b, 0xed, 0xff, 0x72, 0x38, 0x25, + 0xd3, 0x91, 0xd0, 0xde, 0x61, 0x3d, 0xb8, 0x1e, 0x9f, 0xfd, 0xe9, 0xfb, 0x62, 0xc1, 0x7c, 0x47, + 0x73, 0x9b, 0x66, 0xae, 0x7e, 0x17, 0xdd, 0xe9, 0xcb, 0x86, 0x79, 0x2f, 0x0f, 0x6c, 0x35, 0x29, + 0x05, 0xcd, 0x92, 0xc7, 0x55, 0x5e, 0xd4, 0xe8, 0xd1, 0xcd, 0xe3, 0xa1, 0xbd, 0xc7, 0xb2, 0x64, + 0x76, 0x88, 0xcf, 0xf0, 0xb4, 0x27, 0x2a, 0x59, 0x02, 0x90, 0x73, 0x05, 0xfc, 0xc1, 0x30, 0x1f, + 0x4c, 0x5f, 0xa0, 0x9c, 0xe7, 0x6f, 0x49, 0x60, 0x79, 0x6a, 0xfb, 0x25, 0x70, 0xda, 0xb3, 0x56, + 0x5d, 0xb8, 0xd2, 0x6c, 0x20, 0x76, 0x56, 0x45, 0x73, 0xaf, 0x5e, 0xd6, 0x02, 0xdc, 0xf3, 0x03, + 0x87, 0xef, 0x2a, 0x04, 0xc7, 0x43, 0x44, 0x31, 0x64, 0x01, 0xf2, 0x68, 0xe2, 0xfc, 0x6f, 0x6f, + 0x73, 0x67, 0x54, 0xe2, 0xf9, 0x10, 0x9a, 0xbe, 0xc4, 0xf8, 0x55, 0xf4, 0xaa, 0x22, 0xb6, 0xba, + 0xe0, 0xb6, 0x50, 0x19, 0x05, 0x29, 0x5e, 0x8b, 0x75, 0xa0, 0x8a, 0x53, 0x47, 0x1c, 0x92, 0x47, + 0x9c, 0xd2, 0x61, 0x50, 0x9b, 0x4f, 0xe2, 0xc4, 0x55, 0xf1, 0xe1, 0x13, 0x65, 0xb8, 0xf0, 0x02, + 0x52, 0xc2, 0x45, 0x98, 0xea, 0x71, 0x29, 0x82, 0x16, 0x73, 0x49, 0x17, 0x90, 0xff, 0x80, 0x4b, + 0x74, 0x79, 0xfc, 0xda, 0x9c, 0xe8, 0xae, 0x52, 0x2e, 0xe4, 0xbb, 0xab, 0x94, 0xb9, 0xaa, 0xbb, + 0x4a, 0x01, 0x9b, 0x6f, 0x35, 0xca, 0xbb, 0xab, 0xa2, 0x5a, 0xf8, 0xdd, 0x06, 0xf8, 0x76, 0x23, + 0x75, 0xb9, 0x9a, 0x49, 0x4d, 0xb5, 0x6b, 0xde, 0x0c, 0x45, 0xae, 0x76, 0x55, 0x9b, 0x52, 0xc6, + 0x0a, 0xeb, 0x56, 0x51, 0xa1, 0xca, 0x57, 0xa6, 0xc2, 0x52, 0x94, 0xaf, 0x3d, 0x37, 0x55, 0x2b, + 0x98, 0x12, 0xb9, 0xa0, 0x15, 0x4c, 0xd9, 0x2b, 0xfb, 0x9b, 0x1c, 0x52, 0x7c, 0x3e, 0x91, 0x6f, + 0x05, 0xd3, 0x8b, 0x55, 0xdd, 0x0a, 0xfe, 0xd0, 0x00, 0xaf, 0x1b, 0xa5, 0x8b, 0x58, 0x7b, 0x05, + 0xeb, 0x2e, 0x5f, 0xbd, 0xb5, 0x2b, 0x5f, 0x38, 0xf0, 0xa7, 0x39, 0x51, 0xd1, 0x53, 0x52, 0x14, + 0x57, 0xf4, 0x6c, 0x14, 0x54, 0x56, 0xf4, 0x62, 0xb0, 0x0a, 0xeb, 0xbf, 0x35, 0x6e, 0xab, 0xa2, + 0x17, 0xc5, 0xcc, 0xab, 0x0d, 0xf0, 0x4a, 0x23, 0x55, 0xd3, 0xff, 0x17, 0x38, 0xd9, 0xc0, 0x79, + 0xcf, 0x30, 0x1f, 0x96, 0xa7, 0xbf, 0xaa, 0x50, 0xdb, 0xd1, 0xf7, 0x58, 0xa0, 0x55, 0x52, 0xcb, + 0x63, 0x48, 0xfa, 0xe0, 0xb9, 0x5d, 0x1b, 0xaf, 0xd6, 0xfa, 0x86, 0x3c, 0x0e, 0x49, 0x9c, 0x3e, + 0xf7, 0x26, 0x94, 0xf9, 0x23, 0xf2, 0x25, 0xec, 0xc0, 0x40, 0x1d, 0x3d, 0xc0, 0xf8, 0x0b, 0xb1, + 0xdc, 0xb1, 0x62, 0xd4, 0xc8, 0x88, 0xf5, 0x3e, 0x6a, 0xb5, 0x33, 0xcd, 0x43, 0xe2, 0xeb, 0xb2, + 0xf6, 0xf5, 0xf4, 0x97, 0x66, 0x42, 0x4c, 0x9e, 0xe6, 0xdf, 0x6c, 0x98, 0x7b, 0x53, 0x0a, 0x9c, + 0x13, 0xa2, 0x26, 0x74, 0x38, 0x5a, 0xc2, 0x2b, 0x0b, 0x4c, 0xab, 0x71, 0x6c, 0xc6, 0x51, 0x4a, + 0x93, 0x1f, 0x19, 0xa1, 0xfd, 0x59, 0xeb, 0xd3, 0x77, 0x40, 0x93, 0x65, 0xb9, 0x3b, 0x60, 0xcf, + 0x1f, 0x75, 0x89, 0x27, 0x2e, 0x66, 0x85, 0x4c, 0xcf, 0x58, 0x4f, 0x65, 0x65, 0xca, 0x7d, 0xef, + 0x57, 0xa8, 0x56, 0xea, 0x47, 0xb5, 0xf5, 0xb8, 0x82, 0x6f, 0x37, 0xcc, 0x9d, 0xd2, 0x5f, 0xdd, + 0x52, 0x25, 0xc4, 0x2b, 0x3d, 0x55, 0x2b, 0xd3, 0x6d, 0xa5, 0xfe, 0x00, 0x25, 0xd9, 0xdb, 0x46, + 0x68, 0xf7, 0x2d, 0xe7, 0x0e, 0x48, 0xa6, 0xaf, 0x26, 0x44, 0xbe, 0x89, 0x3a, 0xbe, 0xac, 0x80, + 0x1d, 0xeb, 0x72, 0xee, 0x5b, 0x87, 0xdb, 0x90, 0x2e, 0xf5, 0x9b, 0x9e, 0x48, 0x08, 0xfa, 0x52, + 0x43, 0x5e, 0x02, 0xc6, 0x77, 0x76, 0x04, 0xd3, 0xfc, 0x5b, 0x41, 0xe2, 0x4a, 0x2f, 0x59, 0xca, + 0x3e, 0x32, 0x05, 0xd7, 0x7c, 0xd5, 0x08, 0xed, 0xcf, 0x5b, 0x9f, 0x8b, 0x7b, 0x0f, 0xe8, 0x12, + 0x2a, 0x6e, 0x44, 0x12, 0x48, 0xe8, 0x8b, 0x9b, 0x71, 0x0a, 0xe9, 0x10, 0x05, 0xb2, 0x83, 0x92, + 0x5f, 0x38, 0xc6, 0x8a, 0xb2, 0xcd, 0x31, 0x5e, 0x8a, 0xa5, 0xe3, 0x9a, 0x49, 0x6a, 0x32, 0xfd, + 0x9e, 0x02, 0x27, 0xa2, 0x83, 0x0f, 0x3e, 0x6f, 0x07, 0x2b, 0x26, 0xed, 0xeb, 0x7a, 0x8a, 0x0e, + 0x9f, 0x62, 0xab, 0xe8, 0x46, 0xf0, 0xd7, 0x86, 0x79, 0x3f, 0x7f, 0x99, 0x8c, 0x1d, 0xca, 0x7f, + 0x35, 0x95, 0x30, 0x26, 0x1a, 0xaf, 0xdd, 0x15, 0xb0, 0x26, 0x53, 0x07, 0xe1, 0x11, 0xf3, 0x3c, + 0x63, 0xe9, 0xfc, 0x45, 0xb0, 0x56, 0xd7, 0xf9, 0xe9, 0x27, 0xad, 0xb7, 0x0c, 0x73, 0xbb, 0xdc, + 0x9d, 0x49, 0x3e, 0xf3, 0x15, 0x8e, 0xa6, 0x43, 0x62, 0xa1, 0x06, 0x52, 0xc5, 0xc2, 0x57, 0x8d, + 0xd0, 0x7e, 0xd4, 0x6a, 0x27, 0x62, 0xa1, 0x4f, 0xb0, 0xeb, 0x14, 0xed, 0xf9, 0xc4, 0x24, 0x82, + 0xf2, 0x25, 0xeb, 0xce, 0x51, 0x3e, 0x69, 0x2c, 0x9e, 0x39, 0x76, 0xf9, 0xc8, 0x80, 0xb0, 0xe1, + 0xa4, 0xdb, 0xea, 0xf9, 0xa3, 0xb6, 0xbb, 0xd9, 0x67, 0xed, 0xe8, 0x93, 0xd9, 0x01, 0xf6, 0xda, + 0xe3, 0xee, 0xf2, 0xc0, 0x6f, 0x67, 0x3f, 0x8b, 0xee, 0xde, 0x2d, 0xbe, 0x89, 0x3d, 0xf2, 0xef, + 0x00, 0x00, 0x00, 0xff, 0xff, 0x6c, 0x3c, 0x28, 0x70, 0x31, 0x2d, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -237,7 +243,9 @@ type AdminServiceClient interface { GetTaskExecution(ctx context.Context, in *admin.TaskExecutionGetRequest, opts ...grpc.CallOption) (*admin.TaskExecution, error) ListTaskExecutions(ctx context.Context, in *admin.TaskExecutionListRequest, opts ...grpc.CallOption) (*admin.TaskExecutionList, error) GetTaskExecutionData(ctx context.Context, in *admin.TaskExecutionGetDataRequest, opts ...grpc.CallOption) (*admin.TaskExecutionGetDataResponse, error) + UpdateProjectAttributes(ctx context.Context, in *admin.ProjectAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesUpdateResponse, error) UpdateProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesUpdateResponse, error) + UpdateWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesUpdateResponse, error) ListNamedEntities(ctx context.Context, in *admin.NamedEntityListRequest, opts ...grpc.CallOption) (*admin.NamedEntityList, error) GetNamedEntity(ctx context.Context, in *admin.NamedEntityGetRequest, opts ...grpc.CallOption) (*admin.NamedEntity, error) UpdateNamedEntity(ctx context.Context, in *admin.NamedEntityUpdateRequest, opts ...grpc.CallOption) (*admin.NamedEntityUpdateResponse, error) @@ -548,6 +556,15 @@ func (c *adminServiceClient) GetTaskExecutionData(ctx context.Context, in *admin return out, nil } +func (c *adminServiceClient) UpdateProjectAttributes(ctx context.Context, in *admin.ProjectAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectAttributesUpdateResponse, error) { + out := new(admin.ProjectAttributesUpdateResponse) + err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateProjectAttributes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *adminServiceClient) UpdateProjectDomainAttributes(ctx context.Context, in *admin.ProjectDomainAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.ProjectDomainAttributesUpdateResponse, error) { out := new(admin.ProjectDomainAttributesUpdateResponse) err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateProjectDomainAttributes", in, out, opts...) @@ -557,6 +574,15 @@ func (c *adminServiceClient) UpdateProjectDomainAttributes(ctx context.Context, return out, nil } +func (c *adminServiceClient) UpdateWorkflowAttributes(ctx context.Context, in *admin.WorkflowAttributesUpdateRequest, opts ...grpc.CallOption) (*admin.WorkflowAttributesUpdateResponse, error) { + out := new(admin.WorkflowAttributesUpdateResponse) + err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/UpdateWorkflowAttributes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *adminServiceClient) ListNamedEntities(ctx context.Context, in *admin.NamedEntityListRequest, opts ...grpc.CallOption) (*admin.NamedEntityList, error) { out := new(admin.NamedEntityList) err := c.cc.Invoke(ctx, "/flyteidl.service.AdminService/ListNamedEntities", in, out, opts...) @@ -619,7 +645,9 @@ type AdminServiceServer interface { GetTaskExecution(context.Context, *admin.TaskExecutionGetRequest) (*admin.TaskExecution, error) ListTaskExecutions(context.Context, *admin.TaskExecutionListRequest) (*admin.TaskExecutionList, error) GetTaskExecutionData(context.Context, *admin.TaskExecutionGetDataRequest) (*admin.TaskExecutionGetDataResponse, error) + UpdateProjectAttributes(context.Context, *admin.ProjectAttributesUpdateRequest) (*admin.ProjectAttributesUpdateResponse, error) UpdateProjectDomainAttributes(context.Context, *admin.ProjectDomainAttributesUpdateRequest) (*admin.ProjectDomainAttributesUpdateResponse, error) + UpdateWorkflowAttributes(context.Context, *admin.WorkflowAttributesUpdateRequest) (*admin.WorkflowAttributesUpdateResponse, error) ListNamedEntities(context.Context, *admin.NamedEntityListRequest) (*admin.NamedEntityList, error) GetNamedEntity(context.Context, *admin.NamedEntityGetRequest) (*admin.NamedEntity, error) UpdateNamedEntity(context.Context, *admin.NamedEntityUpdateRequest) (*admin.NamedEntityUpdateResponse, error) @@ -728,9 +756,15 @@ func (*UnimplementedAdminServiceServer) ListTaskExecutions(ctx context.Context, func (*UnimplementedAdminServiceServer) GetTaskExecutionData(ctx context.Context, req *admin.TaskExecutionGetDataRequest) (*admin.TaskExecutionGetDataResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTaskExecutionData not implemented") } +func (*UnimplementedAdminServiceServer) UpdateProjectAttributes(ctx context.Context, req *admin.ProjectAttributesUpdateRequest) (*admin.ProjectAttributesUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectAttributes not implemented") +} func (*UnimplementedAdminServiceServer) UpdateProjectDomainAttributes(ctx context.Context, req *admin.ProjectDomainAttributesUpdateRequest) (*admin.ProjectDomainAttributesUpdateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateProjectDomainAttributes not implemented") } +func (*UnimplementedAdminServiceServer) UpdateWorkflowAttributes(ctx context.Context, req *admin.WorkflowAttributesUpdateRequest) (*admin.WorkflowAttributesUpdateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateWorkflowAttributes not implemented") +} func (*UnimplementedAdminServiceServer) ListNamedEntities(ctx context.Context, req *admin.NamedEntityListRequest) (*admin.NamedEntityList, error) { return nil, status.Errorf(codes.Unimplemented, "method ListNamedEntities not implemented") } @@ -1339,6 +1373,24 @@ func _AdminService_GetTaskExecutionData_Handler(srv interface{}, ctx context.Con return interceptor(ctx, in, info, handler) } +func _AdminService_UpdateProjectAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.ProjectAttributesUpdateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).UpdateProjectAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.service.AdminService/UpdateProjectAttributes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).UpdateProjectAttributes(ctx, req.(*admin.ProjectAttributesUpdateRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _AdminService_UpdateProjectDomainAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(admin.ProjectDomainAttributesUpdateRequest) if err := dec(in); err != nil { @@ -1357,6 +1409,24 @@ func _AdminService_UpdateProjectDomainAttributes_Handler(srv interface{}, ctx co return interceptor(ctx, in, info, handler) } +func _AdminService_UpdateWorkflowAttributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(admin.WorkflowAttributesUpdateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AdminServiceServer).UpdateWorkflowAttributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/flyteidl.service.AdminService/UpdateWorkflowAttributes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AdminServiceServer).UpdateWorkflowAttributes(ctx, req.(*admin.WorkflowAttributesUpdateRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _AdminService_ListNamedEntities_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(admin.NamedEntityListRequest) if err := dec(in); err != nil { @@ -1547,10 +1617,18 @@ var _AdminService_serviceDesc = grpc.ServiceDesc{ MethodName: "GetTaskExecutionData", Handler: _AdminService_GetTaskExecutionData_Handler, }, + { + MethodName: "UpdateProjectAttributes", + Handler: _AdminService_UpdateProjectAttributes_Handler, + }, { MethodName: "UpdateProjectDomainAttributes", Handler: _AdminService_UpdateProjectDomainAttributes_Handler, }, + { + MethodName: "UpdateWorkflowAttributes", + Handler: _AdminService_UpdateWorkflowAttributes_Handler, + }, { MethodName: "ListNamedEntities", Handler: _AdminService_ListNamedEntities_Handler, diff --git a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/service/admin.pb.gw.go index 77ea5cb2bf..223abbaeab 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/admin.pb.gw.go +++ b/flyteidl/gen/pb-go/flyteidl/service/admin.pb.gw.go @@ -1933,6 +1933,41 @@ func request_AdminService_GetTaskExecutionData_0(ctx context.Context, marshaler } +func request_AdminService_UpdateProjectAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq admin.ProjectAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + msg, err := client.UpdateProjectAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + func request_AdminService_UpdateProjectDomainAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq admin.ProjectDomainAttributesUpdateRequest var metadata runtime.ServerMetadata @@ -1979,6 +2014,63 @@ func request_AdminService_UpdateProjectDomainAttributes_0(ctx context.Context, m } +func request_AdminService_UpdateWorkflowAttributes_0(ctx context.Context, marshaler runtime.Marshaler, client AdminServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq admin.WorkflowAttributesUpdateRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["attributes.project"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.project") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.project", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.project", err) + } + + val, ok = pathParams["attributes.domain"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.domain") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.domain", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.domain", err) + } + + val, ok = pathParams["attributes.workflow"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "attributes.workflow") + } + + err = runtime.PopulateFieldFromPath(&protoReq, "attributes.workflow", val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "attributes.workflow", err) + } + + msg, err := client.UpdateWorkflowAttributes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + var ( filter_AdminService_ListNamedEntities_0 = &utilities.DoubleArray{Encoding: map[string]int{"resource_type": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} ) @@ -2945,6 +3037,26 @@ func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMu }) + mux.Handle("PUT", pattern_AdminService_UpdateProjectAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateProjectAttributes_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateProjectAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("PUT", pattern_AdminService_UpdateProjectDomainAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -2965,6 +3077,26 @@ func RegisterAdminServiceHandlerClient(ctx context.Context, mux *runtime.ServeMu }) + mux.Handle("PUT", pattern_AdminService_UpdateWorkflowAttributes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_AdminService_UpdateWorkflowAttributes_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_AdminService_UpdateWorkflowAttributes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + mux.Handle("GET", pattern_AdminService_ListNamedEntities_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -3101,8 +3233,12 @@ var ( pattern_AdminService_GetTaskExecutionData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8, 1, 0, 4, 1, 5, 9, 1, 0, 4, 1, 5, 10, 1, 0, 4, 1, 5, 11, 1, 0, 4, 1, 5, 12}, []string{"api", "v1", "data", "task_executions", "id.node_execution_id.execution_id.project", "id.node_execution_id.execution_id.domain", "id.node_execution_id.execution_id.name", "id.node_execution_id.node_id", "id.task_id.project", "id.task_id.domain", "id.task_id.name", "id.task_id.version", "id.retry_attempt"}, "")) + pattern_AdminService_UpdateProjectAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"api", "v1", "project_attributes", "attributes.project"}, "")) + pattern_AdminService_UpdateProjectDomainAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4}, []string{"api", "v1", "project_domain_attributes", "attributes.project", "attributes.domain"}, "")) + pattern_AdminService_UpdateWorkflowAttributes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "workflow_attributes", "attributes.project", "attributes.domain", "attributes.workflow"}, "")) + pattern_AdminService_ListNamedEntities_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"api", "v1", "named_entities", "resource_type", "project", "domain"}, "")) pattern_AdminService_GetNamedEntity_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"api", "v1", "named_entities", "resource_type", "id.project", "id.domain", "id.name"}, "")) @@ -3183,8 +3319,12 @@ var ( forward_AdminService_GetTaskExecutionData_0 = runtime.ForwardResponseMessage + forward_AdminService_UpdateProjectAttributes_0 = runtime.ForwardResponseMessage + forward_AdminService_UpdateProjectDomainAttributes_0 = runtime.ForwardResponseMessage + forward_AdminService_UpdateWorkflowAttributes_0 = runtime.ForwardResponseMessage + forward_AdminService_ListNamedEntities_0 = runtime.ForwardResponseMessage forward_AdminService_GetNamedEntity_0 = runtime.ForwardResponseMessage diff --git a/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json b/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json index 6a09dd18bb..0a746a74c0 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/service/admin.swagger.json @@ -1436,6 +1436,40 @@ ] } }, + "/api/v1/project_attributes/{attributes.project}": { + "put": { + "description": "Update the customized resource attributes associated with a project", + "operationId": "UpdateProjectAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminProjectAttributesUpdateResponse" + } + } + }, + "parameters": [ + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminProjectAttributesUpdateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, "/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}": { "put": { "description": "Update the customized resource attributes associated with a project-domain combination", @@ -2026,6 +2060,54 @@ ] } }, + "/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}": { + "put": { + "description": "Update the customized resource attributes associated with a project, domain and workflow combination", + "operationId": "UpdateWorkflowAttributes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesUpdateResponse" + } + } + }, + "parameters": [ + { + "name": "attributes.project", + "description": "Unique project id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.domain", + "description": "Unique domain id for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "attributes.workflow", + "description": "Workflow name for which this set of attributes will be applied.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/adminWorkflowAttributesUpdateRequest" + } + } + ], + "tags": [ + "AdminService" + ] + } + }, "/api/v1/workflow_ids/{project}/{domain}": { "get": { "description": "Fetch an existing workflow definition identifiers matching input filters.", @@ -2522,6 +2604,18 @@ }, "description": "Defines permissions associated with executions created by this launch plan spec." }, + "adminClusterResourceAttributes": { + "type": "object", + "properties": { + "attributes": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names of variables in templatized resource files.\nMap values should be the custom values which get substituted during resource creation." + } + } + }, "adminDomain": { "type": "object", "properties": { @@ -2707,6 +2801,18 @@ }, "description": "Represents attributes about an execution which are not required to launch the execution but are useful to record.\nThese attributes are assigned at launch time and do not change." }, + "adminExecutionQueueAttributes": { + "type": "object", + "properties": { + "tags": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Tags used for assigning execution queues for tasks defined within this project." + } + } + }, "adminExecutionRelaunchRequest": { "type": "object", "properties": { @@ -2981,6 +3087,21 @@ }, "title": "Input/output data can represented by actual values or a link to where values are stored" }, + "adminMatchingAttributes": { + "type": "object", + "properties": { + "task_resource_attributes": { + "$ref": "#/definitions/adminTaskResourceAttributes" + }, + "cluster_resource_attributes": { + "$ref": "#/definitions/adminClusterResourceAttributes" + }, + "execution_queue_attributes": { + "$ref": "#/definitions/adminExecutionQueueAttributes" + } + }, + "description": "Generic container for encapsulating all types of the above attributes messages." + }, "adminNamedEntity": { "type": "object", "properties": { @@ -3233,6 +3354,31 @@ }, "description": "Top-level namespace used to classify different entities like workflows and executions." }, + "adminProjectAttributes": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Unique project id for which this set of attributes will be applied." + }, + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + } + } + }, + "adminProjectAttributesUpdateRequest": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminProjectAttributes" + } + }, + "description": "Sets custom attributes for a project combination." + }, + "adminProjectAttributesUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, "adminProjectDomainAttributes": { "type": "object", "properties": { @@ -3244,12 +3390,8 @@ "type": "string", "description": "Unique domain id for which this set of attributes will be applied." }, - "attributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names of variables in templatized resource files.\nMap values should be the custom values which get substituted during resource creation." + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" } } }, @@ -3490,6 +3632,34 @@ }, "description": "Represents a list of tasks returned from the admin." }, + "adminTaskResourceAttributes": { + "type": "object", + "properties": { + "defaults": { + "$ref": "#/definitions/adminTaskResourceSpec" + }, + "limits": { + "$ref": "#/definitions/adminTaskResourceSpec" + } + } + }, + "adminTaskResourceSpec": { + "type": "object", + "properties": { + "cpu": { + "type": "string" + }, + "gpu": { + "type": "string" + }, + "memory": { + "type": "string" + }, + "storage": { + "type": "string" + } + } + }, "adminTaskSpec": { "type": "object", "properties": { @@ -3529,6 +3699,39 @@ }, "description": "Represents the workflow structure stored in the Admin\nA workflow is created by ordering tasks and associating outputs to inputs\nin order to produce a directed-acyclic execution graph." }, + "adminWorkflowAttributes": { + "type": "object", + "properties": { + "project": { + "type": "string", + "description": "Unique project id for which this set of attributes will be applied." + }, + "domain": { + "type": "string", + "description": "Unique domain id for which this set of attributes will be applied." + }, + "workflow": { + "type": "string", + "description": "Workflow name for which this set of attributes will be applied." + }, + "matching_attributes": { + "$ref": "#/definitions/adminMatchingAttributes" + } + } + }, + "adminWorkflowAttributesUpdateRequest": { + "type": "object", + "properties": { + "attributes": { + "$ref": "#/definitions/adminWorkflowAttributes" + } + }, + "description": "Sets custom attributes for a project, domain and workflow combination." + }, + "adminWorkflowAttributesUpdateResponse": { + "type": "object", + "description": "Purposefully empty, may be populated in the future." + }, "adminWorkflowClosure": { "type": "object", "properties": { diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md index 95a9a34205..d4b7b85e37 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/README.md @@ -60,7 +60,9 @@ Class | Method | HTTP request | Description *AdminServiceApi* | [**TerminateExecution**](docs/AdminServiceApi.md#terminateexecution) | **Delete** /api/v1/executions/{id.project}/{id.domain}/{id.name} | *AdminServiceApi* | [**UpdateLaunchPlan**](docs/AdminServiceApi.md#updatelaunchplan) | **Put** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | *AdminServiceApi* | [**UpdateNamedEntity**](docs/AdminServiceApi.md#updatenamedentity) | **Put** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | +*AdminServiceApi* | [**UpdateProjectAttributes**](docs/AdminServiceApi.md#updateprojectattributes) | **Put** /api/v1/project_attributes/{attributes.project} | *AdminServiceApi* | [**UpdateProjectDomainAttributes**](docs/AdminServiceApi.md#updateprojectdomainattributes) | **Put** /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain} | +*AdminServiceApi* | [**UpdateWorkflowAttributes**](docs/AdminServiceApi.md#updateworkflowattributes) | **Put** /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow} | ## Documentation For Models @@ -68,6 +70,7 @@ Class | Method | HTTP request | Description - [AdminAbortMetadata](docs/AdminAbortMetadata.md) - [AdminAnnotations](docs/AdminAnnotations.md) - [AdminAuth](docs/AdminAuth.md) + - [AdminClusterResourceAttributes](docs/AdminClusterResourceAttributes.md) - [AdminDomain](docs/AdminDomain.md) - [AdminEmailNotification](docs/AdminEmailNotification.md) - [AdminExecution](docs/AdminExecution.md) @@ -76,6 +79,7 @@ Class | Method | HTTP request | Description - [AdminExecutionCreateResponse](docs/AdminExecutionCreateResponse.md) - [AdminExecutionList](docs/AdminExecutionList.md) - [AdminExecutionMetadata](docs/AdminExecutionMetadata.md) + - [AdminExecutionQueueAttributes](docs/AdminExecutionQueueAttributes.md) - [AdminExecutionRelaunchRequest](docs/AdminExecutionRelaunchRequest.md) - [AdminExecutionSpec](docs/AdminExecutionSpec.md) - [AdminExecutionTerminateRequest](docs/AdminExecutionTerminateRequest.md) @@ -94,6 +98,7 @@ Class | Method | HTTP request | Description - [AdminLaunchPlanUpdateRequest](docs/AdminLaunchPlanUpdateRequest.md) - [AdminLaunchPlanUpdateResponse](docs/AdminLaunchPlanUpdateResponse.md) - [AdminLiteralMapBlob](docs/AdminLiteralMapBlob.md) + - [AdminMatchingAttributes](docs/AdminMatchingAttributes.md) - [AdminNamedEntity](docs/AdminNamedEntity.md) - [AdminNamedEntityIdentifier](docs/AdminNamedEntityIdentifier.md) - [AdminNamedEntityIdentifierList](docs/AdminNamedEntityIdentifierList.md) @@ -110,6 +115,9 @@ Class | Method | HTTP request | Description - [AdminNotificationList](docs/AdminNotificationList.md) - [AdminPagerDutyNotification](docs/AdminPagerDutyNotification.md) - [AdminProject](docs/AdminProject.md) + - [AdminProjectAttributes](docs/AdminProjectAttributes.md) + - [AdminProjectAttributesUpdateRequest](docs/AdminProjectAttributesUpdateRequest.md) + - [AdminProjectAttributesUpdateResponse](docs/AdminProjectAttributesUpdateResponse.md) - [AdminProjectDomainAttributes](docs/AdminProjectDomainAttributes.md) - [AdminProjectDomainAttributesUpdateRequest](docs/AdminProjectDomainAttributesUpdateRequest.md) - [AdminProjectDomainAttributesUpdateResponse](docs/AdminProjectDomainAttributesUpdateResponse.md) @@ -129,9 +137,14 @@ Class | Method | HTTP request | Description - [AdminTaskExecutionGetDataResponse](docs/AdminTaskExecutionGetDataResponse.md) - [AdminTaskExecutionList](docs/AdminTaskExecutionList.md) - [AdminTaskList](docs/AdminTaskList.md) + - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) + - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) - [AdminTaskSpec](docs/AdminTaskSpec.md) - [AdminUrlBlob](docs/AdminUrlBlob.md) - [AdminWorkflow](docs/AdminWorkflow.md) + - [AdminWorkflowAttributes](docs/AdminWorkflowAttributes.md) + - [AdminWorkflowAttributesUpdateRequest](docs/AdminWorkflowAttributesUpdateRequest.md) + - [AdminWorkflowAttributesUpdateResponse](docs/AdminWorkflowAttributesUpdateResponse.md) - [AdminWorkflowClosure](docs/AdminWorkflowClosure.md) - [AdminWorkflowCreateRequest](docs/AdminWorkflowCreateRequest.md) - [AdminWorkflowCreateResponse](docs/AdminWorkflowCreateResponse.md) diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml index 7200c5e38d..7eeca40393 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api/swagger.yaml @@ -1230,6 +1230,30 @@ paths: description: "A successful response." schema: $ref: "#/definitions/adminNodeExecutionList" + /api/v1/project_attributes/{attributes.project}: + put: + tags: + - "AdminService" + description: "Update the customized resource attributes associated with a project" + operationId: "UpdateProjectAttributes" + parameters: + - name: "attributes.project" + in: "path" + description: "Unique project id for which this set of attributes will be applied." + required: true + type: "string" + x-exportParamName: "AttributesProject" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminProjectAttributesUpdateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminProjectAttributesUpdateResponse" /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}: put: tags: @@ -1742,6 +1766,43 @@ paths: description: "A successful response." schema: $ref: "#/definitions/adminTask" + /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}: + put: + tags: + - "AdminService" + description: "Update the customized resource attributes associated with a project,\ + \ domain and workflow combination" + operationId: "UpdateWorkflowAttributes" + parameters: + - name: "attributes.project" + in: "path" + description: "Unique project id for which this set of attributes will be applied." + required: true + type: "string" + x-exportParamName: "AttributesProject" + - name: "attributes.domain" + in: "path" + description: "Unique domain id for which this set of attributes will be applied." + required: true + type: "string" + x-exportParamName: "AttributesDomain" + - name: "attributes.workflow" + in: "path" + description: "Workflow name for which this set of attributes will be applied." + required: true + type: "string" + x-exportParamName: "AttributesWorkflow" + - in: "body" + name: "body" + required: true + schema: + $ref: "#/definitions/adminWorkflowAttributesUpdateRequest" + x-exportParamName: "Body" + responses: + 200: + description: "A successful response." + schema: + $ref: "#/definitions/adminWorkflowAttributesUpdateResponse" /api/v1/workflow_ids/{project}/{domain}: get: tags: @@ -2192,6 +2253,17 @@ definitions: example: kubernetes_service_account: "kubernetes_service_account" assumable_iam_role: "assumable_iam_role" + adminClusterResourceAttributes: + type: "object" + properties: + attributes: + type: "object" + description: "Custom resource attributes which will be applied in cluster\ + \ resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names\ + \ of variables in templatized resource files.\nMap values should be the\ + \ custom values which get substituted during resource creation." + additionalProperties: + type: "string" adminDomain: type: "object" properties: @@ -2815,6 +2887,15 @@ definitions: project: "project" scheduled_at: "2000-01-23T04:56:07.000+00:00" nesting: 0 + adminExecutionQueueAttributes: + type: "object" + properties: + tags: + type: "array" + description: "Tags used for assigning execution queues for tasks defined within\ + \ this project." + items: + type: "string" adminExecutionRelaunchRequest: type: "object" properties: @@ -4131,6 +4212,17 @@ definitions: values: literals: {} uri: "uri" + adminMatchingAttributes: + type: "object" + properties: + task_resource_attributes: + $ref: "#/definitions/adminTaskResourceAttributes" + cluster_resource_attributes: + $ref: "#/definitions/adminClusterResourceAttributes" + execution_queue_attributes: + $ref: "#/definitions/adminExecutionQueueAttributes" + description: "Generic container for encapsulating all types of the above attributes\ + \ messages." adminNamedEntity: type: "object" properties: @@ -4499,6 +4591,23 @@ definitions: id: "id" description: "description" id: "id" + adminProjectAttributes: + type: "object" + properties: + project: + type: "string" + description: "Unique project id for which this set of attributes will be applied." + matching_attributes: + $ref: "#/definitions/adminMatchingAttributes" + adminProjectAttributesUpdateRequest: + type: "object" + properties: + attributes: + $ref: "#/definitions/adminProjectAttributes" + description: "Sets custom attributes for a project combination." + adminProjectAttributesUpdateResponse: + type: "object" + description: "Purposefully empty, may be populated in the future." adminProjectDomainAttributes: type: "object" properties: @@ -4508,14 +4617,8 @@ definitions: domain: type: "string" description: "Unique domain id for which this set of attributes will be applied." - attributes: - type: "object" - description: "Custom resource attributes which will be applied in cluster\ - \ resource creation (e.g. quotas).\nMap keys are the *case-sensitive* names\ - \ of variables in templatized resource files.\nMap values should be the\ - \ custom values which get substituted during resource creation." - additionalProperties: - type: "string" + matching_attributes: + $ref: "#/definitions/adminMatchingAttributes" adminProjectDomainAttributesUpdateRequest: type: "object" properties: @@ -5358,6 +5461,24 @@ definitions: format: "format" simple: {} token: "token" + adminTaskResourceAttributes: + type: "object" + properties: + defaults: + $ref: "#/definitions/adminTaskResourceSpec" + limits: + $ref: "#/definitions/adminTaskResourceSpec" + adminTaskResourceSpec: + type: "object" + properties: + cpu: + type: "string" + gpu: + type: "string" + memory: + type: "string" + storage: + type: "string" adminTaskSpec: type: "object" properties: @@ -8086,6 +8207,29 @@ definitions: - "ids" - "ids" created_at: "2000-01-23T04:56:07.000+00:00" + adminWorkflowAttributes: + type: "object" + properties: + project: + type: "string" + description: "Unique project id for which this set of attributes will be applied." + domain: + type: "string" + description: "Unique domain id for which this set of attributes will be applied." + workflow: + type: "string" + description: "Workflow name for which this set of attributes will be applied." + matching_attributes: + $ref: "#/definitions/adminMatchingAttributes" + adminWorkflowAttributesUpdateRequest: + type: "object" + properties: + attributes: + $ref: "#/definitions/adminWorkflowAttributes" + description: "Sets custom attributes for a project, domain and workflow combination." + adminWorkflowAttributesUpdateResponse: + type: "object" + description: "Purposefully empty, may be populated in the future." adminWorkflowClosure: type: "object" properties: diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go index b250ba2ab0..4b52f96964 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/api_admin_service.go @@ -4233,6 +4233,98 @@ func (a *AdminServiceApiService) UpdateNamedEntity(ctx context.Context, resource return localVarReturnValue, localVarHttpResponse, nil } +/* +AdminServiceApiService +Update the customized resource attributes associated with a project + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param attributesProject Unique project id for which this set of attributes will be applied. + * @param body + +@return AdminProjectAttributesUpdateResponse +*/ +func (a *AdminServiceApiService) UpdateProjectAttributes(ctx context.Context, attributesProject string, body AdminProjectAttributesUpdateRequest) (AdminProjectAttributesUpdateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminProjectAttributesUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/project_attributes/{attributes.project}" + localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminProjectAttributesUpdateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} + /* AdminServiceApiService Update the customized resource attributes associated with a project-domain combination @@ -4326,3 +4418,99 @@ func (a *AdminServiceApiService) UpdateProjectDomainAttributes(ctx context.Conte return localVarReturnValue, localVarHttpResponse, nil } + +/* +AdminServiceApiService +Update the customized resource attributes associated with a project, domain and workflow combination + * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + * @param attributesProject Unique project id for which this set of attributes will be applied. + * @param attributesDomain Unique domain id for which this set of attributes will be applied. + * @param attributesWorkflow Workflow name for which this set of attributes will be applied. + * @param body + +@return AdminWorkflowAttributesUpdateResponse +*/ +func (a *AdminServiceApiService) UpdateWorkflowAttributes(ctx context.Context, attributesProject string, attributesDomain string, attributesWorkflow string, body AdminWorkflowAttributesUpdateRequest) (AdminWorkflowAttributesUpdateResponse, *http.Response, error) { + var ( + localVarHttpMethod = strings.ToUpper("Put") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + localVarReturnValue AdminWorkflowAttributesUpdateResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}" + localVarPath = strings.Replace(localVarPath, "{"+"attributes.project"+"}", fmt.Sprintf("%v", attributesProject), -1) + localVarPath = strings.Replace(localVarPath, "{"+"attributes.domain"+"}", fmt.Sprintf("%v", attributesDomain), -1) + localVarPath = strings.Replace(localVarPath, "{"+"attributes.workflow"+"}", fmt.Sprintf("%v", attributesWorkflow), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHttpContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = &body + r, err := a.client.prepareRequest(ctx, localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return localVarReturnValue, localVarHttpResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHttpResponse.Body) + localVarHttpResponse.Body.Close() + if err != nil { + return localVarReturnValue, localVarHttpResponse, err + } + + if localVarHttpResponse.StatusCode < 300 { + // If we succeed, return the data, otherwise pass on to decode error. + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err == nil { + return localVarReturnValue, localVarHttpResponse, err + } + } + + if localVarHttpResponse.StatusCode >= 300 { + newErr := GenericSwaggerError{ + body: localVarBody, + error: localVarHttpResponse.Status, + } + + if localVarHttpResponse.StatusCode == 200 { + var v AdminWorkflowAttributesUpdateResponse + err = a.client.decode(&v, localVarBody, localVarHttpResponse.Header.Get("Content-Type")); + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHttpResponse, newErr + } + newErr.model = v + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, newErr + } + + return localVarReturnValue, localVarHttpResponse, nil +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go new file mode 100644 index 0000000000..05f3bb7756 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_cluster_resource_attributes.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminClusterResourceAttributes struct { + // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. + Attributes map[string]string `json:"attributes,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go new file mode 100644 index 0000000000..3cced5ad51 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_execution_queue_attributes.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminExecutionQueueAttributes struct { + // Tags used for assigning execution queues for tasks defined within this project. + Tags []string `json:"tags,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go new file mode 100644 index 0000000000..3d99cd5794 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_matching_attributes.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Generic container for encapsulating all types of the above attributes messages. +type AdminMatchingAttributes struct { + TaskResourceAttributes *AdminTaskResourceAttributes `json:"task_resource_attributes,omitempty"` + ClusterResourceAttributes *AdminClusterResourceAttributes `json:"cluster_resource_attributes,omitempty"` + ExecutionQueueAttributes *AdminExecutionQueueAttributes `json:"execution_queue_attributes,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go new file mode 100644 index 0000000000..a719e4737b --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes.go @@ -0,0 +1,16 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminProjectAttributes struct { + // Unique project id for which this set of attributes will be applied. + Project string `json:"project,omitempty"` + MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_request.go new file mode 100644 index 0000000000..e216b3b72e --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_request.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Sets custom attributes for a project combination. +type AdminProjectAttributesUpdateRequest struct { + Attributes *AdminProjectAttributes `json:"attributes,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_response.go new file mode 100644 index 0000000000..e54987aadf --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_attributes_update_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be populated in the future. +type AdminProjectAttributesUpdateResponse struct { +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go index c2927efaad..8cc141bc42 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_project_domain_attributes.go @@ -14,6 +14,5 @@ type AdminProjectDomainAttributes struct { Project string `json:"project,omitempty"` // Unique domain id for which this set of attributes will be applied. Domain string `json:"domain,omitempty"` - // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. - Attributes map[string]string `json:"attributes,omitempty"` + MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` } diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go new file mode 100644 index 0000000000..1319c9ed7f --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_attributes.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminTaskResourceAttributes struct { + Defaults *AdminTaskResourceSpec `json:"defaults,omitempty"` + Limits *AdminTaskResourceSpec `json:"limits,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go new file mode 100644 index 0000000000..3b996f4da0 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_task_resource_spec.go @@ -0,0 +1,17 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminTaskResourceSpec struct { + Cpu string `json:"cpu,omitempty"` + Gpu string `json:"gpu,omitempty"` + Memory string `json:"memory,omitempty"` + Storage string `json:"storage,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go new file mode 100644 index 0000000000..dba5c88346 --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes.go @@ -0,0 +1,20 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +type AdminWorkflowAttributes struct { + // Unique project id for which this set of attributes will be applied. + Project string `json:"project,omitempty"` + // Unique domain id for which this set of attributes will be applied. + Domain string `json:"domain,omitempty"` + // Workflow name for which this set of attributes will be applied. + Workflow string `json:"workflow,omitempty"` + MatchingAttributes *AdminMatchingAttributes `json:"matching_attributes,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go new file mode 100644 index 0000000000..a989ff9e5d --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_request.go @@ -0,0 +1,15 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Sets custom attributes for a project, domain and workflow combination. +type AdminWorkflowAttributesUpdateRequest struct { + Attributes *AdminWorkflowAttributes `json:"attributes,omitempty"` +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go new file mode 100644 index 0000000000..1c449c700f --- /dev/null +++ b/flyteidl/gen/pb-go/flyteidl/service/flyteadmin/model_admin_workflow_attributes_update_response.go @@ -0,0 +1,14 @@ +/* + * flyteidl/service/admin.proto + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: version not set + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package flyteadmin + +// Purposefully empty, may be populated in the future. +type AdminWorkflowAttributesUpdateResponse struct { +} diff --git a/flyteidl/gen/pb-go/flyteidl/service/openapi.go b/flyteidl/gen/pb-go/flyteidl/service/openapi.go index cac0d2a549..e1b2518de2 100644 --- a/flyteidl/gen/pb-go/flyteidl/service/openapi.go +++ b/flyteidl/gen/pb-go/flyteidl/service/openapi.go @@ -77,7 +77,7 @@ func (fi bindataFileInfo) Sys() interface{} { return nil } -var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x7b\x73\xe3\x38\xb2\x27\xfa\x7f\x7f\x0a\x5c\xef\x46\x74\xd7\x1c\xd9\xd5\x33\xb3\x73\xe2\xdc\xba\x71\xe2\x86\xba\xec\xaa\xf6\x69\x97\xed\xf5\xa3\x2b\x26\x56\x13\x1e\x88\x84\x24\x8c\x29\x40\x03\x80\x76\xe9\x4c\xf4\x77\xdf\x40\xe2\x41\x80\x22\x29\x52\x0f\x97\x5c\xcd\xd9\xd8\xd3\x2e\x49\x04\x81\x44\x22\x91\x8f\x5f\x66\xfe\xeb\x3b\x84\x8e\xe4\x33\x9e\x4e\x89\x38\x7a\x87\x8e\xfe\x74\xf2\xe3\xd1\x40\x7f\x46\xd9\x84\x1f\xbd\x43\xfa\x7b\x84\x8e\x14\x55\x19\xd1\xdf\x4f\xb2\xa5\x22\x34\xcd\xde\x4a\x22\x9e\x68\x42\xde\xe2\x74\x4e\xd9\xc9\x42\x70\xc5\xe1\x41\x84\x8e\x9e\x88\x90\x94\x33\xfd\x73\xfb\x27\x62\x5c\x21\x49\xd4\xd1\x77\x08\xfd\x06\xc3\xcb\x64\x46\xe6\x44\x1e\xbd\x43\xff\xc7\x3c\x34\x53\x6a\xe1\x06\xd0\x7f\x4b\xfd\xdb\xbf\xc1\x6f\x13\xce\x64\x1e\xfd\x18\x2f\x16\x19\x4d\xb0\xa2\x9c\xbd\xfd\x87\xe4\xac\xf8\xed\x42\xf0\x34\x4f\x5a\xfe\x16\xab\x99\x2c\xd6\xf8\x16\x2f\xe8\xdb\xa7\x3f\xbe\xc5\x89\xa2\x4f\xe4\x21\xc3\x39\x4b\x66\x0f\x8b\x0c\x33\xf9\xf6\x5f\x34\xd5\x6b\xfc\x07\x49\xd4\x6f\xf0\x8f\x94\xcf\x31\x65\xe6\x6f\x86\xe7\xe4\x37\x3f\x0e\x42\x47\x53\xa2\x82\x7f\x22\x74\x94\x12\x99\x08\xba\x50\x96\x2a\x37\x44\x09\x4a\x9e\x08\x52\x33\x82\xcc\xeb\x90\x79\x1d\xd2\xaf\x43\x8e\x6a\x72\x41\x12\x3a\xa1\x24\x45\xe3\x25\xa2\x6c\x91\x2b\x24\xc8\x3f\x73\x22\x15\x9a\xd0\x4c\x11\x21\x4f\x2c\xc9\xe0\x2d\x7c\x41\x04\xac\xf3\x3c\xd5\x6f\xf9\x48\xd4\x10\xc6\xbe\x80\xa1\xaf\x33\xcc\xc2\x5f\x0b\x22\x17\x9c\x49\x22\xa3\xa9\x22\x74\xf4\xa7\x1f\x7f\x2c\x7d\xb4\xba\x82\x21\x92\x79\x92\x10\x29\x27\x79\x86\xdc\x48\xe1\x64\xe0\x21\xd8\x64\xbc\x32\x18\x42\x47\xff\x53\x90\x89\x1e\xe7\x7f\xbc\x4d\xc9\x84\x32\xaa\xc7\x95\x86\x97\x82\xd9\x46\x4f\xfd\xf6\x5d\xd5\xdf\xbf\x05\x2b\x5a\x60\x81\xe7\x44\x93\xc5\xef\xbe\xf9\x5f\x69\x2d\x7a\xbf\xf4\xcb\x8b\x3d\x2d\x4f\xbc\xb4\xda\x4b\x3c\x27\x88\x4f\x60\xbb\xec\x13\xf0\xb7\x20\x92\xe7\x22\x21\x68\x4c\x32\xce\xa6\x12\x29\xbe\x42\x03\x0a\x23\x68\x56\x2b\x7f\xa3\xb7\x92\x0a\xa2\xf7\x4a\x89\x9c\x94\xbe\x55\xcb\x05\x4c\x52\x2a\x41\xd9\x34\x24\xc5\x6f\x83\x56\x4b\x33\x1c\xda\x61\x65\xe6\x81\xda\x85\x8d\xd8\xd0\xfd\x24\xc1\x0c\x8d\x09\xd2\xe7\x92\xa6\x44\x90\x14\x61\x89\x30\x92\xf9\x58\x12\x85\x9e\xa9\x9a\x51\xa6\xff\x6d\xd8\x37\x71\x34\x3b\x1c\xda\xc0\x9f\xcd\x94\xb9\x97\x44\xe8\x89\x3f\xd1\x94\xa4\xe8\x09\x67\x39\x41\x13\x2e\x22\xf2\x9c\x8c\xd8\xdd\x4c\xd3\x61\x3e\xa6\x0c\x4e\x9e\xa6\xa5\xe3\x90\x7f\x73\xe4\xfa\x37\xa4\xdf\x87\x72\x46\xff\x99\x93\x6c\x89\x68\x4a\x98\xd2\xe7\x5a\x96\x47\xfb\x37\x0e\xef\xc7\x19\x3a\x46\x9a\xce\x44\x28\xa0\x37\x67\x8a\x7c\x51\x12\x1d\xa3\x8c\x3e\x12\xf4\xfd\x05\x95\x0a\x0d\xaf\xcf\xbf\x1f\xa0\xef\x2f\x0a\xc1\x21\xbf\x7f\x01\x0a\xfb\xbf\xff\x16\x1c\x3d\x85\xa7\xe5\x43\x77\x34\xd4\xa7\xf9\xd6\x5c\x13\xc5\x08\x7f\xfb\x2e\x1c\xc7\xee\x57\xb3\xec\x2d\x04\xaf\x95\xba\x5d\x64\xed\x07\xa2\x92\xd9\x1a\x41\x2b\xb7\x94\xb4\x7a\x3b\xca\xa2\x56\xbe\x2e\x59\xab\x97\xb0\x6f\x79\xbb\x8d\xb0\xc5\x0a\x4e\x01\xa6\xcc\x1c\x1a\x7f\x86\xe2\x9d\x41\x5f\x4f\xac\x6c\x23\x6f\x83\xd5\x04\x22\xd7\x49\xd2\x80\x12\x07\xb2\xd6\x8c\xce\xe9\xba\x7d\x3c\x67\xa9\x56\xbb\xac\x90\x63\xf9\x7c\x4c\x84\x5e\xba\x13\x77\xb0\xc2\xb1\x16\x7f\x2a\x17\x8c\xa4\x35\x4b\xfb\x67\x4e\xc4\xb2\x61\x6d\x13\x9c\xc9\xba\xc5\x51\xa6\x88\xd6\x6b\x4b\x5f\x4f\xb8\x98\x63\x65\x7f\xf0\xef\xff\xab\xeb\xe2\x15\x7f\x24\xeb\xf6\xf9\xdc\xec\x5a\x82\x25\x6c\xf7\x3c\xcf\x14\x5d\x64\x04\x2d\xf0\x94\x48\x4b\x85\x3c\x53\x72\x00\x3f\xd3\xba\x34\x11\xc7\xfe\xb6\x81\x37\xb8\x5b\x36\x97\xf0\x09\x9a\x78\x41\xc6\xc8\x17\x05\x23\x8d\x18\xdc\xb3\x40\xa2\xf0\xf6\xd8\x03\x29\x37\xe3\x13\xc9\x85\x7a\x18\x2f\x4f\x1e\xc9\xca\x7b\x6b\xb9\x05\x33\x84\x95\x12\x74\x9c\x2b\xa2\xd7\xad\xc7\x70\xf7\x24\x88\x3e\x73\x19\x4b\x7d\xf9\x5e\x9d\x5e\xfd\xf0\x88\x95\xe0\x53\xcc\xde\xbc\x43\xc3\x34\x45\x66\xa2\xfa\x37\x34\x35\x57\xf2\x8c\x08\x72\x82\xee\x66\x54\x22\x39\xe3\x79\x96\x22\x46\x9e\x88\xd0\xb4\x25\xf3\x85\x5a\x1e\x1c\xb5\x52\x2a\x48\x02\x84\xe9\x72\xc2\xfc\x53\x9a\x68\xda\xe8\x59\x1a\xd2\x3d\x92\x25\x28\x2e\xab\xe4\x7b\x01\x7e\x29\x7d\x4b\x58\x3e\x2f\xdd\x15\xf0\xf9\xe9\xd9\xed\xfb\xb3\xcb\xd3\xf3\xcb\x8f\xa5\x27\xb4\x1a\xe1\xbf\x8a\xbe\xf9\xdb\x0a\x6d\x26\x38\xcf\xe0\x54\x07\xa3\xbd\x98\xe2\x92\xcc\x68\x96\x0a\xc2\xde\x2a\x2c\x1f\x1f\xc8\x17\x92\xe4\xe6\x9e\xfd\x57\xfc\xc1\x83\xd6\x3e\x79\x4a\xe2\x4f\xa2\x7f\x14\xea\x4e\xe7\x47\xbd\x55\xda\xf9\x49\xb0\x61\xdb\x3d\x07\x9f\xd0\xb4\xf2\xd7\xf0\xc9\x9a\x35\xb8\xdf\x34\x4c\xd6\xfd\xa4\x76\x56\xee\x07\x56\x81\xab\xfc\x8d\x20\x4a\x2c\x1f\xb0\x52\xfa\x94\x6f\xa0\x33\xc2\x96\x22\xbd\x5a\x54\xec\xa7\x55\x1f\x8d\xa2\x08\xb2\xdb\x6b\x8e\x7a\x06\xc5\x2f\xd7\xe9\x8b\x97\x3c\x25\x67\x7e\xd8\x0f\x5c\xdc\x61\xf9\xf8\x1a\x74\xc6\x68\xe2\x2f\xa1\x36\x6e\x7a\x80\xbe\x39\xa3\x7e\x43\x71\xd0\xbb\x00\xb6\xa7\x64\x5b\x87\x01\x17\x48\x2e\xa5\x22\xf3\xb5\xae\x83\xd7\x43\x08\x2b\xef\x0f\x75\xc2\xa5\x2b\xe7\x77\x70\xea\xe3\x0b\xb4\x3f\xde\x1d\x48\xb6\x2b\xc7\xdf\xa1\xaf\xd3\x85\x60\x9a\x97\x7a\xeb\xb6\xcf\x05\x1c\x2c\x9f\x1c\xfc\x32\x23\xd5\x6e\xd7\x93\xdc\x93\xd7\xa0\x76\xaf\x1c\xb5\x1f\x60\x02\x6b\x4c\xbe\xd8\x75\xec\xcf\x9f\x7e\x34\x74\xae\x18\x8f\x99\xd2\x36\xaf\xf5\x2d\x11\x81\x12\x2e\x8c\x2a\x98\x36\x88\xb7\x97\x33\xfa\xee\x2f\x6f\xaf\xcf\xde\x9f\x7f\x38\x3f\x3b\x5d\xb5\xfa\xee\x86\xb7\xbf\xac\x7e\xfa\xf9\xea\xe6\x97\x0f\x17\x57\x9f\x57\xbf\xb9\x18\xde\x5f\xbe\xff\xf9\xe1\xfa\x62\x78\xd9\xda\x4e\x0c\x27\xd0\x71\x37\x7b\x07\xd8\x2e\x1d\x60\x83\x6f\xd7\x03\x66\xa3\x07\xed\xbd\x5f\x28\xa3\x52\x69\x02\xd9\x27\xd1\x02\x4b\x69\xee\x5f\x33\x83\x93\x11\xfb\xc4\x05\x41\x94\x4d\x38\xe2\x10\x1c\x92\x4a\xe4\x89\xa2\x6c\xea\x1f\x7a\x87\x46\xf9\x8f\x3f\xfe\x39\xb9\xa0\xec\x11\xfe\x22\x87\x48\x9c\xde\x3d\xb8\x09\xb5\x7a\xf7\x60\xf8\xdd\xeb\x70\x0f\xa6\x58\xe1\xb7\xa1\x57\x70\x3f\x78\x12\x13\xb9\xc4\x2c\x45\x3c\x57\xfa\x4f\xfd\x5e\x34\x11\x7c\xae\xcf\x0d\xf9\x42\x25\x48\x89\x67\x2e\x1e\x27\x19\x7f\x6e\xe7\xad\xfa\x48\x94\xf7\xf7\x9c\x62\x85\x5f\x83\x93\xea\xb3\x5d\xa1\x9f\xf8\x47\xa2\xf4\xdc\x6f\xec\x5b\x7a\x68\x49\x0f\x2d\xf9\xba\xd0\x92\x83\xf2\x14\xed\x5f\xf6\xc5\x6e\x25\x23\x00\x6b\xa2\x1e\xb5\x41\x8d\x9a\x98\x45\x10\x92\xd8\xa7\xd0\x8c\x03\x01\x6b\x04\x66\xe4\x24\x7f\x2d\x42\x33\x9a\xf4\xcb\x0b\xcc\xdf\x85\x0f\xbf\x77\xd1\x6f\x48\xa8\x57\x29\x57\x5b\x5e\x19\x2f\xe6\x60\xdf\xbf\x9c\x5f\x09\x7f\x77\x89\x77\x77\x08\x70\xb7\x8e\x68\xaf\x09\x61\x57\xc6\xac\xab\x82\xd4\xab\x51\xe9\xca\x30\xf4\x56\x71\xe7\xae\x57\x52\xfb\x88\xf3\x47\xa2\xee\xb0\x7c\x7c\x75\x57\x52\x34\xe9\x97\xbf\x92\x7e\xa7\x81\xe6\x3e\xb2\xbc\x47\xd2\x7d\xeb\x17\xd9\xe1\xc6\x8e\x7f\x07\xc1\xe2\x3e\x3a\xdc\x89\x46\xdf\x56\x38\xf8\x5b\x8d\xff\xbe\xce\x80\x6f\x1f\xe1\x3d\xdc\x08\xef\x5e\xed\x20\xf2\x44\x98\x92\xe0\xf1\x0a\xd5\xe9\xa3\x05\x97\xcd\xea\xff\x7b\x41\xb0\x22\x08\x97\x5c\x4d\x08\x06\x44\x82\x24\x5c\xa4\x5a\xed\xc7\x68\x31\xc3\x92\x20\x25\x30\x93\x74\x9d\xea\x6f\x46\x05\xdf\x8e\x1e\xe7\x35\x68\xfd\x91\x23\x0a\x66\xfd\x52\x3a\xff\x98\xa7\x2b\x47\xc3\x9c\x9a\xaa\x6f\x9a\xc5\xcb\xce\x96\x0e\x79\x68\x6d\x56\xbe\x47\x6e\xd6\xa2\x6c\x43\x6e\x8e\xad\xd4\x9d\x70\x33\x98\x85\xaf\x85\x9b\x23\x1b\xf6\xf7\xc5\xcd\x55\x4b\x3f\x04\x6e\x76\x01\xd0\x0d\x39\x7a\x35\x7e\xba\x13\xae\xf6\x41\xcb\xd7\xc2\xd9\x2b\x51\xd6\xdf\x17\x77\xd7\x2d\xff\xeb\x72\xb8\xf7\xbd\xee\x8a\xb7\xd7\x33\xae\x27\xc0\x6b\x60\x5a\x3f\x59\x33\xf7\xdf\x0d\xb7\xae\xac\xfb\x40\xd8\xf4\xad\x20\x26\xa7\xaa\x13\xbf\xde\xd8\x87\x3a\x73\xac\x7b\xb0\xe7\xd9\xd7\xc4\xb3\x6e\xd7\x0e\x87\x6b\xeb\x10\x5c\xdd\xf3\x0c\x1b\x60\x59\x12\xcd\xb1\x4a\x66\xfa\x4b\x13\x12\x6a\x59\x8c\xa2\x48\x2c\x7c\x55\xdc\xfd\x12\xd9\x84\xdf\xb6\xf3\xb7\x77\xfa\xfe\x0e\x8b\xfe\x1c\x0c\x42\xb9\xcf\x8a\xd8\x61\x56\x04\x95\x7d\x56\x44\x9f\x15\xd1\x96\x40\x7d\x56\x44\x9f\x15\x11\x7c\xf7\x3a\xb2\x22\xf6\x9f\x10\xb1\x9b\xac\x87\x57\xa5\x44\xf7\x0a\x74\xaf\x40\xf7\xa9\x0d\x7e\x69\xbb\x12\x60\xee\xe9\xa3\x94\x64\x44\x91\x46\xf1\x73\x47\xc4\x5c\xdb\x06\x51\x81\xdf\x8a\xa0\x41\x51\x3b\xc8\x73\x10\xb8\x37\x9a\xe4\x92\x1f\xfb\x75\x4a\x27\x3f\xfd\x3e\x13\xab\x17\x57\xbd\xb8\xda\x64\x69\x87\xe3\x95\x0d\x0e\xf3\x57\x75\xcb\x06\xe5\x82\x1f\x68\xba\x9b\x8a\xc1\x5e\x6d\x0c\xeb\x05\x17\xa4\x88\x4a\xb6\x6e\xe6\xa4\x2d\x8a\xef\x9e\xa7\xaf\xc2\x4f\xab\xe5\x48\x7a\xc6\x14\x55\x4b\x8f\x52\x13\x7d\xe1\xe0\xbe\x70\x70\xfb\xb5\xf6\x1e\xc2\x1d\x7a\x08\xfb\xc2\xc1\xbd\x0f\xac\xf7\x81\xbd\x72\x1f\x58\xd8\xea\x60\x23\xc4\x0e\x4b\x91\x20\x53\x2a\x15\x11\x08\xd7\x68\x2b\xeb\x21\x3c\xaf\xb5\x47\x4c\x6b\x40\x44\xf8\xda\xa3\xff\xd5\x62\xfa\x37\xf6\x7a\x81\x33\x30\xc6\xa9\x6f\x08\x01\x3a\xc5\x1c\x2f\xd1\x0c\x3f\x11\x34\xc1\x34\x33\x16\x83\x15\x1b\x0d\x2b\x6c\x9a\xd0\xff\xdb\x6d\x42\x38\x9e\x8e\x20\x13\x22\x08\x4b\x8c\x18\x34\x5a\x41\x82\x33\x44\x40\x5b\x33\xbf\x99\x69\xfb\x2d\x13\x04\xa7\x4b\x34\x26\x84\x79\xb6\xa9\xb8\x42\x6b\xe6\xbc\x13\x6d\xee\xab\xdb\x2f\xab\xdc\x73\x28\xd6\xcb\x5e\x60\x25\xd5\x22\x61\x7b\xab\x45\xfe\xe9\x75\x89\x8a\x1e\x5d\xd2\x7b\x9b\xbe\xbe\xb7\xa9\x47\x97\xf4\xb6\xe3\x01\xd8\x8e\x3d\xba\xa4\x47\x97\xf4\x96\x75\x6b\x6a\xf5\x96\x75\xf8\xdd\xeb\xb3\xac\x77\x8c\x2f\x79\x29\x0d\xbb\x57\xb0\xdd\xef\x7a\x05\xbb\x57\xb0\xbf\x51\x05\xfb\x30\x28\xdc\x6b\xd7\xbd\x76\xdd\x6b\xd7\xbd\x76\xdd\x6b\xd7\xbd\x76\x6d\x9f\xda\xa5\x76\x0d\x7f\xb9\x32\x99\x5b\x43\xb9\xbb\x47\xb9\x3e\x12\xf5\x5a\x43\x5c\xbd\x4a\xdd\xab\xd4\x87\xad\x52\x1f\xcc\x82\xbe\xbd\xb2\x77\x7d\xe1\xb8\x95\xfb\xf1\x5b\x28\x1c\xe7\x9e\x3e\x5a\xe4\xcd\xd7\xdf\xfd\x22\x75\x79\x04\x52\x61\x95\x83\xa5\xd1\xe2\x2a\x44\x43\x85\xe6\x5c\xeb\xdd\x8c\x44\xbf\x71\x3c\x6f\x40\x04\x53\xfa\x44\x18\x72\x78\xd9\x81\x95\x6c\x03\x30\x7e\x7f\x73\x02\xce\x26\x30\x60\x85\x30\x52\x74\x4e\x4e\xd0\xf9\xc4\x30\x50\x82\xb3\x0c\x49\xa2\x64\x09\x79\xa2\x15\x32\xfb\x10\x4b\x8b\xb9\xba\x77\xd3\x02\x88\x60\x7e\x36\x70\xe7\x2f\xcf\x94\x39\x8d\x6e\xf0\x67\x9a\x65\x7a\x0e\x96\x69\x41\xf8\xcc\x89\xc8\xdc\x93\xd1\x6b\xdd\x8f\xe7\x38\xd5\xd6\x44\x30\x85\x22\xd3\x22\xfc\x3d\x88\x79\x2a\x3d\x94\x22\x7a\xde\x3c\x7d\x82\xac\xdd\x67\x0a\x3c\xb5\x9a\xc6\x0c\xa7\x5a\xec\x27\x33\x92\xe6\x19\x41\x58\x4a\x9e\x50\xac\x48\x8a\xa8\xb9\x16\x10\x55\xce\x4a\x74\x3f\x72\xaf\x4e\xa9\xc4\xe3\x8c\xa4\x96\xc6\xa4\x40\x76\x34\xce\x9c\x4a\x34\x26\x9a\xc4\xfa\xe6\x89\xa9\x3f\x33\x97\x52\xc5\x6c\x82\xa9\x90\xd5\x99\x10\x66\x26\xd2\xa0\x54\x19\xe6\x7c\xad\x7a\x95\x99\x7d\x9f\x87\xd2\x6b\x59\xbd\x96\xd5\x69\x41\xdf\x94\x96\x75\x40\x68\x34\x27\x90\xbe\x2a\x1a\x4d\xd3\x25\x7d\x00\xdc\x20\x25\xf2\xed\xbf\x22\x15\xf4\xb7\xbd\xe5\x69\xa3\x20\xb9\x04\xf1\x71\xf9\x04\x57\xb5\x58\x2a\x1e\x78\x0d\xf7\x4e\x38\xdd\x3d\x5f\x35\x8d\x56\xc3\x8e\x4e\xd9\x61\x29\xf2\xdd\x65\x58\x7f\x17\xf7\x77\x71\x35\x65\xfa\x20\x62\x0d\x85\xbf\xa6\xed\x3b\xa1\x24\x4b\xe5\x8a\xf1\x12\x5d\x1b\x6b\x0d\x95\xd7\x7b\x63\xbc\xac\xa9\xd2\xc5\xeb\x74\xe3\xbd\x4a\xd6\xcd\xa4\x77\x6b\x4e\x14\x86\x8e\x55\x8a\xa3\x1c\xa6\xde\xdf\x42\xab\x64\xee\x6f\xa1\xfe\x16\xaa\xa5\x4c\x7f\x0b\xbd\x62\x93\xae\x42\x72\x1f\xb4\x4d\xb7\x55\xb9\x84\xc0\x86\x73\x40\x8f\x55\x5b\x4e\x22\x39\xc3\xc2\x14\xc6\x4f\xf8\x7c\xce\x59\x10\x8f\x58\x2e\xc8\x00\x79\x17\x34\x66\xa9\xe5\xdc\x75\x40\xc9\xe2\x35\x94\xbc\x0a\xa8\x64\x40\x97\x97\xc0\x4a\xf6\x76\xe0\x1a\x02\xf5\x75\x25\xfa\xba\x12\x3d\x7a\xb1\xaf\x2b\xd1\xcc\x2d\x3d\x3e\xaf\xc7\xe7\x85\xdf\xbd\x0e\x7c\x5e\xdc\x8b\xd5\x40\xf4\xea\xdb\x6e\xd7\x36\xd9\x6e\x6a\xa9\x4d\xd3\xed\x91\x7c\x71\xab\xbb\x75\x2e\xff\xb0\x39\xda\x81\x2b\x7c\x93\x6c\xa9\x08\x4d\xb3\xd5\xae\x6e\x2f\x10\x69\xfe\xbd\x74\xa9\xee\x7b\x52\x6f\x42\xa8\x6f\xb5\x30\xe2\x8b\xf6\x9b\x7e\x59\xe1\xed\x8a\xc7\x3e\xd4\x88\xf0\xea\xef\xbd\x20\xaf\xfe\x7a\xdb\xb4\xc7\x58\x76\x6f\x9a\xee\x18\xc9\xc6\xd7\x61\xc6\x87\x33\x7e\x09\x43\xbe\x71\xf7\xbf\x39\xb9\xde\xc4\xcb\xbd\x74\x6f\x49\xae\x6f\x55\xc6\xf7\x86\xfe\x2e\x0d\xfd\xc1\xb7\x6b\xe9\xf7\x69\x8a\x0d\xc4\xe9\xdd\x20\x9b\x50\xab\x77\x83\x84\xdf\xbd\x0e\x37\x88\xbd\xab\x1f\xcc\x55\xff\xe0\x39\x58\xbe\xfd\x57\xf1\x77\xa0\x48\x07\x1f\x56\xc4\xc2\x3a\x20\x56\x92\x5c\x2a\x3e\xa7\xff\x4d\xd2\x42\xfd\x28\x06\xaf\x40\xb2\xd8\x39\x1c\x3b\xa5\xa4\x88\xea\xae\x05\xb6\x5c\x9b\x47\x4f\xe1\xc9\xa1\x7f\xc9\x6b\xd0\xa5\x6b\xa6\xfe\xb2\x80\x97\x55\x4e\x58\xa7\x3a\x41\x2c\xdd\xeb\xd3\xd4\xd4\xe4\x7c\x9e\x51\xb8\x26\x21\xfb\x1f\xae\x92\x60\xc3\x5d\x5a\x85\x96\x00\xb4\x56\xe7\x78\x69\x75\x6a\x85\xdd\xdb\x2d\xdc\xf2\xe8\xeb\x5d\xf7\x57\x87\x08\xac\xe1\xfb\xaf\x0a\x17\xb0\x6c\x2d\xbb\xbb\x06\x8a\x8a\xb2\xee\x6c\xac\x35\xff\xaf\xdd\xcb\x5e\x8f\xb0\x92\x5d\xe5\xd1\x56\x20\xc9\xf5\x9d\xb0\x7d\xf1\xe7\x0a\xc3\x74\xb5\xfd\xb5\xf9\xf5\xf5\x8a\x9c\x3b\x74\xaa\xbb\x99\xff\x6e\x9a\x5f\xaf\xac\xfb\xab\x0a\x05\x85\xe5\x63\x39\x9e\x14\xbb\x29\x1f\x1a\x23\x4c\x6b\x7e\x1b\xa5\x91\x34\xff\xb4\x14\x85\x8a\xbf\xb3\x71\x29\xf8\x1a\xa6\x5c\x9e\x87\xfb\x30\x7c\xa1\xfb\xac\x18\xd9\x7d\xe2\x2a\x56\xc0\x87\x82\x28\xb1\xd4\x2a\xa4\x36\x4f\xb6\x0f\x7d\xe9\x77\xb4\x0e\x7d\xdd\x61\xf9\xf8\x2a\x43\x5f\xf1\xc4\xf7\x7c\x66\x5b\xf3\xe4\x37\xe7\x34\x6d\x7b\xc2\x7a\x07\xea\x06\xa4\xfb\x56\x9d\xa9\x4d\x22\xf4\x60\x66\x58\x92\xe2\xdf\xe2\xc9\x8d\xef\xa4\xfe\x88\x36\xd1\xe8\x9b\xcb\xa6\x2e\xa9\x1a\x6b\xd6\xf6\x4a\xb2\xaa\xcb\xda\xd2\xae\x67\xb5\x9f\xf8\x4a\xb0\x1b\x7d\xe5\x9d\x6f\xb4\xf2\x4e\x3b\xe3\xa6\xb5\x65\xd3\xd6\xac\x69\x67\xd3\xd4\x1b\x34\x5b\xc0\x34\x62\x3b\x63\x53\x98\x46\xa4\xc7\xbf\x0a\x6f\x4d\x34\xe3\x97\x80\x69\xfc\x4e\x4d\x8f\xde\xee\xd8\x0b\xdd\xbe\x55\xa3\xe3\xc0\x2d\x8e\x1e\x60\xd2\x67\x92\xf4\xf8\x92\x1e\x5f\xf2\x15\xa8\xd5\xe3\x4b\xc2\xef\x5e\x07\xbe\xc4\xda\x8b\x3b\xee\x39\x0f\x2a\xfb\x4e\x9b\xcd\x6b\x65\xb8\x6f\x33\x6f\xff\xd7\xa7\x03\xb7\x59\x5c\x9f\x0e\xdc\x2b\x71\xdf\xb8\x12\xd7\xeb\x29\x9b\x50\xab\xd7\x53\xc2\xef\x5e\x8f\x9e\xb2\x8b\xfe\xf2\x25\xcd\x64\x7d\x63\x79\xad\x78\xbc\x06\xad\x43\xcf\xb3\x6f\x26\xdf\x37\x93\xdf\x86\x6f\xbe\x3a\x40\x6b\x2f\xfd\xe3\x4b\x47\x7e\x1b\x0b\xe4\x75\xb4\x8c\xd7\x33\xed\x7b\x59\xf6\x05\x00\xfb\x02\x80\x7d\xb3\xf8\xde\x02\xec\xdb\x59\xf6\x7e\xfc\xde\x3e\xee\xed\xe3\xdf\x81\x7d\xbc\xdf\x2e\xf1\xbb\xd4\xa3\x7b\x35\xba\x57\xa3\x7b\x35\xfa\x9b\x55\xa3\x0f\x83\xc2\xbd\x0e\xdd\xeb\xd0\xbd\x0e\xdd\xeb\xd0\xbd\x0e\xdd\xeb\xd0\xf6\xa9\x9d\xe8\xd0\xbb\xed\x05\xdf\x21\x22\x65\xf3\x68\x5f\x8b\xf2\xdc\x2b\xce\xbd\xe2\x7c\xd8\x8a\xf3\xc1\x2c\xe8\xdb\x4b\x9e\xeb\xd3\xcf\x56\x6e\xc1\x6f\x36\xfd\xcc\x97\xf0\xdc\x15\x90\x34\xbc\x1f\xdd\xe0\xbb\xc5\x93\x7e\xb6\xa3\xf6\x98\x52\xfb\xbf\x1e\x53\xda\x66\x71\x3d\xa6\xb4\xf7\x86\xf4\x98\xd2\xde\xde\xef\xed\xfd\x6f\xc0\xde\x77\x9a\xc5\x2e\x70\xa5\x15\x5a\xca\x7a\x6c\xa9\x53\x42\x5e\x83\x06\xe2\xe6\xda\x63\x4c\x7b\x8c\xe9\xb6\xbc\xf3\x55\x71\xa6\xfe\xd4\xef\x03\x6b\x5a\x21\x06\xb6\xb5\x50\x5e\x07\xe6\xd4\xcd\xb6\x0f\x98\xf7\x7e\xbf\xc3\xf7\xfb\x1d\x5c\xc0\xfc\x60\xf4\xd9\xde\x4a\xec\x63\xe6\x7d\xcc\xbc\xb7\xa1\x7b\x1b\xba\xb7\xa1\xed\x53\x5b\x6a\xd3\x3b\xc1\x9e\xee\x43\xaf\xee\xd5\x6a\xf3\xbb\x5e\xad\xee\xd5\xea\x6f\x54\xad\x3e\x0c\x0a\xf7\x3a\x75\xaf\x53\xf7\x3a\x75\xaf\x53\xf7\x3a\x75\xaf\x53\xdb\xa7\x76\xa6\x53\xef\x16\x8b\xda\x31\x8a\xf5\x91\xa8\xd7\x18\xc2\xea\x15\xe9\x5e\x91\x3e\x6c\x45\xfa\x60\x16\xd4\xe3\x52\x7b\x5c\xea\xca\x37\x87\x8b\x4b\xfd\xce\x32\xc2\x51\x20\xfb\xfd\x25\x71\xf4\x53\xc6\xc7\x77\xcb\x05\xd1\xff\x3d\xa5\x73\xc2\x24\x68\x2c\x54\x2d\xc3\x8b\xb3\x86\xc0\xab\xa4\x3d\xba\x3d\xbf\xfc\x78\x71\x16\xde\x7c\x9f\xee\x2f\xee\xce\xaf\x87\x37\x77\x6e\x86\x7e\x55\x21\x2d\xec\x73\xd1\xdd\xff\x9e\xcf\x17\x58\x50\xc9\xd9\xd9\x97\x85\x20\x52\x4f\xed\x0a\x6e\x5b\x2e\x36\x9b\xdd\xd9\xff\x0e\x67\x76\x19\xff\xf3\xe3\x5d\xfc\xaf\x68\x15\x17\x77\xf1\xbf\xce\x1a\x57\x13\x0c\x5c\x3e\x41\xc7\xe8\xe3\xdd\x3b\xf4\x11\xa2\xfe\x02\xdd\xcd\x30\x1b\x31\x74\x8c\x2e\xee\xde\xa1\x0b\x22\x25\x7c\x52\x3c\xac\xa8\xca\x60\x6d\x3f\x51\x86\xc5\x12\xb9\xe5\x83\x78\x24\x18\xdc\x81\x8e\x34\x65\xe2\xb1\x7f\xe4\x0c\x14\xd6\x82\x7a\x17\x7c\x4a\x13\x9c\x6d\x47\xc4\xe1\x65\x78\x5e\x8e\xae\x6e\x1a\x49\x11\xfe\x7a\x95\x16\xc3\xcb\xd3\x77\x28\x98\x6a\xc5\xca\x2f\x89\x54\x24\xd5\x17\x60\x6a\x98\x57\xdb\x1a\x64\x19\x5c\x8c\xff\xe0\x94\x91\x14\xe5\x52\xab\x6b\xc3\xcb\x53\xf4\x16\x5d\xdd\x8c\xd8\x95\x48\x8d\xbf\x80\xe8\x1b\xc5\xd8\x2a\x54\x22\xc6\x15\xa2\xf3\x05\x17\x0a\x33\xa5\x2f\x53\x2d\xc8\xb8\xa5\x88\x44\x58\x10\xf4\x9e\xcf\xe7\xb9\xc2\x8a\x3e\x91\x15\xa2\x32\x63\x04\xdc\x12\x75\x9e\x82\x07\xb2\x82\x86\x7c\x1c\x29\x3a\x47\x0b\xa1\xc7\x57\xb4\xa4\xfd\x1d\xd1\x74\x45\x1d\x74\x43\x60\x21\x70\x2c\x06\x8f\xa8\x22\xf3\xf2\xef\x9b\xe5\xff\x77\xe5\xbf\x62\xdd\xda\x37\xd2\xf8\x44\x14\x4e\xb1\xc2\xc5\x07\x3c\x25\x9b\x31\xc7\xa7\xe1\xe5\xfd\xf0\x22\xe4\x8f\xdb\xf7\x3f\x9f\x9d\xde\x5f\x44\x42\xf6\xe8\xf6\xaf\xb7\x77\x67\x9f\xc2\x4f\x6e\xce\x8c\x08\x0d\x3f\x7b\xff\xf3\xf9\xc5\xe9\x83\x17\xba\x4d\x6c\x56\x7a\x6f\x99\xd3\xee\x66\x04\xcd\x89\x9a\xf1\x14\x8d\x97\x61\x73\x63\xdf\xb4\x00\x3d\x63\x89\x32\x70\x94\x91\xf4\x64\x64\x4e\xa5\x19\xf5\x9d\x66\x38\x64\x5f\x16\x3c\x31\xe7\x29\x19\xd8\xdf\x68\x96\xca\xcc\xb5\x88\x95\xb1\x1f\xaa\x06\xd6\x6f\xc7\x0c\x51\x96\xd2\x27\x9a\xe6\x38\x3b\x81\xf7\x78\x1a\xbd\x43\x43\xa4\xf5\xf8\x34\xcf\x08\x52\x82\x4e\xa7\xa0\xf2\x95\xa6\x6a\x46\xb3\x8f\x02\x25\xe1\x39\xdf\x31\x42\x9b\x0a\xf0\x5a\x6b\x2b\xd0\x71\x66\x14\x2a\xf3\x20\x64\xd8\xc5\x23\x0a\xac\x66\x44\x54\x4d\xcd\xed\xcb\x3b\x63\xe1\xd7\x2c\x0b\xfa\x9d\x17\x88\x2f\x08\x3e\x48\xa3\xa9\x2e\x04\x79\xa2\x3c\x0f\x1e\x35\x03\xc7\x9b\x5b\x39\x7c\x41\x00\x20\x1b\x87\x39\x06\xdd\x35\x23\x6e\xbe\x71\x5e\x41\xf7\xc7\x19\x53\xa2\xf2\x16\x6b\x7b\x3c\xad\x8e\x14\x9d\xcf\x6a\x53\x6a\xe5\xdd\x97\x65\xa5\x77\xd5\xd4\xb4\x8a\x92\x7e\xc9\xc9\x51\xa5\x8d\x05\x8a\x70\x9d\x80\xa8\xd0\x75\x0a\x99\xf9\x2b\xa8\xd0\xf3\x5c\x2a\x68\xd3\x6d\xbc\x35\xe8\xf1\x3f\x24\xfa\x67\x8e\x01\x8d\x77\x82\x6e\x09\x19\xb1\x99\x52\x0b\xf9\xee\xed\xdb\x29\x55\xb3\x7c\x7c\x92\xf0\xf9\xdb\xc7\x7c\x4c\x04\x23\x8a\x48\x6d\x7b\xcf\xb1\xe6\x17\x22\x96\x6f\xc7\x19\x1f\xbf\x9d\x63\xa9\x88\x78\xbb\x78\x9c\x82\x61\xee\xd4\xbd\xb7\x7e\xd8\x29\xff\x1f\x17\x7f\xfe\xf1\xf8\xe2\x3f\x7e\x3c\x5a\x95\x3e\x75\xa7\xf3\x8c\x25\x78\x21\xf3\xcc\x3a\xf0\x44\x48\x1b\x00\x95\x02\x25\xd6\xed\xf7\x65\xbc\x5d\x1d\x84\xd6\xfd\xe5\x2f\x97\x57\x9f\x2f\x23\xd1\x73\x7d\x1f\x69\x03\xf1\x3f\x3f\x9d\x7d\xba\xba\xf9\x6b\x24\xd0\xee\xae\x6e\x86\x1f\x9b\xb5\x82\xf2\x6b\xca\x64\xf8\x85\xf1\x67\x16\xaf\x5e\x96\x17\x9d\x33\x45\xe7\xc4\x09\x6c\xfb\xcf\x3b\xb3\xd2\x0d\x56\x7e\x75\xf7\xf3\xd9\x4d\xb8\x8e\x0f\x17\x7f\xbd\x3b\x7b\xb8\x3d\xfd\xa5\x71\x25\xe6\xb1\x68\x66\xb7\xe0\x7d\x78\xcf\xb3\x7c\xce\xc2\xbf\x37\x9f\xdb\xf9\xe5\xdd\xd9\xc7\xf2\xec\xae\x86\x77\x31\xd9\x6f\x62\xa7\xd6\xd1\x4f\x57\x57\x17\x67\xc3\x68\x2f\x4f\x87\x77\x67\x77\xe7\x9f\x22\x7d\xee\xf4\xfe\x66\x78\x77\x7e\x75\xd9\xb8\x4c\x37\x83\x8a\x85\xea\x65\x85\xcb\xdc\xb5\x9c\x69\x75\xcc\x87\x36\x60\x64\x0e\xca\x71\x90\x66\x63\x7c\x41\x60\x96\x1d\x7b\x53\x3a\x31\x33\xad\x94\x35\x2a\xde\x26\x54\x2f\xeb\x1a\x37\xba\x49\xe4\xdd\xf9\x29\xc0\xbc\xac\xcb\x18\x67\x19\x7f\x36\x6e\xfb\x39\xd5\x8a\x9e\x24\xe0\xbd\xd7\x3f\x91\x28\xc9\x85\x20\x4c\x65\xcb\x93\x0a\x71\x12\x6f\x0b\x17\xea\xd4\x3b\x76\x37\x62\xb8\x4a\x2f\xe9\xaa\x7f\xb4\x92\x55\xca\x3e\x51\x37\x2d\x28\x98\xc4\xa7\x9f\x88\x94\x78\x4a\x3e\xb8\xb8\xd1\x8e\x84\xd4\xed\xaf\xe1\x3f\xff\xeb\x76\x0d\x3f\xbb\x21\xa2\x19\x82\x1b\x70\x38\xe6\x42\x39\xa9\xb2\x0d\x2f\x27\x38\x97\x9d\x98\xb9\x39\xec\x85\x51\x2e\x89\x38\xb6\x7e\x06\x92\x22\xac\x27\x6a\x63\x5e\xcf\x34\xcb\x20\xba\x83\x70\xc6\x41\xa7\x21\xf6\xe7\xf9\x42\x2b\x63\x29\x82\xd9\xd4\xdc\xae\x0b\x41\x59\x42\x17\x38\xdb\xe8\xe8\x95\x1c\x21\x16\xe2\xfe\x03\x9d\x20\xcc\x96\x6f\x56\x14\x2f\x45\xc4\x1c\xe2\xbf\x76\x9a\x64\xb5\x7b\x76\x35\x5b\x9b\xdd\x61\x8c\x2b\x1c\x5b\xee\x1b\xec\x8d\x09\x4c\xd4\x2d\xb7\x34\x8a\x7d\xbb\xb1\xb9\x70\x76\x5d\x3d\x66\x15\xc1\x42\x0b\xa4\x69\xab\x3f\xe1\x85\xde\xe2\x24\x97\x8a\xcf\x11\x2e\xd6\x68\xc3\xba\xd8\x6e\xa2\xe2\x31\xc9\x02\x17\x5a\x7b\x15\xa3\x20\xa1\x8d\xcf\xac\xbe\x24\x52\xda\x83\x88\xbb\x65\xc9\x49\xae\x72\xa1\x95\x29\xad\xf6\xa3\x1f\xc8\xc9\xf4\x04\x5d\xfd\x7a\x76\x73\x73\x7e\x7a\x36\x40\xc3\xeb\xeb\xb3\xcb\xd3\x01\x22\x2a\x79\xe3\x4c\x53\x90\x9a\x24\x1d\x31\xc5\xad\xa7\x6c\x89\x66\xfc\x59\xbf\x6b\x4e\xc4\x94\x44\x6b\xb6\x3f\x46\x90\x47\x31\xa5\x52\x99\xa0\x02\xa8\x3f\xc5\xb4\xf4\x6d\x7f\x52\x75\x7e\x73\x35\xdb\x86\x35\xb0\x94\xf9\x1c\x8f\x33\xf2\x40\xf1\xfc\x41\xf0\x6c\xdd\x19\xae\x3c\x52\x85\xea\xf8\x20\x8d\x57\xea\x01\x27\x09\xcf\x99\x6a\x3d\xda\xba\x7d\x3c\x05\x32\x49\xb4\xd0\x07\x0a\x7c\x1a\xda\xcc\x90\x3c\xa1\x58\x39\x3b\x24\xe8\x8b\x99\x80\x9f\x05\xec\x07\x10\x19\x59\x81\x84\x80\x2d\xa9\xa2\xe5\xa9\x71\xe6\x6f\x65\xd7\x6f\x42\xbd\xae\x6a\x40\x99\x32\x54\x2e\x32\xbc\x5c\x31\x28\xd6\x51\x54\xab\xcd\x72\x81\x13\x52\x04\x13\x5c\xdc\x25\xe1\xf3\x39\x67\xd9\xd2\x03\x08\x52\x3a\x81\x14\x1f\xa5\xa9\x8d\xc6\x44\x3d\x13\xc2\x8a\x4f\x91\xdd\x75\x44\x99\x54\x98\x25\x10\x05\x85\x83\x32\xd2\xb4\x4a\x73\xb8\x9c\x47\x47\x03\x34\x3a\x4a\xc9\x13\xc9\xf8\x62\x4e\x98\xd2\x1f\x10\x55\xb9\x17\x67\x73\x4c\xb3\x4b\xae\x25\x6d\x82\xeb\x6e\xf6\xb6\xdb\x22\x48\x42\x17\x94\x30\x25\x1f\x88\x1e\x77\xaf\xbe\x97\x75\x9a\x90\x43\x29\xc0\x4c\x10\x4e\x53\x41\xa4\x24\xda\x64\x77\x93\xb4\x7a\x9b\x71\x59\x79\x02\xac\x55\x84\x0c\xdd\xfc\xfd\xb2\x53\x36\xae\xd6\x08\x13\x2e\x7c\xda\x9e\x7f\x71\x91\x92\xdf\xc8\xb5\xf7\x46\x81\x2d\x12\xc7\x5d\x9c\xc4\x87\x5d\xcb\xf6\x7e\xf9\xd8\xe8\x63\xdc\x6e\x9e\x31\x65\x6e\xf5\x73\x8d\x53\x93\x21\xa0\x26\xe1\x6c\x42\xa7\x79\x20\x95\xad\x93\xa3\xec\x57\x21\x6b\x67\x9c\x64\x5c\xe6\xa2\xa5\xba\x1d\x4f\xfa\xbd\x7d\xb4\x69\xde\x67\xe1\x25\x96\x67\x4a\x76\xba\x27\x2b\x08\x8f\x04\x59\x08\x22\x81\x27\xc1\x43\xa4\x0f\xb7\xb2\x02\xd7\xfe\x7a\x80\x28\x4b\xb2\x3c\xd5\x34\xc0\x59\xe1\x01\x62\x29\x2a\x94\x88\x11\x9b\x5b\x15\x13\x61\x89\x9e\x49\x96\xe9\xff\x26\x7c\xbe\xc8\xf5\x58\x76\xba\x76\x24\x6d\x0a\x28\xac\xc8\x00\xf1\x5c\xe9\xc1\x06\x30\x5a\x6a\xb7\xe0\x78\x8c\x01\xd5\xe3\xa0\x2c\x5a\xd4\xdc\x4b\x17\x1e\xf5\x60\x0c\xc3\xeb\x46\x80\x51\x86\x3e\x12\x05\xa3\x00\x3a\x2e\x5c\x20\xa4\xdf\x95\xad\xed\x6a\xda\x6f\x71\xa2\xec\x4a\x3a\xec\xfc\x05\x55\x44\xe0\xec\x13\x5e\xfc\x94\xf1\x71\xe3\xbe\x0f\xd1\xdc\x68\x54\xf6\x2d\x88\x96\x75\xe9\x00\x45\xb0\x8e\x47\x89\x10\x51\x7c\x60\xcd\xf1\xf7\x44\x3a\x83\xe7\x1a\xd9\x53\xff\x02\xc0\x57\xda\x16\x02\xa7\x7c\x79\x9e\x36\x9d\x75\xdd\x1c\xc1\x16\x78\x78\x3d\x16\x87\x99\xef\x7c\xd5\xca\x5a\xc7\x04\xb1\x75\xb6\xef\xc5\xc0\x01\x51\x33\x42\x05\x6a\xb5\x2c\x77\x7e\x1f\xcc\x99\x6f\xcf\x34\x05\x6f\xd7\x19\x59\x46\x88\x78\x01\xa1\x27\x66\xd1\x7c\x10\xff\x0a\x1c\xca\xa5\x49\xa0\x94\x2c\x08\x4b\x25\x02\xf6\x72\xa7\x21\x92\xfd\x03\x34\xa1\x5f\xec\xa0\xce\xb7\x5f\xfc\x34\x50\x14\x6b\xcc\xc7\x19\x5e\x65\xbb\x0e\xf7\xe3\x35\x3c\xdf\x68\x1f\x71\xa9\x6d\x81\x44\x2b\x56\x82\x24\x5c\x68\x91\x08\xaf\xf5\x1e\x9d\xb5\x77\xa3\xc2\x42\x13\x05\xaf\x53\xc0\xa3\x79\x14\xe8\xd6\x14\x2b\x72\xac\x6d\x8e\x35\xbe\xec\x05\xd7\xaf\x41\x74\x4e\xb4\xfd\xe2\xc2\x2b\xa1\xcd\x36\x26\x53\xcc\x90\xc8\x19\xa3\x6c\x5a\x33\x5b\x27\xda\xb7\x38\xcc\x5a\xb3\xc2\x73\x6d\x71\x80\x1e\xa1\x27\x14\xcf\x43\x2e\x80\x9c\x8d\xf3\xb0\x46\xc3\x4b\x51\x4d\x35\x90\xed\x19\x7b\x1b\xa6\x66\xb2\xf9\x22\x3d\xa4\xc9\x66\x58\x2a\x64\xe7\x54\x33\xe3\x50\x9b\xdd\x41\xfc\xb3\xa9\x42\x54\x68\x38\x74\x51\xce\xc3\x29\x22\x49\x94\xa2\xb6\x92\x51\x2e\x09\xc2\x13\x45\x04\x58\xf0\x4e\xe1\x33\x39\xfc\xfe\x68\xdb\x64\x7e\x27\x47\x43\x59\x32\x62\x95\x43\x9f\xa0\x21\x5b\x89\xef\x39\x73\x36\xa2\x97\x91\xda\x38\x7b\xc6\x4b\x89\x16\x50\x71\xc1\x84\x1c\x8b\xc5\x83\xbf\x21\x7e\xc8\x39\x17\xb4\x42\x45\x13\x9c\x65\x4b\x04\x86\x5e\x30\xb3\x9a\xcd\x0a\xca\x98\xb5\x17\x76\x2d\x75\xff\x92\x0f\xad\xaa\xa8\x99\x37\x81\x2a\x25\xdd\x8a\x32\xeb\x6f\x8e\x28\xa2\x64\x61\x57\xa0\x5b\x5a\xeb\xe2\x2c\xf6\xbf\xd5\x28\x7c\x51\x69\x86\x2d\xd4\x3e\x87\x7c\xdc\x5c\xae\xd5\xa1\x22\x43\x01\x5b\xc0\x22\xab\xa5\x6b\xd9\xad\xb1\xcd\x1c\x02\xfc\x62\xe5\x14\xd0\x2e\x10\x8c\x3b\xf1\x92\x78\x96\x68\x99\xad\x73\x3e\x41\x8c\x33\x82\xa8\x2c\x7e\x0c\x11\x15\x13\x5d\x87\xe3\x37\x25\x8c\x08\x28\x78\xe3\x02\x30\x3e\xb3\xc0\x63\xbe\x5f\xd8\x58\x1d\x7a\x23\x0b\x4d\x28\xc9\x52\x89\x18\xd1\xba\x3e\x16\x4b\x2d\xb7\xec\x41\x6f\xa3\x33\xec\x4a\x8b\xab\x10\xab\x56\xbd\x72\x68\x3e\xc8\x3e\xd0\x1a\x4a\x69\x5e\x68\x98\x65\xc5\x8f\xec\x43\x36\x98\x3d\x62\xde\x3a\x04\xfe\xa3\x52\x5b\x3d\x27\x08\xb6\x4d\x15\x4f\x69\xd9\xab\x3f\x70\x7b\x38\x70\x3a\x9e\x34\xd8\xfd\x2e\x36\xb1\x93\xe7\x05\x1d\x63\x7c\x87\x16\xd2\x7a\x05\x53\xfa\x44\x98\x63\xdf\x81\x63\x7f\x3d\x13\xc7\x14\x59\xe4\x9e\x6b\x96\x3a\xb6\x98\xd0\x01\xf8\x6f\xda\x53\x4a\x6f\x72\xbe\xe2\xd1\x31\xa5\x82\x0a\xe3\x33\x5b\x7a\xbf\x6c\xa8\xc2\x9f\x1b\xd1\x02\xb1\x4c\xad\x4a\xfc\x81\x71\xf5\x07\x54\xd8\x2e\xce\x4c\x34\xb5\xa6\xac\xc9\x3e\x88\x40\xa6\xfa\x6d\x70\x42\x2d\x93\x20\xec\xcf\x6a\xba\x9e\xf2\xdb\xc2\xb9\x0a\xbf\xf3\x5e\xb5\x9a\xb3\xd5\xd8\x51\x1d\x4a\xdf\x24\x9a\xed\xcc\x36\x7e\x89\xf2\x7f\xc8\xb0\x81\x20\x80\xc4\x63\x1c\xcd\xb9\x20\xa5\x64\x37\x23\xbc\x61\xa3\x8b\x24\xa3\xf6\x5c\x5a\xe1\x26\x32\x09\x3c\xc5\x31\x8f\xdc\x43\xcd\x6e\xa1\x5d\x44\x4d\xe7\x31\xde\xae\x81\x03\xd6\x60\xf6\xaa\x4d\xd5\x4d\x22\x9d\x75\xba\x9a\x77\xd0\x86\x55\xbd\xea\x90\x6a\x27\x23\xf6\x81\x0b\x7b\x77\x4a\x8b\xd0\x1c\xe3\xe4\xf1\x98\xb0\x14\xe1\x5c\xcd\x0c\x62\xcc\xfa\x54\x97\x76\x67\xb5\x5e\x00\x2c\xe0\xb6\x38\xa5\x32\xc1\xc2\x0a\xfd\x09\x7e\xe2\x6e\x16\x23\x16\x0c\x02\x18\x50\xc0\x99\x43\x2e\x6c\x9d\x02\x41\x20\xaf\xa7\x8e\x16\x55\x19\x9f\x2b\xf9\x9e\xcd\x67\x26\xcc\x1a\x1b\xc1\xfb\x48\xca\x88\x94\xa3\x23\x33\xeb\x12\x85\xce\x9d\x9f\xc6\xe9\xfd\x32\xac\x9d\xe7\x7f\x69\xce\x98\xf3\x54\xd8\x55\x68\x35\xe5\x47\x27\x3b\x23\xfc\xdc\x24\x17\x00\x97\xab\x1a\xf3\x87\x64\x46\xb3\xc2\x77\xfb\x66\x60\xcf\xa3\x19\x32\x23\x4f\x24\xd3\x03\x53\x96\x08\x32\x27\xcc\x06\xd0\x7e\x44\xff\x69\x32\x21\xd1\x1f\x47\xec\x23\x88\xd5\x2c\x5b\x0e\x10\x9d\x14\x23\x63\x55\x1a\xe6\xb1\x72\x02\x7a\xcb\x8c\x64\x89\x26\x62\xf6\x7b\x86\x9f\xc8\x88\xb9\x61\xfe\x13\x3d\xa2\x7f\x43\x7f\xac\x73\x70\x58\xac\xe4\xbe\xed\x5f\xe0\x62\xf7\xae\x40\x32\x0c\xac\xfa\x08\x92\xc3\x99\xc7\x91\x6f\xaa\x30\x61\xbc\x82\xeb\x01\x9e\x94\x3d\xf1\xd5\xa8\x4e\x78\x72\xb1\x20\x4c\x3d\x30\x9e\x92\x07\x52\x11\xd2\x69\x10\x14\xfa\x52\xbf\xe4\x29\x59\x1b\x90\xf1\x0a\xf2\x67\x30\xe9\x65\x3e\xf6\xdb\xa1\xdf\x5b\x18\xa3\x31\x83\x55\x4f\xd8\x97\x00\xdc\x64\xba\x9b\xc6\x90\xae\xac\x76\x35\x00\x89\x6e\x27\x50\x1d\xc7\xc8\x40\x4a\x00\xa2\xa0\x7c\x0a\xcb\x9e\x53\xfd\x63\xbd\x72\x7b\xe7\x04\xc5\x0d\x01\x30\x2e\xe8\x94\x6a\x6d\xbb\x39\x4e\xb5\x5e\xb5\x2c\x22\x2b\x3e\x92\x81\xf0\x98\xe7\x65\x10\x31\x6c\x8e\xb9\x12\x55\xa4\x41\x57\xa9\xf6\x68\xac\x9f\x17\x70\xeb\x4e\xf2\x4c\xff\xcc\x78\x10\x4d\x39\x02\x49\xa2\xb7\xe9\xbb\x56\x4a\x3a\xb5\xf0\x03\x37\x20\xb5\xe0\xcb\x14\xbc\x09\x28\x99\x61\x36\x6d\x56\xa0\x6e\x2c\xc9\x76\x60\x32\xbf\x44\xec\x71\xf5\x4e\xab\xe0\x19\x20\x9d\x05\x5c\xbf\xa8\x45\xea\xcf\x5d\xe9\xae\xd8\xb5\x75\xda\xc1\xfa\x71\x93\xb2\x33\xb4\x07\x62\x35\x50\x53\xcd\x1d\xb7\xb1\xed\xdb\x99\x25\xcc\xbb\x1f\xc0\x25\xbf\xb5\x2b\xca\x6f\x42\x50\x1b\xc3\x42\x82\xcc\x6a\x48\xba\x5f\xf3\x38\x0e\x72\xc4\xa0\xa4\x20\xc6\x51\x07\x16\x0b\x66\xb4\x41\x40\x69\x55\x79\xad\x9e\x9b\xfb\xba\xed\x54\x1a\x5d\xbb\x2d\x1d\xb5\x60\x85\x35\x1d\xdb\x0b\x8b\x9c\x88\x5d\x9c\x26\x1c\xcc\x83\x20\x0f\x78\x3b\x73\x89\x94\xc0\x4c\x9a\xb7\x8d\xd8\x67\xa3\x79\x50\x69\x74\x7c\x9b\x0f\x04\x26\x04\xa2\xf0\x6f\x30\x54\x6c\x3e\x84\x9a\x61\xa3\x97\x56\xbb\x53\x7d\x06\xaf\x3f\x09\xa1\x43\xb5\xea\x65\xf0\x22\xab\x6e\x55\x0e\xe9\x08\x1d\x02\x95\x9c\x16\x6c\xb1\x6a\x75\xfe\x3d\x2a\x01\xc0\x85\xb3\x5a\x3d\x7f\xcc\x79\x46\x30\xab\x53\x85\x2a\xbf\x5e\xb1\xf0\x8b\x32\x0f\x63\xa3\xa9\xeb\xdb\x54\x68\x8b\x7f\x02\x91\xff\x78\x5d\x18\x0a\x6d\x28\xc2\x8c\x41\x68\x95\x79\x3d\xd1\x74\x8d\x73\x77\x10\x9e\xfc\x31\xc9\x3a\x45\xcd\xcd\x03\x8d\x5c\x04\x3f\x29\x6a\x39\xb4\x42\x19\x86\xc1\xdc\x4a\x4c\xe6\xba\x89\x85\x48\xce\x46\x77\x5e\x8c\x86\xec\x30\xc5\x75\xe2\x7c\x58\x0a\x83\x22\x02\xb1\x53\x0c\xe0\x23\xbd\x7f\x70\xde\x9d\xb5\xee\xe5\x7d\xb4\x4b\x90\x0f\x05\x0f\xa7\x9c\xc8\x40\x3b\x40\xfc\x89\x58\xfe\xa5\x13\xa2\x35\x88\x11\xd3\xca\x54\xa8\xc9\x60\xa9\x0f\xda\x42\xf0\xa9\x45\x3c\xe1\x44\x70\x29\x6d\x64\xd3\x8c\x23\x4f\x1a\x6f\x92\x3b\x8b\xa6\xdd\x85\x6f\xfe\xe5\x40\x4e\xab\x65\x9d\x8a\x5c\xab\x1a\xcd\x63\x4c\x3c\x72\xb8\xf6\xdc\x6f\x8b\x7f\x70\xda\x33\x12\x04\x4b\x6b\xaf\x00\x4c\xa0\x14\x20\xed\xa0\x27\xf8\x39\x1b\xb8\xd0\xb1\xdb\xec\x90\x85\x2c\xfa\xdf\x54\x54\xd1\xc6\xa6\x10\x04\x52\xe5\xc7\x99\x75\xc3\x47\x5c\x43\x8b\xb2\xe1\x05\x45\xbc\x6a\x6e\xde\x0c\x72\x52\xd2\xb9\x3e\x2b\x90\xf6\xc4\xf8\x31\x5f\x80\xca\x5b\xfe\xd5\x04\xd3\x4c\x0b\x2c\x1a\x57\x2d\xd7\xca\xd5\x31\x54\xfe\x20\x4c\x55\x39\x27\xdd\x20\xe0\xcc\x24\xa9\xd9\x46\xc3\xb9\xa3\xa3\xe1\x4f\x57\x37\x77\x67\xa7\xa3\x23\x2f\xb1\x7d\xd8\xde\x89\x75\x8f\x03\xe7\x6c\xc4\xbc\xe3\xd8\x97\xf4\x82\xbd\x44\x38\x4d\x0b\xd8\xb3\x01\xf3\x3c\x18\x07\x58\xdb\x53\xb1\xd6\x77\xbc\x3a\xcc\x07\xfa\x85\xa4\x37\x58\x6d\xe5\x71\x6e\xcc\x58\x6b\xe5\x59\xa9\x64\xf1\x9c\xd1\x15\xeb\xbe\x41\xc8\xfa\xa5\xdc\xeb\xe7\xda\x73\xb0\x39\x09\xb0\x57\xce\x44\x97\x48\xe4\x4c\x1b\x45\xd8\x57\x5a\x9b\x00\x0f\xb0\x64\x39\x40\x00\x6d\xd5\x5c\xbb\x44\x7f\x42\x73\xca\x00\x86\xd6\x44\xdb\xfb\x78\x21\x5d\xf2\x6a\xcf\x2f\xef\xe3\x8c\xf4\x9f\xaf\xee\x6f\xe2\x2c\xa7\xbf\x36\x67\xc8\xc6\x23\x34\x59\xa2\xc5\x1a\x83\x50\x3f\x37\xa4\xf0\xa4\xa9\x5a\xe8\x45\xf9\xa2\xfe\xb6\x72\x14\x32\xaf\x33\xec\x3a\x3d\x01\x08\x77\x40\x99\x09\x76\xa5\xdb\x25\x25\x18\xd3\xea\x3a\xb6\xd7\xf6\x7a\x41\x57\x06\xad\x36\x0f\xbf\x16\x0b\x00\xdb\xb5\xfa\xfa\xed\x0c\xe6\x2d\x46\x75\x88\xd2\x0e\xda\x1b\x2a\x9e\x76\x1e\x00\x69\x1d\x57\x0b\x3c\xa6\x19\xb8\xe4\xf5\x0d\x3c\x5f\x64\x58\xd1\xff\xae\xf2\x69\xc8\x93\x11\x0b\x4b\x42\x9a\x3b\x53\xf3\x80\xcb\xa4\xa0\x6c\x8a\x38\x23\x88\x0b\x13\x7e\xf1\xe2\x70\x10\x02\x7b\xcb\xc0\x14\x35\x43\x4b\x9e\x0b\xff\xc6\x95\xf7\x58\xee\x93\x33\xec\x42\xb4\x4e\xcf\xb4\x01\x84\x30\x75\x03\xc6\x5b\x08\x52\x18\x5b\xf0\x62\xf2\x44\x18\x7a\xd6\x86\x55\xe1\x4f\x1e\xb1\x00\x32\xa2\x55\x52\xf6\xbd\xf2\xf1\x6f\x9a\xd9\x26\x29\xd8\x3b\xcf\x0b\x57\x8b\xc4\xd4\x8e\xdc\xcc\xc0\x3b\xc0\xfe\x02\x98\x79\x33\xe6\x83\x27\xeb\xbc\x07\x26\xda\x00\x3c\x10\xfa\x32\x0c\x3e\xb1\x92\x65\xc9\x97\x05\x49\x36\x01\x6c\x5e\xbb\xa2\x5f\x4d\xde\x8c\x30\xfa\x61\x73\x39\xed\xd6\x29\xee\x7c\x2b\xe5\xd9\xae\x99\x67\x27\xd8\xb4\x9e\xe8\xaf\x58\x50\x6d\x63\x76\x9c\xa7\x03\x4e\x4f\x04\x9f\xb7\x9b\xe2\xcb\x40\x05\xef\x56\x40\x77\x91\x7b\xe0\x40\x30\x82\xeb\x67\x59\x07\x0e\x5c\x27\xf5\x7e\x35\xf7\xa2\xc7\x01\x43\x36\x17\x41\x93\x6c\xa9\x88\x1e\x5d\xe9\xa9\x5a\x5c\x5e\xf8\xce\xf0\xce\xf2\x9e\x6f\x07\x0d\x28\x9d\x82\xc8\xa7\x3e\x26\xc8\x6a\x43\x06\x27\x57\x0d\xf0\x83\xeb\xb3\xca\x23\x1a\xc4\xc3\x6c\x9a\x83\x26\x9e\x54\x78\xbe\x70\x77\x7c\x39\x67\xad\x44\xae\x35\xd2\x68\x57\xc0\xb4\x3d\x80\xfa\xaa\x6c\xdd\x08\x68\x68\x03\xc7\xbb\xc9\xe6\x29\xdd\xd0\x8d\x13\x8b\xd2\x79\xc2\x09\xa5\x44\x61\x9a\xc9\x30\x85\x65\x75\x2b\xa3\x9b\xcf\x54\x22\x71\x8e\xd7\x0d\xad\xe4\xa0\x53\x5a\xb8\xf3\x28\xbc\xe3\xc1\xc9\x32\xc7\xcb\x00\xd0\xa2\x4f\x41\x46\x14\x5c\xce\x94\xf9\x7f\xc5\xa2\xd6\x31\x73\xc8\xa2\x55\x41\xe5\x13\xf4\xd3\xd2\x5f\x8b\x38\xcb\xc2\x99\x18\xe7\x5d\xd1\x9f\x4b\x1f\x05\xb8\xc4\xd0\xf9\xe5\xf0\xfd\xdd\xf9\xaf\x67\x00\xd6\x58\xf2\x1c\x3d\x53\xa9\x2d\x84\x11\x03\x7f\xa0\x16\xa8\xf0\x3b\xc5\x91\xf9\xe1\x00\x7e\x05\x10\x2e\x99\x8f\xe7\x54\xdb\x53\xc5\x22\xef\x41\x22\xdc\x38\x40\x8f\x39\xc7\xfa\x01\xb8\xb6\x1d\x54\xa8\x0a\xad\xba\xe6\x7c\x6c\x60\x06\x17\x83\x6c\x8b\x06\x0a\xc2\x15\xfb\xc5\x03\x05\x6a\x76\x68\xd6\x54\x1e\xaf\x1e\x10\x54\x7d\x28\xe3\x6c\x31\x48\xe9\xa3\x52\x95\x2e\x93\xfa\x1c\xb1\x62\x0b\x76\x81\x06\x72\xda\x76\x07\x39\x78\xeb\x1e\xa9\xd6\x76\x6e\x7d\x49\xa9\x4a\x15\xec\xba\x56\xbf\x39\x34\xac\x7e\x11\xb6\xdb\x3c\x08\xd4\xc5\xdc\x2a\x50\xb5\x21\x2b\x04\xc1\xf3\x18\x8d\x4a\xca\xa2\x9b\x71\x05\xd1\xd7\x44\x65\xcb\x8a\xa8\xfd\x88\x55\xeb\x0d\xcd\x3c\xb6\x6d\x20\x75\xa7\x98\x7e\xbf\x23\x37\x7e\x15\xd6\x23\xf2\xd9\xa3\x7d\x8c\x31\xea\x8b\x82\x92\xd2\xb9\x72\xfe\xd7\x1a\x2b\x00\xd4\x85\x4d\xd2\xe6\x2a\x4e\x65\xcb\x30\xe7\xda\x73\x61\xaf\xcc\xfd\x58\x50\x5b\xc6\x83\x21\xad\x6d\xf7\xc9\x78\xe0\xc4\x1c\x80\x87\x9c\x3f\x11\x21\x68\xaa\x2d\xac\x30\x0b\xba\x15\xe5\x5a\xd4\x96\xa8\x91\x61\xa6\xf0\xbc\xe2\x10\x36\xf1\x36\xaf\x1e\xcf\x65\xe6\x94\xa4\x9b\x57\x77\x72\x96\x12\xc1\x08\x56\xb3\x97\x8b\x2f\xbe\xdf\xd6\x65\xf8\x62\xb1\xc6\xf7\x3b\x29\xc0\x12\x4e\x37\x2e\x46\xb2\x76\x9e\x79\xa9\xe4\x71\x33\xa2\xb2\xa8\xfc\xb1\x62\x44\x55\xb8\xba\x02\x68\xaa\xb5\xb3\xe2\x2a\x20\x1d\x71\xc3\xb5\x16\x84\x77\x3f\x69\xf3\x20\xae\x15\x60\xfb\x01\x34\x8b\x74\x55\x13\x79\x69\x53\x26\xcd\xe8\xd8\x51\xcd\x2a\xf3\x89\xfd\xa0\xa6\xb6\x59\xe9\xb1\xf2\x6a\x43\xc3\x80\x2d\xcb\x76\x35\x16\x69\x46\x24\xa8\x7c\x46\xd7\x2f\x69\x75\x4d\x36\xc7\x88\xfd\xcc\x9f\xc9\x13\x11\x03\x84\x15\x9a\x73\x7d\x93\x33\x12\x16\xca\xc6\x71\xce\x9c\x71\x69\x63\x74\x89\xe7\x24\x3d\x83\xfb\x20\xc0\x6e\x59\xcb\xc7\x7a\x15\xab\xd2\x2f\x20\xa5\xc0\x6c\x83\x73\x81\x8f\x18\x4e\x14\x7d\x22\x26\xb6\x03\x58\x37\xea\x16\x06\xfc\xff\x07\xef\xf3\xfc\xc3\x09\xba\xd3\x17\x17\x95\xf1\x7c\x03\x18\x67\xdd\xdc\x46\x6c\x2a\x78\xbe\xf0\x9a\x29\x1f\x83\x4a\x6c\x7c\x9f\x15\x3e\x4f\x98\x8c\x73\x78\x26\x38\xd5\xd7\x62\x33\xe3\x44\xb6\xd3\x81\xb9\x02\x62\x7c\x5d\xc8\x40\xfa\xb6\xf0\x61\x25\x0b\x1d\x00\x36\xaa\xcf\x63\xde\x9d\xef\x74\xa5\xa2\x90\x04\xa5\xcc\x9b\xac\x11\xd8\x62\x43\x51\x11\x98\xf9\xce\x24\xae\x46\x09\x15\xaf\x35\x15\xfa\x8c\xe0\x20\xd5\x25\x2f\x6b\xf6\xbe\x7d\xa6\x50\x69\x96\xd7\xb9\x58\x70\x40\x88\x66\x4b\x07\x4d\x9a\x63\x08\x9e\x2f\xf8\x22\x37\x60\x59\x1a\x06\x99\x2a\x27\x14\x97\xa8\xd8\x79\xf0\x6f\x0b\x9d\xe5\x54\x2b\x75\x94\xa1\xe2\x87\xc8\x7a\x35\x2b\xd9\x2c\x17\x74\x23\xd5\xc4\x5a\xc5\xe4\x89\x30\x55\x28\xb9\x73\xbc\x40\x54\xcb\x12\x2d\x0d\xc5\x94\x0c\xd0\xb3\xeb\x55\x85\x30\xca\x05\x75\xbb\x0e\x9a\x69\x03\x6f\xc5\xaa\xe1\x5b\xe3\xa5\x36\x38\x9d\x04\x07\xd5\x59\x6c\x9d\xdc\x44\xe5\xd8\xc7\x12\x21\xf5\x2a\xa3\xec\x51\xbf\xec\x19\xcc\x68\xe7\x81\x14\xfa\xcc\x71\xe1\x80\x8e\xd1\x9e\x06\xd2\x6c\xbb\x8a\x4b\x61\x6b\x81\xd6\xfb\xea\x2a\xba\x42\x49\xc9\xca\x9d\x6a\x2b\xad\xca\x8b\x59\x17\x20\xdc\xc0\xca\x08\x46\xf7\x66\x46\x9b\xcd\x3c\x85\xb3\x38\x06\x1b\xb2\xa8\x85\x62\x4a\x6e\x81\x18\x0a\xaf\x94\x41\xe1\x4e\x35\x9b\xec\xb3\x80\xdf\x8e\x98\xbd\xe9\xde\x9a\x7b\xee\x6d\xd0\x84\x61\xb9\x88\x5a\xcf\x35\x6f\x74\x40\x9b\x83\xcc\x75\xae\xec\x00\x53\x6d\x9d\xed\x29\xd5\x79\x5f\xad\x5a\xaa\x5d\x2f\x7b\x4e\x74\x3e\xb4\xb6\x84\xed\x2f\xd7\x22\xb9\xdf\xce\xdb\x66\x3c\x83\xe4\x8d\xc2\x0e\x1f\x20\x42\x14\x4c\x73\x58\xec\x61\x02\xd8\x34\x45\x84\xc9\xcb\x05\x5f\xb3\xf7\x67\x5a\x5d\xb4\x52\x6b\xaf\x3c\x32\x5b\xe7\x8e\xea\xf1\x56\x91\x2b\x3b\xf6\xb1\x35\x0b\xc2\x35\x58\x98\xa1\xaf\x59\x57\x64\xdb\xca\x1a\xe6\xed\xfd\xcc\x55\xab\x8a\x30\x56\x8e\x98\x95\x9b\xb2\x8e\xf1\x5e\x1b\xbb\xb5\xf0\xe8\x0e\xab\x28\x62\x3d\xf2\x35\xae\xc1\x9e\xcb\xf6\xcb\x65\xbb\x08\x66\xc4\x93\xeb\x7e\x9b\xbd\x37\x0a\x51\x30\x8c\x03\x8c\xe3\x2c\xf3\x72\x3a\x4e\x4a\x6e\x4e\x74\x6a\x5c\xf2\xce\xec\xe9\x5d\xa8\xbe\x75\x8e\xf6\x50\xbd\xb3\x0b\xf7\x85\x15\x15\xb7\x08\x8b\xbd\x29\xce\x35\x36\xd0\x4a\x32\x5d\xdb\x29\xed\x48\xe7\x5e\xe3\xda\xb7\xa1\x3d\x6b\x90\xdb\xb6\x3f\x8c\x3c\x9b\xd3\x76\x18\xa6\x7d\x05\x1f\x7e\x65\xdb\x3e\xca\x20\xde\x59\x01\xcc\x87\xf5\x86\x76\x25\xa7\xec\xb0\x28\x65\x51\x29\x6a\xa5\x1c\xa5\xd3\x95\x2f\xeb\x0b\x2a\x74\xab\xfd\x17\x11\x71\x7d\xdd\x3f\xa8\x0e\x8c\x65\x4d\xd1\x3f\xc8\x58\x4b\x0f\xa5\xf4\xdf\x2a\xe6\x2b\x9e\xdc\x57\xae\xfb\x57\x9a\xcc\xe1\x14\xff\x5b\x4b\xb7\xc3\x05\xf5\x55\x4c\xb4\x45\xd1\x3f\x1f\x73\x86\x5a\x06\xdd\x44\x3e\xe0\xfc\x68\x9a\x45\x0d\x6b\xf5\xa1\x6a\xe3\x6f\x29\x07\xbb\x38\xd3\x86\xa9\xad\x4a\x54\x5a\x8b\x05\x82\x81\x77\x3e\xae\x9d\x5c\x2f\x14\xcf\x9e\x08\x53\x3b\xd1\x17\x60\x88\x8a\x98\x7c\x3b\xa3\xdf\x64\x7a\x9f\x9f\x16\x62\xc2\xd7\xb3\xd1\x66\xb1\x55\x53\x95\xc0\xfa\x96\x72\x95\xdb\x6d\xbd\xf6\xba\xc8\xbb\x5e\x5a\xbb\x2d\x82\x9f\xae\xd2\x65\x8d\xe3\xdd\x52\x1b\xaa\x1d\x94\x1c\xa8\x3c\x81\xd6\x2f\x9d\x60\xa2\xd1\xcd\xcc\x52\x48\xe7\x0a\x8a\x2d\x9a\xce\x6c\xe5\x3d\x37\xef\x9c\x61\x59\x7e\xe5\xda\x2d\xdf\x00\x5d\x16\x0d\xf3\x91\xa8\x53\xac\xf0\x4e\x2a\x7d\x75\x08\xf6\xc3\x44\xee\x45\xb6\xb6\x9e\xf4\xad\xa9\x08\x91\x8b\xac\x30\x6c\x30\xd2\x17\xda\x49\xe0\x4f\x07\x0c\x4e\x44\x51\x33\x99\x1a\x39\xd0\xbd\x02\xf6\x3e\xa7\x6a\x67\xb3\x11\x56\x4c\x2a\x91\x27\x90\x78\xa3\x4f\x5c\xf5\xce\xda\x8c\x43\x90\x9d\x89\x91\x3c\x32\xc2\x91\x3a\xc0\x39\xb8\xe9\x2b\xef\xf5\x7a\xfe\xd9\xd6\x07\x10\x57\x95\xd9\x9b\x2b\x20\x92\xde\xd1\x02\x7a\xb8\xe2\xa6\x06\xbe\x4d\x42\xf5\x1c\x08\x68\x62\xd7\xbb\xde\xdb\xfc\x65\x49\x67\x7d\x3e\xd5\x8c\xb5\x9b\x16\x1b\xa0\xa9\xee\x8d\x95\x1a\x0a\x69\x87\xac\xd4\xce\x89\x69\xa6\x6a\xc2\x62\xfa\x7c\xe6\x92\x08\x93\xa2\xe4\x61\x25\x15\x75\x1a\x6a\x63\x0e\x95\x1d\x45\x9a\x4a\x70\xac\x74\x36\xa9\xbe\xd8\x8d\x23\x03\xfd\x00\x2d\x1c\xb1\x22\x27\x0e\x45\xf8\x06\xfd\x27\xd4\x5d\xf8\xff\xea\x4a\x47\x4d\x89\x78\x48\xf3\x28\x80\xb7\x6e\x52\xd7\xfa\xa1\xd3\x5c\x2d\xab\xd1\x98\x91\x7d\x91\xe1\xe4\xb1\x0b\x42\x55\xff\xbe\x66\xd8\xf5\x0c\x1f\x78\xb4\x62\xb9\x5b\x83\xff\x24\x25\xfc\xa7\x8d\x77\x84\xef\x37\xb1\x09\x06\x65\x39\x02\xe3\xdc\x86\x69\xa0\xb5\xf6\x09\xfa\x60\x52\x2b\xe1\x0e\x31\xaf\x48\x78\x9e\xa5\x23\x46\xbe\x68\xeb\xda\x3f\x48\xd9\xb4\x2a\x1d\xce\xe6\x8d\xda\x37\xad\x3b\x78\xdb\x0b\xf4\xaf\x0e\xd6\x5d\xdd\xd3\xd5\x25\x57\x33\xd9\x56\xaa\xf3\x81\xf4\xf5\x79\xef\xba\x15\x0e\x90\x5f\x64\x89\x2d\x32\xf2\x44\x04\x9e\x12\xdb\xf7\x27\x48\x7d\xc4\x1b\xb4\xf9\xb9\x5e\x09\xb6\xbe\xee\x5e\x55\x2b\x31\xdc\xfd\xb2\xb1\xed\xf4\xb5\x56\x0d\x69\xef\xc3\x6e\x2f\xd3\xee\xf8\xe2\xd8\x94\x48\x64\xbe\x01\x97\xd3\x31\x92\x0c\x4b\x49\x27\xcb\xa0\xb3\x96\xbb\xbc\x4d\x18\xd5\x67\xd8\xc6\x99\xd8\x95\x57\xbb\xe5\x11\xb3\xd6\xa1\x47\xae\x7f\xdd\x18\xbf\x35\x57\x5d\xc0\x99\xa6\x21\x24\x0c\x4a\x0c\x19\x50\x5f\x80\xb4\x6f\x59\x05\x69\xdb\xd0\xbf\x9d\x99\x0d\x80\xef\x6e\x62\xb8\x8a\xf2\x4d\xd4\xb7\x3b\xb8\xc7\xe2\x06\x16\xf8\xeb\x23\xe2\xe1\x9a\x60\xc1\xa5\x95\x41\x60\x3f\xcb\x21\x67\xad\x08\xa3\x0b\x62\xae\x53\x03\xd2\xfc\x67\xce\x15\x96\x6f\x4e\x46\x4c\x5b\x5c\x8f\x64\x69\x80\x46\x5a\x91\xfa\x83\x56\xc3\x8f\x25\x81\x3c\x8c\x27\xf2\x07\xc3\xf8\x9a\x98\x4f\x36\x5d\xd7\xb4\x2c\xf2\xa9\xeb\x69\xf1\x96\x09\xcd\xa0\xc3\x93\x1e\xd4\xe2\x97\x8a\x22\x54\xa0\xe2\x9b\xb5\xd8\xef\xcc\xf4\xa7\x04\xd2\xcd\xa4\xa2\x0a\xd2\x46\x53\x73\x4f\xaf\x4c\xbd\x93\xac\x2d\x9f\xa3\x9d\x05\x8c\xea\x19\xa4\x49\x61\xab\x39\xdc\xed\xe5\xd0\x2d\x51\xd2\xf7\xe0\x2c\x18\xc0\x58\xa4\xf6\x7c\x1e\x3b\x80\x4b\x01\x17\xe9\x20\x69\x0e\x24\x94\x61\x67\x77\x63\xf3\x19\xf7\xd7\xd6\x61\xfd\x76\x75\xe1\xb7\x62\xbe\x1b\xf8\x9b\xec\x18\xbb\x10\xf6\xfb\xbd\x89\x57\x08\xd3\x52\x97\xbc\x5d\x4d\x95\xeb\xde\xb2\x58\x70\xf6\x40\xbe\x68\x13\x43\x6e\x1a\xa5\xbe\xd7\xa6\xe4\xf0\xf3\x2d\x92\x4b\xa6\xf0\x97\x77\x68\x74\xf4\xc9\xd4\x03\x42\x3f\xf3\x5c\x48\x74\x8a\x97\xc7\x7c\x72\x3c\xe7\x4c\xcd\xd0\x27\xf8\xbf\xf6\xa3\x67\x42\x1e\xd1\x5f\x09\x16\xa3\x23\xdb\x2c\xd3\xd6\xcb\xf7\x39\x7b\x33\x0c\x41\x0b\x69\x4b\x0d\xfd\xf1\x2f\xae\xd6\x90\x7e\xcd\x8f\x6f\xff\xf8\x17\xf4\x07\xf8\x7f\xff\x3f\xfa\xc3\xe8\xa8\x26\xeb\xa6\x1b\x7e\xba\x28\x06\x55\x39\xda\x23\x4d\x1e\xf9\x64\xf2\xa0\xe8\x9c\x98\x44\xa3\x07\x2c\x6a\x2b\x6a\x77\xc4\xdb\x51\x9b\xff\x64\xae\x84\x02\x4e\x6b\x5f\x6a\x82\x3b\xee\x66\xf2\x0d\xca\x0c\xba\x95\xc5\x79\x3f\x54\xc2\x53\xda\x24\x9c\x4c\xba\x78\x58\x5c\x97\xd9\xd5\xec\xea\x22\x4c\x18\x66\xf3\x79\x1d\x3e\xb4\x3c\xf9\xba\x6a\x49\xab\x26\xf1\x37\x66\x04\xc1\x02\xf7\x6a\x00\xdd\x72\xb1\x95\x08\x7f\x24\x2b\xee\x91\x4e\xee\x45\x97\x98\x14\x26\x85\x42\xfc\x81\x0b\x0f\x5a\x35\xee\x62\x9b\x05\x34\x62\x77\x57\xa7\x57\x3f\x3c\x62\x25\xf8\x14\xb3\x37\xef\xd0\x30\x4d\x6d\x81\x5e\x64\x7d\x3c\x9a\x79\x66\x44\xb8\x0e\xf9\x56\xd1\x61\x9a\x70\x95\xfe\xc2\x50\xfd\xad\xe8\x80\x8f\xea\x0f\x7b\xdc\x34\xbf\x06\xd8\x11\x65\x5f\xf9\x17\x14\x99\x12\xb0\xd6\x47\xb2\xb4\x4d\x14\xca\xeb\xdd\xa4\xe6\xf0\xed\x82\x24\xda\xd8\x81\xa1\xb9\x48\x09\x90\xc7\xb4\xac\xa2\x52\xb9\xd0\x56\xd5\xa1\xba\xc3\xf2\xf1\xc0\xf2\x60\x68\x1a\x76\x50\x55\x95\x3d\x52\xac\xf0\x53\x58\x3e\xee\xac\x6b\xac\x26\x45\x9b\x86\xb1\x76\x64\x44\xc2\xa6\x59\x38\xcb\x8c\x42\x15\x60\x6b\xe7\x78\x61\xca\x91\x82\x60\x84\x1e\x9d\x41\xd2\x56\xd5\xfc\xd7\x6d\xb4\x01\xe8\x06\xe6\xac\x00\x50\xb2\x56\xf7\x52\xf0\xd8\x63\xb6\x34\x0c\xa0\x05\x2d\x96\x8f\xd2\x27\x63\x21\x39\xc7\x59\x36\x40\x82\xe4\x50\x4f\x76\x80\x24\xc9\x26\xc7\x36\xcc\x42\x52\x94\xf1\x29\x4d\x70\x86\xc6\x19\x4f\x1e\xe5\x88\x69\xc9\xc7\xa6\x46\x60\x2f\x04\x4f\x88\x94\xc1\x55\x51\x04\x65\x4c\xa7\x6a\x53\x2f\xca\xd4\x6b\xa4\x52\xd1\xa4\x54\x24\x48\x9f\x64\x3d\x1f\xf0\x18\x27\xdc\xe4\x8f\xcd\x4d\x0f\x0b\x41\x09\xd8\xea\x2a\x77\x25\x7d\x01\xf3\x8d\x33\x30\x6a\xc6\x64\x86\x9f\x28\x17\x75\xdc\xbb\x03\x98\x8d\xdb\x9e\x07\x15\x9f\x86\x35\xfc\xfc\xde\x3e\x06\x67\xa8\x89\x63\x6e\x62\x76\xf6\xdc\xe0\xd9\xdc\x43\xb3\x1d\x53\x14\x35\x95\x1c\xfc\xdd\xfc\xc4\x05\x5b\x0e\x0c\x8d\x01\x53\xae\xc1\x60\xac\xe3\xe9\xf7\xa6\x4c\x91\x19\x63\xc5\xa6\x76\x85\x5c\xac\xa5\xaa\x45\xdb\x93\x66\x12\x47\x1e\x4d\x7b\xd3\x9e\x34\x68\x91\xbc\xc8\xf2\x29\x65\xc7\x3e\x73\x20\xc5\x0a\x8f\x18\x24\x11\xea\x97\x94\x0a\xd1\xac\x72\xd4\x01\xd7\x0b\xda\x8d\x70\xec\x58\x36\xc8\x11\xb9\x0b\x93\xc7\x7c\x0b\x28\x8b\x8e\xc2\x2e\x0a\x63\x88\xaa\x20\x9e\xed\x6d\xa5\xbf\x7d\xa2\x45\x32\x6c\xf0\xa2\xda\xbd\xdd\xd8\xba\x2e\xcd\x6a\x25\xba\x4d\x27\x86\xc9\xbc\xa3\xc7\xd5\xbe\xad\x9b\xd1\x57\xc1\x0b\x36\x6d\xe4\x35\x56\xa6\x7e\x29\x99\x73\x65\xd2\xed\x4c\xe6\x9b\x4d\x88\xb3\x09\x75\xe3\x8c\x8f\xe1\x5e\x81\xa4\x38\x58\x77\xdc\x3a\xd6\xac\x9b\xa4\xe8\x87\xe0\x9a\xf0\x41\xfc\x37\x07\xd0\x49\xdb\x97\x19\xd6\x1b\x16\x14\x79\xba\x2e\xdc\x24\xe5\x55\x99\x5e\xdb\x75\xfd\x67\xba\x01\x1d\xa3\xdd\xdf\x01\xd0\xb1\xb4\x8c\x9a\xe2\x0d\x7c\xba\xd7\x80\xb3\x5e\xd4\x05\x6f\x6f\xff\x18\x58\x93\xd1\x3f\xa2\xcd\x71\x6c\xb6\xac\xda\xa2\xc3\x02\x71\xc6\x93\xfb\xca\x20\xce\xd2\x64\x0e\x19\xc4\x59\x9a\xea\xe1\x82\x38\x2b\x26\xda\x02\xc4\x69\xdc\xc4\x0f\x9a\xa9\xdb\x09\x85\x85\xe0\x8a\x8f\xf3\xc9\x2d\xdc\x26\x6d\xaa\x90\x18\xe1\xec\xf4\x1c\x8b\x9d\x87\xd9\x1a\x1d\xa8\x9b\x22\x16\x62\x3d\x4b\x4b\x6e\x89\xf5\x8c\x44\x5a\x8f\xf5\xf4\x58\xcf\x55\xba\x1c\x22\xd6\xb3\xb4\xe7\xed\xb0\x9e\x55\x5b\xbe\x81\xef\x3d\x1a\xe6\x9b\xc1\x7a\x96\x28\x7a\xc8\x58\xcf\xd2\x54\x77\x87\xf5\xac\xde\xd9\x6e\x58\xcf\xca\xeb\xbf\x9e\x7f\xb6\x85\x06\xe9\xd7\xbd\x34\xd6\x33\x5a\x40\x8f\xf5\xdc\xb2\x34\x65\xcc\x82\x76\x06\xbe\x57\xed\x2a\xbb\x37\xa1\x3d\x41\xa5\xdd\x01\x47\xed\x37\x26\x08\x5e\xa8\xb6\x5a\xf7\x30\xa2\x83\xb4\x75\x56\xf4\xf5\xe7\x20\x81\x41\xfb\x96\x3e\x69\x7d\xdb\x74\xe2\x12\x91\xbd\xf7\x0a\x36\xae\x8e\xe5\xb6\xad\x5b\xe9\xea\x48\x76\x33\x48\xef\xdc\x53\x8d\x1a\xb2\x2b\x51\x19\xba\x2c\x41\x89\xa8\x74\x8a\xfb\xd4\xd6\x0d\xdd\xde\x35\x80\xd6\xd5\x17\x82\x3f\x4c\x12\x71\x1c\x20\x54\x63\x47\xd4\xea\x0c\x22\xba\xbb\x1b\x75\x0b\xb2\xe7\x62\x9b\xc6\xd1\x43\x53\x8e\x48\x5f\xd7\x61\xde\x6b\xf9\xec\x8d\x97\x0d\xc8\xa8\x66\x1b\x68\x7d\x4b\xe6\xb2\x27\x8f\xfe\xb7\xdf\xe8\x09\xcd\x08\xc2\xd0\x99\x9e\x8e\x33\xb0\x92\x80\x8f\xc7\xfc\x89\xe8\x49\x6f\xb3\xab\x94\x4d\x61\xdd\xfa\xf6\x0f\x4a\x15\x7a\xe6\x31\x87\x7c\x26\x78\x3e\x9d\x39\xb5\xd8\x55\xb3\xaf\xda\x4b\x07\x7d\x7f\xbd\x1e\xdc\x52\x7d\xdb\x32\x13\x74\x0f\x71\x39\x92\xbc\x70\x98\xab\x6a\x1d\x1d\xb8\x23\x02\x29\x14\xc7\xdf\x39\x1e\xcd\x35\x02\x08\xf4\x11\x1b\x46\x70\x06\x57\x0c\x7d\xbc\x2c\xc2\xa2\x46\x16\x87\x4c\x06\xed\x5b\xac\xba\x09\xf5\x52\xf5\x5f\x70\x6f\xc0\x43\x36\x00\xe6\x82\x5c\x10\xd1\x25\xe9\x31\x4e\x96\x49\x46\x93\x40\x87\x98\x0a\xbc\x98\x35\x71\xe2\x2e\x43\x55\xcf\xab\xdc\xbd\x86\x3f\x5d\xb8\xaa\x0b\x13\x74\x8b\x5c\x79\xd2\xbf\xae\xe8\x55\xd1\x4f\x7d\xb3\x08\xd6\xd0\x19\x30\x44\xa0\x19\xcf\xa0\x23\x42\x44\x2d\xff\x02\xef\x04\xf7\x04\x72\x9b\x01\xe5\xaf\x81\x29\x8b\x1a\xda\x4d\x71\x2a\xbf\x89\xdf\x46\xac\x6a\x8d\xa4\xeb\x18\xaf\x0a\x89\xba\x5d\xcc\x6a\x4b\xc9\xd5\x2d\x6e\xd5\x54\xce\xbc\xbc\xdf\x1b\x78\x58\x56\x52\xc1\x7a\xff\x9c\xf7\xcf\x55\xd3\xe6\x10\x7d\x74\x15\x9d\x4f\xdb\xf9\xe9\xea\xb6\x7f\x17\x9c\xb4\x43\x7f\xdd\x57\xf6\x82\x35\x3a\xc0\x02\x06\xfb\xba\x6e\xc5\x26\x8f\xe2\x86\x2e\x92\xfa\x3d\xed\xe4\xa9\x63\xcd\x5e\x3a\xf7\x96\x6d\xdd\x29\x1e\x02\xb5\x57\x97\x8a\xb7\x20\xba\xbb\x55\x0a\x8c\x56\xef\x5a\xd9\xab\x6b\xa5\x82\xd0\xeb\xdd\x2b\x91\x82\xf0\xa2\x2e\x16\xf7\xe6\x97\x70\xb3\x6c\xad\xbc\xac\x73\xb5\x54\xba\x56\x6a\xb4\x18\xbd\xf8\x61\x46\xf1\x96\xed\x6e\x57\xa0\x21\x1d\x4e\xc5\xa7\x5c\x6a\x6b\x55\xf3\x31\x74\xeb\x34\xf3\xb5\x38\x03\x8f\xa0\xb7\x69\x56\xcc\x56\x98\xa8\xcb\x4f\x2b\x2d\xa5\xeb\x5c\x0a\x3b\xd5\xa6\x35\x5a\xd5\x18\xc6\x35\xe4\x4e\xf9\x33\x93\x4a\x10\x3c\x87\x89\x48\x5b\xbd\x7a\x62\x2c\x52\x63\xf6\x52\x11\xb5\xe3\x6c\xb5\xc5\x17\x94\x69\x03\x38\xc8\x19\x80\x96\xb9\xf0\xe6\x8a\x4d\xfb\x89\x32\x2c\xb6\x2a\x6b\xdd\xd8\xe6\xba\xd9\xa4\x1b\x2f\xeb\x92\x2a\x14\x5e\x97\x41\xd1\xc5\x80\x83\x96\xae\x04\xe9\xd7\x21\xb8\x3a\x4c\x42\x3a\x46\x0a\x43\x0f\x95\x19\xc9\x16\x41\x7a\xe9\x02\x0b\xe5\x8b\x28\xca\xa5\x54\x64\x0e\xa5\xa8\x73\x66\x3a\xad\x18\x9d\xf0\xd9\x22\x6f\xad\x87\xa2\x18\xfc\x64\xc4\xce\xd5\xf7\x52\x9f\x2f\xce\xa6\xd9\x12\xe1\xf4\x89\xca\x22\x7f\x23\xe1\x4c\xe6\x73\x22\xec\x2b\xa8\x34\xb5\x0b\x4d\xa7\x03\x84\x1d\xaf\xe8\xb9\xe9\x0b\xd8\xd5\x3a\xb0\x32\x62\x8a\xc6\x64\xa2\x85\xef\x02\x0b\xe9\x6c\xd1\x0a\x3b\xd2\x6e\xae\x36\x57\xbf\xde\x99\xfc\x35\x3c\x76\xa6\xe5\x9d\x39\xa1\xd8\xea\x36\x6f\xcb\xe7\xd3\x52\xbd\xe1\x6c\x8e\x57\x16\x85\x9a\x85\xb2\xa5\xc2\xe9\x4a\x5d\xc4\xb2\xca\xef\xca\x33\x9a\xe6\x39\xfa\x3d\xee\x62\x33\x93\xeb\xe4\x35\x28\x2d\xd0\xce\xda\x98\x82\xe1\xd9\x24\x14\xda\x27\x4a\x85\x15\x4d\xec\x1d\x5a\x14\xc0\x31\x4f\xd7\x6f\xed\xe9\xd6\xdd\xd5\x70\xb6\xba\xc3\xf5\xb4\xbc\x35\xbf\x6f\x96\x7d\xf6\xb8\x99\xb1\x1b\x1d\xdd\x09\xcf\xb2\x2e\x29\x1a\xa5\x95\xbf\x2f\x1e\x6f\x9e\x51\xf1\x1e\xbd\x01\x6e\x2f\xe0\xd4\x98\xb4\x12\x9c\x81\x92\xc1\x88\x54\x76\x97\xc2\x1f\x19\x19\xba\x44\x2c\x9f\x8f\x89\x18\x31\x3e\x81\xcc\x9d\xac\xce\x7c\x58\x08\x3e\xa7\x5d\xb0\x82\x57\xb0\xcd\xbe\x69\xd8\x1a\xaf\x86\x6b\x11\xa6\x4f\x91\x65\x2f\xfb\x46\x53\x0e\x9f\x99\x8e\x9c\x0d\x67\x68\x8e\x17\x1b\x11\x7c\xa5\xb9\xc4\x0a\xa5\xe7\xc6\x84\xb1\xd4\x83\x04\x05\x02\xf9\x30\x40\xe4\x67\xbc\x2c\xc2\x01\x5d\x8e\xd3\xad\xd1\x45\x88\x74\xe7\x05\x3b\x2e\x0b\x4e\x8c\x08\x9b\xae\x39\x2a\xb4\x39\x41\xef\xab\xd8\xb0\xf3\x59\x72\x6b\xde\x27\xfe\x32\x3c\xf6\xa1\xd9\xd2\xe5\x36\x8c\x0f\x43\x30\x22\x82\xe9\x34\x93\xea\x53\xc4\x39\x3b\xa7\xd1\xe6\x69\xff\xfb\xa5\x99\x65\xeb\x56\xc4\xda\x32\xc2\xd8\xad\x1c\xa4\x7b\x63\x45\xf5\xc7\x10\x59\xd9\xa1\xc4\xec\x7a\x1b\x62\xa2\x75\x17\xa3\x56\xf2\xc9\x24\xe3\x58\x9b\x95\x36\x21\xc8\xd4\x26\x40\xe7\x15\xf6\x44\x58\xa1\xd9\x20\xce\xc1\x23\xee\xf4\x9d\x5c\x50\x5b\x5e\x82\xd8\x1a\x09\x20\x7a\xa9\x2d\x57\x54\x98\x9e\x82\x98\x26\x92\xa6\xd4\x35\x43\x33\xfe\x6c\xdc\xcf\x82\x6a\x29\x63\xd4\x4b\xa5\xa7\x44\xb5\x2c\xa0\xca\xd8\xa4\x29\x59\x10\x96\xfa\x07\xb8\xe9\x77\x80\x13\x55\xf4\x9c\x86\x59\xd5\x6c\xe9\x2e\xca\x7f\x77\xab\x7e\xad\xdf\x5a\x6a\xfa\xf2\x5d\xf8\xdf\xf2\x0c\xef\xe2\xd1\x3b\xcf\xce\xeb\xe5\xdd\x9d\xbc\x1f\xe0\x51\xe7\x54\xc0\x68\x22\x08\xf8\x9d\xe6\x3e\xf2\xcb\x52\x22\xa4\xe2\x1c\x6e\xa8\xdb\xd3\x5f\xde\xde\x9f\x23\xa2\x12\xa8\xe0\x32\x62\x89\x7c\x1a\x68\x85\xf6\x9f\x39\x51\xfa\xe3\xba\x7c\xce\x39\x61\x12\x24\x01\x6d\x5b\xc9\xcb\x11\x46\xff\xf7\x34\x7e\xbe\x81\xe5\x83\xbe\x34\x26\xf7\x19\x78\xd7\xe5\xaa\x01\x9b\x42\x82\x44\x54\x90\x3f\xda\x0f\xce\x33\x82\xd9\x59\x55\x22\xfd\x06\x51\x41\xf6\x8f\x9c\x75\x54\x93\xde\x17\x0f\x05\xb3\xa8\xd1\xc2\xe6\x0b\x2c\xa8\xec\x36\xbc\x7b\xa6\x72\xf4\x75\x42\xc4\xd1\x15\xa3\xb1\xa1\x14\x2a\x6a\x0e\x20\x25\x08\x01\x11\xe2\xf9\xc9\xde\xf5\x70\xcb\x07\xd4\x08\x1e\x3a\x19\xb1\x4f\xce\x0f\x56\x7c\x2a\x8b\x36\x34\xf3\x31\xe4\x41\xe6\x60\x33\xc5\xa3\xc0\xb0\x29\x95\xfe\x03\x48\x8f\x91\x79\x66\x1b\xde\x4f\x28\xc3\x99\x9f\xa8\xf9\xa6\x4a\x4a\x08\xcc\x92\x19\x14\xca\xde\x26\x52\x37\x79\x20\x59\x17\xdd\xf1\x7c\x72\x96\x49\xcd\xdf\xc9\x63\xcd\xe9\xfc\x37\x97\x9d\xdf\x61\x83\x8a\xc5\x80\xe6\xe6\x72\x36\x8d\x55\x62\x82\x15\x99\x22\x26\xc1\x06\x02\x16\xe5\x20\xb1\x09\x97\xeb\x5d\xb4\xba\xb5\xad\xfb\xae\x04\xcf\xcc\x13\xda\xc6\x82\xb7\x20\xac\x46\x4c\xe4\x0c\x92\x1c\xbc\x1f\x15\x23\x49\x04\x35\x0e\xcd\x84\x33\xa3\x03\x58\xe7\xc9\x54\x8b\x09\xad\xf9\x41\xfc\x1f\xda\x4a\x0a\xca\x73\xa9\x65\x88\x69\x29\x2b\x6d\x09\x1e\xe3\xc9\x1e\xa0\x85\xa0\x73\x45\x9f\x88\xcf\x4c\x0a\x77\xae\x92\x99\xb7\x89\x72\x2c\x88\xc0\xaa\x6d\xa2\x53\xd5\xdb\xaf\xdc\x08\x95\x07\x36\x23\x13\xf5\x50\xe9\x77\x69\x30\x31\xf4\x88\x2c\xad\xa9\x88\x41\xa7\xb3\x1d\x8c\xd8\xfe\xd4\xff\xc9\xfa\xc5\xf4\x51\x0f\x6e\x7c\xc1\xb9\x32\xfc\x56\xc8\x24\xe4\xa8\x09\xea\x82\x7d\xa9\x49\x8e\xd6\x9b\x0a\xe5\x93\xa0\xb5\xdb\x23\xe3\xcf\xac\x28\x9f\x74\x32\x62\x67\x38\x99\x85\x82\xc5\xfa\xab\xcd\xa9\x5e\x7b\x9e\xa3\x04\xe0\x03\x41\xea\x85\x9d\x40\xa0\x18\x47\xb6\x44\x45\x92\x77\xf4\x5c\x9b\xeb\xcd\xd8\x9d\xee\xec\x9a\x05\xdb\xbc\x46\x45\x16\xd6\x36\xb6\xcd\x22\x7c\xb0\x1f\xdc\xab\xfa\x55\x27\xe8\xb3\xd3\xe4\x20\x1c\xe0\x3d\xd4\x80\x1b\x83\xd6\xb2\x4b\xd7\x52\xa9\x8a\xb0\xbb\x80\x70\xed\xda\x47\xdf\x4c\x60\xdf\xc5\xbb\x82\xca\xd1\x85\xca\x98\xb1\xb0\x3a\xf4\x6f\x7c\xef\x1f\xba\x25\xcd\xb1\xe9\x0f\x90\xe8\x68\x9a\x75\x81\xb7\x8a\xb3\x6c\xf9\xff\x98\xcd\x02\xe8\x96\x3e\x42\xb9\xf5\x06\x04\x3e\x4c\x7d\x7e\xc0\x07\xc7\xb8\xd2\x97\xe2\x84\x66\x19\x40\xac\x4e\xd0\x10\x52\xf5\x4d\x29\x31\xa2\x7c\x10\x87\x4e\x19\x5f\x17\xe7\xae\x61\xa6\x24\x60\xa6\xdb\x7a\x66\x92\xc0\x4d\x3e\xaa\xb0\x23\x8e\xda\x01\x14\x4b\xcb\x96\xd8\x33\xbe\x76\xff\x4a\x5c\xdd\xfe\x32\x0e\xb1\x30\xf9\xf8\x61\xef\xe1\xcf\xca\xe9\x86\xa6\x71\xf5\xd4\x3f\xe6\x58\x60\xa6\x08\x00\x35\x0d\x36\x54\xd8\x80\x9f\xe6\x40\x44\xbe\x50\xdb\x0d\x18\x02\xc7\xfa\xa3\x70\x73\x9d\xd3\x7d\x4a\x9f\x08\x43\x34\x1d\x20\x7a\x42\x4e\x06\xb6\x90\x93\xcc\xc7\xc5\x2f\x67\x58\x22\x3c\x62\x2b\x80\xa2\x13\x34\xcc\x24\xb7\x4f\x10\x96\x64\x50\x1a\x43\xe6\xe3\x10\x16\x08\x9c\x6f\xdd\x44\xb6\x3b\x24\x6c\x65\x31\x3c\xb7\x5f\x04\x0f\x8e\x18\x96\xc6\x2b\x9d\xc1\x49\x2f\x3e\xaf\x2a\xd9\x12\x45\x2a\xf6\x08\xfd\x5f\xb9\x86\xf6\xb6\x49\xa6\xc6\x43\xd3\x06\xc1\x2f\x60\x63\x0a\xa0\xd7\x88\x79\x76\x46\x3f\x60\x95\x11\x2c\x15\xfa\xe3\x9b\x4e\xc1\x19\xb7\xbe\x42\xb8\xda\xd3\x5b\xc0\x11\x5c\x08\xb4\xae\xe2\x14\x64\x06\x23\x0c\x1d\x8c\x3c\x40\x61\xa0\xb7\x59\x71\xf4\x44\x65\x0e\xc5\x46\x02\x78\x8d\x29\x17\x41\x95\x74\x99\x8f\xc6\x4f\x59\x23\x46\x5c\xd1\x21\xeb\xbf\xb4\xd3\xaa\x60\xac\x81\xed\xba\x68\x94\x5d\xa8\x12\xe8\x79\x4e\x7f\x33\x62\x56\xb0\xba\xb8\x4d\x90\x95\x3e\xcc\xb2\x90\x1f\x8d\x82\x93\x12\xa6\x17\x0c\xa5\x52\x4e\x50\xd8\xed\x43\x16\xb1\xc2\xb8\xca\x57\xd1\xcf\x0c\xf1\xc9\x88\x79\x94\x62\x38\x76\xa5\xb2\x53\x65\x2e\xbe\xa0\x0e\x5c\xf1\xfa\x0b\x53\xb3\xa6\x85\x2e\x5c\x5f\xb0\xae\xc1\xbd\xb2\x62\xa2\x37\xa8\xc6\xbb\x7e\x41\x7b\x4d\xb9\xda\xdc\x85\x5b\xf6\x99\x57\x58\xcf\x35\x9b\x1b\xa8\x16\x5b\x6c\x6a\x11\xb4\x7e\x29\x07\x6e\x34\xf5\xf3\x14\x90\x45\xeb\x85\x60\x81\xd4\x71\xa2\x03\xec\x56\xea\x40\xed\x70\xb6\x8a\x00\x3c\x40\x4a\x9c\xdc\xb3\xbf\xac\x4b\x51\x7f\xdd\xcb\x1f\x14\xeb\x77\x4b\xf1\x51\xe8\xd5\x85\xd7\xeb\x7a\xc3\xf4\x1f\x38\x21\x2c\x59\x9a\x37\xb9\x52\x1b\x85\x1e\x07\xca\x5e\x80\xd1\xc7\x60\x9b\x57\x6a\x87\xb6\xfc\xd4\x09\x3a\x83\x7b\xc6\x55\xa3\xc2\x13\xe7\x5f\x08\x7e\x3c\x62\xda\x30\xd1\x57\xbc\x34\x93\x76\xe3\xc7\x2c\x5e\x75\x02\x0c\x84\x7b\x2b\xd7\xcc\x1c\x4f\x3b\x21\x1d\x02\x63\xc2\x21\xc8\x61\x0c\xc8\xa5\x41\x67\xd3\x77\x28\xe5\xc9\x23\x11\x6f\x05\x49\xa9\x7c\x07\xae\xf2\x9a\x6e\xec\x09\x9f\xcf\xb5\xb1\xbd\xb5\xa2\xb1\x69\x21\x43\xf3\x7e\x70\xda\xb8\x7b\x8b\x68\x0d\x61\x02\xd6\x84\x43\x97\x19\xc8\x59\x4a\x26\x38\xcf\xa0\x4e\xb7\x58\x2e\x38\x65\xca\xa1\x24\x92\x12\x21\x9c\xa1\xa1\x75\xb6\x3a\x2c\x8e\xd8\x45\x48\x6d\xc3\x65\xdf\xcd\x88\x24\x2e\x7e\x60\x16\xa5\xb8\xed\xa4\x6c\xc4\xc5\x02\xab\x99\x04\x7c\x5c\x4c\x03\x6b\x73\xc1\xa3\x9a\x42\x78\x01\xe1\x07\xe3\xa4\x28\x1e\xf2\xc0\x2f\xa9\x68\x96\x8d\x18\x23\x24\x95\x08\x52\x87\xbf\xaf\xc4\x61\xea\x47\x07\x08\xa7\x29\xfa\x9f\x3f\x7c\xb8\xf8\xeb\xdd\xd9\xc3\xf9\xe5\xf5\xfd\xdd\xc3\x87\xf3\x8b\xb3\x37\x03\xff\xe1\xd5\xfd\x9d\xff\xd4\x38\x58\x9e\x88\x40\x73\xfc\x08\x16\x1e\x93\x46\xfd\x53\x33\x32\x62\xe1\x4c\x5d\x09\x61\xfd\x8d\x24\x0e\x6a\x62\xd5\x14\x9f\xf8\x60\xf7\xb0\x66\xc3\x5c\x49\xe9\x0e\xb6\xef\x8d\x7f\xa4\x99\x07\x1d\xf3\xf8\x57\x38\x35\x70\x4e\x18\xf4\xb1\xb4\x98\xb5\xc2\xf4\x2d\x18\x8e\xb0\x29\x65\x75\x01\x71\xc2\x9e\xf6\xa9\xc3\xff\x42\x96\xbf\x6a\xeb\xfa\x1a\xd3\xf6\x2d\xa6\xcf\xd8\x13\x15\x9c\xc1\xd2\x8a\xa2\xe0\xbe\xd8\x6b\xd1\xb8\x33\x38\x54\xd2\xe8\xc2\x10\x72\x59\xd4\x82\x2e\xd8\x84\xd6\xc2\xab\xbe\xda\x72\x87\xc6\x4d\x4c\xbe\x28\x81\x6d\x2b\x11\x69\xc5\x0d\x7e\xc2\x34\x03\xc0\x8c\xbb\x68\x0a\x1e\x34\x35\x44\xdf\x21\x92\xe1\x31\x17\x00\xa7\x34\x11\x3e\x37\x84\x25\x18\x54\x25\xf4\x03\xd5\x01\x37\xb8\xd8\x5f\x6d\xe7\xe8\x1e\xba\xe6\xa2\xcd\x4d\xae\x7f\x06\x54\xe0\x0b\x6d\x92\x95\x84\xa8\xbd\x66\x27\x04\x9b\xe2\x64\x12\x24\x8d\xcc\x17\x7a\x1d\x16\x0c\x92\x65\x51\x1e\xbc\x3e\x03\xf2\xc4\x3a\xc7\x8b\x5f\x72\x86\x7e\xf9\x0f\x89\xc6\xb9\x1a\xb1\x78\x0c\xce\xa0\x94\xf3\x4f\x58\x25\xb3\x2a\xc3\xae\xfe\xaa\xbd\xde\xb2\x1c\xad\x5f\xe6\xc3\x22\x1e\x29\x1a\x8d\x32\x45\xa6\xe5\x54\xa5\x2e\xf9\xb0\x97\x00\xea\x81\x26\x48\x50\xa7\x96\x23\xdb\xce\xc6\x62\xb9\x17\x3c\xfd\x5e\xa2\xf3\x6b\x2d\x73\xb5\x8e\x0d\xe1\x68\x2a\x8d\x27\x0d\xa2\x53\x80\xd0\x33\x4f\x1b\x84\xd0\x00\xfd\x88\x46\xf9\x8f\x3f\xfe\x39\x41\x5f\xdc\x1f\xff\xfe\x97\xbf\xfc\xf9\xdf\x37\x29\xbb\x0c\xe3\x16\x34\xb2\x15\x0f\xca\x42\x38\xdc\x81\xb3\x52\x91\xb5\xee\x91\x60\xa8\xd9\x65\xba\x53\x76\x4b\xfb\xa9\x28\x62\x65\xd5\x4a\xe7\x8d\x10\xc4\x44\xeb\xa1\x12\x5c\x1d\x3c\x89\x48\xd9\x51\xd5\xaa\xac\x06\x67\xc7\x81\xb4\xe2\xe7\x4e\xd5\x92\x42\xa0\x34\x33\x73\xb5\xa3\x38\x63\x21\x40\x57\x45\xb4\x8f\x2b\xd6\x6d\xc5\xfe\xe9\x66\xca\xa6\x59\x7b\x02\x64\x2f\x6a\x32\xa3\xa9\xe0\xf9\xc2\x43\x10\x1d\x18\xc3\x6c\xc3\x88\x7d\xd2\xf7\xfc\x39\x9b\xf0\x77\x96\x61\x2f\x28\x7b\x84\xbf\x6a\x1b\x55\x6f\xbb\x47\xbe\x36\x5c\xd8\xce\xdc\xb5\x2e\x87\x35\x1c\xdb\x02\xa1\x7a\xd6\x52\xe1\xe4\xd1\xa4\x89\x35\xd5\x16\xec\x5a\x1d\xb1\x80\x30\xe4\x5a\x52\x5a\xd2\x41\x87\x2a\x19\xa6\xc2\x3f\x51\x8c\x30\xba\xbf\x39\xdf\x3c\xc9\x99\x44\x3c\xe9\xd3\x18\xea\x32\x6a\x4a\xa9\x98\x5b\x65\xf0\xed\xb8\xfb\x7a\x39\x1f\xc5\xcd\x32\xce\x1b\xf0\x3c\xe6\x7b\x8c\x58\x11\xa0\x2d\x43\xf3\x08\xd1\xc4\x16\xa6\xce\x66\xda\xd0\x4f\x6e\xfb\x1e\x3b\x61\x51\x7d\xd7\x68\xc7\x96\x24\x37\x73\x1b\x93\x8c\xb3\x69\xc3\x1c\xb6\x6e\xa6\x13\x4e\xc1\xf6\x10\xa9\x9b\xc1\x88\x0d\xdd\x4f\x3c\x80\x81\x49\x6a\x2a\x3f\x83\x0b\x56\xe6\x63\x13\xa8\x81\x06\x6d\x41\x95\x38\xbb\xb8\x9a\x45\x6c\xd9\xaa\xea\x5e\x12\xe1\xed\x1c\x0b\xbd\x74\x2a\x99\x5b\x47\xcd\x9b\x6d\xd1\x80\x2d\x5e\x7e\xeb\x96\x58\xaa\x3f\x50\xf5\xe2\x75\x47\xf3\xcc\x83\xd3\xec\x40\x61\xc9\x03\xe3\xde\xce\x96\x85\x33\x55\x53\xdc\x18\x7d\xa5\x97\x45\x87\x75\x62\x40\x18\xdb\xa9\x3c\xc6\x57\xb4\x73\x37\xa6\x9a\x11\x06\x17\x7a\xfb\x91\x4b\x2d\xdf\xdb\xea\x2b\xb8\x40\x6b\x38\x1b\x33\xd0\x40\x73\x46\x6d\x12\x6d\xd1\xb2\xc8\x79\x13\x5c\x3d\xd6\xe2\x79\x6d\xcf\x60\x45\xe5\x84\xae\x64\xbd\x96\xa1\x2f\xdb\x50\xbd\x53\x5d\x57\xb7\xcd\x4d\xac\xea\xa3\x22\x27\xe8\x03\x15\x52\x05\x4b\xd2\xfa\xa5\x45\xae\xd4\x55\x8a\x53\x33\x52\x9b\x74\xb1\x0b\x23\xc4\xad\xa0\xad\x65\xe6\x23\x60\x27\x68\x58\xd4\x2f\x30\xd8\x1d\xd3\x34\x74\xcd\x8a\x48\x26\xc9\x26\xcc\xd7\x4a\xb5\x04\x85\x1d\x18\x08\x5a\x72\x61\xa9\x3f\x2f\x12\xc0\xfc\x34\x9f\x01\x64\x82\x1f\x49\x5d\x7d\xd9\xae\xb5\x89\xd7\x96\x24\x1e\x7a\xcd\x91\x1b\xe5\x71\x93\x09\xb6\x3f\x76\x05\x5c\x8a\x4e\xde\x6a\x92\xdb\x62\xff\x26\xb6\x35\x01\x3e\xb4\x80\xab\xe7\x99\xed\xd7\x69\x99\xd2\xed\x9f\x34\x2d\x48\x72\xe2\x62\x58\x10\x1a\xf4\x04\x3e\x19\xb1\xf3\x09\x62\x3c\xc4\x63\xc1\xac\xfd\x21\x35\xbe\x2f\xbf\xdf\xc8\xde\x0d\x86\x0c\x60\x89\xbb\xa1\x56\x4f\x73\xe4\x35\xd8\xe2\x38\x6f\xd7\xc6\xc4\x9f\xdc\x9a\x6b\xac\x6b\xb6\x5b\xed\x59\xea\x14\x24\x9d\x12\x46\x04\x4d\x20\x93\xc2\x5c\xbb\x0b\x4c\xab\x6c\x3f\x9b\x49\x7e\xa8\x39\x41\xbb\x4e\x06\xb2\xcb\xdd\x30\x11\x28\x33\x4f\x1b\x30\x7b\x96\xf1\x67\x97\x00\xb4\x8b\xb4\x99\x22\xa7\xbf\x5d\xca\x8c\x61\x1e\x69\xaa\x18\x9a\x79\x75\xe3\x91\x88\xc4\xb6\x5b\x8e\x71\xe3\x48\xc8\x5e\x32\x88\x3b\x3e\xf1\x59\x4e\xc6\x09\x64\x12\x22\xb5\x51\xb8\xf2\xc7\x4f\x19\x1f\xcb\x37\x61\xef\x05\xfb\x8e\x02\x78\x57\xcf\x82\xbb\x49\xaa\x71\xa4\xd8\xe7\x7d\xe8\xce\x4c\x78\x1f\x76\x21\x7c\x35\x53\x15\x31\x30\x83\x3b\xc0\x82\xe7\xcc\x25\x25\x70\x46\xf8\x04\x80\x88\x50\x15\xda\x59\x85\x80\x57\x66\x5c\x05\x18\x03\x41\x16\x26\xc2\x05\x1a\x6a\x3d\xb9\xb7\x4c\xcc\x59\x47\xe7\x7d\x24\xe6\x6c\x4b\x77\x7b\x70\xbe\x12\xc1\xb7\x4d\xb7\x30\x47\xa9\x83\x98\x85\xdf\xaf\x35\xc6\xbd\x1c\x00\xeb\x3b\x2c\xb1\x63\x20\xb5\xe0\xd2\x25\xc7\x8a\x1f\x03\x36\x0b\x10\x3f\x26\x55\xae\xae\x3a\x53\x32\x23\xf3\x0e\xd9\x48\xb7\xf0\xfb\x16\xf3\x34\xfd\xe4\xbe\x04\x13\xb5\x77\xaf\x34\x49\xc2\xd6\x57\x45\x19\x14\x2d\x07\xfb\x6c\xed\xcd\xd1\xd1\xc5\x11\x6e\x65\xb3\xab\xca\xa6\x81\x94\xd2\x98\x6c\xf2\xe1\x04\x8c\x1e\x37\x87\x13\x74\xc5\xb2\x25\x9a\xf1\x39\xd7\xd7\x36\xcf\x65\xf0\xa5\xc1\xf5\xc0\x65\x53\xab\x63\xcc\xf1\xc2\x60\xb1\xbf\xde\x6a\xf4\xd1\xd2\x5f\x19\xdd\x31\xfc\xd1\xfa\x5c\xce\x60\x25\xe3\x38\x17\x6e\xcd\xfc\x7d\x12\x53\x33\xdf\x40\xe6\xcd\x9c\x4e\x67\x0a\xcd\xf0\x13\x89\xda\x49\x01\xeb\xcf\x7d\xe5\x3a\x57\xd7\xde\xe4\x7e\x01\x43\xb1\xaa\xea\x93\xb5\x7e\xe8\x2e\xa9\x78\x1d\xea\xfb\x07\x50\x5d\x0f\x72\x03\x22\x7b\xc0\xab\x03\x92\xf9\x07\x9f\x8a\x3a\x21\xcb\x05\x19\xa0\x71\x0e\xdf\x5f\x5e\xdd\x85\xbe\x21\xca\xe0\xeb\xe3\x64\x46\x92\x47\xbd\x2f\xc8\x08\x45\x43\x2e\x57\xf0\x65\xbc\x1c\xb1\xa2\x0a\x81\xe2\xce\xd1\xb1\xf4\x69\x1e\x3e\xd5\x89\x0b\x94\xda\xfe\xe4\xe4\x8b\x22\x2c\x85\x97\x54\x34\x59\xd1\xcc\xb2\x99\xd9\x02\x65\x12\xac\x14\x70\x7a\x18\xfc\xcb\x2d\xc2\x57\x05\x03\xd0\xf3\x04\x27\x95\x6a\xc7\xd6\x89\x37\xdb\x04\x3a\xea\x0a\x7e\x04\xb5\xf0\xcc\x8e\x86\xae\x52\x8f\xb9\x61\x25\xf0\xcc\xc8\x16\xa0\x1a\x1d\x81\x07\x65\xe4\xca\x66\xe9\x7f\x9b\xb2\x3b\x44\x3c\x91\x74\xc4\x62\x54\x93\xbd\xca\x8a\x5d\x46\x45\x22\x78\x9d\xe8\xec\x9e\x6d\xaa\xe9\xec\x93\x21\x1b\x63\x30\x10\xc9\x2d\x20\xdc\xbe\x92\x5a\x43\x62\x7a\x75\xe1\xad\x3d\x64\x50\xb7\x76\x7e\x14\x99\xe7\x36\x6d\xd4\xd6\x85\x20\x26\xa7\x31\x5b\x9a\x66\x8c\x96\x31\x3d\x66\xc3\x00\x3a\x3d\x48\xd5\x02\x39\x0a\x78\x82\xdd\xf3\xaa\x31\x46\xcc\x85\x16\x27\x79\x96\x19\x90\x7e\x6d\xc7\x14\x83\xe1\x72\xa1\xba\xaf\x07\x94\xf1\x76\x2d\x0a\x52\xf5\x83\xfe\x22\x8b\x54\xcb\x0e\x96\x2c\x8b\x32\x80\xc0\xbc\x84\x49\xd3\x88\xdc\xa5\xe9\x02\x22\x19\x9a\x95\xdb\x66\xb1\x80\x39\x12\x39\xb3\x80\x30\x9c\x65\x88\x2a\x39\x62\x1e\xbf\x66\xca\xe7\xc0\x55\xe0\x5a\xd4\xa6\x56\x17\x84\x57\xc0\xb0\xf0\x35\x66\x70\x41\xd0\x84\xaa\x68\x4a\xe0\xa9\x5c\x86\xb9\x6d\x8b\x05\xc1\x02\xd4\x45\x57\x2f\x36\xd4\x06\xcb\xdb\x60\x1b\x73\x41\x8d\x9d\xfa\xc2\xcd\xbb\xe0\x5e\x53\x63\xa9\xf3\xa6\x9c\xa0\xa1\x59\x9d\x56\x05\x5d\xa1\x19\x33\x5b\xd7\x60\xd9\xc4\x13\xb4\xbe\xa5\xa4\xaf\x8e\xe7\x35\xea\x05\x16\x8a\x26\x79\x86\x45\xb6\xd4\xd2\x65\x92\x67\x88\x4e\x82\x9a\x39\xb0\x09\x06\xbe\x04\x35\x30\x39\xdc\x11\x0e\x9e\x2c\x31\xb4\x84\xb4\x0c\xee\x0c\xcf\x2c\x70\x22\x9a\x94\x2c\xe3\x9d\xd2\x63\xbd\x39\x41\xa7\xe5\x0a\x49\x70\x2c\x02\xd8\x33\x95\x46\x02\xfa\xf9\xda\xec\x4e\x28\x0e\x06\x95\x96\xe8\x44\x2b\xbb\xdf\x07\x07\xaf\xae\x24\x1b\x96\x8f\x1d\x3d\x94\x77\x58\x3e\xae\xf5\x52\x9e\x07\x57\x65\x21\x00\xef\xa0\xd2\x57\xe4\xb7\xf4\x27\xa2\x66\x82\xee\x72\xe8\x38\xc9\x10\x32\xbe\xc1\x44\x3d\x24\xbf\x62\xb2\xf3\x86\x12\x3d\xb0\x8f\x1d\xa7\x1a\xa4\xcf\x76\x9f\x68\xc0\x39\xa1\x3f\xba\x96\xb2\xeb\x8d\xcb\xcf\x51\x22\x2b\xd2\xf3\xd2\x8a\x3d\x31\x11\x8c\x52\x95\x46\x98\x83\xcd\x78\x85\xa4\x43\x7f\xd8\xc6\x04\x65\x94\x3d\x9a\x53\x81\x61\xe7\x07\x08\x17\xa3\xc3\xe1\x33\xb3\x37\xcc\x5c\xa3\xd9\x78\x5c\xc1\x6e\x42\xc2\xed\xa0\x1d\x95\x9b\xeb\xd7\x5d\xf1\xfc\x7a\x46\xac\x5a\x47\xfb\x6d\x69\x0c\xdb\x79\x25\xd6\xc5\xea\xcc\x05\x13\x37\x01\x59\xae\xa3\xef\x75\xa9\xcb\x5f\x9d\x16\x78\x44\x58\x3e\x3f\x7a\x87\xfe\x4f\x41\x99\xfb\xcb\xd3\xb3\x0f\xe7\x97\x67\xa7\x01\x03\x1f\xfd\xef\xfb\xb3\xfb\xf8\x93\x9b\xfb\xcb\xcb\xf3\xcb\x8f\xe1\x47\xb7\xf7\xef\xdf\x9f\x9d\x9d\xc6\xbf\xfb\x30\x3c\xbf\x28\xfd\x4e\x7f\x14\xff\x68\xf8\xd3\xd5\xcd\x5d\xfc\xd1\xed\x2f\xe7\xd7\xd7\xf1\x47\x77\xe7\x9f\xce\x4e\x1f\xae\xee\xef\x1c\xad\xff\x16\x50\x18\x60\xad\x10\xdd\xf5\xf3\xaf\x24\xd1\x2e\x2a\x60\x74\x8d\x3f\x07\x90\xf6\x89\xa0\x84\xa5\xd9\xd2\xd4\x12\x73\x76\x47\x29\x48\x19\x8a\x74\x3a\x27\x3c\xdf\x06\x33\xa0\x4d\x5f\xfe\xa4\x4d\xea\x0c\xd9\xd1\x56\x5a\x90\x96\xdf\x2a\x88\x12\xab\x6e\xb0\x46\x94\x85\x12\xcb\x5b\x25\xb0\x22\xd3\x65\x4b\xa0\x9a\x7d\x09\x5a\x90\xee\x7d\x57\x9d\xe1\x65\x70\x96\xb4\x52\x9a\x5e\x56\xcb\x21\x97\xf0\xbd\x65\x56\x25\x38\x8e\xdb\x13\xe8\xda\x3f\x52\xcd\x19\xef\x5d\x91\x08\x6d\xd1\x2a\xcc\x6a\x00\xf4\x1d\x0b\xd9\x15\x59\xad\xa2\x28\x27\x69\x2f\x12\xa7\xe4\x17\xa8\xdc\x4d\x0c\x5f\x9b\xd8\xce\xd2\xa2\xbb\x82\x4d\x78\x0f\xaa\x5a\x54\x6c\x42\xa9\x54\xd8\xde\x2f\x81\x46\x96\xb4\xd8\x3e\xd0\xcc\x4c\x66\xa1\xed\x19\x62\x6e\x4d\x48\xd7\xad\x8d\xa4\xed\xb8\xb2\xa0\xd7\x0c\x8b\xb2\x68\xbe\xd0\x9e\x13\x17\xdd\xf5\x80\x52\x51\xb1\xa0\xe0\x9a\xa9\xf5\x0f\x89\xa4\x30\x6c\xe1\x2a\xb3\x17\xbf\x39\xa6\x4f\x24\x45\xc7\x61\x21\xc7\xf4\x18\xc0\x5f\x23\x56\x67\x00\x56\x14\x41\x0c\x39\xe0\xda\xd5\xb8\xd8\x66\xef\x2b\xa8\x5f\x7f\x04\x1d\xb1\xdb\x61\x1e\x90\xfb\xf9\x09\xaa\xf7\x34\xda\x7d\x19\x63\xe3\xe1\x81\xb3\xe5\x8b\x77\xd4\x21\xb0\xfc\x55\xd5\xcd\x21\xda\xca\x19\x8a\x7d\x82\x87\x71\x83\x82\x4a\x31\xc3\xe0\x1e\x33\x35\x2b\xa3\x89\x07\x25\x3b\xeb\x6c\x0a\x9f\xe8\x5d\xc3\xe5\x36\x77\xaf\xb6\x38\x6a\xd5\xd7\x75\x06\xde\xc0\x04\xec\x7d\x15\xe6\x30\x3b\xd6\x67\xfa\x77\x63\x7c\xbf\x1b\x3e\xa7\x1a\x3b\xb9\x07\x02\x2b\xc3\xb9\x56\xb9\x17\x19\x36\x38\x9f\x19\x96\x86\xa5\x9d\x0f\x11\x8f\x69\x46\x15\xb4\x65\x33\xd6\x77\x89\xc2\x5c\xa0\x39\x16\x8f\xda\xe0\x24\xd9\x44\x8f\x5e\x8a\xbd\x57\x32\xfd\x96\x71\xae\xa2\x40\xcc\x4b\x46\xba\x8a\x23\xdb\xd6\x74\x2f\xd8\xd2\x46\xb9\x8a\xed\x30\x25\x8c\x15\x0f\x8a\xdd\x74\xdb\x59\x3b\xe2\x75\xf9\xf1\x88\xde\x15\x17\xf5\x06\xdd\x39\x0d\x36\xbf\x83\x98\x2f\x23\xf7\x2b\x4f\xd6\x24\xe3\xb8\xa6\x5c\x8d\x1b\xdb\x00\xf1\xeb\xc6\x4e\x79\xae\xc5\x59\xe5\xe0\x66\x56\xcd\xa3\x37\xd9\x47\xee\xdc\x6e\x77\xea\xab\x05\x20\x56\x04\x3a\xe0\x6c\x44\xd0\xa2\x81\x4e\xf5\xe0\xed\x7a\x56\x37\x30\x5a\x91\xb5\xe2\x98\x07\xdd\x2d\x17\xa4\xa2\x3c\x5a\x04\x2d\xde\xd0\xd6\xba\xbd\x3e\x7b\x7f\xfe\xe1\xbc\x64\xe8\x0c\x6f\x7f\x09\xff\xfd\xf9\xea\xe6\x97\x0f\x17\x57\x9f\xc3\xcf\x2e\x86\xf7\x97\xef\x7f\x7e\xb8\xbe\x18\x5e\xae\x31\x87\x56\x5f\xb1\xea\x8d\x28\x00\xf6\x05\xcc\x59\xdf\x0d\x16\x99\x0b\x96\x68\xc5\xf9\xba\xa9\x48\x92\xdb\xb4\x35\xcb\xde\x3c\x8e\x7e\x92\xee\x8f\x33\xa6\xc4\xb2\x4b\xf2\x24\x4a\x89\x84\x7b\xc8\x3a\x17\xe3\xc4\x3d\x22\xc1\x55\xeb\x46\xbf\x04\xc1\xe6\x9c\xdf\x36\x82\x62\xe9\xa8\x2f\x96\x8c\xd6\xb6\x54\xc8\x34\xc3\x1d\x2a\x1d\x42\x88\x1e\x50\x61\xcc\x73\x96\xba\x0a\x65\x73\xca\xde\xce\xf1\x97\x37\x6e\xa5\xa5\xbe\xe4\xa6\x2c\x7c\xa6\xb5\x8e\x25\x12\x39\x6b\x26\xd7\x88\x35\xd0\x6b\xfd\xcd\x60\x7a\x9a\xd3\xff\x06\x15\xa7\xd0\x47\x8d\x43\xf7\x89\x2c\xab\xf6\x6f\x25\x21\xc9\x38\x8d\xad\x0e\x0c\x83\x2c\x04\x81\x82\x9c\xde\x5d\x9c\x99\x30\x80\xff\x37\x84\x23\xa3\x3c\xcd\xaa\x3b\x29\x36\x95\xb7\x3a\x37\x95\x46\xfa\x1e\x52\xca\xec\x9b\xf4\xa6\x19\x93\xdd\xa5\x6f\xda\xf0\x6b\x8a\x9e\x67\xc4\xec\xd6\x3f\xf8\x18\x4d\x20\x5a\x6d\xcb\xb0\x08\x92\x80\xf7\x41\xef\x85\x4b\xd3\x01\xd4\xeb\x8a\x1f\xc0\xf1\x40\x46\x24\xf8\xc2\xa0\xa4\x21\xf9\x67\x6e\xa1\x6d\x7f\xfc\xb1\x5b\xea\x93\x12\x4b\x24\x2d\x99\xc3\x68\xb9\x05\x8b\x58\x97\x1a\xcc\x2b\x67\xb4\xaa\x74\xda\x8d\x29\xe6\xf7\xb2\x35\x53\x4b\x2f\xb5\xff\x5c\x0b\x28\xb8\x73\x59\x2a\xe6\xf7\x7b\x4b\x5f\xf8\xb5\x94\xb5\x60\x5f\x07\x71\x42\x3b\xba\x0c\x40\xf1\xda\x32\x7a\xc6\x22\x35\x8e\x01\x45\xc1\x9e\xfa\x99\x3f\x93\x27\x22\x06\x28\x21\x42\x61\x8b\x26\xd6\x67\x2d\xcb\xe0\x40\xd9\x71\x46\x0c\x42\xe7\x06\x9a\xcd\xa0\x84\x8d\xa2\xd3\x99\x56\x1e\xad\x11\x6a\xcb\x5e\x4a\xa2\x00\x09\x48\xbe\x2c\x48\x62\x30\x13\x75\x81\xe2\x49\x86\x9f\x56\xe1\xd1\x9b\x20\x5f\x83\xca\x9e\xae\xfd\x8c\x4d\x29\x69\x74\x4a\xb9\x02\x91\x46\x6a\x2e\x96\x6a\xc6\xd9\x00\x4d\x79\x86\xd9\xf4\xe4\xe4\x04\x11\x95\x9c\xbc\xe9\xc4\xe8\x76\xc0\xe0\x75\x45\xc0\x2b\xe3\x92\x64\x4b\x67\xe1\x15\xc0\x04\x4d\x65\x00\x42\x48\x6a\xcc\x9b\x0a\xee\xbf\x2d\x03\x68\x5f\xd6\x4d\x56\xad\x95\x76\x46\xe2\xd4\x8c\x53\xee\x17\xb2\x6e\x24\xf3\xfb\x6a\x4d\xbb\x03\xb2\xcc\x35\x53\x2f\x10\x66\x35\x09\x4e\x9c\x75\x85\x4d\xfd\xca\xeb\xaa\xbd\x6c\x94\x11\x50\x39\x92\xc5\x6f\x6f\x04\x24\x5a\xe5\xe8\x0a\x8e\xf3\x98\xbb\xad\xb2\x8f\xb2\x7c\xbe\xbf\x7e\xf8\xc5\x24\xcd\x5f\xef\xe1\x75\xed\xeb\x03\xf8\xa2\x36\xd0\xb7\x95\x68\xc9\x08\xf3\x35\x7e\x0f\xc3\x4c\x20\x2d\x05\x95\x90\x07\xb1\x89\x5b\xdc\x0f\x63\x86\x06\xf7\xac\xb6\x61\x4c\x99\x31\xdb\xd0\x05\x20\x56\xbe\x2f\x8b\x79\x44\x1a\x55\x07\x7c\xba\xf5\x92\xa1\xc0\x70\x6e\x64\xf5\x5c\x5e\x5d\x9e\x85\xa6\xcc\xf9\xe5\xdd\xd9\xc7\xb3\x9b\x28\x44\x74\x71\x35\xbc\x8b\xc2\x41\x77\x37\xa5\x28\xd2\x4f\x57\x57\x17\x67\xc3\xcb\xf0\xa3\xd3\xe1\xdd\xd9\xdd\xf9\xa7\x68\xf0\xd3\xfb\x9b\xe1\xdd\xf9\x55\xf4\xbb\x9f\xce\x2f\x87\x37\x7f\x0d\x3f\x39\xbb\xb9\xb9\xba\x29\xbd\xef\xfe\x7d\x73\xa0\x29\x5a\x46\xf5\x4e\x14\xca\x72\x00\x67\xad\x52\x0a\xef\xb0\x7c\xdc\x71\x70\x14\xc0\x00\x1b\x76\x4c\xad\x11\x4a\x29\x79\xd8\x2c\x6e\x5a\x17\xfb\xad\x7c\x8f\xd6\x07\x97\x0f\x58\x29\x32\x5f\x6c\x57\x30\xa1\xfd\xc1\xe9\x16\x92\x05\x93\xa6\x45\x48\x36\xda\xd5\xc3\x09\xc9\x56\x44\x5b\x6d\x48\xb6\x89\xdd\x1b\xe2\xaa\x7a\x9d\x17\x7c\xab\x0e\x4d\x5d\x7a\x3b\x84\x3c\xb9\x3e\x12\x5b\xf9\x9c\x05\xce\x3f\x54\x77\x0b\xa8\x66\x64\xbb\xca\x4f\xe6\x51\xd3\x2c\xa0\x26\x68\xab\xd6\xb5\xd7\x6f\xe0\x4c\xef\x7f\xba\xe0\xd3\x6a\x90\xaa\xef\xb0\x47\x65\x90\xa6\x0e\xde\x6c\x3e\x45\x92\xb2\xc7\x11\xfb\xac\x0d\x32\x9e\x0b\xf3\x91\xe2\x02\xf0\xce\x93\x2c\x97\x33\x02\x65\x98\x06\xe8\x99\xa0\x39\x5e\x1a\xaf\x76\x5c\xa7\x16\x8a\x6d\x66\xf4\x91\xc0\xd3\x19\x65\x9a\xdb\x17\xd4\x69\x40\xe5\xad\xdf\x85\x81\x94\x52\xe9\xed\xc4\x3d\x86\x1a\x0a\x4f\xd7\xf3\x8c\x00\xac\x34\xa8\x72\xe5\x0a\x64\x1a\xc9\x03\x29\x4c\x9c\x3f\xe6\x0b\xdb\xde\x0c\xcb\xc7\xef\x1d\x48\x0b\xc8\xfd\xc4\x69\x8a\xd2\x7c\x91\x05\xdd\x05\x9f\xb9\xa8\x0d\xaa\x1b\x4d\xbd\x43\x50\xbd\x64\x7f\x36\x2d\xac\xc2\x0c\x08\xac\x8e\x86\x50\xff\x9e\x01\x06\x41\xed\x8b\x5c\x12\x71\xac\x04\x9d\x4e\x41\xef\x71\x4e\x85\x03\x45\x20\x0c\x56\x79\x73\xf9\xb0\xbd\xfd\x1c\xba\x5a\x33\x53\x19\xd4\x57\x02\xd0\x3c\xb5\x58\x64\x4b\x87\x0b\x34\x04\x74\xc7\x7e\x91\x0b\x53\xd0\x67\x82\xfc\x84\x6a\x43\x8c\x0b\x41\x12\xe8\x53\x6f\xca\x89\x6c\x5f\xe6\xe4\x7c\xa2\x35\x19\xdb\x23\xb5\x28\xc8\x52\xd4\xc2\x30\x9b\x0d\x49\x0a\xf6\xdd\x0e\xb5\x6f\x12\x66\x99\x69\x8c\xf7\xcc\x5c\xcb\x40\x2c\x8d\x69\x0f\x0d\xa4\x97\x45\x3f\x41\x68\x4c\x06\xe9\xb6\xbe\xd7\x9c\x4d\x00\xb4\x3e\x3a\x53\xb1\x6e\x2d\x62\xc4\xcb\x51\xc0\x29\xc6\x9d\x85\xca\x12\x6c\x5b\xd4\xbd\x0f\xaf\x6f\xaa\x70\x35\x9b\x0c\xd3\x8c\x8f\x71\x96\x2d\x2b\xf0\xf8\xe1\xa5\xd0\xcd\x3f\xe6\xfa\x1f\xc5\x57\x8a\x03\xce\x40\x24\x96\x37\xe4\x39\x47\x55\xfa\x77\x9a\xb0\xb0\x3d\xc1\x72\xc5\x4d\xae\x31\x38\xfc\xf4\xe2\xce\x4b\x55\xe4\x4f\x0c\x7a\xf5\x3c\xad\x2c\x93\x51\x30\xb4\xa3\x7c\x9d\xf0\xac\x30\xd1\x3b\xe5\x5b\x2c\x04\x71\xce\x99\x25\x51\xde\x27\x93\x39\x74\xed\x72\x11\x17\x0e\x0f\x9d\xd2\xce\xed\xe4\xdc\xdd\x04\xe0\xdf\x41\x69\x52\xce\x08\x53\xa6\x40\x23\xe3\x23\x66\x07\x77\xd9\x5b\xbe\x00\x8a\xf5\xb3\x1b\xc2\x0c\xac\x8a\x0b\x87\x56\x10\xc9\xb3\x27\xdb\xb3\xd3\xd3\x44\x71\x40\x57\xeb\x09\xbe\xd7\xd2\x56\xeb\x16\xda\xc2\xf4\xa5\x25\x67\x64\xc4\x4a\x29\x4c\x82\x4c\xa9\x54\x20\xf7\x1d\xc7\x86\xcf\xef\x2c\xad\x23\x52\x47\x9a\x48\x5f\x9b\xd6\xd1\x70\x0f\xf8\x50\x42\x87\xf9\x2c\x17\x24\x3d\xf7\xcf\x35\x33\x43\x64\x99\xa7\x41\xe4\x22\x3a\xe4\x86\x07\x8c\x3c\x95\x26\x37\x46\xfa\x86\x9f\x7e\x93\x7c\x49\x1d\x5f\x53\x5b\x6f\xd1\x14\xbb\xba\xea\xd2\x17\xd5\x86\x60\x6a\xe4\x51\x2d\xf5\xc0\xf1\xaa\x4e\xc2\xa5\x32\xe1\x1b\x78\x64\x82\x69\x96\x8b\xda\x1b\xdc\xb0\xe5\xce\x93\xce\xde\xc3\xb0\xa8\x6a\xd7\xbc\xdb\x33\x38\x46\xde\xe5\xe9\x7b\xeb\x64\xf9\xd4\x34\x87\x0f\xc5\x41\x5d\x46\xe6\x6a\xbd\xdd\x35\x1b\x5e\x94\xe8\x6d\x2f\x8b\x87\xe6\xb0\x97\x3a\x59\x57\xd7\xef\xb1\x3a\x55\x30\xf7\x11\xbb\x83\xab\xd4\xe4\x54\xf9\x63\x06\xf5\x95\x4c\xb9\x0c\x28\x36\x5c\xb5\xde\x48\x9e\xc7\x9c\xba\x15\x5e\xa2\x2a\xfb\x69\x3d\x2e\xeb\x13\x5e\x34\x25\xa6\x6c\x3d\xe2\xba\x6d\xf0\xce\xb3\xf2\x31\x2c\x57\xaf\xad\xa0\x9e\xc7\x96\xbd\x48\x8c\xa8\x4b\x9a\xac\x87\x18\xda\x04\xf3\x95\x1c\xc7\x48\x6f\x0c\x1f\xed\x8e\x32\x2d\x82\x23\xb6\x61\x9e\x19\x70\x6c\x70\x81\x21\x94\x71\x8b\x1c\x4b\xbf\x31\xa5\x86\xc6\x55\xdb\xb1\x25\xcc\xaa\x40\xc6\xbe\x20\xca\xea\xd7\x15\x12\x75\x05\x59\x95\xda\xc4\x2b\x1e\xb4\x93\x6a\xa5\x31\x7b\x70\xd5\xaf\x31\x34\x38\x22\x31\xa7\xad\x30\xd4\xab\xb5\xd7\x40\x69\x49\x09\xe3\x8a\x20\x8c\x18\xcd\xde\xb2\x3c\xcb\xde\x5e\x42\x37\x0f\x29\xe9\xd4\x14\x0b\x06\x87\x46\xd4\x7d\x19\xa0\xa9\x01\xd4\x34\x38\x02\x70\x45\xea\x29\x99\x5e\xe6\x4a\x4b\x4c\xbd\x05\xd9\x72\xc4\xf4\x13\x46\xc5\xf2\xad\x34\x5d\x4b\x3e\x78\x9b\xcb\x6a\xb1\xef\xd2\xa6\x2b\x5b\x86\x83\x57\x30\x58\x53\x22\xc8\x56\x11\xb3\xbe\x42\xe0\xc1\x54\x08\xe4\xc2\x39\x86\x3a\xd4\x0a\xac\x3f\x54\x1b\x17\xeb\xf3\x8a\x98\xf7\x38\xb7\xe0\xc7\xaf\xe9\x6d\xde\x67\x5a\xd0\xd6\x39\x40\x8e\x52\x5d\x9c\x96\x25\xee\x70\x8f\x7a\x46\xd0\x5b\x26\x82\xd4\xf7\x11\xbb\xe3\xde\x42\xb3\xec\x3f\xc9\xb5\x6a\xd7\x20\x4a\xb6\xf5\x41\x18\x24\xf3\x22\xc3\xec\xc1\xdc\x2d\x5f\xc1\x0b\x11\xa0\xa9\xeb\xea\xb0\x04\x9d\xc1\x76\x33\x4f\x7f\xc0\x6e\xa2\x1c\x87\xb0\x55\xd0\xa0\x5c\xab\xd1\x5d\x08\xbe\x67\xb2\xb5\x85\x6c\xd5\xdc\x2f\x55\xe1\xea\xf5\x9e\x14\x5c\xb2\x9b\x7c\xd9\xe8\x35\xae\x94\x95\x5e\x7e\x07\xe6\x4e\x69\xb3\xf3\x9e\xf7\x77\x65\xc9\xaf\x9c\xd3\x8d\xac\xf9\x35\xd3\xda\xaf\x45\x5f\xab\xb9\xae\x5a\xf6\x9f\xe3\x96\x33\x09\xf4\x70\x4b\xb2\x3c\x25\x48\x72\x7d\x9d\x3a\xc5\xba\x1a\x2d\x5f\x8a\xd2\xee\x35\x79\x3f\xce\x55\x6c\x0d\x77\x30\xe5\x3b\xd0\x39\x43\x4e\x41\x1e\xa0\xd1\x91\xe1\x2c\x39\x3a\x8a\xfb\xf3\xba\xda\x20\x71\xd9\xf5\xb2\xdf\xcb\x78\x8c\x83\xae\x61\x2c\xb0\xce\xca\x74\xa9\x31\x22\xbf\x66\x51\x8e\x00\x0b\x62\x82\x4a\x63\x33\x80\xd5\x09\x8c\xaa\xb3\x74\x15\x3b\x20\x31\x50\xe4\x89\x0a\x3a\x00\xba\x02\x07\x3f\xb9\x07\x35\x89\x16\x79\x66\x3b\x1c\xbb\x82\x02\x5c\x8c\x98\x1b\xad\xa8\x33\x36\xcc\xb2\x95\xa1\x56\x6b\x7b\x04\xbc\x0a\x95\x7e\x1c\x4a\x13\xd0\xbf\xfa\x47\x80\x63\x59\x91\x03\x23\x66\x72\x76\x7c\xba\xd8\x09\x1a\x96\x3a\x23\xc6\x65\x2c\xc2\x2a\x16\x59\xe6\x4a\x38\x98\xc2\x08\x41\xde\xbe\xcc\xa1\x9a\xf9\x24\xd7\xe2\xc8\xbf\x5d\xf1\x11\x83\x8a\x26\xa6\xc9\xb5\xa3\xcb\x88\x7d\xe2\xd2\x75\x6b\x92\x05\x3d\x1c\x7c\xd5\x92\xed\x7b\x0f\x56\xb5\x1f\x9c\x6a\x21\xa2\x9f\xd2\x96\x45\x29\x55\x11\xa2\x1a\x10\x7b\x1d\xa0\x25\xcf\x45\xb1\xa8\x04\xb3\x11\xfb\x87\x26\x8f\x2b\xd3\xc1\x7d\x2f\x51\x38\xc4\x2e\xb5\x13\xfd\xf0\x77\x33\xe8\x0f\x7f\x79\xf3\xf7\x37\xa6\x08\x52\x2e\x73\x2d\x61\x07\xf1\x15\xe2\x26\xaa\xb7\x94\xb2\xe9\x88\xb9\x15\xf8\xba\xeb\xc5\x2b\x1a\x13\x7a\xad\xaf\x6e\xd7\xe5\x6b\x0b\x83\x7f\x88\x12\xac\x92\xd9\x31\xb6\xbc\x17\x96\x2e\xa1\xb2\x28\x8e\xfc\x3c\x23\x0c\x9a\xf8\xc4\x05\x95\x0d\x5c\x1a\xa5\x5a\xb2\xcd\x7d\xb2\x5d\xc4\x2f\xa6\x9d\x83\x45\x0f\x97\xb2\x0c\xdd\x9b\x80\x39\x8b\x3c\xb7\xcf\x85\x64\x70\x3f\x77\xe8\xdf\xc2\x4a\xb7\x9e\x09\x6d\x31\xa4\x68\x64\xd0\x72\xa3\x23\xb7\xfd\x23\xb6\x18\x9f\x64\xcb\x89\x3a\x01\xec\xde\x89\x26\xcb\xc9\x59\xb9\xeb\xc3\x3a\x1d\xc1\x28\xf2\x7e\x3a\xb7\xb1\xa7\x8f\x78\xcb\x80\x18\xef\xed\xc0\xb7\x14\x67\x71\x5f\x50\x7f\x1c\xa0\x2c\x89\xbe\x57\xb0\xa2\x09\x5c\xcd\x98\xe1\x6c\x09\x90\xf7\xc1\x88\xa5\x54\x90\x04\x1a\x96\x25\xcb\x24\xa3\x89\xad\xea\x10\xab\x1e\xe4\x89\x30\x15\x21\x73\xce\xf4\x27\x2f\xa5\x7d\xd4\x61\x82\xaa\x95\xbb\xfb\x1a\xcd\xc3\x57\xe0\x89\x6d\xa3\x32\xff\xdb\x44\x57\xd1\x31\x51\xd8\xbf\x1e\x24\x61\xea\xac\x5a\x2e\xe8\x94\x32\xe8\xe6\xfd\x03\x38\x79\xb2\x8c\x88\x37\xbe\xeb\x03\x50\xb1\x7a\x1a\xb3\x4e\x45\xba\x2b\x4a\x3a\x54\xdf\x6d\x49\x92\x0b\x41\xd2\x87\x55\x28\x4b\xd7\xa4\xaa\xe6\x40\xbf\xd6\x64\xe9\x9c\x48\x85\xe7\x8b\xb0\xfb\xb1\x87\xff\x5b\xca\x64\x86\x08\xc8\x4d\x6c\x80\x28\xa0\x55\x7c\x50\x6e\xc4\x6c\x38\xce\xec\x1b\x17\x15\xd9\xc2\xe5\x55\xc2\x39\x6d\xd1\x19\xa3\xe1\xfa\xef\xda\x57\xa3\xec\x16\xb8\xb9\x70\x11\x53\x1e\xb5\x89\x0e\xda\xb5\x52\x38\xcf\x70\x4e\x2b\x1a\xbe\x8e\x58\x81\x87\x78\x9f\xf1\x3c\x45\xd6\x29\x62\x5d\x0c\xe2\x04\x51\x72\x32\x40\xf2\xcf\xef\xde\xbe\x3d\x39\xd9\x51\x8d\xef\xb8\x9b\x4b\x35\x87\x9b\x7e\x2b\x55\x78\xa3\x35\x47\x2b\xaa\xe9\xf3\xd0\x4d\xd1\x77\x78\x68\xe0\x96\xd0\x10\x8e\xc3\xf5\xe5\x57\x2e\xb0\x20\x4c\x3d\x00\xc2\xb1\xdb\x0b\xe1\x45\xd7\xf0\x78\x04\xce\x6b\x65\x65\x14\x35\xc1\x6c\x76\x13\x96\x8f\xe8\x07\x0a\xfe\xc2\x37\xd6\xf6\x85\x86\xc5\x0d\xa5\x7a\x56\x25\x70\xd3\x6c\x5e\x48\x14\xd7\xa1\x4f\xdb\x4c\x3f\x7a\x76\xeb\x0b\x64\x1b\xd0\x6a\x23\x7c\xe5\xd4\xd7\x9d\x84\x48\xe1\x39\xd3\x26\xff\x58\x0b\x71\xcd\xea\xde\x0f\x00\xd8\xd3\xa1\x03\x80\x79\xf4\x8a\x03\xbc\x98\xd4\xf0\x12\xfc\xd3\xfb\xee\x42\x78\x8a\x61\xd1\xd2\xdd\x54\xd7\x17\xc6\xb0\xf3\x1e\xf0\xb5\xd5\x47\x7d\x58\x5e\x41\x51\x09\xf5\x91\x26\x8f\x44\xdf\x73\x93\xa2\x24\x44\x28\xdd\xfc\xfd\xe6\xf1\x3a\xb6\x1b\xb4\x89\x3e\x13\xbb\xee\x07\x6a\xea\xdd\x11\xd7\x85\x31\x40\x0e\x7c\x2f\xab\x89\xb3\x6f\x30\x70\x35\x2d\x60\x7c\x0f\xf9\xb3\x49\x69\x5e\xb5\x30\xca\x18\x48\xe4\x3f\x79\x79\x28\x49\xc2\x99\x87\x09\xee\xe4\xa2\xaf\x00\x0a\x57\x4f\x17\xbe\x5b\xc9\x66\x5b\xa7\x75\x6c\xa9\xfc\x14\x8a\x8f\xeb\x6a\x6b\xec\x53\x88\xd2\x00\x18\x41\xbf\x7b\x00\xad\xc2\xed\x31\x80\x0e\x57\x28\x25\xe3\x7c\x3a\xad\xbd\x93\x33\xbe\x8b\x9e\xa8\xcd\x54\xbd\xe0\x0d\xf6\xb8\x5f\x61\xd6\x04\xb5\x5d\xc3\xa1\xdf\x90\xf2\xd5\x88\x7d\xd9\x85\xfa\x74\xee\xde\x64\x6c\xae\x09\xcd\xc8\xcb\x68\x4c\x3b\x52\xff\xce\xdb\xa8\x7f\xce\x68\x87\x78\x95\x59\x87\xb7\xf3\x7e\x47\x7a\xa1\xc1\xff\x3c\xe8\x27\xf7\x0a\x02\xf2\xb0\x45\x38\xac\x06\xde\xa3\x65\x53\x2a\x21\xfb\x74\xf7\xa8\x20\x90\xed\xeb\xa0\xc0\x5b\x67\x5f\xdf\xf2\x39\x41\xf0\x2a\x39\x30\x58\x7c\x1b\x70\x1b\x80\x93\x4f\x2f\x10\xcd\xf3\x4c\xd1\x45\x66\x85\xbf\xf5\x62\x25\x33\xcc\xa6\x41\x55\x70\xf4\x03\x23\xcf\x48\xcb\xda\x41\xe8\xf5\x08\xb6\x67\x80\x88\x4a\xde\x68\xdd\x26\x0a\x92\x08\x92\x70\x91\x02\x52\x7b\x8a\x45\x0a\x69\xd9\x96\xe1\x33\x9c\x3c\x42\x39\x17\xb8\x8e\xcc\x1b\xad\x67\xc6\x81\x99\x8d\xb7\xb0\x18\x8d\xb2\xc4\x34\x38\x76\xd9\xe2\x7e\x7e\xe6\x71\x89\x70\x22\xb8\x34\x8e\x1f\x57\xc5\xc3\x04\xe3\x41\xfd\x7a\xa2\x69\x8e\x33\xf3\xc6\x2e\xae\x97\x6b\xcb\x10\x2e\x6e\x1c\xf8\x9c\x40\x4a\x46\x79\xb3\x1f\xb8\xb0\xc0\x64\xa0\xf8\xb5\x4d\xcf\xfd\x99\x3e\x91\x01\xba\x5d\x60\xf1\x38\x40\xa7\x4b\x86\xe7\x34\xf9\x2f\x3e\xae\xf2\xa7\xac\x04\x62\xb7\x56\x89\x77\x5f\xa9\xb2\xfa\xa0\x7f\x5e\x09\x33\xa3\xba\x8c\xd2\xd7\xe9\x4d\xa9\x89\x91\x7f\xeb\x97\xfa\x9a\x10\x58\xef\x18\xd9\xe9\x05\x58\x69\x28\x3b\x37\x07\x4e\xe7\x94\x45\xb6\xda\x41\x39\x5b\xcb\x9b\x5a\x85\x49\x89\x84\x71\x2b\xeb\x76\x17\x9a\xe3\x35\xd6\x56\x8e\x36\x28\xe7\x5c\x11\x73\xef\x4b\xc5\x05\xd1\xe7\x44\x38\x75\x12\x5a\x6a\x40\xf3\x78\x5e\xdf\xfa\x2c\xc9\xb8\xcc\x45\x4b\xb1\xb1\xba\x61\xef\xed\xe3\x8d\xda\x09\x9f\x2f\x20\xd8\x21\x88\xcc\x33\x25\x2b\xec\xb5\x15\xb7\xf5\x66\x6d\x3f\xed\x59\x72\x0d\x42\x6c\x11\x74\xca\xa6\x59\x5d\xdd\xe0\x11\xb3\x35\xd4\x03\x59\x83\x8b\x6c\x01\xa7\x00\xb9\x7c\xae\xe7\xa8\x7e\xb4\x2f\xc0\x6e\x71\x1e\xd8\x1a\xc8\x5e\x0f\x81\xbb\x73\x00\xd5\x55\x0c\x24\x86\x41\x71\x9d\x11\x93\xf9\xf8\xb8\x40\x63\x70\x01\xd2\x0c\xb2\xa3\x17\x18\xda\xdd\x27\x33\x9a\xa5\xc7\xab\x50\x27\xab\x55\x40\xe9\x75\x5f\x49\x68\x4c\xa0\x58\x08\x50\xd8\xb4\x39\x32\xc1\x40\xbf\x76\x3f\xce\x38\x57\x88\xf8\x52\xd6\x54\x5a\x67\x4d\xe9\xe6\x8e\xce\x67\x64\x8b\x7f\x6d\x0f\xdc\xfa\xf3\x59\x97\x0c\xf4\xed\x9f\xcb\x88\x66\x6d\xce\xe5\x5d\xec\xf5\x72\xa7\x06\x33\x7f\x52\xeb\x48\x25\x1f\x8c\xcb\x6a\x8f\x99\xa9\x9f\x7d\x3e\xaa\x4b\xe1\x90\x0b\xfc\xcc\x2c\x06\xa2\x53\x6d\xc4\x76\xf2\xa1\x3a\x89\x5d\xcb\x87\xd2\x37\x22\xea\x22\x4f\x4d\x0c\x9b\xfa\xd4\xaa\x41\x90\xe2\x09\x6d\x2d\x0a\xbc\x7c\x61\x6e\x8c\x58\x01\xce\x29\xfa\xf0\x25\x65\x41\x69\x31\x2f\x29\x04\x36\xc9\xc0\x05\xec\x07\x26\xbf\xc8\x1a\x05\xc7\x63\x0c\x75\x3c\x95\x12\x74\x9c\xab\x95\x7a\x0a\xd1\x69\xae\x0c\x2a\xec\x42\x1b\x3f\xdf\x7f\xd9\x78\xaf\x82\x44\x80\xc3\xa2\xec\x7e\x81\xc4\x29\x2f\x3d\xa8\x2f\xf3\xf2\x39\xf9\xdd\xf2\x18\x82\xa2\x2f\xed\x39\x7c\x25\x57\xca\x16\x3c\x01\x0b\x36\x0d\xca\xf5\x46\x38\x01\x20\x61\x51\xce\xd8\x63\x28\x02\x48\xb9\x16\x51\x78\x4a\xd0\x9c\xa4\x34\x2f\xa7\xc9\xac\x8f\x56\x1d\x94\x99\xd7\x86\xb3\xb4\xc1\xeb\x0d\xbf\x4b\x50\xce\x9f\xf5\xad\x6d\x10\x56\xe0\x64\xa8\xce\x28\x0f\x50\x8e\x58\x7d\x2f\x7d\xf4\x2b\xa6\x98\x73\xe9\x5c\x50\xa9\x7e\x2d\x95\x22\xdd\x20\x1b\x23\xcb\xf7\x07\x6d\x73\x53\x35\xd3\x0c\x9e\x68\x84\x70\xdd\x44\x6d\x16\x81\xc9\x8c\x7b\x00\x30\x19\x2e\x4f\x45\xcf\xbb\x8b\x00\xff\xbb\xa7\xd7\xdf\x6d\x23\x48\x81\x17\x0b\x22\x90\x6d\x06\x59\x6e\xef\x68\x92\x3e\xe0\x2d\x23\x66\x14\xa6\xff\xba\xbd\xba\x2c\x24\x77\x61\xb7\x94\x86\x86\x9f\x01\xe9\x4e\xaa\x77\xee\x32\xcf\xb2\xda\x9d\x6b\x51\xea\xe7\xfe\xe2\xe2\xe1\xd7\xe1\xc5\xfd\x59\x73\x29\x9d\xe2\x67\xb5\x34\xf1\x33\xb1\x34\x31\xd7\x98\x82\xab\x2b\x9f\x13\xeb\x30\x02\x65\xc4\xae\xda\x00\x0a\xf2\x2c\x8b\x71\xfb\x23\xf6\x77\x3b\x0e\xe0\xbb\x72\x66\xd4\xcc\x11\x43\x8d\x84\x8b\xdf\x0f\x3f\xfb\xbb\x1e\xfc\xef\xe6\xd9\x63\x54\x2c\xe2\x1d\xba\xf4\x6f\xad\xa1\xab\x75\x72\x6e\x71\x1c\x4c\xfa\xc0\x4b\x65\x26\x6d\x76\x3c\xee\x99\xab\x72\x65\x13\x8a\x76\x72\x3a\x0c\xed\xfe\x1e\x9b\x30\x3e\x7b\x32\x35\x72\x1e\xc6\x1d\x98\x7c\x12\xd3\x28\xd8\xa7\x5c\x8c\x98\x89\xdf\x43\x7b\x48\x5e\x3f\x27\x74\xce\x0c\x70\x2f\xc3\x6c\x9a\xe3\x29\x91\x03\xe4\x5e\x3e\x62\xbe\x19\xa1\xad\x4e\xe0\xab\xe8\x63\xa8\x19\x1c\xb3\x90\x71\x2d\x92\x2f\x78\xbe\x80\x90\x07\x1b\x31\xbb\x26\x36\x2d\x86\x37\x5e\xc7\xff\xba\xf5\xcb\xd1\x9c\xe6\x07\xb2\x29\x31\x6c\xc4\xcc\xe6\x9a\x7c\x28\xa7\xdb\x81\xc3\x05\xba\x8f\x46\xac\x8b\x05\x71\x59\x78\x20\xd3\xa7\xa0\x65\x9a\x02\xab\x2e\xa4\xa7\x25\x7d\x50\x61\xc1\x38\x78\xcd\x94\xd6\xcb\x13\xb7\x19\xee\x4c\xd8\xb9\x55\x73\xfd\xd6\x77\x80\x3e\x70\xd5\x45\xad\x9b\xd9\xb6\x10\x63\x6b\xa4\x79\xc1\x50\xac\x7c\x84\x51\x19\x69\x0d\xc1\xe2\x1d\x14\xf0\x6e\x3d\x25\xf3\xfb\xc6\x49\x75\xa8\xfb\xdd\xfa\xb5\x36\x99\xb3\xe9\xb5\xda\xc2\x69\x7e\xe9\x0e\x4c\xa4\x68\x52\xf6\x81\x75\xc4\xc8\x93\x9a\x12\xeb\x5b\xc7\xa0\xca\x24\x72\xd2\xa7\x69\x42\x19\x95\x1b\x4d\xa7\xd0\x9f\x5a\xcf\xc8\x6b\x08\xf6\xb2\xeb\x24\x61\xed\x3d\x17\x09\xd8\x1a\x31\x69\xb1\x50\xd6\x2d\x43\xa8\x11\x2f\xfa\xf0\x0c\xe0\x10\x69\xfe\x1f\x78\x26\x1a\x14\x3b\x37\x30\xc5\x81\x73\x21\xb5\xb8\xb4\xf2\xce\x4a\x6d\x6d\xe6\x8c\x98\x43\xc7\x3b\x71\x3c\x74\xfd\x4a\x84\xff\xd4\xc4\xf5\x16\x06\xec\x0a\x1a\xab\x2a\x1a\xdd\x60\x35\x62\x90\xf9\xca\xc0\x84\x1c\x4b\x48\x0e\xb2\xf9\x9d\xf6\x8b\xa0\x96\x0d\x66\xbe\x40\xf1\x1a\x99\x57\x52\x03\xa2\x7b\xfe\x3b\xfd\xff\x7f\xfb\xee\xff\x06\x00\x00\xff\xff\xc0\x4b\x98\x31\xb1\xa3\x02\x00") +var _adminSwaggerJson = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x7b\x73\x23\xb9\x91\x2f\xfa\xff\x7c\x0a\x5c\x9d\x13\x31\xd3\x36\xa5\x1e\xdb\xeb\x8d\x3d\x7d\x63\xe3\x06\xa7\xa5\xee\xd1\x8e\x5a\xd2\x4a\xea\xe9\x70\x1c\x3a\x64\xb0\x0a\x24\x61\x15\x01\x1a\x40\x49\xcd\x75\xf8\xbb\xdf\x40\xe2\x51\x40\xb1\xaa\x58\xc5\x87\x44\xf5\x94\x4f\x9c\x1d\x35\xc9\x42\x01\x89\x44\x22\x1f\xbf\xcc\xfc\xe7\x77\x08\x1d\xc9\x27\x3c\x9d\x12\x71\xf4\x0e\x1d\xfd\xf1\xe4\xc7\xa3\x81\xfe\x8c\xb2\x09\x3f\x7a\x87\xf4\xf7\x08\x1d\x29\xaa\x32\xa2\xbf\x9f\x64\x4b\x45\x68\x9a\xbd\x95\x44\x3c\xd2\x84\xbc\xc5\xe9\x9c\xb2\x93\x85\xe0\x8a\xc3\x83\x08\x1d\x3d\x12\x21\x29\x67\xfa\xe7\xf6\x4f\xc4\xb8\x42\x92\xa8\xa3\xef\x10\xfa\x17\x0c\x2f\x93\x19\x99\x13\x79\xf4\x0e\xfd\x5f\xf3\xd0\x4c\xa9\x85\x1b\x40\xff\x2d\xf5\x6f\xff\x0a\xbf\x4d\x38\x93\x79\xf4\x63\xbc\x58\x64\x34\xc1\x8a\x72\xf6\xf6\xef\x92\xb3\xe2\xb7\x0b\xc1\xd3\x3c\x69\xf9\x5b\xac\x66\xb2\x58\xe3\x5b\xbc\xa0\x6f\x1f\xff\xf0\x16\x27\x8a\x3e\x92\xfb\x0c\xe7\x2c\x99\xdd\x2f\x32\xcc\xe4\xdb\x7f\xd2\x54\xaf\xf1\xef\x24\x51\xff\x82\x7f\xa4\x7c\x8e\x29\x33\x7f\x33\x3c\x27\xff\xf2\xe3\x20\x74\x34\x25\x2a\xf8\x27\x42\x47\x29\x91\x89\xa0\x0b\x65\xa9\x72\x43\x94\xa0\xe4\x91\x20\x35\x23\xc8\xbc\x0e\x99\xd7\x21\xfd\x3a\xe4\xa8\x26\x17\x24\xa1\x13\x4a\x52\x34\x5e\x22\xca\x16\xb9\x42\x82\xfc\x23\x27\x52\xa1\x09\xcd\x14\x11\xf2\xc4\x92\x0c\xde\xc2\x17\x44\xc0\x3a\xcf\x53\xfd\x96\x8f\x44\x0d\x61\xec\x0b\x18\xfa\x3a\xc3\x2c\xfc\xb5\x20\x72\xc1\x99\x24\x32\x9a\x2a\x42\x47\x7f\xfc\xf1\xc7\xd2\x47\xab\x2b\x18\x22\x99\x27\x09\x91\x72\x92\x67\xc8\x8d\x14\x4e\x06\x1e\x82\x4d\xc6\x2b\x83\x21\x74\xf4\xbf\x05\x99\xe8\x71\xfe\xd7\xdb\x94\x4c\x28\xa3\x7a\x5c\x69\x78\x29\x98\x6d\xf4\xd4\xbf\xbe\xab\xfa\xfb\x5f\xc1\x8a\x16\x58\xe0\x39\xd1\x64\xf1\xbb\x6f\xfe\x57\x5a\x8b\xde\x2f\xfd\xf2\x62\x4f\xcb\x13\x2f\xad\xf6\x12\xcf\x09\xe2\x13\xd8\x2e\xfb\x04\xfc\x2d\x88\xe4\xb9\x48\x08\x1a\x93\x8c\xb3\xa9\x44\x8a\xaf\xd0\x80\xc2\x08\x9a\xd5\xca\xdf\xe8\xad\xa4\x82\xe8\xbd\x52\x22\x27\xa5\x6f\xd5\x72\x01\x93\x94\x4a\x50\x36\x0d\x49\xf1\xaf\x41\xab\xa5\x19\x0e\xed\xb0\x32\xf3\x40\xed\xc2\x46\x6c\xe8\x7e\x92\x60\x86\xc6\x04\xe9\x73\x49\x53\x22\x48\x8a\xb0\x44\x18\xc9\x7c\x2c\x89\x42\x4f\x54\xcd\x28\xd3\xff\x36\xec\x9b\x38\x9a\x1d\x0e\x6d\xe0\xcf\x66\xca\x7c\x96\x44\xe8\x89\x3f\xd2\x94\xa4\xe8\x11\x67\x39\x41\x13\x2e\x22\xf2\x9c\x8c\xd8\xdd\x4c\xd3\x61\x3e\xa6\x0c\x4e\x9e\xa6\xa5\xe3\x90\xdf\x3b\x72\xfd\x1e\xe9\xf7\xa1\x9c\xd1\x7f\xe4\x24\x5b\x22\x9a\x12\xa6\xf4\xb9\x96\xe5\xd1\x7e\xcf\xe1\xfd\x38\x43\xc7\x48\xd3\x99\x08\x05\xf4\xe6\x4c\x91\xaf\x4a\xa2\x63\x94\xd1\x07\x82\xbe\xbf\xa0\x52\xa1\xe1\xf5\xf9\xf7\x03\xf4\xfd\x45\x21\x38\xe4\xf7\xcf\x40\x61\xff\xf7\x5f\x83\xa3\xa7\xf0\xb4\x7c\xe8\x8e\x86\xfa\x34\xdf\x9a\x6b\xa2\x18\xe1\xaf\xdf\x85\xe3\xd8\xfd\x6a\x96\xbd\x85\xe0\xb5\x52\xb7\x8b\xac\xfd\x40\x54\x32\x5b\x23\x68\xe5\x96\x92\x56\x6f\x47\x59\xd4\xca\xd7\x25\x6b\xf5\x12\xf6\x2d\x6f\xb7\x11\xb6\x58\xc1\x29\xc0\x94\x99\x43\xe3\xcf\x50\xbc\x33\xe8\xe5\xc4\xca\x36\xf2\x36\x58\x4d\x20\x72\x9d\x24\x0d\x28\x71\x20\x6b\xcd\xe8\x9c\xae\xdb\xc7\x73\x96\x6a\xb5\xcb\x0a\x39\x96\xcf\xc7\x44\xe8\xa5\x3b\x71\x07\x2b\x1c\x6b\xf1\xa7\x72\xc1\x48\x5a\xb3\xb4\x7f\xe4\x44\x2c\x1b\xd6\x36\xc1\x99\xac\x5b\x1c\x65\x8a\x68\xbd\xb6\xf4\xf5\x84\x8b\x39\x56\xf6\x07\xff\xfe\x6f\x5d\x17\xaf\xf8\x03\x59\xb7\xcf\xe7\x66\xd7\x12\x2c\x61\xbb\xe7\x79\xa6\xe8\x22\x23\x68\x81\xa7\x44\x5a\x2a\xe4\x99\x92\x03\xf8\x99\xd6\xa5\x89\x38\xf6\xb7\x0d\xbc\xc1\xdd\xb2\xb9\x84\x4f\xd0\xc4\x0b\x32\x46\xbe\x2a\x18\x69\xc4\xe0\x9e\x05\x12\x85\xb7\xc7\x1e\x48\xb9\x19\x9f\x48\x2e\xd4\xfd\x78\x79\xf2\x40\x56\xde\x5b\xcb\x2d\x98\x21\xac\x94\xa0\xe3\x5c\x11\xbd\x6e\x3d\x86\xbb\x27\x41\xf4\x99\xcb\x58\xea\xcb\xf7\xea\xf4\xea\x87\x07\xac\x04\x9f\x62\xf6\xe6\x1d\x1a\xa6\x29\x32\x13\xd5\xbf\xa1\xa9\xb9\x92\x67\x44\x90\x13\x74\x37\xa3\x12\xc9\x19\xcf\xb3\x14\x31\xf2\x48\x84\xa6\x2d\x99\x2f\xd4\xf2\xe0\xa8\x95\x52\x41\x12\x20\x4c\x97\x13\xe6\x9f\xd2\x44\xd3\x46\xcf\xd2\x90\xee\x81\x2c\x41\x71\x59\x25\xdf\x33\xf0\x4b\xe9\x5b\xc2\xf2\x79\xe9\xae\x80\xcf\x4f\xcf\x6e\xdf\x9f\x5d\x9e\x9e\x5f\x7e\x2c\x3d\xa1\xd5\x08\xff\x55\xf4\xcd\x5f\x57\x68\x33\xc1\x79\x06\xa7\x3a\x18\xed\xd9\x14\x97\x64\x46\xb3\x54\x10\xf6\x56\x61\xf9\x70\x4f\xbe\x92\x24\x37\xf7\xec\x3f\xe3\x0f\xee\xb5\xf6\xc9\x53\x12\x7f\x12\xfd\xa3\x50\x77\x3a\x3f\xea\xad\xd2\xce\x4f\x82\x0d\xdb\xee\x39\xf8\x84\xa6\x95\xbf\x86\x4f\xd6\xac\xc1\xfd\xa6\x61\xb2\xee\x27\xb5\xb3\x72\x3f\xb0\x0a\x5c\xe5\x6f\x04\x51\x62\x79\x8f\x95\xd2\xa7\x7c\x03\x9d\x11\xb6\x14\xe9\xd5\xa2\x62\x3f\xad\xfa\x68\x14\x45\x90\xdd\x5e\x73\xd4\x33\x28\x7e\xb9\x4e\x5f\xbc\xe4\x29\x39\xf3\xc3\x7e\xe0\xe2\x0e\xcb\x87\xd7\xa0\x33\x46\x13\x7f\x0e\xb5\x71\xd3\x03\xf4\xcd\x19\xf5\x1b\x8a\x83\xde\x05\xb0\x3d\x25\xdb\x3a\x0c\xb8\x40\x72\x29\x15\x99\xaf\x75\x1d\xbc\x1e\x42\x58\x79\x7f\xa8\x13\x2e\x5d\x39\xbf\x81\x53\x1f\x5f\xa0\xfd\xf1\xee\x40\xb2\x5d\x39\xfe\x0e\x7d\x9d\x2e\x04\xd3\xbc\xd4\x5b\xb7\x7d\x2e\xe0\x60\xf9\xe4\xe0\x97\x19\xa9\x76\xbb\x9e\xe4\x9e\xbc\x06\xb5\x7b\xe5\xa8\x7d\x0f\x13\x58\x63\xf2\xc5\xae\x63\x7f\xfe\xf4\xa3\xa1\x73\xc5\x78\xcc\x94\xb6\x79\xad\x6f\x89\x08\x94\x70\x61\x54\xc1\xb4\x41\xbc\x3d\x9f\xd1\xf7\xf9\xf2\xf6\xfa\xec\xfd\xf9\x87\xf3\xb3\xd3\x55\xab\xef\x6e\x78\xfb\xcb\xea\xa7\x5f\xae\x6e\x7e\xf9\x70\x71\xf5\x65\xf5\x9b\x8b\xe1\xe7\xcb\xf7\x3f\xdf\x5f\x5f\x0c\x2f\x5b\xdb\x89\xe1\x04\x3a\xee\x66\xef\x00\xdb\xa5\x03\x6c\xf0\xed\x7a\xc0\x6c\xf4\xa0\xbd\xf7\x0b\x65\x54\x2a\x4d\x20\xfb\x24\x5a\x60\x29\xcd\xfd\x6b\x66\x70\x32\x62\x9f\xb8\x20\x88\xb2\x09\x47\x1c\x82\x43\x52\x89\x3c\x51\x94\x4d\xfd\x43\xef\xd0\x28\xff\xf1\xc7\x3f\x25\x17\x94\x3d\xc0\x5f\xe4\x10\x89\xd3\xbb\x07\x37\xa1\x56\xef\x1e\x0c\xbf\x7b\x1d\xee\xc1\x14\x2b\xfc\x36\xf4\x0a\xee\x07\x4f\x62\x22\x97\x98\xa5\x88\xe7\x4a\xff\xa9\xdf\x8b\x26\x82\xcf\xf5\xb9\x21\x5f\xa9\x04\x29\xf1\xc4\xc5\xc3\x24\xe3\x4f\xed\xbc\x55\x1f\x89\xf2\xfe\x9e\x53\xac\xf0\x6b\x70\x52\x7d\xb1\x2b\xf4\x13\xff\x48\x94\x9e\xfb\x8d\x7d\x4b\x0f\x2d\xe9\xa1\x25\x2f\x0b\x2d\x39\x28\x4f\xd1\xfe\x65\x5f\xec\x56\x32\x02\xb0\x26\xea\x51\x1b\xd4\xa8\x89\x59\x04\x21\x89\x7d\x0a\xcd\x38\x10\xb0\x46\x60\x46\x4e\xf2\xd7\x22\x34\xa3\x49\x3f\xbf\xc0\xfc\x4d\xf8\xf0\x7b\x17\xfd\x86\x84\x7a\x95\x72\xb5\xe5\x95\xf1\x6c\x0e\xf6\xfd\xcb\xf9\x95\xf0\x77\x97\x78\x77\x87\x00\x77\xeb\x88\xf6\x9a\x10\x76\x65\xcc\xba\x2a\x48\xbd\x1a\x95\xae\x0c\x43\x6f\x15\x77\xee\x7a\x25\xb5\x8f\x38\x7f\x24\xea\x0e\xcb\x87\x57\x77\x25\x45\x93\x7e\xfe\x2b\xe9\x37\x1a\x68\xee\x23\xcb\x7b\x24\xdd\xb7\x7e\x91\x1d\x6e\xec\xf8\x37\x10\x2c\xee\xa3\xc3\x9d\x68\xf4\x6d\x85\x83\xbf\xd5\xf8\xef\xeb\x0c\xf8\xf6\x11\xde\xc3\x8d\xf0\xee\xd5\x0e\x22\x8f\x84\x29\x09\x1e\xaf\x50\x9d\x3e\x5a\x70\xd9\xac\xfe\xbf\x17\x04\x2b\x82\x70\xc9\xd5\x84\x60\x40\x24\x48\xc2\x45\xaa\xd5\x7e\x8c\x16\x33\x2c\x09\x52\x02\x33\x49\xd7\xa9\xfe\x66\x54\xf0\xed\xe8\x71\x5e\x83\xd6\x1f\x39\xa2\x60\xd6\xcf\xa5\xf3\x8f\x79\xba\x72\x34\xcc\xa9\xa9\xfa\xa6\x59\xbc\xec\x6c\xe9\x90\x87\xd6\x66\xe5\x7b\xe4\x66\x2d\xca\x36\xe4\xe6\xd8\x4a\xdd\x09\x37\x83\x59\xf8\x5a\xb8\x39\xb2\x61\x7f\x5b\xdc\x5c\xb5\xf4\x43\xe0\x66\x17\x00\xdd\x90\xa3\x57\xe3\xa7\x3b\xe1\x6a\x1f\xb4\x7c\x2d\x9c\xbd\x12\x65\xfd\x6d\x71\x77\xdd\xf2\x5f\x96\xc3\xbd\xef\x75\x57\xbc\xbd\x9e\x71\x3d\x01\x5e\x03\xd3\xfa\xc9\x9a\xb9\xff\x66\xb8\x75\x65\xdd\x07\xc2\xa6\x6f\x05\x31\x39\x55\x9d\xf8\xf5\xc6\x3e\xd4\x99\x63\xdd\x83\x3d\xcf\xbe\x26\x9e\x75\xbb\x76\x38\x5c\x5b\x87\xe0\xea\x9e\x67\xd8\x00\xcb\x92\x68\x8e\x55\x32\xd3\x5f\x9a\x90\x50\xcb\x62\x14\x45\x62\xe1\xab\xe2\xee\xe7\xc8\x26\xfc\xb6\x9d\xbf\xbd\xd3\xf7\x37\x58\xf4\xe7\x60\x10\xca\x7d\x56\xc4\x0e\xb3\x22\xa8\xec\xb3\x22\xfa\xac\x88\xb6\x04\xea\xb3\x22\xfa\xac\x88\xe0\xbb\xd7\x91\x15\xb1\xff\x84\x88\xdd\x64\x3d\xbc\x2a\x25\xba\x57\xa0\x7b\x05\xba\x4f\x6d\xf0\x4b\xdb\x95\x00\x73\x4f\x1f\xa5\x24\x23\x8a\x34\x8a\x9f\x3b\x22\xe6\xda\x36\x88\x0a\xfc\x56\x04\x0d\x8a\xda\x41\x9e\x83\xc0\xbd\xd1\x24\x97\xfc\xd8\xaf\x53\x3a\xf9\xe9\xf7\x99\x58\xbd\xb8\xea\xc5\xd5\x26\x4b\x3b\x1c\xaf\x6c\x70\x98\x5f\xd4\x2d\x1b\x94\x0b\xbe\xa7\xe9\x6e\x2a\x06\x7b\xb5\x31\xac\x17\x5c\x90\x22\x2a\xd9\xba\x99\x93\xb6\x28\xbe\x7b\x9e\xbe\x0a\x3f\xad\x96\x23\xe9\x19\x53\x54\x2d\x3d\x4a\x4d\xf4\x85\x83\xfb\xc2\xc1\xed\xd7\xda\x7b\x08\x77\xe8\x21\xec\x0b\x07\xf7\x3e\xb0\xde\x07\xf6\xca\x7d\x60\x61\xab\x83\x8d\x10\x3b\x2c\x45\x82\x4c\xa9\x54\x44\x20\x5c\xa3\xad\xac\x87\xf0\xbc\xd6\x1e\x31\xad\x01\x11\xe1\x6b\x8f\xfe\xad\xc5\xf4\x6f\xec\xf5\x02\x67\x60\x8c\x53\xdf\x10\x02\x74\x8a\x39\x5e\xa2\x19\x7e\x24\x68\x82\x69\x66\x2c\x06\x2b\x36\x1a\x56\xd8\x34\xa1\xff\xd3\x6d\x42\x38\x9e\x8e\x20\x13\x22\x08\x4b\x8c\x18\x34\x5a\x41\x82\x33\x44\x40\x5b\x33\xbf\x99\x69\xfb\x2d\x13\x04\xa7\x4b\x34\x26\x84\x79\xb6\xa9\xb8\x42\x6b\xe6\xbc\x13\x6d\xee\xc5\xed\x97\x55\xee\x39\x14\xeb\x65\x2f\xb0\x92\x6a\x91\xb0\xbd\xd5\x22\xff\xf8\xba\x44\x45\x8f\x2e\xe9\xbd\x4d\x2f\xef\x6d\xea\xd1\x25\xbd\xed\x78\x00\xb6\x63\x8f\x2e\xe9\xd1\x25\xbd\x65\xdd\x9a\x5a\xbd\x65\x1d\x7e\xf7\xfa\x2c\xeb\x1d\xe3\x4b\x9e\x4b\xc3\xee\x15\x6c\xf7\xbb\x5e\xc1\xee\x15\xec\x6f\x54\xc1\x3e\x0c\x0a\xf7\xda\x75\xaf\x5d\xf7\xda\x75\xaf\x5d\xf7\xda\x75\xaf\x5d\xdb\xa7\x76\xa9\x5d\xc3\x5f\xae\x4c\xe6\xd6\x50\xee\xee\x51\xae\x8f\x44\xbd\xd6\x10\x57\xaf\x52\xf7\x2a\xf5\x61\xab\xd4\x07\xb3\xa0\x6f\xaf\xec\x5d\x5f\x38\x6e\xe5\x7e\xfc\x16\x0a\xc7\xb9\xa7\x8f\x16\x79\xf3\xf5\xf7\x79\x91\xba\x3c\x02\xa9\xb0\xca\xc1\xd2\x68\x71\x15\xa2\xa1\x42\x73\xae\xf5\x6e\x46\xa2\xdf\x38\x9e\x37\x20\x82\x29\x7d\x24\x0c\x39\xbc\xec\xc0\x4a\xb6\x01\x18\xbf\xff\x72\x02\xce\x26\x30\x60\x85\x30\x52\x74\x4e\x4e\xd0\xf9\xc4\x30\x50\x82\xb3\x0c\x49\xa2\x64\x09\x79\xa2\x15\x32\xfb\x10\x4b\x8b\xb9\xba\x77\xd3\x02\x88\x60\x7e\x36\x70\xe7\x2f\xcf\x94\x39\x8d\x6e\xf0\x27\x9a\x65\x7a\x0e\x96\x69\x41\xf8\xcc\x89\xc8\xdc\x93\xd1\x6b\xdd\x8f\xe7\x38\xd5\xd6\x44\x30\x85\x22\xd3\x22\xfc\x3d\x88\x79\x2a\x3d\x94\x22\x7a\xde\x3c\x7d\x82\xac\xdd\x67\x0a\x3c\xb5\x9a\xc6\x0c\xa7\x5a\xec\x27\x33\x92\xe6\x19\x41\x58\x4a\x9e\x50\xac\x48\x8a\xa8\xb9\x16\x10\x55\xce\x4a\x74\x3f\x72\xaf\x4e\xa9\xc4\xe3\x8c\xa4\x96\xc6\xa4\x40\x76\x34\xce\x9c\x4a\x34\x26\x9a\xc4\xfa\xe6\x89\xa9\x3f\x33\x97\x52\xc5\x6c\x82\xa9\x90\xd5\x99\x10\x66\x26\xd2\xa0\x54\x19\xe6\x7c\xad\x7a\x95\x99\x7d\x9f\x87\xd2\x6b\x59\xbd\x96\xd5\x69\x41\xdf\x94\x96\x75\x40\x68\x34\x27\x90\x5e\x14\x8d\xa6\xe9\x92\xde\x03\x6e\x90\x12\xf9\xf6\x9f\x91\x0a\xfa\xaf\xbd\xe5\x69\xa3\x20\xb9\x04\xf1\x71\xf9\x04\x57\xb5\x58\x2a\x1e\x78\x0d\xf7\x4e\x38\xdd\x3d\x5f\x35\x8d\x56\xc3\x8e\x4e\xd9\x61\x29\xf2\xdd\x65\x58\x7f\x17\xf7\x77\x71\x35\x65\xfa\x20\x62\x0d\x85\x5f\xd2\xf6\x9d\x50\x92\xa5\x72\xc5\x78\x89\xae\x8d\xb5\x86\xca\xeb\xbd\x31\x9e\xd7\x54\xe9\xe2\x75\xba\xf1\x5e\x25\xeb\x66\xd2\xbb\x35\x27\x0a\x43\xc7\x2a\xc5\x51\x0e\x53\xef\x6f\xa1\x55\x32\xf7\xb7\x50\x7f\x0b\xd5\x52\xa6\xbf\x85\x5e\xb1\x49\x57\x21\xb9\x0f\xda\xa6\xdb\xaa\x5c\x42\x60\xc3\x39\xa0\xc7\xaa\x2d\x27\x91\x9c\x61\x61\x0a\xe3\x27\x7c\x3e\xe7\x2c\x88\x47\x2c\x17\x64\x80\xbc\x0b\x1a\xb3\xd4\x72\xee\x3a\xa0\x64\xf1\x1a\x4a\x5e\x05\x54\x32\xa0\xcb\x73\x60\x25\x7b\x3b\x70\x0d\x81\xfa\xba\x12\x7d\x5d\x89\x1e\xbd\xd8\xd7\x95\x68\xe6\x96\x1e\x9f\xd7\xe3\xf3\xc2\xef\x5e\x07\x3e\x2f\xee\xc5\x6a\x20\x7a\xf5\x6d\xb7\x6b\x9b\x6c\x37\xb5\xd4\xa6\xe9\xf6\x48\xbe\xb8\xd5\xdd\x3a\x97\x7f\xd8\x1c\xed\xc0\x15\xbe\x49\xb6\x54\x84\xa6\xd9\x6a\x57\xb7\x67\x88\x34\xff\x56\xba\x54\xf7\x3d\xa9\x37\x21\xd4\xb7\x5a\x18\xf1\x59\xfb\x4d\x3f\xaf\xf0\x76\xc5\x63\xef\x6b\x44\x78\xf5\xf7\x5e\x90\x57\x7f\xbd\x6d\xda\x63\x2c\xbb\x37\x4d\x77\x8c\x64\xe3\xeb\x30\xe3\xc3\x19\x3f\x87\x21\xdf\xb8\xfb\xdf\x9c\x5c\x6f\xe2\xe5\x5e\xba\xb7\x24\xd7\xb7\x2a\xe3\x7b\x43\x7f\x97\x86\xfe\xe0\xdb\xb5\xf4\xfb\x34\xc5\x06\xe2\xf4\x6e\x90\x4d\xa8\xd5\xbb\x41\xc2\xef\x5e\x87\x1b\xc4\xde\xd5\xf7\x9e\x75\xe5\xdb\x7f\x16\x7f\x7b\x0d\x3a\xaa\xbc\xd9\x1e\x96\x92\xe4\x52\xf1\x39\xfd\x1f\x92\x16\x3a\x46\x31\x7a\x05\x5c\x65\x55\x67\xab\x86\xaa\x5c\x9b\xdf\x0d\xfd\x58\xaf\x41\x2f\x5e\x99\xf4\xf3\xc2\x56\x56\xb7\x75\x9d\x02\x04\x11\x71\xaf\x15\x53\x53\x59\xf3\x69\x46\xe1\xb2\x83\x1c\x7e\xb8\x10\x82\x1d\x75\xc9\x11\xfa\x1c\xd3\x5a\xcd\xe1\x37\x17\xf0\xae\xdd\xf9\x17\x0d\x7b\xbb\xb3\x6f\xd4\xfc\x75\x22\x20\xfa\xb0\x22\x0e\xfe\x0c\x62\xe1\xd8\x19\x24\x05\xa2\xa3\xad\xa4\x38\x85\x27\x5f\xa5\xbc\x28\x4f\xbd\x97\x1a\x28\xd8\xba\xfd\x49\x8d\x15\x76\x6f\xb7\x70\xcb\xa3\xaf\x77\xdd\x87\x22\x2d\xeb\xf8\xfe\x10\x64\xa6\xec\xee\x16\x2c\xaa\x49\xbb\xb3\xb1\xd6\xf5\x77\xed\x5e\xf6\x7a\x84\x95\xec\x2a\x8f\xb6\x02\x48\xaf\xef\x82\xef\x0b\xbf\x57\x38\xa5\x56\x5b\xdf\x9b\x5f\x5f\xaf\x2a\xa1\x07\x4e\x75\x37\xf3\xdf\x4c\xe3\xfb\x95\x75\xbf\xa8\x50\x50\x58\x3e\x94\x63\xc9\x71\x88\xe2\xbe\x31\xba\xbc\xe6\xb7\x51\x0a\x59\xf3\x4f\x4b\x11\xe8\xf8\x3b\x1b\x93\x86\xaf\x61\xca\xe5\x79\xb8\x0f\xc3\x17\xba\xcf\x8a\x91\xdd\x27\xae\x5a\x0d\x7c\x28\x88\x12\x4b\xad\x42\x92\xf9\x42\x6d\x1f\xf6\xd6\xef\x68\x1d\xf6\xbe\xc3\xf2\xe1\x55\x86\xbd\xe3\x89\xef\xf9\xcc\xb6\xe6\xc9\x6f\x2e\x60\xd2\xf6\x84\xf5\xc1\x93\x0d\x48\xf7\xad\x06\x52\x9a\x44\xe8\xc1\xcc\xb0\x24\xc5\xbf\xc5\x93\x1b\xdf\x49\xfd\x11\x6d\xa2\xd1\x37\x57\x49\xa1\xa4\x6a\xac\x59\xdb\x2b\xa9\xa8\x50\xd6\x96\x76\x3d\xab\xfd\xc4\x56\x83\xdd\xe8\xab\x6e\x7d\xa3\x55\xb7\xda\x19\x37\xad\x2d\x9b\xb6\x66\x4d\x3b\x9b\xa6\xde\xa0\xd9\x02\xa2\x15\xdb\x19\x9b\x42\xb4\x22\x3d\xfe\x55\x78\x6b\xa2\x19\x3f\x07\x44\xeb\x37\x6a\x7a\xf4\x76\xc7\x5e\xe8\xf6\xad\x1a\x1d\x07\x6e\x71\xf4\xe0\xb2\x5d\x82\xcb\x7a\x6c\x59\x8f\x2d\x6b\x4b\xa0\x1e\x5b\xd6\x63\xcb\x82\xef\x5e\x07\xb6\xcc\xda\x8b\x72\xcb\x02\x0a\x55\x2a\x7b\xa1\xd0\x46\xa9\xd8\x9b\xab\xef\xe7\xe9\xab\xd0\xdb\x83\x0a\x09\xde\xb2\x16\xcf\xa1\xbf\xf7\xa5\x00\xfa\x52\x00\xbd\x12\xf7\x5b\x52\xe2\x7a\x3d\x65\x13\x6a\xf5\x7a\x4a\xf8\xdd\xeb\xd1\x53\x22\x40\xd7\x5a\x5c\x91\xe9\x8b\x0f\xa5\x98\x44\x01\x31\x2a\x69\x26\x4d\x6a\x87\x19\x40\x2b\x1e\xaf\x41\xeb\xd0\xf3\x34\x33\x6e\x01\x30\x0a\x5f\x78\xf4\x6f\x2d\x26\x7e\x63\x2f\x11\xe0\xf4\x31\x4e\x7d\xd1\x7e\xd0\x1c\xe6\x78\x89\x66\xf8\x91\xa0\x09\xa6\x99\xf1\xdf\x58\xe1\xd0\xb0\xb6\xa6\x09\xfd\x9f\x6e\x13\xc2\xf1\x74\x7c\xbb\x01\x10\x76\xe6\xee\x4f\x70\x86\x88\xa9\xe6\x05\xbf\x81\x8e\x02\xb6\x7f\xc3\x98\x10\x16\x40\xff\xda\xce\x79\x27\x3a\xdb\x8b\xa3\xb4\x42\xbe\x79\x71\x80\x56\x7d\x17\xae\xdd\x19\x23\xdb\x58\x20\xf2\x8f\xaf\x45\x14\xf4\x7d\x6c\xfb\xe2\x9f\x7d\xf1\xcf\xce\xc5\x3f\x0f\x46\x57\xed\x2d\xc0\x1d\x5a\x80\x7d\x2b\xdb\xde\x8f\xdf\xdb\xc7\xad\xa9\xd5\xdb\xc7\xe1\x77\xaf\xc8\x3e\xde\x71\x67\x9b\x3d\xea\xd1\xbd\x1a\xdd\xab\xd1\xbd\x1a\xfd\xcd\xaa\xd1\x87\x41\xe1\x5e\x87\xee\x75\xe8\x5e\x87\xee\x75\xe8\x5e\x87\xee\x75\x68\xfb\xd4\x4e\x74\x68\xf8\xcb\x65\xd6\xee\x26\x8d\xb6\x5d\x44\xca\xe6\xd1\xbe\x16\xe5\xb9\x57\x9c\x7b\xc5\xf9\xb0\x15\xe7\x83\x59\xd0\xb7\x97\x3c\xd7\xa7\x9f\xad\xdc\x82\xdf\x6c\xfa\x99\x2f\xdf\xbb\x41\x79\xb2\xe8\x33\x37\xd0\x73\x17\x2d\x1b\x38\xc9\x88\x59\x8a\xdc\x24\x3a\x95\x30\xfb\x62\x1f\x7a\x5d\xd5\xcb\x56\x67\xdd\x17\x2e\x43\xc1\xae\xf5\x85\xcb\xf6\xb8\x6e\x77\xce\xd6\xac\xdc\xf1\xa8\xf1\x5e\xbd\xd2\x65\xbf\x38\xcc\xa7\xfe\xa4\xbf\x28\xe8\xc7\xdf\x1c\xbb\x4a\x41\x08\x2d\x2b\x2f\xc8\x77\x9a\x89\xe0\x28\xd9\x67\x23\xd8\xff\xf5\xd9\x08\x6d\x16\xd7\x67\x23\xf4\x7e\xf4\x3e\x1b\xa1\xf7\x14\xf7\x9e\xe2\x6f\xc0\x53\xec\x34\x8b\x5d\x64\x24\x54\x68\x29\xeb\xb3\x12\xbe\xac\xea\xce\x07\xab\x81\xb8\xb9\xf6\xd9\x09\x7d\x76\xc2\xb6\xbc\x73\x10\xc6\xca\x5e\xb2\x14\x2a\xc4\xc0\xb6\x16\xca\xeb\xc8\x56\x70\xb3\xed\xa1\x56\x7d\xc4\xe8\xf0\x23\x46\x07\x07\xb5\x3a\x18\x7d\xb6\xb7\x12\x7b\xb4\x55\x8f\xb6\xea\x6d\xe8\xde\x86\xee\x6d\x68\xfb\xd4\x96\xda\xf4\x4e\xb2\x16\xf6\xa1\x57\xf7\x6a\xb5\xf9\x5d\xaf\x56\xf7\x6a\xf5\x37\xaa\x56\x1f\x06\x85\x7b\x9d\xba\xd7\xa9\x7b\x9d\xba\xd7\xa9\x7b\x9d\xba\xd7\xa9\xed\x53\x3b\xd3\xa9\x77\x9b\xc5\xd0\x31\x8a\xf5\x91\xa8\xd7\x18\xc2\xea\x15\xe9\x5e\x91\x3e\x6c\x45\xfa\x60\x16\xd4\x67\x34\xf4\x19\x0d\x2b\xdf\x1c\x6e\x46\xc3\x77\x96\x11\x8e\x02\xd9\xef\x2f\x89\xa3\x9f\x32\x3e\xbe\x5b\x2e\x88\xfe\xef\x29\x9d\x13\x26\x41\x63\xa1\x6a\x19\x5e\x9c\x35\x04\x5e\x25\xed\xd1\xed\xf9\xe5\xc7\x8b\xb3\xf0\xe6\xfb\xf4\xf9\xe2\xee\xfc\x7a\x78\x73\xe7\x66\xe8\x57\x15\xd2\xc2\x3e\x17\xdd\xfd\xef\xf9\x7c\x81\x05\x95\x9c\x9d\x7d\x5d\x08\x22\xf5\xd4\xae\xe0\xb6\xe5\x62\xb3\xd9\x9d\xfd\x77\x38\xb3\xcb\xf8\x9f\x1f\xef\xe2\x7f\x45\xab\xb8\xb8\x8b\xff\x75\xd6\xb8\x9a\x60\xe0\xf2\x09\x3a\x46\x1f\xef\xde\xa1\x8f\x10\xf5\x17\xe8\x6e\x86\xd9\x88\xa1\x63\x74\x71\xf7\x0e\x5d\x10\x29\xe1\x93\xe2\x61\x45\x55\x06\x6b\xfb\x89\x32\x2c\x96\xc8\x2d\x1f\xc4\x23\xc1\xe0\x0e\x74\xa4\x29\x13\x8f\xfd\x3d\x67\xa0\xb0\x16\xd4\xbb\xe0\x53\x9a\xe0\x6c\x3b\x22\x0e\x2f\xc3\xf3\x72\x74\x75\xd3\x48\x8a\xf0\xd7\xab\xb4\x18\x5e\x9e\xbe\x43\xc1\x54\x2b\x56\x7e\x49\xa4\x22\xa9\xbe\x00\x53\xc3\xbc\xda\xd6\x20\xcb\xe0\x62\xfc\x3b\xa7\x8c\xa4\x28\x97\x5a\x5d\x1b\x5e\x9e\xa2\xb7\xe8\xea\x66\xc4\xae\x44\x6a\xfc\x05\x44\xdf\x28\xc6\x56\xa1\x12\x31\xae\x10\x9d\x2f\xb8\x50\x98\x29\x7d\x99\x6a\x41\xc6\x2d\x45\x24\xc2\x82\xa0\xf7\x7c\x3e\xcf\x15\x56\xf4\x91\xac\x10\x95\x19\x23\xe0\x96\xa8\xf3\x14\x3c\x90\x15\x34\xe4\xe3\x48\xd1\x39\x5a\x08\x3d\xbe\xa2\x25\xed\xef\x88\xa6\x2b\xea\xa0\x1b\x02\x0b\x81\x63\x31\x78\x44\x15\x99\x97\x7f\xdf\x2c\xff\xbf\x2b\xff\x15\xeb\xd6\xbe\x05\xd3\x27\xa2\x70\x8a\x15\x2e\x3e\xe0\x29\xd9\x8c\x39\x3e\x0d\x2f\x3f\x0f\x2f\x42\xfe\xb8\x7d\xff\xf3\xd9\xe9\xe7\x8b\x48\xc8\x1e\xdd\xfe\xe5\xf6\xee\xec\x53\xf8\xc9\xcd\x99\x11\xa1\xe1\x67\xef\x7f\x3e\xbf\x38\xbd\xf7\x42\xb7\x89\xcd\x4a\xef\x2d\x73\xda\xdd\x8c\xa0\x39\x51\x33\x9e\xa2\xf1\x32\x4c\xb3\xf0\xed\x6e\xd0\x13\x96\x28\x03\x47\x19\x49\x4f\x46\xe6\x54\x9a\x51\xdf\x69\x86\x43\xf6\x65\xc1\x13\x73\x9e\x92\x81\xfd\x8d\x66\xa9\xcc\x5c\x8b\x58\x19\xfb\xa1\x6a\x60\xfd\x76\xcc\x10\x65\x29\x7d\xa4\x69\x8e\xb3\x13\x78\x8f\xa7\xd1\x3b\x34\x44\x5a\x8f\x4f\xf3\x8c\x20\x25\xe8\x74\x0a\x2a\x5f\x69\xaa\x66\x34\xfb\x28\x50\x12\x9e\xf3\xbd\x86\xb4\xa9\x00\xaf\xb5\xb6\x02\x1d\x67\x46\xa1\x32\x0f\x42\x6e\x76\x3c\xa2\xc0\x6a\x46\x44\xd5\xd4\xdc\xbe\xbc\x33\x16\x7e\xcd\xb2\x20\xe9\xac\x40\x7c\x41\xf0\x41\x1a\x4d\x75\x21\xc8\x23\xe5\x79\xf0\xa8\x19\x38\xde\xdc\xca\xe1\x0b\x02\x00\xd9\x38\xcc\x31\xe8\xcb\x1c\x71\xf3\x8d\xf3\x0a\xba\x3f\xce\x98\x12\x95\xb7\x58\xdb\xe3\x69\x75\xa4\xe8\x7c\x56\x9b\x52\x2b\xef\xbe\x2c\x2b\xbd\xab\xa6\xa6\x55\x94\xf4\x4b\x4e\x8e\x2a\x6d\x2c\x50\x84\xeb\x04\x44\x85\xae\x53\xc8\xcc\x5f\x41\x85\x9e\xe7\x52\x41\xc2\x90\xf1\xd6\xa0\x87\xff\x90\xe8\x1f\x39\x06\x34\xde\x09\xba\x25\x64\xc4\x66\x4a\x2d\xe4\xbb\xb7\x6f\xa7\x54\xcd\xf2\xf1\x49\xc2\xe7\x6f\x1f\xf2\x31\x11\x8c\x28\x22\xb5\xed\x3d\xc7\x9a\x5f\x88\x58\xbe\x1d\x67\x7c\xfc\x76\x8e\xa5\x22\xe2\xed\xe2\x61\x0a\x86\xb9\x53\xf7\xde\xfa\x61\xa7\xfc\x7f\x5d\xfc\xe9\xc7\xe3\x8b\xff\xf8\xf1\x68\x55\xfa\xd4\x9d\xce\x33\x96\xe0\x85\xcc\x33\xeb\xc0\x13\x21\x6d\x00\x54\x0a\x94\x58\xb7\xdf\x97\xf1\x76\x75\x10\x5a\x9f\x2f\x7f\xb9\xbc\xfa\x72\x19\x89\x9e\xeb\xcf\x91\x36\x10\xff\xf3\xd3\xd9\xa7\xab\x9b\xbf\x44\x02\xed\xee\xea\x66\xf8\xb1\x59\x2b\x28\xbf\xa6\x4c\x86\x5f\x18\x7f\x62\xf1\xea\x65\x79\xd1\x39\x53\x74\x4e\x9c\xc0\xb6\xff\xbc\x33\x2b\xdd\x60\xe5\x57\x77\x3f\x9f\xdd\x84\xeb\xf8\x70\xf1\x97\xbb\xb3\xfb\xdb\xd3\x5f\x1a\x57\x62\x1e\x8b\x66\x76\x0b\xde\x87\xf7\x3c\xcb\xe7\x2c\xfc\x7b\xf3\xb9\x9d\x5f\xde\x9d\x7d\x2c\xcf\xee\x6a\x78\x17\x93\xfd\x26\x76\x6a\x1d\xfd\x74\x75\x75\x71\x36\x8c\xf6\xf2\x74\x78\x77\x76\x77\xfe\x29\xd2\xe7\x4e\x3f\xdf\x0c\xef\xce\xaf\x2e\x1b\x97\xe9\x66\x50\xb1\x50\xbd\xac\x70\x99\xbb\x96\x33\xad\x8e\xf9\xd0\x06\x8c\xcc\x41\x39\x0e\xd2\x6c\x8c\x2f\x08\xcc\xb2\x63\x6f\x4a\x27\x66\xa6\x95\xb2\x46\xc5\xdb\x84\xea\x65\x5d\xe3\x46\x37\x89\xbc\x3b\x3f\x05\x98\x97\x75\x19\xe3\x2c\xe3\x4f\xc6\x6d\x3f\xa7\x5a\xd1\xb3\x89\x8f\xfa\x27\x12\x25\xb9\x10\x84\xa9\x6c\x79\x52\x21\x4e\xe2\x6d\xe1\x42\x9d\x7a\xc7\xee\x46\x0c\x57\xe9\x25\x5d\xf5\x8f\x56\xb2\x4a\xd9\x27\xea\xa6\x05\xa5\xf6\xf8\xf4\x13\x91\x12\x4f\xc9\x07\x17\x37\xda\x91\x90\xba\xfd\x35\xfc\xe7\x7f\xdd\xae\xe1\x67\x37\x44\x34\x43\x70\x03\x0e\xc7\x5c\x28\x27\x55\xb6\xe1\xe5\x04\xe7\xb2\x13\x33\x37\x87\xbd\x30\xca\x25\x11\xc7\xd6\xcf\x40\x52\x84\xf5\x44\x6d\xcc\x0b\x12\x62\x17\x58\x6a\x26\xe2\xa0\xd3\x10\xfb\xf3\xdc\xa4\xc8\x22\x98\x4d\xcd\xed\xba\x10\x94\x25\x74\x81\xb3\x8d\x8e\x5e\xc9\x11\x62\x21\xee\x3f\xd0\x09\xc2\x6c\xf9\x66\x45\xf1\x52\x44\xcc\x21\xfe\x6b\xa7\xe9\x95\x98\x75\x6c\x6d\x76\x87\x31\xae\x70\x6c\xb9\x6f\xb0\x37\x26\x30\x51\xb7\xdc\xd2\x28\xf6\xed\xc6\xe6\xc2\xd9\x75\xf5\x98\x55\x04\x0b\x2d\x90\xa6\xad\xfe\x84\x17\x7a\x8b\x4d\x65\x03\x84\x8b\x35\xda\xb0\xae\xcd\x73\xd6\xff\x8a\x48\x16\xb8\xd0\xda\xab\x18\x05\x09\x6d\x7c\x66\xf5\x25\x91\xd2\x1e\x44\xdc\x2d\x4b\x4e\x72\x95\x0b\xad\x4c\x69\xb5\x1f\xfd\x40\x4e\xa6\x27\xe8\xea\xd7\xb3\x9b\x9b\xf3\xd3\xb3\x01\x1a\x5e\x5f\x9f\x5d\x9e\x0e\x10\x51\xc9\x1b\x67\x9a\x82\xd4\x24\xe9\x88\x29\x6e\x3d\x65\x4b\x34\xe3\x4f\xfa\x5d\x73\x22\xa6\x24\x5a\xb3\xfd\x31\x82\x3c\x8a\x29\x95\xca\x04\x15\x40\xfd\x29\xa6\xa5\x6f\xfb\x93\xaa\xf3\x9b\xab\xd9\x36\xac\x81\xa5\xcc\xe7\x78\x9c\x91\x7b\x8a\xe7\xf7\x82\x67\xeb\xce\x70\xe5\x91\x2a\x54\xc7\x7b\x69\xbc\x52\xf7\x38\x49\x78\xce\x54\xeb\xd1\xd6\xed\xe3\x29\x90\x49\xa2\x85\x3e\x50\xe0\xd3\x58\x2d\x7e\x11\x74\x54\x4e\xc0\xcf\x02\xf6\x03\x88\x8c\xac\x40\x42\xc0\x96\x54\xd1\xf2\x7d\x96\x6b\x25\xd7\xa9\x95\x41\xdd\x8b\x6d\x08\x5c\x35\xca\xcb\x9e\xbf\xf7\xe6\xe0\x55\x95\x13\x31\x06\x72\xa9\xe0\x00\xc0\x4d\x0c\x6d\x8a\x87\x80\xc0\x9a\x33\xcd\x81\xf8\x47\xce\x15\x96\x6f\x4e\x46\x4c\x9f\xee\x07\xb2\x34\x0e\x15\x7d\x7e\x7e\xa7\x65\xfa\xb1\x24\x4c\x52\x45\x1f\xc9\xef\x8c\x7e\xab\x25\xc0\x23\x16\x54\xf3\x9e\xd4\x6f\x50\x64\xbe\xc8\xb0\x8a\x2b\x9d\x4c\x68\x06\x11\x55\x3d\xa8\x3d\xbe\x36\xd4\x3c\x0e\xcb\xa3\xb8\xef\xcc\xf4\xa7\x44\x41\x98\x44\x51\x95\x6b\x1e\x48\x73\x88\x5c\xaf\x4c\x7d\xad\x6a\x01\x5c\x71\x6a\x42\x3c\x5b\x79\x7b\x36\x39\x53\x5d\x95\xc3\xf2\x79\xa1\x72\x91\xe1\xe5\x8a\x99\xb9\xee\x9c\x69\x63\x4a\x2e\x70\x42\x8a\x10\x93\x8b\xc6\x25\x7c\x3e\xe7\x2c\x5b\x7a\x58\x49\x4a\x27\x90\xf8\xa5\xf4\x19\x44\x63\xa2\x9e\x08\x61\xc5\xa7\xc8\xca\x02\x44\x99\x54\x98\x25\xb0\x93\xc0\x2d\x23\x4d\xab\x34\x07\x95\x6d\x74\x34\x40\xa3\xa3\x94\x3c\x92\x8c\x2f\xe6\x84\x29\xfd\x01\x51\x95\x27\xf4\x6c\x8e\x69\x76\xc9\xf5\xfd\x9b\xe0\x3a\x7d\xaf\xed\xb6\x08\x92\xd0\x05\x25\x4c\xc9\x7b\xa2\xc7\xdd\xab\x47\x6e\x9d\x7e\xec\xb0\x2b\x30\x13\x84\xd3\x54\x10\x29\x89\x44\xc5\x24\xad\x36\x6f\x1c\x99\x9e\x00\xed\x78\xd8\xfb\xf7\x76\xcb\xc6\xd5\x76\x42\xc2\x85\x4f\xe6\xf4\x2f\x2e\x0a\x35\x34\x72\xad\xad\x09\x53\x94\x13\x70\xd1\x33\x1f\x8c\x2f\x7b\x81\xca\xc7\x46\x0b\xf7\x76\xf3\x8c\x29\x73\xab\x9f\x6b\x9c\x9a\x0c\x61\x56\x09\x67\x13\x3a\xcd\x83\xbb\xda\xba\xbe\xca\xde\x36\xb2\x76\xc6\x49\xc6\x65\x2e\x5a\x1a\x61\xf1\xa4\xdf\xdb\x47\x9b\xe6\x7d\x16\xaa\x36\x79\xa6\x64\x27\xed\xa9\x82\xf0\x48\x90\x85\x20\x12\x78\x12\xfc\x86\xfa\x70\x2b\x7b\x0d\xdb\x5f\x0f\x10\x65\x49\x96\xa7\x9a\x06\x38\x2b\xfc\x82\x2c\x45\xc5\xd5\x36\x62\x73\x6b\x78\x20\x2c\xd1\x13\xc9\x32\xfd\xdf\x84\xcf\x17\x20\xb6\xed\x74\xed\x48\xda\x40\x54\x58\x91\x01\xe2\xb9\xd2\x83\x0d\x60\xb4\xd4\x6e\xc1\xf1\x18\x03\xd6\xab\xa8\xc5\x33\x62\x9f\xa5\x0b\x9a\x7b\x88\x8e\xe1\x75\x23\xc0\x28\x43\x1f\x89\x82\x51\x00\x33\x19\x2e\x10\x92\x32\xcb\x3e\x98\x6a\xda\x6f\x71\xa2\xec\x4a\x3a\xec\xfc\x05\x55\x44\xe0\xec\x13\x5e\xfc\x94\xf1\x71\xe3\xbe\x0f\xd1\xdc\xe8\xd9\xf6\x2d\x88\x96\x2d\xac\x00\x5b\xb2\x8e\x47\x89\x10\x51\xd4\x68\xcd\xf1\xf7\x44\x3a\x83\xe7\x1a\xd9\x53\xff\x02\x20\x79\xda\x42\x86\x50\x4d\x79\x9e\x36\xc9\x79\xdd\x1c\xc1\x42\xbc\x7f\x3d\x76\xa8\x99\xef\x7c\xd5\xf6\x5e\xc7\x04\xb1\xcd\xbe\xef\xc5\xc0\x01\x51\x33\x42\x05\x6a\xb5\x2c\x77\x7e\xef\xcd\x99\x6f\xcf\x34\x05\x6f\xd7\x99\xde\x46\x88\x78\x01\xa1\x27\x66\x31\x9e\x10\x15\x0d\xc2\x0c\xa5\x49\xa0\x94\x2c\x08\x4b\x25\x02\xf6\x72\xa7\x21\x92\xfd\x03\x34\xa1\x5f\xed\xa0\x2e\xe2\x53\xfc\x34\x30\x1f\x6a\x9c\x0a\x33\xbc\xca\x76\x1d\xee\xc7\x6b\x78\xbe\xd1\x6a\xe6\x52\x5b\x88\x89\x56\xac\x04\x49\xb8\xd0\x22\x11\x5e\xeb\xfd\x7c\x6b\xef\x46\x85\x85\x26\x0a\x5e\x67\x96\x45\xf3\x28\x30\xcf\x29\x56\xe4\x58\x5b\xa2\x6b\x22\x1c\x0b\xae\x5f\x83\xe8\x5c\xdb\x16\x3e\xe8\x16\x5a\xf2\x63\x32\xc5\x0c\x89\x9c\x31\xca\xa6\x35\xb3\x75\xa2\x7d\x8b\xc3\xac\x35\x2b\x3c\xd7\x76\x28\xe8\x11\x7a\x42\xf1\x3c\xe4\x02\xc8\xd9\x38\x0f\x6b\x4a\x3e\x17\xd5\x54\x03\xd9\x9e\xb0\xb7\x6c\x6b\x26\x9b\x43\x09\xb4\x83\x99\x6c\x86\xa5\x42\x76\x4e\x35\x33\x0e\xb5\xd9\x1d\x44\xc5\x9b\xea\x86\x85\x86\x43\x17\xe5\x3c\x9c\x22\x92\x44\x29\x6a\xeb\x5b\xe5\x92\x20\x3c\xd1\x76\xf1\x9c\x88\xa9\x53\xf8\x4c\x65\x07\x7f\xb4\x6d\x89\x07\x27\x47\x43\x59\x32\x62\x95\x43\x9f\xa0\x21\x5b\x89\xfa\x3a\x27\x47\x44\x2f\x23\xb5\x71\xf6\x84\x97\x12\x2d\xa0\x0e\x87\x09\x44\x17\x8b\x07\x2f\x54\xfc\x90\x73\x39\x69\x85\x8a\x26\x38\xcb\x96\x08\x0c\xbd\x60\x66\x35\x9b\x15\x14\xb7\x6b\x2f\xec\x5a\xea\xfe\x25\xcf\x6a\x55\xa9\x3b\x6f\x02\x55\x4a\xba\x15\x65\xd6\xdf\x1c\x51\x9c\xd1\x82\xf1\x40\xb7\xb4\xd6\xc5\x59\xec\x95\xad\x51\xf8\xa2\x82\x1d\x5b\xa8\x7d\x0e\x0f\xbb\xb9\x5c\xab\xc3\xca\x86\x02\xb6\x00\xcb\x56\x4b\xd7\xb2\x5b\x63\x9b\x39\x04\xa8\xd6\xca\x29\xa0\x5d\xe0\x5a\x77\xe2\x25\xf1\x2c\xd1\x32\x87\xeb\x7c\x82\x18\x67\x04\x51\x59\xfc\x18\xe2\x6c\x06\x73\x01\xc7\x6f\x4a\x18\x11\x50\x06\xc9\x85\xe5\x7c\xbe\x89\xcf\x04\x78\x66\x63\x75\xe8\x8d\x2c\x34\xa1\x24\x4b\x25\x62\x44\xeb\xfa\x58\x2c\xb5\xdc\xb2\x07\xbd\x8d\xce\xb0\x2b\x2d\xae\x42\xac\x5a\xf5\xca\x61\x3c\x21\x27\x45\x6b\x28\xa5\x79\xa1\x61\x96\x15\x3f\xb2\x0f\x59\x88\xc3\x88\x79\xeb\x10\xf8\x8f\x4a\x6d\xf5\x9c\x20\xd8\x36\x55\x3c\xa5\x65\xaf\xfe\xc0\xed\xe1\xc0\xe9\x78\xd2\x64\x74\x74\xb1\x89\x9d\x3c\x2f\xe8\x18\xa3\x7e\xb4\x90\xd6\x2b\x98\xd2\x47\xc2\x2a\xcb\x31\x3b\xa6\xc8\x22\xf7\x5c\xb3\xd4\xb1\x25\xa6\x0e\xc0\x7f\xd3\x9e\x52\x7a\x93\xf3\x15\x8f\x8e\x29\x20\x55\x18\x9f\xd9\xd2\x7b\xeb\x43\x15\xfe\xdc\x88\x16\x88\x70\x6b\x55\xe2\x77\x8c\xab\xdf\xa1\xc2\x76\x71\x66\xa2\xa9\x40\x66\x4d\xf6\x41\x04\x3d\xd6\x6f\x83\x13\x6a\x99\x04\x61\x7f\x56\xd3\xf5\x94\xdf\x16\xe4\x57\x44\x23\xf6\xaa\xd5\x9c\xad\x46\x14\xeb\x72\x37\x4c\xfa\xe1\xce\x6c\xe3\xe7\x28\x0a\x89\x0c\x1b\x08\x02\xe1\x04\xc6\xd1\x9c\x0b\x52\x4a\x81\x34\xc2\xdb\x05\x2d\x6c\xea\x59\x7b\x2e\xad\x70\x13\x99\xb4\xae\xe2\x98\x47\xee\xa1\x66\xb7\xd0\x2e\x62\xe9\xf3\x18\x85\xd9\xc0\x01\x6b\x90\x9c\xd5\xa6\xea\x26\xf1\xef\x3a\x5d\xcd\x3b\x68\xc3\x5a\x6f\x75\xf8\xc5\x93\x11\xfb\xc0\x85\xbd\x3b\xa5\xc5\xed\x8e\x71\xf2\x70\x4c\x58\x8a\x70\xae\x66\x06\x47\x68\x7d\xaa\x4b\xbb\xb3\x5a\x2f\x00\x16\x70\x5b\x9c\x52\x99\x60\x61\x85\xfe\x04\x3f\x72\x37\x8b\x11\x0b\x06\x01\x64\x30\x64\x1f\x40\x86\x74\x9d\x02\x41\x20\xdb\xab\x8e\x16\x55\x79\xc0\x2b\x59\xc0\xcd\x67\x26\xcc\x25\x1c\xc1\xfb\x48\xca\x88\x94\xa3\x23\x33\xeb\x12\x85\xce\x9d\x9f\xc6\xe9\xfd\x32\xac\xa8\xe8\x7f\x69\xce\x98\xf3\x54\xd8\x55\x68\x35\xe5\x47\x27\x3b\x23\x54\xe5\x24\x17\x00\xa2\xac\x1a\xf3\x87\x64\x46\xb3\xc2\x77\xfb\x66\x60\xcf\xa3\x19\x32\x23\x8f\x24\xd3\x03\x53\x96\x08\x32\x27\xcc\x86\x55\x7f\x44\xff\x69\xf2\x63\xd1\x1f\x46\xec\x23\x88\xd5\x2c\x5b\x0e\x10\x9d\x14\x23\x63\x55\x1a\xe6\xa1\x72\x02\x7a\xcb\x8c\x64\x89\x26\x62\xf6\x7b\x86\x1f\xc9\x88\xb9\x61\xfe\x13\x3d\xa0\xdf\xa3\x3f\xd4\x39\x38\x2c\x82\x76\xdf\xf6\x2f\x70\xb1\x7b\x57\x20\x19\x06\x56\x7d\x04\xc9\xe1\xcc\xe3\xc8\x37\x55\x98\x30\x5e\xc1\xf5\xb0\x5f\xca\x1e\xf9\x6a\x54\x27\x3c\xb9\x58\x10\xa6\xee\x19\x4f\xc9\x3d\xa9\x08\xe9\x34\x08\x0a\x7d\xa9\x5f\xf2\x94\xac\x0d\xc8\x78\x05\xf9\x0b\x98\xf4\x32\x1f\xfb\xed\xd0\xef\x2d\x8c\xd1\x98\xc1\xaa\x27\xec\x0b\x43\x6e\x32\xdd\x4d\x63\x48\x57\x56\xbb\x1a\x80\x44\xb7\x13\xa8\x8e\x63\x64\x20\x25\x00\x67\x52\x3e\x85\x65\xcf\xa9\xfe\xb1\x5e\xb9\xbd\x73\x82\x92\x97\x90\x46\x20\xe8\x94\x6a\x6d\xbb\x39\x4e\xb5\x5e\xb5\x2c\x22\x2b\x41\x8f\x8f\x31\xcf\xcb\xd0\x72\xd8\x1c\x73\x25\xaa\x48\x83\xae\x52\xed\xd1\x58\x3f\x2f\xe0\xd6\x9d\xe4\x99\xfe\x99\xf1\x20\x9a\x22\x15\x32\xee\x28\xa2\xef\x5a\x29\xe9\xd4\x82\x52\xdc\x80\xd4\x42\x72\x53\xf0\x26\xa0\x64\x86\xd9\xb4\x59\x81\xfa\xef\x9c\xe4\x3b\x42\x51\xd8\x24\xa8\x17\x8a\xcf\xe2\xa9\x34\x0a\x0b\xa8\xae\x40\x1b\x2d\x8b\x0a\xfa\xfe\x43\xaf\xd4\x46\x68\xb1\x7c\x28\x3c\x2c\x1e\x99\x69\xec\xc7\xb2\x21\xfb\x5d\xf8\xdf\x6a\x22\xde\x58\xbe\xdb\x81\xdf\xe1\x39\x02\xb8\xab\x8a\x41\xc5\xc1\x03\xfe\xb3\xb9\x0c\xcf\x6a\xd6\x7b\xe1\x55\xba\x70\x77\x6d\xe2\x77\x30\x21\xdd\xa4\xec\x0c\xad\x54\x59\x8d\x76\x55\x73\xc7\x6d\xec\x40\xe8\xcc\x12\xe6\xdd\xf7\x10\xd7\xd8\xda\x9f\xe7\x37\x21\x28\x3b\x63\xd1\x76\x66\x35\x24\xdd\xaf\x8f\x21\x8e\x14\xc5\x78\xbf\x20\x50\x54\x87\xc3\x0c\x66\xb4\x41\x54\x6e\xd5\x02\xa8\x9e\x9b\xfb\xba\xed\x54\x1a\xfd\xe3\x2d\xbd\xdd\x60\xca\x36\x1d\xdb\x0b\x0b\x3f\x89\xfd\xc4\x26\xa6\xce\x83\x48\x19\xb8\x8c\x73\x89\x94\xc0\x00\xe7\xe2\x4c\x8e\xd8\x17\xa3\xbe\x51\x69\x0c\x25\x9b\x6a\x07\x76\x18\xa2\xf0\x6f\x10\x9e\x36\xd5\x48\xcd\xb0\x51\xee\xab\x7d\xd2\x3e\x39\xde\x9f\x84\xd0\x2b\x5d\xf5\x32\x78\x91\xd5\x59\x2b\x87\x74\x84\x0e\x31\x80\x2b\x3d\x75\xaa\x9d\xa4\x54\x02\x36\x12\x67\xb5\xc6\xd2\x98\xf3\x8c\x60\x56\xa7\x4f\x56\x7e\xbd\xe2\x26\xa1\x21\xac\x4d\x9b\x3b\x5a\x25\x11\x39\xd1\xca\x34\xce\xb2\xd2\xba\x30\xd4\xb0\x51\x84\x19\xab\xda\x5a\x44\x7a\xa2\xe9\x1a\x0f\xf9\x20\x3c\xf9\x63\x92\x75\x82\x1e\x98\x07\x1a\xb9\x08\x7e\x52\x94\x49\x69\x05\xe0\x0d\x23\xe2\x95\x70\xe7\x75\x13\x0b\x41\xd2\x8d\x3e\xd1\x18\x68\xdc\x61\x8a\xeb\xc4\xf9\xb0\x14\x4b\x46\x04\x02\xd0\x18\x10\x5c\x7a\xff\xe0\xbc\x3b\x97\x87\x97\xf7\xd1\x2e\x41\xaa\x21\x3c\x9c\x72\x22\x03\x15\x0b\xf1\x47\x62\xf9\x97\x4e\x88\x56\xc3\x46\x4c\x6b\xa4\xa1\x3a\x88\xa5\x3e\x68\x0b\xc1\xa7\x16\x36\x86\x13\xc1\xa5\xb4\xe1\x61\x33\x8e\x3c\x69\xbc\x49\xee\x2c\x50\x7d\x17\x01\x8e\xe7\x43\x8a\xad\x56\x4c\x2b\xd2\x18\x6b\x34\x8f\x31\xf1\xa0\xfc\xda\x73\xbf\x2d\x88\xc4\x99\x20\x48\x10\x2c\xad\xd1\x07\x58\x8b\x52\x94\xb9\x83\x9e\xe0\xe7\x6c\x30\x57\xc7\x6e\xb3\x43\x16\xb2\x89\x35\xa6\x58\x91\xb6\xd8\x85\x20\x50\x85\x62\x9c\xd9\x58\x46\xc4\x35\xb4\xa8\xc8\x5f\x50\xc4\xdb\x37\xe6\xcd\x20\x27\x25\x9d\xeb\xb3\x02\x19\x85\x8c\x1f\xf3\x05\xd8\x0d\xe5\x5f\x4d\x30\xcd\xb4\xc0\xa2\x71\x43\x00\xad\x5c\x1d\x43\x51\x1d\xc2\x54\x95\x87\xd7\x0d\x02\x1e\x61\x92\x9a\x6d\x34\x9c\x3b\x3a\x1a\xfe\x74\x75\x73\x77\x76\x3a\x3a\xf2\x12\xdb\x63\x1f\x9c\x58\xf7\x29\x16\x9c\x8d\x98\xf7\xbe\xfb\x6a\x79\xb0\x97\x08\xa7\x69\x91\x51\x60\x10\x51\xf7\xc6\x8b\xd8\xf6\x54\xac\x75\xc0\xaf\x0e\xf3\x81\x7e\x25\xe9\x0d\x56\x5b\xb9\xed\x1b\x93\x41\x5b\xb9\xa7\x2a\x59\x3c\x67\x74\xc5\x45\xd2\x20\x64\xfd\x52\x3e\xeb\xe7\xda\x73\xb0\x39\x09\xb0\x57\xce\xcf\x21\x91\xc8\x99\xb6\x2c\xb1\x2f\x62\x38\x01\x1e\x60\xc9\x72\x80\x00\x1f\xac\xb9\x76\x89\xfe\x88\xe6\x94\x01\x96\xaf\x89\xb6\x9f\xe3\x85\x74\x49\x59\x3f\xbf\xfc\x1c\x17\x7b\xf8\xf9\xea\xf3\x4d\x9c\x40\xf8\x97\xe6\xe4\xf3\x78\x84\x26\x73\xbe\x58\x63\x80\x97\xe0\x86\x14\x9e\x34\x55\x0b\xbd\x28\x5f\xd4\xdf\x56\xfa\x4f\xe6\x75\x86\x5d\x67\xfe\x00\xe1\x0e\x28\xe9\xc7\xae\x74\xbb\x7c\x1f\x63\x5a\x5d\xc7\xf6\xda\x5e\x2f\xe8\xca\xc8\xdf\xe6\x31\xec\x62\x01\x60\xbb\x56\x5f\xbf\x9d\x11\xd1\xc5\xa8\x0e\x96\xdb\x41\x7b\x43\xc5\xd3\xce\x03\x20\xad\xf7\x6f\x81\xc7\x34\x83\xb8\x06\x0f\x12\x54\x2a\x34\x0b\x79\x32\x62\x61\xb5\x55\x73\x67\x6a\x1e\x70\x49\x4a\x94\x4d\x11\x67\x04\x71\x61\x62\x58\x5e\x1c\x0e\x42\x74\x74\x19\xdd\xa3\x66\x68\xc9\x73\xe1\xdf\xb8\xf2\x1e\xcb\x7d\x72\x86\x5d\x9c\xdb\xe9\x99\x36\x0a\x13\x66\x45\xc1\x78\x0b\x41\x0a\x63\x0b\x5e\x4c\x1e\x09\x43\x4f\xda\xb0\x2a\x9c\xf2\x23\x16\xe0\x6e\xb4\x4a\xca\xbe\x57\x1e\x44\x40\x33\xdb\x7f\x08\xfb\x08\x44\xe1\x6a\x91\x98\xda\x91\x9b\x19\x78\x07\x00\x6a\x40\x84\x6f\xc6\x7c\xf0\x64\x9d\xf7\xc0\x84\x6c\x80\x07\x42\x5f\x86\x01\x79\x56\xb2\x2c\xf9\xba\x20\xc9\x26\xa8\xd7\x6b\x57\x4f\xaf\xc9\x9b\x11\x86\x90\x6c\x9a\xb4\xdd\x3a\xc5\x9d\x6f\xa5\x3c\xdb\x35\xf3\xec\x84\x3d\xd7\x13\xfd\xd5\x26\x6b\x75\x9c\xa7\x43\x9f\x4f\x04\x9f\xb7\x9b\xe2\xf3\xe0\x2d\xef\x56\x90\x8b\x91\x7b\xe0\x40\x80\x96\xeb\x67\x59\x87\xb0\x5c\x27\xf5\x7e\x35\xf7\xa2\x07\x53\x43\xa2\x24\x41\x93\x6c\xa9\x88\x1e\x5d\xe9\xa9\x5a\x70\x63\xf8\xce\xf0\xce\xf2\xe1\x03\x87\xaf\x28\x9d\x82\x28\x30\x31\x26\xc8\x6a\x43\x06\x6c\x58\x8d\x92\x84\xeb\xb3\xca\x23\x1a\x04\x15\x6d\xae\x88\x26\x9e\x54\x78\xee\x33\x03\xcb\xe9\xa0\x25\x72\xad\x91\x46\xbb\x42\xf7\xed\x01\x19\x59\x65\xeb\x46\x68\x4d\x1b\x7d\xdf\x4d\x4a\x54\xe9\x86\x6e\x9c\x58\x94\x13\x15\x4e\x28\x25\x0a\xd3\x4c\x86\x79\x40\xab\x5b\x19\xdd\x7c\xa6\xc8\x8f\x73\xbc\x6e\x68\x25\x07\x4d\x08\xc3\x9d\x47\xe1\x1d\x0f\x4e\x96\x39\x5e\x06\xa8\x20\x7d\x0a\x32\xa2\xe0\x72\xa6\xcc\xff\x2b\x16\xb5\x8e\x99\x43\x16\xad\x8a\xcc\x9f\xa0\x9f\x96\xfe\x5a\xc4\x59\x16\xce\xc4\x38\xef\x8a\xd6\x77\xfa\x28\xc0\x25\x86\xce\x2f\x87\xef\xef\xce\x7f\x3d\x03\xc4\xcb\x92\xe7\xe8\x89\x4a\x6d\x21\x8c\x18\xf8\x03\xb5\x40\x85\xdf\x29\x8e\xcc\x0f\x07\xf0\x2b\xc0\xc1\xc9\x7c\x3c\xa7\xda\x9e\x2a\x16\x19\xb5\xc2\x1e\xd8\x73\xac\x1f\x80\x6b\xdb\xe1\xad\xaa\x20\xbf\x6b\xce\xc7\x06\x66\x70\x31\xc8\xb6\x90\xaa\x20\x5c\xb1\x5f\x50\x55\xa0\x66\x87\x66\x4d\xe5\xf1\xea\x51\x55\xd5\x87\x32\x4e\xb9\x83\xbc\x48\x2a\x55\xe9\x32\xa9\x4f\xb4\x2b\xb6\x60\x17\x90\x2a\xa7\x6d\x77\x90\x83\xb7\xee\x91\x6a\x6d\xe7\xd6\x57\x6b\xab\x54\xc1\xae\x6b\xf5\x9b\x43\x4b\x78\x28\xc2\x76\x9b\x07\x81\xba\x98\x5b\x05\x34\x39\x64\x85\x00\x81\x10\x43\x7a\x49\x59\x74\x33\xae\x20\xfa\x9a\xa8\x6c\x59\x01\x7d\x18\xb1\x6a\xbd\xa1\x99\xc7\xb6\x0d\xa4\xee\x34\x31\xc2\xef\xc8\x8d\x5f\x85\xf5\x88\x7c\xf1\x90\x29\x63\x8c\xfa\x7a\xbb\xa4\x74\xae\x9c\xff\xb5\xc6\x0a\x00\x75\x61\x93\xdc\xc3\x8a\x53\xd9\x32\xcc\xb9\xf6\x5c\xd8\x2b\x73\x3f\x16\xd4\x96\xf1\x60\xc8\x0d\xdc\x7d\x46\x23\x38\x31\x07\xe0\x21\xe7\x8f\x44\x08\x9a\x6a\x0b\x2b\x4c\x25\x6f\x45\xb9\x16\x65\x5b\x6a\x64\x98\xe9\xe9\xa0\x38\x84\x4d\xbc\xcd\xab\xc7\x73\xe9\x4d\x25\xe9\xe6\xd5\x9d\x9c\xa5\x44\x30\x82\xd5\xec\xf9\xe2\x8b\xef\xb7\x75\x19\x3e\x5b\xac\xf1\xfd\x4e\x6a\x1b\x85\xd3\x8d\xeb\xfc\xac\x9d\x67\x5e\xaa\x26\xde\x0c\x4b\x2d\x8a\xea\xac\x18\x51\x15\xae\xae\x00\xdf\x6b\xed\xac\xb8\xc0\x4e\x47\xf0\x75\xad\x05\xe1\xdd\x4f\xda\x3c\x88\x0b\x2e\xd8\x56\x1b\xcd\x22\x5d\xd5\x44\x5e\xda\x54\x20\x34\x3a\x76\x54\x0e\xce\x7c\x62\x3f\xa8\x29\x1b\x58\x7a\xac\xbc\xda\xd0\x30\x60\xcb\xb2\x5d\x8d\x45\x9a\x11\x09\x2a\x9f\xd1\xf5\x4b\x5a\x5d\x93\xcd\x31\x62\x3f\xf3\x27\xf2\x48\xc4\x00\x61\x85\xe6\x5c\xdf\xe4\x8c\x84\x35\xe8\x71\x9c\x78\x68\x5c\xda\x18\x5d\xe2\x39\x49\xcf\xe0\x3e\x08\xb0\x5b\xd6\xf2\xb1\x5e\xc5\xaa\x1c\x16\xc8\xcb\x30\xdb\xe0\x5c\xe0\x23\x86\x13\x45\x1f\x89\x89\xed\x00\x60\x90\xba\x85\x01\xff\xff\xce\xfb\x3c\x7f\x77\x82\xee\xf4\xc5\x45\x65\x3c\xdf\x00\x0b\x5b\x37\xb7\x11\x9b\x0a\x9e\x2f\xbc\x66\xca\xc7\xa0\x12\x1b\xdf\x67\x85\xcf\x13\x26\xe3\x1c\x9e\x09\x4e\xf5\xb5\xd8\xcc\x38\x91\xed\x74\x60\xae\x80\x18\x5f\x17\x32\x90\xbe\x2d\x7c\x58\xc9\x42\x07\x80\x8d\xea\x93\xc1\x77\xe7\x3b\x5d\x29\xd6\x25\x41\x29\xf3\x26\x6b\x04\xb6\xd8\x50\x54\x04\x66\xbe\x33\x89\xab\x51\x42\xc5\x6b\x4d\xf1\x4b\x23\x38\x48\x75\x35\xd9\x9a\xbd\x6f\x9f\x6e\x55\x9a\xe5\x75\x2e\x16\x1c\x60\xb6\xd9\xd2\x41\x93\xe6\x18\x82\xe7\x0b\xbe\xc8\x0d\xe2\x98\x86\x41\xa6\xca\x09\xc5\x75\x3e\x76\x1e\xfc\xdb\x42\x67\x39\xd5\x4a\x1d\x65\xa8\xf8\x21\xb2\x5e\xcd\x4a\x36\xcb\x05\xdd\x48\x35\xb1\x56\x31\x79\x24\x4c\x15\x4a\xee\x1c\x2f\x10\xd5\xb2\x44\x4b\x43\x31\x25\x03\xf4\xe4\xda\xc0\x21\x8c\x72\x41\xdd\xae\x83\x66\xda\xc0\x5b\xb1\x6a\xf8\xd6\x78\xa9\x0d\x4e\x27\xc1\x41\x89\x1b\x5b\x82\x3a\x51\x39\xf6\xb1\x44\xc8\x5f\xcb\x28\x7b\xd0\x2f\x7b\x02\x33\xda\x79\x20\x85\x3e\x73\x5c\x38\xa0\x63\xb4\xa7\x9f\x6c\x87\xce\x5d\x21\xa2\xe5\xc3\xbd\xef\xe0\x51\x5f\x65\xae\xe1\x44\xdf\x61\xf9\x50\x51\xec\xae\x72\x1b\x6d\xfd\xb7\x2d\xdf\x58\x5f\x61\xaf\xda\x4c\x71\x52\xfc\x1e\x00\xd6\x9b\xbd\xb3\x16\x8e\xde\x5e\xf2\x40\x76\x0b\x4d\x20\x93\x08\x53\x66\x73\x18\x89\x4f\x2a\x77\x55\x8e\x4c\xe9\x5a\x8b\x7b\xc6\x63\xfe\x18\x01\xeb\xe7\xa6\x14\x6c\xa5\xd6\x12\xdc\x74\xdb\x30\x45\xdc\xd1\xa5\xf5\x99\x77\xfb\x01\x95\x7c\x2b\x77\xa2\xed\x4d\x56\x5e\xcc\xba\xe0\xf1\x06\x16\x68\x30\xba\x37\x41\xdb\x1c\xf4\x53\xd8\xd3\x31\xf8\x17\x8a\x62\x43\xa6\xa6\x1d\x5c\x51\xa1\xba\x31\x28\x5c\xed\x46\x00\xf8\x34\xfb\xb7\x23\x66\xb5\xa0\xb7\x46\x07\x7a\x1b\xf4\xbe\x59\x2e\xa2\x8e\x9f\xcd\x1b\x1d\xd0\xe6\x20\x8b\x09\x54\x36\xde\xaa\xb6\xdc\xf7\x54\x4b\x60\x5f\x1d\xb2\x2a\x17\xb1\xef\x4a\x02\x87\xd6\x0d\xb6\xbd\xf8\x2b\xaa\x67\xd8\x79\xdb\x92\x02\x70\x2b\x47\x21\xa9\x0f\x10\x3d\x0c\xa6\x39\x0c\xaa\x6e\x02\x6e\x51\x11\x61\x12\xdf\x21\x0e\xe1\x7d\xdd\xd6\x4e\x59\x27\x1b\x8b\x23\xb3\x75\x72\xb6\x1e\x6f\x15\xd5\xb4\x63\xff\x6b\xb3\x20\x5c\x83\x93\x1a\xfa\xa2\x90\x45\x3a\xbb\xac\x61\xde\x3e\x06\x51\xb5\xaa\x08\x7f\xe7\x88\x59\xb9\x29\xeb\x18\xef\xb5\xb1\x5b\x0b\x6f\xff\xb0\x8a\x22\x36\x5a\x53\xa3\x8f\xf5\x5c\xb6\x5f\x2e\xdb\x45\xa0\x2b\x9e\x5c\xf7\xdb\xec\xbd\x51\x88\x82\x61\x5c\x32\x81\xd6\x70\x9d\x9c\x8e\xb3\xfe\x9b\x93\xe0\x1a\x97\xbc\x33\x5f\xcb\x2e\x54\xdf\xba\x20\x4c\xa8\xde\xd9\x85\xfb\xca\xa5\x8a\x5b\xf4\xcd\xde\x14\xe7\x1a\xfb\x78\x25\xd1\xb2\xed\x94\x76\xa4\x73\xaf\x09\xfb\xd8\xb0\xaf\x75\xd6\xd8\x6e\x6b\x8c\x3c\x99\xd3\x76\x18\x6e\x9f\x0a\x3e\x7c\x61\xbf\x4f\x94\xa2\xbf\xb3\x0a\xb3\xf7\xeb\x9d\x30\xd5\xf6\xf7\xee\xaa\xbe\x16\xa5\xd8\x56\xea\xbd\x3a\x5d\xf9\xb2\xbe\x62\x49\xb7\xe2\x9a\x11\x11\xd7\x17\xd6\x84\xf2\xdb\x58\xd6\x54\xd5\x84\x6c\xc6\xf4\x50\x6a\x6b\xae\xe2\x01\xe3\xc9\xbd\x70\x61\xcd\xd2\x64\x0e\xa7\xba\xe6\x5a\xba\x1d\x2e\xe0\xb3\x62\xa2\x2d\xaa\x6a\x7a\x3c\x02\x14\x0b\xe9\x26\xf2\x01\x03\x4a\xd3\x2c\xea\x13\xae\x0f\x55\x1b\x7f\x4b\x39\x10\x1a\xb9\xcc\x4a\x6b\xb1\x20\x41\x88\xdc\xc4\xc5\xc9\xeb\x85\xe2\xd9\x23\x61\x6a\x27\xfa\x02\x0c\x51\x81\xd7\x68\x67\xf4\x9b\x2a\x00\xe7\xa7\x85\x98\xf0\x05\xa3\xb4\x59\x6c\xd5\x54\x25\xb0\xbe\xa5\x5c\x6b\x04\xdb\x10\xa1\xce\xdd\xa9\x97\xd6\x6e\x8b\xe0\xa7\xab\x74\x59\x13\x94\xb1\xd4\x86\x72\x22\x25\xe7\x3a\x4f\xa0\xe3\x56\x27\x08\x71\x74\x33\xb3\x14\x52\xfd\x82\x6a\xa6\xa6\x21\x66\x79\xcf\xcd\x3b\x67\x58\x96\x5f\xb9\x76\xcb\x37\x40\x1e\x46\xc3\x7c\x24\xea\x14\x2b\xbc\x93\x52\x7a\x1d\x80\x20\x30\x91\xcf\x22\x5b\x5b\xb0\xfd\xd6\x94\x5c\xc9\x45\x56\x18\x36\x18\xe9\x0b\xed\x24\x88\xb5\x00\x3e\x2b\xa2\xa8\x99\x4c\x8d\x1c\xe8\x5e\x62\x7e\x9f\x53\xb5\xb3\xd9\x08\x47\x28\x95\xc8\x13\x48\xca\xd2\x27\xae\x7a\x67\x6d\x36\x2a\xc8\x4e\xeb\xac\x97\x11\xc6\xd8\x25\x23\x40\x08\xa7\xf2\x5e\xaf\xe7\x9f\x6d\x7d\x00\x71\xd9\xa6\xbd\xb9\x02\x22\xe9\x1d\x2d\xa0\x87\xb2\x6e\x6a\xe0\xdb\x04\x65\xcf\x81\x80\x34\x57\x82\x12\x48\x81\xca\x3c\x6e\x32\x96\x74\xd6\xe7\x53\xcd\x58\xbb\xe9\x61\x03\x9a\xea\xde\x58\xa9\xa1\x52\x7d\xc8\x4a\xed\x9c\x98\x66\xaa\x26\x64\xaa\xcf\x67\x2e\x89\x30\xe9\x6b\x1e\x72\x54\x51\xc3\xa3\x36\xe6\x50\xd9\xb2\xa7\x29\x0c\xb8\xd2\x3a\xa8\xfa\x62\x37\x8e\x0c\xf4\x03\x74\xce\xc5\x8a\x9c\x38\x84\xe9\x1b\xf4\x9f\x50\x93\xe3\xff\xad\xab\xcd\x36\x25\xe2\x3e\xcd\xa3\x00\xde\xba\x49\x5d\xeb\x87\x4e\x73\xb5\xac\x46\xea\x46\xf6\x45\x86\x93\x87\x2e\xe8\x65\xfd\xfb\x9a\x61\xd7\x33\x7c\xe0\xd1\x8a\xe5\x6e\x0d\x36\x98\x94\xb0\xc1\x36\xde\x11\xbe\xdf\xc4\x26\x18\x94\x6c\x09\x8c\x73\x1b\xa6\x19\xea\x39\x9f\xa0\x0f\x26\xed\x16\xee\x10\xf3\x8a\x84\xe7\x59\x3a\x62\xe4\xab\xb6\xae\xfd\x83\x94\x4d\xab\x52\x25\x6d\x4e\xb1\x7d\xd3\xba\x83\xb7\xbd\x40\x7f\x71\x20\xf7\xea\x9e\xae\x2e\xb9\x9a\xc9\xb6\x52\x9d\x0f\xa4\x71\xd6\x7b\xd7\x24\x76\x80\xfc\x22\x4b\x6c\x91\x91\x47\x22\xf0\x94\xd8\xc6\x5a\x41\x5a\x2c\xde\xa0\x8f\xd6\xf5\x4a\xb0\xf5\x75\x37\x83\x5b\x89\xe1\xee\x97\x8d\x6d\x2b\xbd\xb5\x6a\x48\x7b\x1f\x76\x7b\x99\x76\xc7\x17\xc7\xa6\x06\x29\xf3\x1d\xee\x9c\x8e\x91\x64\x58\x4a\x3a\x59\x06\xad\xeb\xdc\xe5\x6d\xc2\xa8\x3e\xfb\x3a\xce\xd2\xaf\xbc\xda\x2d\x8f\xec\x06\xe5\xb3\x7d\x74\xdf\x1a\xaa\x2e\xd4\x4c\xd3\x10\x28\x08\x85\xa7\x0c\xd4\x33\x6c\x02\xd9\xaa\x36\xd6\xdc\xc2\x99\x36\x43\xe5\x54\x80\xa1\x3a\x1c\xc0\xe2\xa9\x9d\xc5\x0f\x36\x5a\xc5\xea\x5e\xb7\x67\xc8\x5b\xa2\xa4\xef\x81\x5b\x10\xdf\x98\x26\x41\xcb\x45\x07\x18\x68\xc5\x6b\x07\xe2\xc6\xb6\xf3\x32\xe7\xfd\x9b\x3f\x09\x5b\xc3\x5f\xec\xcc\x2c\x08\xe4\xdb\x38\xa2\xe5\xbd\x3f\x88\x83\xba\xc2\x90\xbb\x3d\xae\xc7\x0e\x98\xd4\xea\xd4\xd6\x51\xe8\x30\xce\xee\x8d\xcd\x51\xde\x5f\xbf\x9b\xf5\xdb\xd5\x85\xdf\x8a\xf9\x6e\xe0\x27\xb4\x63\xec\x42\x40\xed\x57\x83\x5a\x21\x4c\x4b\x1b\xe0\x76\x35\xfd\xb5\x7b\x87\x7f\xc1\xd9\x3d\xf9\xaa\x4d\x43\xb9\x29\xba\xe0\xb3\x24\x12\x0d\xbf\xdc\x22\xb9\x64\x0a\x7f\x7d\x87\x46\x47\x9f\x4c\x8d\x2f\xf4\x33\xcf\x85\x44\xa7\x78\x79\xcc\x27\xc7\x73\xce\xd4\x0c\x7d\x82\xff\x6b\x3f\x7a\x22\xe4\x01\xfd\x85\x60\x31\x3a\xb2\x5d\x84\x6d\x23\x11\x9f\x87\x3b\xc3\x10\x6c\x92\xb6\x7c\xd8\x1f\xfe\xec\xea\x87\xe9\xd7\xfc\xf8\xf6\x0f\x7f\x46\xbf\x83\xff\xf7\xff\xa1\xdf\x8d\x8e\x6a\x32\xe9\xba\xe5\x44\x14\x05\xde\x2a\x47\x7b\xa0\xc9\x03\x9f\x4c\xee\x15\x9d\x13\x93\x3c\x78\x8f\x45\x6d\xab\x81\x8e\x38\x49\x6a\x73\x1a\x4d\x55\x96\x02\x22\x6f\x5f\x6a\x82\x72\xee\x9e\xf0\x9d\x1b\x0d\x62\x9d\xc5\xb9\x7c\x54\xc2\x53\xda\x94\x9f\x4c\xba\x78\xc6\x5c\x53\xf6\xd5\x8a\x09\x45\x78\x37\xcc\xd0\xf5\xb6\x57\xe8\x31\xe0\xeb\x2a\xa0\xad\xba\x32\xbe\x31\xe3\x15\x16\xb8\x57\xc3\xf5\x96\x8b\xad\x44\xf8\x03\x59\x71\x6b\x75\x72\x0b\xbb\x64\xc3\x30\xd1\x1b\xe2\x46\x5c\x78\xb0\xb1\x71\xf3\xdb\xcc\xbe\x11\xbb\xbb\x3a\xbd\xfa\xe1\x01\x2b\xc1\xa7\x98\xbd\x79\x87\x86\x69\x6a\x8b\x6e\x23\xeb\x9b\xd3\xcc\x33\x23\x82\x9c\xa0\xb0\x82\x2e\xd3\x84\xab\xf4\xf3\x86\x2a\x1b\x15\x24\xa9\xb2\x2f\xab\x0f\xbb\x26\xdf\xa9\x7f\xa4\x06\x90\x13\x65\x54\xfa\x17\x14\xd9\x4f\xb0\xd6\x07\xb2\xb4\xdd\x65\xca\xeb\xdd\xa4\x8e\xf8\xed\x82\x24\xda\x48\x85\xa1\xb9\x48\x09\x90\xc7\xf4\xf2\xa3\x52\xb9\x90\x64\xd5\xa1\xba\xc3\xf2\xe1\xc0\x72\xdb\x68\x1a\xb6\x96\x56\x95\xcd\xa3\xac\xf0\x53\x58\x3e\xec\xac\x9d\xb6\x26\x45\x9b\x4e\xda\x76\xe4\x20\xf1\xc3\x96\xf7\x05\x85\x2a\xc0\x44\xcf\xf1\xc2\x94\x18\x06\xc1\x08\xcd\x8b\x83\x44\xcc\xaa\xf9\xaf\xdb\x68\x03\xac\x0e\xdc\x10\x02\xc0\xe4\x5a\xdd\x4b\x21\xd2\x82\xd9\xd2\x30\x80\x16\xb4\x58\x3e\x48\x9f\x60\x89\xe4\x1c\x67\xd9\x00\x09\x92\x43\x8d\xe8\x01\x92\x24\x9b\x1c\xbb\x5c\x96\x14\x65\x7c\x4a\x13\x9c\xa1\x71\xc6\x93\x07\x39\x62\x5a\xf2\xb1\xa9\x11\xd8\x0b\xc1\x13\x22\x65\x70\x55\x14\xc1\x34\xd3\xc2\xdf\xd4\x80\x33\x35\x58\xa9\x54\x34\x29\x15\xfe\xd2\x27\x19\x5a\x22\x24\x18\x14\x63\x48\xed\x9c\x9b\xe6\x3e\x82\x12\xf0\xb1\xa8\xdc\x95\xe9\x06\xac\x3e\xce\xe8\xff\x40\xd0\x7c\x86\x1f\x29\x17\x75\xdc\xbb\x03\x78\x94\xdb\x9e\x7b\x15\x9f\x86\x35\xfc\xfc\xde\x3e\x06\x67\xa8\x89\x63\x6e\x62\x76\xf6\xdc\xe0\xd9\xdc\x43\xea\x1d\x53\x14\x75\xd2\x5c\xda\x82\xf9\x89\x0b\x92\x1d\x18\x8a\x06\xa6\x5c\x83\x9d\x59\xc7\xd3\xef\x4d\xe9\x31\x33\x46\x68\xdb\xc2\xe8\xae\x38\x93\xcd\xac\xd3\xa2\xed\x51\x33\x89\x23\x8f\xa6\xbd\xe9\xdb\x1c\xf4\x8e\x5f\x64\xf9\x94\xb2\x63\x9f\xf1\x91\x62\x85\x47\x0c\x12\x83\xf5\x4b\x4a\xc5\xa5\x56\x39\xea\x80\x6b\x80\xed\x46\x38\x76\x2c\x05\xe6\x88\xdc\x85\xc9\x63\xbe\x75\x2d\x51\x36\x06\x54\x8b\xaa\xe0\xab\x6d\xfa\xa7\xbf\x7d\xa4\x45\x82\x7b\xf0\xa2\xda\xbd\xdd\xd8\xba\x2e\xcd\x6a\x05\x95\x40\x27\x86\xc9\x60\x6e\x10\x09\xb3\xf5\xac\xeb\x66\xf4\x22\x38\xcf\xa6\x8d\xbc\xc6\xca\xd4\x24\x26\x73\xae\x4c\x0a\xad\xc9\x66\xb5\x49\xae\x36\x49\x76\x9c\xf1\x31\xdc\x2b\x90\xe8\x0a\xeb\x8e\x7b\x6a\x9b\x75\x93\x14\xfd\x10\x5c\x13\x1e\x7c\xf1\xa6\x2e\xa0\xbb\x3b\xb0\x69\x39\x7f\xa9\x16\x72\x0a\x1b\x16\x14\x6e\xbb\x2e\xdc\x24\xe5\x55\x4d\xb0\x96\xdc\x75\x8d\xb9\xba\x01\x54\xa3\xdd\xdf\x01\x40\xb5\xb4\x8c\x9a\x82\x2c\x7c\x17\x2d\x94\x9a\x17\x75\xc1\xdb\xdb\x3f\x06\x8e\x66\xf4\x8f\x68\x73\x1c\x9b\x2d\xab\xb6\xe8\xb0\xc0\xb7\xf1\xe4\x5e\x18\x7c\x5b\x9a\xcc\x21\x83\x6f\x4b\x53\x3d\x5c\xf0\x6d\xc5\x44\x5b\x80\x6f\x8d\x9b\xf8\x5e\x33\x75\x3b\xa1\xb0\x10\x5c\xf1\x71\x3e\xb9\x85\xdb\xa4\x4d\x65\x21\x23\x9c\x9d\x9e\x63\x73\x1e\x60\xb6\x46\x07\xea\xa6\x88\x85\x18\xdd\xd2\x92\x5b\x62\x74\x23\x91\xd6\x63\x74\x3d\x46\x77\x95\x2e\x87\x88\xd1\x2d\xed\x79\x3b\x8c\x6e\xd5\x96\x6f\xe0\x7b\x8f\x86\xf9\x66\x30\xba\x25\x8a\x1e\x32\x46\xb7\x34\xd5\xdd\x61\x74\xab\x77\xb6\x1b\x46\xb7\xf2\xfa\xaf\xe7\x9f\x6d\x21\x5d\x50\x55\xe5\x99\x31\xba\xd1\x02\x7a\x8c\xee\x96\xe5\x66\x63\x16\xb4\x33\xf0\x4d\xbc\x57\xd9\xbd\x09\xa5\x0b\x2a\xed\x0e\x38\x6a\xbf\x31\x41\xf0\x42\xb5\xd5\xba\x87\x11\x1d\xa4\xad\x9d\xa4\xaf\x3f\x07\xe5\x0c\x5a\x32\xf5\xc5\x06\xb6\x4d\x03\x2f\x11\xd9\x7b\xaf\x60\xe3\xea\x58\xae\xa2\x3c\xd2\x16\x0c\x68\x0b\x0e\x6e\x5a\x18\xaa\xbe\x4b\x4b\x46\xe7\x74\x57\xc3\x7e\x17\xfe\xb7\x96\x20\xdb\x16\xe9\x4d\x16\xf9\x26\xe0\xcb\xe9\x66\x8f\xcd\xc9\x9c\x8b\x75\x61\xb3\x1a\x73\x96\x0b\x3c\x5d\x07\xf8\x6c\x4b\xbd\x6d\xa9\xe6\x4a\x0d\x77\xf3\x6f\xdc\xb9\xa7\x1a\x0d\x2e\x57\xc5\x38\xf4\x80\x83\x4e\x5a\x19\x63\xf1\x19\xee\x1b\x46\x51\x6a\x70\xed\xab\x2f\x04\xf7\xaa\x24\xe2\x38\x00\xaa\xc7\x7e\xcd\xd5\x19\x44\x74\x77\x0a\xda\x16\x64\xcf\x45\x6d\x6c\xba\x85\x8c\x1d\x9a\x8a\x75\x5a\xfb\x0b\xd3\xdf\xcb\x9c\x36\x5e\x56\xe0\xa8\xda\x99\xd4\xa6\xb7\x5c\x17\xc7\x30\xfd\x1f\xbf\xd1\x13\x9a\x11\x84\x93\x84\x48\x68\x4e\x88\x2c\x76\xc1\xd4\x4c\xcb\x45\xb6\xcd\xae\x52\x36\x85\x75\x6b\x65\x32\xa8\x66\xeb\x99\xc7\xdc\x19\x33\xc1\xf3\xe9\xcc\x59\x59\xae\xe1\x49\xd5\x5e\xba\x0c\x98\xd7\x1b\x10\x28\x95\x40\x2f\x33\x41\xf7\x88\xa9\x23\xc9\x33\x47\x4d\xab\xd6\xd1\x81\x3b\x22\xcc\x4b\x71\xfc\x9d\x1f\xdb\x68\x25\x90\x88\x32\x62\xc3\x08\x1d\xe3\xfa\x65\x8c\x97\x45\x94\xdd\x5c\xed\x21\x93\x41\x87\x2f\x6b\xbd\x40\x49\x6d\xfd\x17\xa8\x21\xf0\x90\x8d\xa7\xba\x98\x29\x00\x04\x48\x7a\x8c\x93\x65\x92\xd1\x24\x50\x49\xa7\x02\x2f\x66\x4d\x9c\xd8\x23\x6a\x5f\x0a\x51\xfb\xb4\x2a\x0b\xba\x4e\xcd\x97\xf0\x87\x52\x6f\xaf\x19\xe9\xbb\xca\x8e\x2f\x0b\xf2\xad\x38\x1e\xed\xe5\x44\x1b\x7c\x6f\x54\x00\xdb\xcb\x87\x35\x68\xdf\x7a\x2a\xbd\x30\xd0\xb7\x2c\xc4\x77\x81\xa3\xa8\x3b\x1f\xeb\xb1\x14\x5d\xae\x94\x6e\xb0\x0a\xbf\x51\xaf\x0b\x5a\xe1\xa7\xbd\x21\xbc\x62\x18\x94\xab\x9d\xf1\x0c\x5a\x70\x45\xd4\xf2\x2f\xf0\x11\x5a\x4f\x20\xb7\x19\xd0\x6f\x05\xae\xb8\xa2\x69\x4b\x13\x88\xc2\x6f\xe2\xb7\x01\xa4\x58\xa3\x37\x75\x04\x53\x84\x44\xdd\x0e\x50\xb1\xa5\x1e\xd4\x0d\x54\xd1\xd4\x3f\xa7\xbc\xdf\x1b\xb8\xff\x57\xf2\xcb\xfb\xe0\x91\x0f\x1e\x55\xd3\xe6\x10\x03\x48\x15\xad\xf6\xdb\x05\x91\xea\xb6\x7f\x17\x9c\xb4\xc3\x60\xd2\x0b\x87\x68\x1a\xa3\x33\x01\x83\xbd\x6c\xcc\xab\x29\xdc\xb5\x9e\xcd\x2a\xfd\xf7\xf5\x7b\xda\x29\x8c\xc4\x9a\x43\x48\xee\x2d\xdb\xfa\xfa\x3d\x3e\x77\xaf\xfe\x7e\xef\x8f\x08\x9e\x68\xe9\xf3\x2f\x00\xc4\xbd\xdf\x7f\xaf\x7e\xff\x0a\x42\xaf\xf7\xfd\x47\x0a\xc2\xb3\x3a\x6c\xdd\x9b\x9f\xc3\x69\xbb\xb5\xf2\xb2\xce\x71\x5b\xe9\xa8\xad\xd1\x62\xf4\xe2\x87\x19\xc5\x5b\x39\x52\x1e\xf1\x0a\x6e\xb1\xc3\xa9\xf8\x94\x4b\x85\xc0\x7e\x37\xed\xe1\xcd\x7c\x2d\x08\xce\xa7\x77\x41\xd1\x02\x93\x2a\xc5\x78\x5a\xdb\x25\xac\xb4\x94\xae\x73\x29\xbc\x5e\xb6\x56\x82\x55\x8d\x61\x5c\x43\xee\x94\x3f\x31\xa9\x04\xc1\x73\x98\x88\xb4\xed\x52\x26\xc6\xbf\x65\x8c\x4e\x2a\xa2\xfe\xef\xad\xb6\xf8\x82\xb2\x07\xbd\xbb\x45\x42\x1b\x87\x6c\x21\xfd\xe6\x8a\x4d\xfb\x89\x32\x2c\xb6\xea\x95\x61\xea\xd0\x6e\x64\xd2\x8d\x97\x75\x19\x7f\x0a\xaf\x4b\xef\xeb\x62\xc0\x49\x3a\xd7\xf2\x51\xbf\x0e\xc1\xd5\x61\xaa\xdc\x60\xa4\x30\x34\xed\x9b\x91\x6c\x11\xd4\xac\x58\x60\xa1\x7c\x65\x66\xb9\x94\x8a\xcc\xa1\xbf\x45\xce\x4c\x6b\x3f\xa3\x13\x3e\xd9\xb4\x10\xeb\x1f\x28\x06\x3f\x19\xb1\x73\xf5\xbd\xd4\xe7\x8b\xb3\x69\xb6\x44\x38\x7d\xa4\xb2\x48\x2e\x4c\x38\x93\xf9\x9c\x08\xfb\x0a\x2a\x4d\x41\x64\xd3\x5a\x0b\x61\xc7\x2b\x7a\x6e\xfa\x02\x76\x05\x94\xac\x8c\x98\xa2\x31\x99\x68\xe1\xbb\xc0\x42\x3a\x5b\xb4\xc2\x8e\xb4\x9b\xab\xcd\xd5\x97\x3b\x93\xbf\x86\xc7\xce\xf4\x58\x36\x27\x14\x5b\xdd\xe6\x6d\xf9\x7c\x5a\xaa\x37\x9c\xcd\xf1\xca\xa2\x50\xb3\x50\xb6\x54\x38\x5d\x29\xb6\x5c\x56\xf9\x5d\xcd\x67\xd3\xad\x51\xbf\xc7\x5d\x6c\x66\x72\x9d\xbc\x06\xa5\x05\xda\x59\x1b\x53\x30\x3c\x9b\x84\x42\xbf\x6e\xa9\xb0\xa2\x89\xbd\x43\x8b\xaa\x7a\xe6\xe9\xfa\xad\x3d\xdd\xba\x9d\x2f\xce\x56\x77\xb8\x9e\x96\xb7\xe6\xf7\xcd\xb2\xcf\x1e\x37\x33\x76\x63\xd8\x2c\xe1\x59\xd6\x25\x7f\xb0\xb4\xf2\xf7\xc5\xe3\xcd\x33\x2a\xde\xa3\x37\xc0\xed\x05\x9c\x1a\x93\xf3\x88\x33\x50\x32\x18\x91\xca\xee\x52\xf8\x23\x23\x43\x97\x88\xe5\xf3\x31\x11\x23\xc6\x27\x90\x56\x9a\xd5\x99\x0f\x0b\xc1\xe7\xb4\x0b\x90\xfd\x0a\xb6\xd9\x77\xa9\x5d\xe3\xd5\x70\x3d\x69\xf5\x29\xb2\xec\x65\xdf\x68\x7a\xec\x30\xd3\x02\xbe\xe1\x0c\xcd\xf1\x62\x23\x82\xaf\x74\x33\x5b\xa1\xf4\xdc\x98\x30\x96\x7a\x90\x3d\x47\x20\x59\x13\x88\xfc\x84\x97\x45\x70\xb1\xcb\x71\xba\x35\xba\x08\x91\xee\xbc\x60\xc7\x65\xc1\x89\x11\x61\x97\x5f\x47\x85\x36\x27\xe8\x7d\x15\x1b\x76\x3e\x4b\x6e\xcd\xfb\x4c\x0e\x08\x8f\x7d\x68\xb6\x74\xb9\x0d\xe3\xc3\x10\x8c\x88\x60\x3a\xcd\xa4\xfa\x14\x71\xce\xce\x69\x54\x1a\x07\x19\x9d\xde\xf9\x4c\xaf\xab\x47\x7d\x06\x9a\x59\xb6\x6e\x45\xac\x2d\xf1\x0a\xdd\x6a\x4c\xbb\x37\x56\x94\x94\x0e\xce\x7b\x97\xba\xf5\xeb\x6d\x88\x89\xd6\x5d\x8c\x5a\xc9\x27\x93\x8c\x63\x6d\x56\xda\x88\xdb\x84\x66\x44\x9e\xa0\xf3\x0a\x7b\x22\x6c\xfb\x60\xd2\xa1\xc0\x23\xee\xf4\x9d\x5c\x50\x1b\xc5\x23\x82\x78\xad\x06\x51\x5b\x03\xb1\x30\x3d\x05\x31\x5d\xcb\x4d\xff\x0c\x86\x66\xfc\xc9\xb8\x9f\x05\xd5\x52\xc6\xa8\x97\x4a\x4f\x89\x6a\x59\x40\x95\xb1\x49\x53\xb2\x20\x2c\xf5\x0f\x70\xd3\x44\x09\x27\xca\x35\xdf\xb5\xb3\xaa\xd9\xd2\x5d\xf4\x14\xe9\xd6\x52\x43\xbf\xb5\xd4\x49\xee\xbb\xf0\xbf\xe5\x19\xde\xc5\xa3\x77\x9e\x9d\xd7\xcb\xbb\x3b\x79\x3f\xc0\xa3\xce\xa9\x80\xd1\x44\x10\xf0\x3b\xcd\x3d\x8e\x84\xa5\x44\x48\xc5\x39\xdc\x50\xb7\xa7\xbf\xbc\xfd\x7c\x8e\x88\x4a\xa0\x2c\xdc\x88\x25\xf2\x71\xa0\x15\xda\x7f\xe4\x44\xe9\x8f\xeb\x8a\x0d\xcc\x09\x93\x20\x09\x68\xdb\xf2\xa0\x8e\x30\xfa\xbf\xa7\xf1\xf3\x0d\x2c\x1f\x34\xbb\x33\x85\x39\x80\x77\x5d\x22\x35\xb0\x29\x64\xef\x45\x5d\x7e\xa2\xfd\xe0\x3c\x23\x98\x9d\x55\x55\x79\xd9\x20\x2a\xc8\xfe\x9e\xb3\x8e\x6a\xd2\xfb\xe2\xa1\x60\x16\x35\x5a\xd8\x7c\x81\x05\x95\xdd\x86\x77\xcf\x54\x8e\xbe\x4e\x88\x38\xba\x62\x34\x36\x94\x42\x45\x41\x1c\xa4\x04\x21\x20\x42\x3c\x3f\xd9\xbb\x1e\x6e\xf9\x80\x1a\xc1\x43\x27\x23\xf6\xc9\xf9\xc1\x8a\x4f\x65\xd1\xdb\x6e\x3e\x86\x24\xfd\x1c\x6c\xa6\x78\x14\x18\x36\xa5\xd2\x7f\x00\xb9\x9b\x32\xcf\x94\x29\x01\x31\xa1\x0c\x67\x7e\xa2\xe6\x9b\x2a\x29\x21\x30\x4b\x66\xd0\x7d\x63\x9b\x48\xdd\xe4\x9e\x64\x5d\x74\xc7\xf3\xc9\x59\x26\x35\x7f\x27\x0f\x35\xa7\xf3\xf7\xae\x74\x4c\x87\x0d\x2a\x16\x03\x9a\x9b\x2b\x28\x60\xac\x12\x13\xac\xc8\x14\x31\xd9\x9f\x10\xb0\x28\x07\x89\x0d\xf8\x46\xef\xa2\xd5\xad\x6d\x33\x19\x25\x78\x66\x9e\xd0\x36\x16\xbc\x05\x61\x35\x62\x22\x67\x90\x81\xe7\xfd\xa8\x18\x49\x22\xa8\x71\x68\x26\x9c\x19\x1d\xc0\x3a\x4f\xa6\x5a\x4c\x68\xcd\x0f\x22\xf4\xd0\xc7\x5c\x50\x9e\x4b\x2d\x43\xf0\x9c\x28\x7d\x41\x99\xc6\xdc\xc6\x93\x3d\x40\x0b\x41\xe7\x8a\x3e\x12\x9f\x36\x1b\xee\x5c\x25\x33\x6f\x13\xe5\x58\x10\x81\x55\xdb\x2c\xdc\xaa\xb7\x5f\xb9\x11\x2a\x0f\x6c\x46\x26\xea\xbe\xd2\xef\xd2\x60\x62\xe8\x11\x59\x5a\x53\xae\x89\x4e\x67\x3b\x18\xb1\xfd\xa9\xff\xa3\xf5\x8b\xe9\xa3\x1e\xdc\xf8\x82\x73\x65\xf8\xad\x90\x49\xc8\x51\x13\xd4\x05\xfb\x52\x53\xb9\x43\x6f\x2a\x85\x5d\xd5\x67\xf8\x81\xf1\x27\xe6\x6d\x6b\xad\x36\x9c\xe1\x64\x16\x0a\x16\xeb\xaf\x36\xa7\x7a\xed\x79\x8e\xaa\x53\x1c\x08\xee\x37\x6c\x2f\x06\x95\xa2\xb2\x25\x2a\x2a\x90\x44\xcf\xb5\xb9\xde\x8c\xdd\xe9\xce\xae\x59\xb0\x4d\xba\x57\x64\x61\x6d\x63\xdb\x81\xca\x07\xfb\xc1\xbd\xaa\x5f\x75\x82\xbe\x38\x4d\x0e\xc2\x01\xde\x43\x0d\x28\x54\x2a\x51\x86\x97\xae\x4f\x63\x15\x61\x77\x01\x08\xdd\xb5\x8f\xbe\x99\xc0\x1e\x73\x56\x41\xe5\xe8\x42\x65\xcc\x58\x58\x1d\x1a\x86\xbf\xf7\x0f\xdd\x92\xe6\xd8\xf4\x07\xc8\xc2\x37\x1d\x40\xc1\x5b\xc5\x59\xb6\xfc\x7f\xcc\x66\x01\x10\x54\x1f\xa1\xdc\x7a\x03\x02\x1f\xa6\x3e\x3f\xe0\x83\x63\x5c\xe9\x4b\x71\x42\xb3\x0c\x00\x4e\x27\x68\x08\x75\x64\xa0\x42\x88\xe9\xf9\x6a\x82\x38\x74\xca\xf8\xba\x38\x77\x0d\x33\x25\x01\x33\xdd\xd6\x33\x93\x04\x6e\xf2\x51\x85\x1d\x71\xd4\x0e\xa0\x58\x5a\xb6\xe0\xd5\xb4\x83\xf6\x00\xac\x0e\x97\x71\x88\x85\xc9\xc7\xf7\x7b\x0f\x7f\x56\x4e\x37\x34\x8d\xab\xa7\xfe\x31\xc7\x02\x33\x45\x00\xf6\x6d\x90\xe6\xc2\x06\xfc\x34\x07\x22\xf2\x15\xa2\x76\xcc\x18\x76\xf0\x51\xb8\xb9\xce\xe9\x3e\xa5\x8f\x84\x21\x9a\x0e\x10\x3d\x21\x27\x03\x5b\x65\x50\xe6\xe3\xe2\x97\x33\x2c\x11\x1e\xb1\x15\x40\xd1\x09\x1a\x66\x92\xdb\x27\x08\x4b\x32\xa8\xdb\x24\xf3\x71\x08\x32\x06\xce\xb7\x6e\x22\xdb\x72\x1a\xb6\xb2\x18\x9e\xdb\x2f\x82\x07\x47\x0c\x4b\xe3\x95\xce\xe0\xa4\x17\x9f\x57\xd5\x13\x8b\x22\x15\x7b\xcc\x4b\x5b\xb9\x86\xf6\xb6\x49\xa6\x00\x51\xd3\x06\xc1\x2f\x60\x63\x0a\xa0\xd7\x88\x79\x76\x46\x3f\x60\x95\x11\x2c\x15\xfa\xc3\x9b\x4e\xc1\x19\xb7\xbe\x42\xb8\xda\xd3\x5b\xc0\x11\x5c\x08\xb4\xae\x1c\x22\x94\xad\x40\x18\xda\x22\x7a\x80\xc2\x40\x6f\xb3\xe2\xe8\x91\xca\x1c\x2a\x61\x05\xf0\x1a\x53\xcb\x88\x2a\xe9\xd2\xf2\x8d\x9f\xb2\x46\x8c\xb8\x8a\x78\xd6\x7f\x69\xa7\x55\xc1\x58\x03\xdb\xca\xd9\x28\xbb\x80\x70\xf5\x3c\xa7\xbf\x19\x31\x2b\x58\x5d\xdc\x26\x28\x99\x32\xcc\xb2\x90\x1f\x8d\x82\x93\x12\xa6\x17\x0c\x75\xbc\x4e\x50\xd8\x42\x4c\x16\xb1\xc2\xb8\x04\x65\xd1\x24\x15\xf1\xc9\x88\x79\x94\x62\x38\x76\xa5\xb2\x53\x65\x2e\x3e\xa3\x0e\x5c\xf1\xfa\x0b\x53\x50\xad\x85\x2e\x5c\x5f\x4d\xb5\xc1\xbd\xb2\x62\xa2\x37\xa8\xc6\xbb\x7e\x41\x7b\x4d\xb9\xda\xdc\x85\x5b\xf6\x89\x57\x58\xcf\x35\x9b\x1b\xa8\x16\xdb\xe4\x40\xfa\xa0\xf5\x73\x39\x70\xa3\xa9\x9f\xa7\x80\x2c\x5a\x2f\x04\x0b\xa4\x8e\x13\x1d\x60\xb7\x52\x97\x22\x03\x67\xab\x08\xc0\x03\xa4\xc4\xc9\x3d\xfb\xcb\xba\xfa\x29\xaf\x7b\xf9\x83\x62\xfd\x6e\x29\x3e\x0a\xbd\xba\xf0\x7a\x5d\x6f\x98\xfe\x1d\x27\x84\x25\x4b\xf3\x26\x57\x07\xaa\xd0\xe3\x40\xd9\x0b\x32\x7e\x30\xd8\xe6\x95\xda\xa1\xad\x8d\x78\x82\xce\xe0\x9e\x71\xa5\x12\xf1\xc4\xf9\x17\x82\x1f\x8f\x98\x36\x4c\xf4\x15\x2f\xcd\xa4\xdd\xf8\x31\x8b\x57\x9d\x00\x03\xe1\xde\xca\x35\x33\x5f\x9f\x4c\x5a\x67\x4c\x38\x04\x39\x8c\x01\x99\x79\xe8\x6c\xfa\x0e\xa5\x3c\x79\x20\xe2\xad\x20\x29\x95\xef\xc0\x55\xae\x6a\x7d\x74\x73\x6d\x6c\x6f\xad\x68\x6c\x5a\x65\xd7\xbc\x1f\x9c\x36\xee\xde\x22\x5a\x43\x98\x80\x35\xe1\xd0\x65\x06\x72\x66\x53\xa5\x11\x61\x4a\x2c\x17\x9c\x32\xe5\x50\x12\x49\x89\x10\xce\xd0\xd0\x3a\x5b\x1d\x16\x47\xec\x22\xa4\xb6\xe1\xb2\xef\x66\x44\x12\x17\x3f\x30\x8b\x52\x1c\x99\x2a\xa2\x46\x5c\x2c\xb0\x9a\x49\xc0\xc7\xc5\x34\xb0\x36\x17\x3c\xaa\x29\x84\x17\x10\x7e\x30\x4e\x8a\xe2\x21\x0f\xfc\x92\x8a\x66\xd9\x88\x31\x42\x52\x89\xa0\xae\xc5\xf7\x95\x38\x4c\xfd\xe8\x00\xe1\x34\x45\xff\xfb\x87\x0f\x17\x7f\xb9\x3b\xbb\x3f\xbf\xbc\xfe\x7c\x77\xff\xe1\xfc\xe2\xec\xcd\xc0\x7f\x78\xf5\xf9\xce\x7f\x6a\x1c\x2c\x8f\x44\xa0\x39\x7e\x00\x0b\x8f\x49\xa3\xfe\xa9\x19\x19\xb1\x70\xa6\x2e\xed\x45\x7f\x23\x89\x83\x9a\x58\x35\xc5\x27\x3e\xd8\x3d\xac\xd9\x30\xd7\x41\xbc\x83\xed\x7b\xe3\x1f\x69\xe6\x41\xc7\x3c\xfe\x15\x4e\x0d\x9c\x13\x06\xcd\xb1\x2d\x66\xad\x30\x7d\x0b\x86\x23\x6c\x4a\x59\x5d\x40\x9c\xb0\xc7\x7d\xea\xf0\xbf\x90\xe5\xaf\xda\xba\xbe\xc6\x54\xb4\xe6\xbd\x33\xf6\x48\x05\x67\xb0\x34\xef\xd5\x2a\x2a\x91\x17\xdd\xc0\x83\x43\x25\x8d\x2e\x0c\x21\x97\x45\x2d\xe8\x82\x4d\x68\x2d\xbc\xea\xc5\x96\x3b\x34\x6e\x62\xf2\x55\x09\x6c\xfb\x93\x49\x2b\x6e\xf0\x23\xa6\x19\x00\x66\xdc\x45\x53\xf0\xa0\x29\x70\xfd\x0e\x91\x0c\x8f\xb9\x00\x38\xa5\x89\xf0\xb9\x21\x2c\xc1\xa0\x64\xae\x1f\xa8\x0e\xb8\xc1\xc5\xfe\x1a\x0f\x44\xf7\xd0\x35\x17\x6d\x6e\x72\xfd\x33\xa0\x02\x5f\x68\x93\xac\x24\x44\xed\x35\x3b\x21\xd8\x54\xce\x94\x20\x69\x64\xbe\xd0\xeb\xb0\x60\x90\x2c\x8b\x8a\xb4\xe8\x33\x20\x4f\xac\x73\xbc\xf8\x25\x67\xe8\x97\xff\x90\x68\x9c\xab\x11\x8b\xc7\xe0\x0c\xfa\x0c\xfc\x84\x55\x32\xab\x32\xec\xea\xaf\xda\xeb\x2d\x6b\xa5\xfb\x65\xde\x2f\xe2\x91\xa2\xd1\x28\x53\x64\x5a\x4e\x55\xea\x92\x5d\x7f\x09\xa0\x1e\xe8\xac\x08\x45\xd4\x39\xb2\x3d\xf2\x2c\x96\x7b\xc1\xd3\xef\x25\x3a\xbf\xd6\x32\x57\xeb\xd8\x10\x8e\xa6\xd2\x78\xd2\x20\x3a\x05\x08\x3d\xf3\xb4\x41\x08\x0d\xd0\x8f\x68\x94\xff\xf8\xe3\x9f\x12\xf4\xd5\xfd\xf1\xef\x7f\xfe\xf3\x9f\xfe\x7d\x93\x9e\x00\x30\x6e\x41\x23\x9b\x49\x59\x16\xc2\xe1\x0e\x9c\x95\x2a\x80\x76\x8f\x04\x43\x41\x49\xd3\xf2\xba\x5b\xda\x4f\x45\x85\x45\xab\x56\x3a\x6f\x84\x20\x26\x5a\x0f\x65\x4a\xeb\xe0\x49\x44\xca\x8e\xaa\x56\x65\xa9\x52\x3b\x0e\x14\x29\x78\xea\x54\xca\x2f\x04\x4a\x33\x33\x57\x3b\x8a\x33\x16\x02\x74\x55\x44\xfb\xb8\x9c\xea\x56\xec\x9f\x6e\xa6\x6c\x9a\xb5\x27\x40\xf6\xa2\x61\x00\x9a\x0a\x9e\x2f\x3c\x04\xd1\x81\x31\xcc\x36\x8c\xd8\x27\x7d\xcf\x9f\xb3\x09\x7f\x67\x19\xf6\x82\xb2\x07\xf8\xab\xc6\xc7\xbd\xfd\x1e\xf9\xc2\xa5\xc1\xe7\xce\x3e\x30\x14\x3f\xb6\xd5\xab\xf5\xac\xa5\xc2\xc9\x83\x49\x13\x6b\x2a\x7c\xdb\xb5\x74\x6f\x01\x61\xc8\xb5\xa4\xb4\xa4\x83\xb6\x97\x32\x2c\xac\xf1\x48\x31\xc2\xe8\xf3\xcd\xf9\xe6\x25\x13\x48\xc4\x93\x3e\x8d\xa1\x2e\xa3\xa6\x94\x8a\xb9\x55\x06\x9f\xd1\x96\xee\xbb\xe1\x4f\x9c\x52\x06\xb8\x92\xa6\x8d\xf4\xb3\x8c\xf3\x06\x3c\x8f\xb9\xf7\x3b\x11\xa0\x2d\x43\xf3\x08\xd1\xc4\x16\xa6\x08\x74\xda\xd0\xa4\x76\xfb\x12\x0b\x61\xc7\x17\x57\x67\xc1\xf6\xcb\x30\x73\x1b\x93\x8c\xb3\x69\xc3\x1c\xb6\xae\xa5\x10\x4e\xc1\xe6\xbf\xd7\xcd\x60\xc4\x86\xee\x27\x1e\xc0\xc0\x24\x35\x6d\x09\xc0\x05\x2b\xf3\xb1\x09\xd4\x40\xd7\xd7\xa0\x84\xa9\x5d\x5c\xcd\x22\xb6\xec\x7f\xf9\x59\x12\xe1\xed\x1c\x0b\xbd\x74\x2a\x99\x5b\x47\xcd\x9b\x6d\x09\x92\x2d\x5e\x7e\xeb\x96\x58\xaa\x66\x52\xf5\xe2\x75\x47\xf3\xcc\x83\xd3\xec\x40\x61\x01\x15\xe3\xde\xce\x96\x85\x33\x55\x53\xdc\x18\x7d\xa5\x97\x45\x87\x75\x62\x40\x18\xdb\xa9\x3c\xc6\x57\xb4\x73\x37\xa6\x9a\x11\x06\x17\x7a\xfb\x91\x01\xc9\xd2\x5d\x5f\xc1\x05\x5a\xc3\xd9\x98\x81\x06\x9a\x33\x6a\x93\x68\xad\x53\x3d\xf0\x26\xb8\x62\xe1\xc5\xf3\xda\x9e\xc1\x8a\xca\x09\x5d\xc9\x7a\x2d\x43\x5f\xb6\xa1\x7a\xa7\xa2\xe3\x6e\x9b\x9b\x58\xd5\x47\x45\x4e\xd0\x07\x2a\xa4\x0a\x96\xa4\xf5\x4b\x8b\x5c\xa9\x2b\x63\xaa\x66\xa4\x36\xe9\x62\x17\x46\x88\x5b\x41\x5b\xcb\xcc\x47\xc0\x4e\xd0\xb0\xa8\x5f\x60\xb0\x3b\xa6\x13\xf9\x9a\x15\x91\x4c\x92\x4d\x98\xaf\x95\x6a\x09\x0a\x3b\x30\x10\x02\x71\x29\xf5\xe7\x45\x02\x98\x9f\xe6\x13\x80\x4c\xf0\x03\xa9\x2b\x7e\xde\xb5\x70\xfe\xda\x7a\xf9\x43\xaf\x39\x72\xa3\x3c\x6e\x32\xc1\xf6\xc7\xae\x80\x4b\xd1\xc9\x5b\x4d\x72\xdb\x89\xc6\xc4\xb6\x26\xc0\x87\x16\x70\xf5\x34\xb3\x4d\xc0\x2d\x53\xba\xfd\x93\xa6\x3f\x56\x4e\x5c\x0c\x0b\x42\x83\x9e\xc0\x27\x23\x76\x3e\x41\x8c\x87\x78\x2c\x98\xb5\x3f\xa4\xc6\xf7\xe5\xf7\x1b\xd9\xbb\xc1\x90\x01\x2c\x71\x37\xd4\xea\x69\x8e\xbc\x06\x5b\x1c\xe7\xed\x7a\x6c\xf9\x93\x5b\x73\x8d\x75\xcd\x76\xab\x3d\x4b\x9d\x82\xa4\x53\xc2\x88\xa0\x09\x64\x52\x98\x6b\x77\x81\x69\x95\xed\x67\x33\xc9\x0f\x35\x27\x68\xd7\xc9\x40\x76\xb9\x1b\x26\x02\x65\xe6\x69\x03\x66\xcf\xa0\x96\x94\x49\x00\xda\x45\xda\x4c\x91\xd3\xdf\x2e\x65\xc6\x30\x8f\x34\x25\x76\xcd\xbc\xba\xf1\x48\x44\x62\xdb\xca\xcd\xb8\x71\x24\x64\x2f\x19\xc4\x1d\x9f\xf8\x2c\x27\xe3\x04\x32\x09\x91\xda\x28\x5c\xf9\xe3\xa7\x8c\x8f\xe5\x9b\xb0\x31\x90\x7d\x47\x01\xbc\xab\x67\xc1\xdd\x24\xd5\x38\x52\xec\xf3\x3e\x74\x67\x26\xbc\x0f\xbb\x10\xbe\x9a\xa9\x8a\x18\x98\xc1\x1d\x60\xc1\x73\xe6\x92\x12\x38\x23\x7c\x02\x40\x44\x68\x59\xe0\xac\x42\xc0\x2b\x33\xae\x02\x8c\x81\x20\x0b\x13\xe1\x02\x0d\xb5\x9e\xdc\x5b\x26\xe6\xac\xa3\xf3\x3e\x12\x73\xb6\xa5\xbb\x3d\x38\x2f\x44\xf0\x6d\xd3\x2d\xcc\x51\xea\x20\x66\xe1\xf7\x6b\x8d\x71\x2f\x07\xc0\xfa\x0e\x4b\xec\x18\x48\x2d\xb8\x74\xc9\xb1\xe2\xc7\x80\xcd\x02\xc4\x8f\x49\x95\xab\xab\xce\x94\xcc\xc8\xbc\x43\x36\xd2\x2d\xfc\xbe\xc5\x3c\x4d\xb3\xd3\xaf\xc1\x44\xed\xdd\x2b\x91\x2b\xc3\x67\x7a\xa0\x42\x47\x0d\xb0\xcf\xd6\xde\x1c\x1d\x5d\x1c\xe1\x56\x36\xbb\xaa\x6c\x1a\x48\x29\x8d\xc9\x26\x1f\x4e\xc0\xe8\x71\x73\x38\x41\x57\x2c\x5b\xa2\x19\x9f\x73\x7d\x6d\xf3\x5c\x06\x5f\x1a\x5c\x0f\x5c\x36\x0d\x45\x08\x17\x06\x8b\xfd\x72\xab\xd1\x47\x4b\x7f\x65\x74\xc7\xf0\x47\xeb\x73\x39\x83\x95\x8c\xe3\x5c\xb8\x35\xf3\xf7\x49\x4c\xcd\x7c\x03\x99\x37\x73\x3a\x9d\x29\x34\xc3\x8f\x24\xea\x75\x08\xac\x3f\xf7\x95\xeb\x5c\xd3\x15\x93\xfb\x05\x0c\xc5\xaa\x6a\xd9\xd6\xfa\xa1\xbb\xa4\xe2\x75\x68\x3e\x13\x40\x75\x3d\xc8\x0d\x88\xec\x01\xaf\x0e\x48\xe6\x1f\x7c\x2c\xea\x84\x2c\x17\x64\x80\xc6\x39\x7c\x7f\x79\x75\x17\xfa\x86\x28\x83\xaf\x8f\x93\x19\x49\x1e\xf4\xbe\x20\x23\x14\x0d\xb9\x5c\xc1\x97\xf1\x72\xc4\x8a\x2a\x04\x8a\x3b\x47\xc7\xd2\xa7\x79\xf8\x54\x27\x2e\x50\x4a\xe5\x22\xc3\x4b\x44\xbe\x2a\xc2\x52\x78\x49\x45\x07\x30\xcd\x2c\x9b\x99\x2d\x50\x26\xc1\x4a\x01\xa7\x87\xc1\xbf\xdc\x22\x7c\x55\x30\x00\x3d\x4f\x70\x52\xa9\x76\x6c\x9d\x78\xb3\x4d\xa0\xa3\xae\xe0\x47\x50\x0b\xcf\xec\x68\xe8\x2a\xf5\x98\x1b\x56\x02\xcf\x8c\x6c\x01\xaa\xd1\x11\x78\x50\x46\xae\x6c\x96\xfe\xb7\x29\xbb\x43\xc4\x23\x49\x47\x2c\x46\x35\xd9\xab\xac\xd8\x65\x54\x24\x82\xd7\x89\xce\xee\xd9\xa6\x9a\xce\x3e\x19\xb2\x31\x06\x03\x91\xdc\x02\xc2\xed\x2b\xa9\x35\x24\xa6\x57\x17\xde\xda\x43\x06\x75\x6b\xe7\x47\x91\x79\x6e\xd3\x46\x6d\x5d\x08\x62\x72\x1a\xb3\xa5\xe9\x14\x6c\x19\xd3\x63\x36\x0c\xa0\xd3\x83\x54\x2d\x90\xa3\x80\x27\xd8\x3d\xaf\x1a\x63\xc4\x5c\x68\x71\x92\x67\x99\x01\xe9\xd7\xb6\xf3\x32\x18\x2e\x17\xaa\x7b\x39\xa0\x8c\xb7\x6b\x51\x90\xaa\x1f\x34\xbf\x5a\xa4\x5a\x76\xb0\x64\x59\x94\x01\x04\xe6\x25\x4c\xe6\xa6\xd9\xb2\x0a\x40\xca\x53\xa2\x7c\x27\x73\xc0\x1c\x89\x9c\x59\x40\x18\xce\x32\x44\x95\x1c\x31\x8f\x5f\x33\xe5\x73\xe0\x2a\x70\xfd\xd3\x53\xab\x0b\xc2\x2b\x60\x58\xf8\x1a\x33\xb8\x20\x68\x42\x55\x34\x25\xf0\x54\x2e\xc3\xdc\xb6\xc5\x82\x60\x01\xea\xa2\xab\x3e\x1d\x6a\x83\xe5\x6d\xb0\x5d\x23\xa1\xc6\x4e\x7d\x19\xf8\x5d\x70\xaf\xa9\xb1\xd4\x79\x53\x4e\xd0\xd0\xac\x4e\xab\x82\xae\xd0\x8c\x99\xad\xeb\xfe\x6f\xe2\x09\x5a\xdf\x52\xd2\x57\xc7\xf3\x1a\xf5\x02\x0b\x45\x93\x3c\xc3\x22\x5b\x6a\xe9\x32\xc9\x33\x44\x27\x41\xcd\x1c\xd8\x04\x03\x5f\x82\x1a\x98\x1c\xee\x08\x07\x4f\x96\x18\xfa\x15\x5b\x06\x77\x86\x67\x16\x38\x11\x4d\x4a\x96\xf1\x4e\xe9\xb1\xde\x9c\xa0\xd3\x72\x85\x24\x38\x16\x01\xec\x99\x4a\x23\x01\xfd\x7c\x6d\x76\x27\x14\x07\x83\x4a\x4b\x74\xa2\x95\xdd\xef\x83\x83\x57\x57\x92\x0d\xcb\x87\x8e\x1e\xca\x3b\x2c\x1f\xd6\x7a\x29\xcf\x83\xab\xb2\x10\x80\x77\x50\xe9\x2b\xf2\x5b\xfa\x13\xb1\xa6\x60\x76\xc7\x49\x86\x90\xf1\x0d\x26\xea\x21\xf9\x15\x93\x9d\x37\x94\xe8\x81\x7d\xec\x38\xd5\x20\x7d\xb6\xfb\x44\x03\xce\x09\xfd\xd1\xb5\x94\x5d\x6f\x5c\x7e\x89\x12\x59\x91\x9e\x97\x56\xec\x89\x89\x60\x94\xaa\x34\xc2\x1c\x6c\xc6\x2b\x24\x1d\xfa\xc3\x36\x26\x28\xa3\xec\xc1\x9c\x0a\x0c\x3b\x3f\x40\xb8\x18\x1d\x0e\x9f\x99\xbd\x61\xe6\x1a\xcd\xc6\xe3\x0a\x76\x13\x12\x6e\x07\xed\xa8\xdc\x5c\xbf\xee\x8a\xe7\xd7\x33\x62\xd5\x3a\xda\x6f\x4b\x63\xd8\xce\x2b\xb1\x2e\x56\x67\x2e\x98\xb8\x43\xd5\x72\x1d\x7d\xaf\x4b\x2d\x68\xeb\xb4\xc0\x23\xc2\xf2\xf9\xd1\x3b\xf4\x7f\x0b\xca\x7c\xbe\x3c\x3d\xfb\x70\x7e\x79\x76\x1a\x30\xf0\xd1\x7f\x7f\x3e\xfb\x1c\x7f\x72\xf3\xf9\xf2\xf2\xfc\xf2\x63\xf8\xd1\xed\xe7\xf7\xef\xcf\xce\x4e\xe3\xdf\x7d\x18\x9e\x5f\x94\x7e\xa7\x3f\x8a\x7f\x34\xfc\xe9\xea\xe6\x2e\xfe\xe8\xf6\x97\xf3\xeb\xeb\xf8\xa3\xbb\xf3\x4f\x67\xa7\xf7\x57\x9f\xef\x1c\xad\xff\x1a\x50\x18\x60\xad\x10\xdd\xf5\xf3\xaf\x24\xd1\x2e\x2a\x60\x74\x8d\x3f\x07\x90\xf6\x89\xa0\x84\xa5\xd9\xb2\xa8\xf7\xaf\x0f\x5d\x29\x48\x19\x8a\x74\x3a\x27\x3c\xdf\x06\x33\xa0\x4d\x5f\xfe\xa8\x4d\xea\x0c\xd9\xd1\x56\xfa\x63\x97\xdf\x2a\x88\x12\xab\x6e\xb0\x46\x94\x85\x12\xcb\x5b\x25\xb0\x22\xd3\x65\x4b\xa0\x9a\x7d\x09\x5a\x90\xee\x4d\xc1\x9d\xe1\x65\x70\x96\xb4\x52\x9a\x5e\x56\xcb\x21\x97\xf0\xbd\x65\x56\x25\x38\x8e\xdb\x13\xe8\xda\x3f\x52\xcd\x19\xef\x5d\x91\x08\x6d\xd1\x2a\xcc\x6a\x00\xf4\x1d\x0b\xd9\x15\x59\xad\xa2\x28\x27\x69\x2f\x12\xa7\xe4\x17\xa8\xdc\x4d\x0c\x5f\x9b\xd8\xce\xd2\xa2\x57\x8b\x4d\x78\x0f\xaa\x5a\x54\x6c\x42\xa9\x54\xd8\xde\x2f\x81\x46\x96\xb4\xd8\x3e\xd0\xcc\x4c\x66\xa1\xed\x40\x64\x6e\x4d\x48\xd7\xad\x8d\xa4\xed\xb8\xb2\xa0\xd7\x0c\x8b\xb2\x68\xbe\xd0\x9e\x13\x17\xdd\xf5\x80\x52\x51\xb1\xa0\xe0\x9a\xa9\xf5\x0f\x89\xa4\x30\x6c\xe1\x2a\xb3\x17\xbf\x39\xa6\x8f\x24\x45\xc7\x61\x21\xc7\xf4\x18\xc0\x5f\x23\x56\x67\x00\x56\x14\x41\x0c\x39\xe0\xda\xd5\xb8\xd8\x66\xef\x2b\xa8\x5f\x7f\x04\x1d\xb1\xdb\x61\x1e\x90\xfb\xf9\x09\xaa\xf7\x34\xda\x7d\x19\x63\xe3\xe1\x81\xb3\xe5\x8b\x77\xd4\x21\xb0\xfc\x55\xd5\xcd\x21\xda\xca\x19\x8a\x7d\x82\x87\x71\x83\x82\x4a\x31\xc3\xe0\x1e\x33\x35\x2b\xa3\x89\x07\x25\x3b\xeb\x6c\x0a\x9f\xe8\x5d\xc3\xe5\x36\x77\xaf\xb6\x38\x6a\xd5\xd7\x75\x06\xde\xc0\x04\xec\x7d\x15\xe6\x30\x3b\xd6\x67\xfa\x77\x63\x7c\xbf\x1b\x3e\xa7\x1a\x3b\xb9\x07\x02\x2b\xc3\xb9\x56\xb9\x17\x19\x36\x38\x9f\x19\x96\x86\xa5\x9d\x0f\x11\x8f\x69\x46\x15\xf4\x0c\x35\xd6\x77\x89\xc2\x5c\xa0\x39\x16\x0f\xda\xe0\x24\xd9\x44\x8f\x5e\x8a\xbd\x57\x32\xfd\x96\x71\xae\xa2\x40\xcc\x73\x46\xba\x8a\x23\xdb\xd6\x74\x2f\xd8\xd2\x46\xb9\x8a\xed\x30\x25\x8c\x15\x0f\x8a\xdd\x74\xdb\x59\x3b\xe2\x75\xf9\xf1\x88\xde\x15\x17\xf5\x06\xad\xa3\x0d\x36\xbf\x83\x98\x2f\x23\xf7\x2b\x4f\xd6\x24\xe3\xb8\xa6\x5c\x8d\x1b\xdb\x00\xf1\xeb\xc6\x4e\x79\xae\xc5\x59\xe5\xe0\x66\x56\xcd\xa3\x37\xd9\x47\xee\xdc\x6e\x77\xea\xab\x05\x20\x56\x04\x3a\xe0\x6c\x44\xd0\xa2\x81\x4e\xf5\xe0\xb9\xc0\x55\xe0\x8b\xf6\x85\x02\x8b\xac\x15\xc7\x3c\xe8\x6e\xb9\x20\x15\xe5\xd1\x22\x68\xf1\x86\xb6\xd6\xed\xf5\xd9\xfb\xf3\x0f\xe7\x25\x43\x67\x78\xfb\x4b\xf8\xef\x2f\x57\x37\xbf\x7c\xb8\xb8\xfa\x12\x7e\x76\x31\xfc\x7c\xf9\xfe\xe7\xfb\xeb\x8b\xe1\xe5\x1a\x73\x68\xf5\x15\xab\xde\x88\x02\x60\x5f\xc0\x9c\xf5\xdd\x60\x91\xb9\x60\x89\x56\x9c\xaf\x9b\x8a\x24\xb9\x4d\x5b\xb3\xec\xcd\xe3\xe8\x27\xe9\xfe\x38\x63\x4a\x2c\xbb\x24\x4f\xa2\x94\x48\xb8\x87\xac\x73\x31\x4e\xdc\x23\x12\x5c\xb5\x6e\xf4\x4b\x10\x6c\xce\xf9\x6d\x23\x28\x96\x8e\xfa\x62\xc9\x68\x6d\x4b\x85\xea\x1e\xba\x07\x42\x87\x10\xa2\x07\x54\x18\xf3\x9c\xa5\xae\x42\xd9\x9c\xb2\xb7\x73\xfc\xf5\x8d\x5b\x69\xd1\xb9\x0a\xf2\x42\x4d\x59\xf8\x4c\x6b\x1d\x4b\x24\x72\xd6\x4c\xae\x11\x6b\xa0\xd7\xfa\x9b\xc1\xf4\x6d\xa3\xff\x03\x2a\x4e\xa1\x8f\x1a\x87\xee\x23\x59\x56\xed\xdf\x4a\x42\x92\x71\x1a\x5b\x1d\x18\x06\x59\x08\x02\x05\x39\xbd\xbb\x38\x33\x61\x00\xff\x6f\x08\x47\x46\x79\x9a\x55\x77\x52\x6c\x2a\x6f\x75\x6e\x2a\x8d\xf4\x3d\xa4\x94\xd9\x37\xe9\x4d\x33\x26\xbb\x4b\xdf\xb4\xe1\xd7\x14\x3d\xcd\x88\xd9\xad\xbf\xf3\x31\x9a\x40\xb4\xda\x96\x61\x11\x24\x01\xef\x83\xde\x0b\x97\xa6\x03\xa8\xd7\x15\x3f\x80\xe3\x81\x8c\x48\xf0\x85\x41\x49\x43\xf2\x8f\xdc\x42\xdb\xfe\xf0\x63\xb7\xd4\x27\x25\x96\x48\x5a\x32\x87\xd1\x72\x0b\x16\xb1\x2e\x35\x98\x57\xce\x68\x55\xe9\xb4\x1b\x53\xcc\xef\x79\x6b\xa6\x96\x5e\x6a\xff\xb9\x16\x50\x70\xe7\xb2\x54\xcc\xef\xf7\x96\xbe\xf0\x6b\x29\x6b\xc1\xbe\x0e\xe2\x84\x76\x74\x19\x80\xe2\xb5\x65\xf4\x84\x45\x6a\x1c\x03\x8a\x82\x3d\xf5\x33\x7f\x22\x8f\x44\x0c\x50\x42\x84\xc2\x16\x4d\xac\xcf\x5a\x96\xc1\x81\xb2\xe3\x8c\x18\x84\xce\x0d\x34\x9b\x41\x09\x1b\x45\xa7\x33\xad\x3c\x5a\x23\xd4\x96\xbd\x94\x44\x01\x12\x90\x7c\x5d\x90\xc4\x60\x26\xea\x02\xc5\x93\x0c\x3f\xae\xc2\xa3\x37\x41\xbe\x06\x95\x3d\x5d\xfb\x19\x9b\x52\xd2\xe8\x94\x72\x05\x22\x8d\xd4\x5c\x2c\xd5\x8c\xb3\x01\x9a\xf2\x0c\xb3\xe9\xc9\xc9\x09\x22\x2a\x39\x79\xd3\x89\xd1\xed\x80\xc1\xeb\x8a\x80\x57\xc6\x25\xc9\x96\xce\xc2\x2b\x80\x09\x9a\xca\x00\x84\x90\xd4\x98\x37\x15\xdc\x7f\x5b\x06\xd0\x3e\xaf\x9b\xac\x5a\x2b\xed\x8c\xc4\xa9\x19\xa7\xdc\x2f\x64\xdd\x48\xe6\xf7\xd5\x9a\x76\x07\x64\x19\x54\x44\xa0\x69\x56\x20\xcc\x6a\x12\x9c\x38\xeb\x0a\x9b\xfa\x95\xd7\x55\x7b\xd9\x28\x23\xa0\x72\x24\x8b\xdf\xde\x08\x48\xb4\xca\xd1\x15\x1c\xe7\x31\x77\x5b\x65\x1f\x65\xf9\x7c\xb5\x64\xe1\xae\xb4\xa8\x62\x92\xe6\xaf\xf7\xf0\xba\xf6\xf5\x01\x7c\x51\x1b\xe8\x02\x4d\xb4\x64\x84\xf9\xda\x8e\xbf\x30\x26\x48\x4b\x41\x25\xe4\x41\x6c\xe2\x16\xf7\xc3\x98\xa1\xc1\x3d\xab\x6d\x18\x53\x66\xcc\x36\x74\x01\x88\x95\xef\xcb\x62\x1e\x91\x46\xd5\x01\x9f\x6e\xbd\x64\x28\x30\x9c\x1b\x59\x3d\x97\x57\x97\x67\xa1\x29\x73\x7e\x79\x77\xf6\xf1\xec\x26\x0a\x11\x5d\x5c\x0d\xef\xa2\x70\xd0\xdd\x4d\x29\x8a\xf4\xd3\xd5\xd5\xc5\xd9\xf0\x32\xfc\xe8\x74\x78\x77\x76\x77\xfe\x29\x1a\xfc\xf4\xf3\xcd\xf0\xee\xfc\x2a\xfa\xdd\x4f\xe7\x97\xc3\x9b\xbf\x84\x9f\x9c\xdd\xdc\x5c\xdd\x94\xde\xf7\xf9\x7d\x73\xa0\x29\x5a\x46\xf5\x4e\x14\xca\x72\x00\x67\xad\x52\x0a\xef\xb0\x7c\xd8\x71\x70\x14\xc0\x00\x1b\x76\x4c\xad\x11\x4a\x29\xb9\xdf\x2c\x6e\x5a\x17\xfb\xad\x7c\x8f\xd6\x07\x97\xf7\x58\x29\x32\x5f\x6c\x57\x30\xa1\xfd\xc1\xe9\x16\x92\x05\x93\xa6\x45\x48\x36\xda\xd5\xc3\x09\xc9\x56\x44\x5b\x6d\x48\xb6\x89\xdd\x1b\xe2\xaa\x7a\x9d\x17\x7c\xab\x0e\x4d\x5d\x7a\x3b\x84\x3c\xb9\x3e\x12\x5b\xf9\x9c\x05\xce\xdf\x57\x77\x0b\xa8\x66\x64\xbb\xca\x4f\xe6\x51\xd3\x2c\xa0\x26\x68\xab\xb2\x1d\xf8\x9f\x2e\xf8\xb4\x1a\xa4\xea\x3b\xec\x51\x19\xa4\xa9\x83\x37\x9b\x4f\x91\xa4\xec\x61\xc4\xbe\x68\x83\x8c\xe7\xc2\x7c\xa4\xb8\x00\xbc\xf3\x24\xcb\xe5\x8c\x40\x19\xa6\x01\x7a\x22\xd0\x26\x1c\xbc\xda\x71\x9d\x5a\x28\xb6\x99\xd1\x07\x02\x4f\x67\x94\x69\x6e\x5f\x50\xa7\x01\x95\xb7\x7e\x17\x06\x52\x4a\xa5\xb7\x13\xf7\x18\x6a\x28\x3c\x5d\x4f\x33\x02\xb0\xd2\xa0\xca\x95\x2b\x90\x69\x24\x0f\xa4\x30\x71\xfe\x90\x2f\x6c\x7b\x33\x2c\x1f\xbe\x77\x20\x2d\x20\xf7\x23\xa7\x29\x4a\xf3\x45\x16\x74\x17\x7c\xe2\xa2\x36\xa8\x6e\x34\xf5\x0e\x41\xf5\x92\xfd\xd9\xb4\xb0\x0a\x33\x20\xb0\x3a\x1a\x42\xfd\x7b\x06\x18\x04\xb5\x2f\x72\x49\xc4\xb1\x12\x74\x3a\x05\xbd\xc7\x39\x15\x0e\x14\x81\x30\x58\xe5\xcd\xe5\xfd\xf6\xf6\x73\xe8\x6a\xcd\x4c\x65\x50\x5f\x09\x40\xf3\xd4\x62\x91\x2d\x1d\x2e\xd0\x10\xd0\x1d\xfb\x85\x69\xf3\xaf\xe7\xed\x27\x54\x1b\x62\x5c\x08\x92\x40\x9f\x7a\x53\x4e\x64\xfb\x32\x27\xe7\x13\xad\xc9\xd8\x1e\xa9\x45\x41\x96\xa2\x16\x86\xd9\x6c\x48\x52\xb0\xef\x76\xa8\x7d\x93\x30\xcb\x4c\x63\xbc\x27\xe6\x5a\x06\x62\x69\x4c\x7b\x68\x20\xbd\x2c\xfa\x09\x42\x63\x32\x48\xb7\xf5\xbd\xe6\x6c\x02\xa0\xf5\xd1\x99\x8a\x75\x6b\x11\x23\x5e\x8e\x02\x4e\x31\xee\x2c\x54\x96\x60\xdb\xa2\xee\x7d\x78\x7d\x53\x85\xab\xd9\x64\x98\x66\x7c\x8c\xb3\x6c\x59\x81\xc7\x0f\x2f\x85\x6e\xfe\x31\xd7\xff\x28\xbe\x52\x1c\x70\x06\x22\xb1\xbc\x21\xcf\x39\xaa\xd2\xbf\xd3\x84\x85\xed\x09\x96\x2b\x6e\x72\x8d\xc1\xe1\xa7\x17\x77\x5e\xaa\x22\x7f\x62\xd0\xab\xe7\x69\x65\x99\x8c\x82\xa1\x1d\xe5\xeb\x84\x67\x85\x89\xde\x29\xdf\x62\x21\x88\x73\xce\x2c\x89\xf2\x3e\x99\xcc\xa1\x6b\x97\x8b\xb8\x70\x78\xe8\x94\x76\x6e\x27\xe7\xee\x26\x00\xff\x0e\x4a\x93\x72\x46\x98\x32\x05\x1a\x19\x1f\x31\x3b\xb8\xcb\xde\xf2\x05\x50\xac\x9f\xdd\x10\x66\x60\x55\x5c\x38\xb4\x82\x48\x9e\x3d\xda\x9e\x9d\x9e\x26\x8a\x03\xba\x5a\x4f\xf0\xbd\x96\xb6\x5a\xb7\xd0\x16\xa6\x2f\x2d\x39\x23\x23\x56\x4a\x61\x12\x64\x4a\xa5\x02\xb9\xef\x38\x36\x7c\x7e\x67\x69\x1d\x91\x3a\xd2\x44\xfa\xda\xb4\x8e\x86\x7b\xc0\x87\x12\x3a\xcc\x67\xb9\x20\xe9\xb9\x7f\xae\x99\x19\x22\xcb\x3c\x0d\x22\x17\xd1\x21\x37\x3c\x60\xe4\xa9\x34\xb9\x31\xd2\x37\xfc\xf4\x9b\xe4\x4b\xea\xf8\x9a\xda\x7a\x8b\xa6\xd8\xd5\x55\x97\xbe\xa8\x36\x04\x53\x23\x8f\x6a\xa9\x07\x8e\x57\x75\x12\x2e\x95\x09\xdf\xc0\x23\x13\x4c\xb3\x5c\xd4\xde\xe0\x86\x2d\x77\x9e\x74\xf6\x1e\x86\x45\x55\xbb\xe6\xdd\x9e\xc1\x31\xf2\x2e\x4f\xdf\x5b\x27\xcb\xa7\xa6\x39\x7c\x28\x0e\xea\x32\x32\x57\xeb\xed\xae\xd9\xf0\xa2\x44\x6f\x7b\x59\x3c\x34\x87\xbd\xd4\xc9\xba\xba\x7e\x8f\xd5\xa9\x82\xb9\x8f\xd8\x1d\x5c\xa5\x26\xa7\xca\x1f\x33\xa8\xaf\x64\xca\x65\x40\xb1\xe1\xaa\xf5\x46\xf2\x3c\xe6\xd4\xad\xf0\x12\x55\xd9\x4f\xeb\x71\x59\x9f\xf0\xa2\x29\x31\x65\xeb\x11\xd7\x6d\x83\x77\x9e\x95\x8f\x61\xb9\x7a\x6d\x05\xf5\x3c\xb6\xec\x59\x62\x44\x5d\xd2\x64\x3d\xc4\xd0\x26\x98\xaf\xe4\x38\x46\x7a\x63\xf8\x68\x77\x94\x69\x11\x1c\xb1\x0d\xf3\xcc\x80\x63\x83\x0b\x0c\xa1\x8c\x5b\xe4\x58\xfa\x8d\x29\x35\x34\xae\xda\x8e\x2d\x61\x56\x05\x32\xf6\x19\x51\x56\xbf\xae\x90\xa8\x2b\xc8\xaa\xd4\x26\x5e\xf1\xa0\x9d\x54\x2b\x8d\xd9\x83\xab\x7e\x8d\xa1\xc1\x11\x89\x39\x6d\x85\xa1\x5e\xad\xbd\x06\x4a\x4b\x4a\x18\x57\x04\x61\xc4\x68\xf6\x96\xe5\x59\xf6\xf6\x12\xba\x79\x48\x49\xa7\xa6\x58\x30\x38\x34\xa2\xee\xcb\x00\x4d\x0d\xa0\xa6\xc1\x11\x80\x2b\x52\x4f\xc9\xf4\x32\x57\x5a\x62\xea\x2d\xc8\x96\x23\xa6\x9f\x30\x2a\x96\x6f\xa5\xe9\x5a\xf2\xc1\xdb\x5c\x56\x8b\x7d\x97\x36\x5d\xd9\x32\x1c\xbc\x82\xc1\x9a\x12\x41\xb6\x8a\x98\xf5\x15\x02\x0f\xa6\x42\x20\x17\xce\x31\xd4\xa1\x56\x60\xfd\xa1\xda\xb8\x58\x9f\x57\xc4\xbc\xc7\xb9\x05\x3f\xbe\xa4\xb7\x79\x9f\x69\x41\x5b\xe7\x00\x39\x4a\x75\x71\x5a\x96\xb8\xc3\x3d\xea\x19\x41\x6f\x99\x08\x52\xdf\x47\xec\x8e\x7b\x0b\xcd\xb2\xff\x24\xd7\xaa\x5d\x83\x28\xd9\xd6\x07\x61\x90\xcc\x8b\x0c\xb3\x7b\x73\xb7\xbc\x80\x17\x22\x40\x53\xd7\xd5\x61\x09\x3a\x83\xed\x66\x9e\xfe\x80\xdd\x44\x39\x0e\x61\xab\xa0\x41\xb9\x56\xa3\xbb\x10\x7c\xcf\x64\x6b\x0b\xd9\xaa\xb9\x5f\xab\xc2\xd5\xeb\x3d\x29\xb8\x64\x37\xf9\xb2\xd1\x6b\x5c\x29\x2b\xbd\xfc\x0e\xcc\x9d\xd2\x66\xe7\x3d\xef\xef\xca\x92\x5f\x39\xa7\x1b\x59\xf3\x6b\xa6\xb5\x5f\x8b\xbe\x56\x73\x5d\xb5\xec\xbf\xc4\x2d\x67\x12\xe8\xe1\x96\x64\x79\x4a\x90\xe4\xfa\x3a\x75\x8a\x75\x35\x5a\xbe\x14\xa5\xdd\x6b\xf2\x7e\x9c\xab\xd8\x1a\xee\x60\xca\x77\xa0\x73\x86\x9c\x82\x3c\x40\xa3\x23\xc3\x59\x72\x74\x14\xf7\xe7\x75\xb5\x41\xe2\xb2\xeb\x65\xbf\x97\xf1\x18\x07\x5d\xc3\x58\x60\x9d\x95\xe9\x52\x63\x44\xbe\x64\x51\x8e\x00\x0b\x62\x82\x4a\x63\x33\x80\xd5\x09\x8c\xaa\xb3\x74\x15\x3b\x20\x31\x50\xe4\x89\x0a\x3a\x00\xba\x02\x07\x3f\xb9\x07\x35\x89\x16\x79\x66\x3b\x1c\xbb\x82\x02\x5c\x8c\x98\x1b\xad\xa8\x33\x36\xcc\xb2\x95\xa1\x56\x6b\x7b\x04\xbc\x0a\x95\x7e\x1c\x4a\x13\xd0\xbf\xfa\x47\x80\x63\x59\x91\x03\x23\x66\x72\x76\x7c\xba\xd8\x09\x1a\x96\x3a\x23\xc6\x65\x2c\xc2\x2a\x16\x59\xe6\x4a\x38\x98\xc2\x08\x41\xde\xbe\xcc\xa1\x9a\xf9\x24\xd7\xe2\xc8\xbf\x5d\xf1\x11\x83\x8a\x26\xa6\xc9\xb5\xa3\xcb\x88\x7d\xe2\xd2\x75\x6b\x92\x05\x3d\x1c\x7c\xd5\x92\xed\x7b\x0f\x56\xb5\x1f\x9c\x6a\x21\xa2\x9f\xd2\x96\x45\x29\x55\x11\xa2\x1a\x10\x7b\x1d\xa0\x25\xcf\x45\xb1\xa8\x04\xb3\x11\xfb\xbb\x26\x8f\x2b\xd3\xc1\x7d\x2f\x51\x38\xc4\x2e\xb5\x13\xfd\xf0\x37\x33\xe8\x0f\x7f\x7e\xf3\xb7\x37\xa6\x08\x52\x2e\x73\x2d\x61\x07\xf1\x15\xe2\x26\xaa\xb7\x94\xb2\xe9\x88\xb9\x15\xf8\xba\xeb\xc5\x2b\x1a\x13\x7a\xad\xaf\x6e\xd7\xe5\x6b\x0b\x83\x7f\x88\x12\xac\x92\xd9\x31\xb6\xbc\x17\x96\x2e\xa1\xb2\x28\x8e\xfc\x34\x23\x0c\x9a\xf8\xc4\x05\x95\x0d\x5c\x1a\xa5\x5a\xb2\xcd\x7d\xb2\x5d\xc4\x2f\xa6\x9d\x83\x45\x0f\x97\xb2\x0c\xdd\x9b\x80\x39\x8b\x3c\xb7\x2f\x85\x64\x70\x3f\x77\xe8\xdf\xc2\x4a\xb7\x9e\x09\x6d\x31\xa4\x68\x64\xd0\x72\xa3\x23\xb7\xfd\x23\xb6\x18\x9f\x64\xcb\x89\x3a\x01\xec\xde\x89\x26\xcb\xc9\x59\xb9\xeb\xc3\x3a\x1d\xc1\x28\xf2\x7e\x3a\xb7\xb1\xa7\x8f\x78\xcb\x80\x18\xef\xed\xc0\xb7\x14\x67\x71\x5f\x50\x7f\x1c\xa0\x2c\x89\xbe\x57\xb0\xa2\x09\x5c\xcd\x98\xe1\x6c\x09\x90\xf7\xc1\x88\xa5\x54\x90\x04\x1a\x96\x25\xcb\x24\xa3\x89\xad\xea\x10\xab\x1e\xe4\x91\x30\x15\x21\x73\xce\xf4\x27\xcf\xa5\x7d\xd4\x61\x82\xaa\x95\xbb\xcf\x35\x9a\x87\xaf\xc0\x13\xdb\x46\x65\xfe\xb7\x89\xae\xa2\x63\xa2\xb0\x7f\x3d\x48\xc2\xd4\x59\xb5\x5c\xd0\x29\x65\xd0\xcd\xfb\x07\x70\xf2\x64\x19\x11\x6f\x7c\xd7\x07\xa0\x62\xf5\x34\x66\x9d\x8a\x74\x57\x94\x74\xa8\xbe\xdb\x92\x24\x17\x82\xa4\xf7\xab\x50\x96\xae\x49\x55\xcd\x81\x7e\xad\xc9\xd2\x39\x91\x0a\xcf\x17\x61\xf7\x63\x0f\xff\xb7\x94\xc9\x0c\x11\x90\x9b\xd8\x00\x51\x40\xab\xf8\xa0\xdc\x88\xd9\x70\x9c\xd9\x37\x2e\x2a\xb2\x85\xcb\xab\x84\x73\xda\xa2\x33\x46\xc3\xf5\xdf\xb5\xaf\x46\xd9\x2d\x70\x73\xe1\x22\xa6\x3c\x6a\x13\x1d\xb4\x6b\xa5\x70\x9e\xe1\x9c\x56\x34\x7c\x1d\xb1\x02\x0f\xf1\x3e\xe3\x79\x8a\xac\x53\xc4\xba\x18\xc4\x09\xa2\xe4\x64\x80\xe4\x9f\xde\xbd\x7d\x7b\x72\xb2\xa3\x1a\xdf\x71\x37\x97\x6a\x0e\x37\xfd\x56\xaa\xf0\x46\x6b\x8e\x56\x54\xd3\xe7\xbe\x9b\xa2\xef\xf0\xd0\xc0\x2d\xa1\x21\x1c\x87\xeb\xcb\xaf\x5c\x60\x41\x98\xba\x07\x84\x63\xb7\x17\xc2\x8b\xae\xe1\xf1\x08\x9c\xd7\xca\xca\x28\x6a\x82\xd9\xec\x26\x2c\x1f\xd0\x0f\x14\xfc\x85\x6f\xac\xed\x0b\x0d\x8b\x1b\x4a\xf5\xac\x4a\xe0\xa6\xd9\x3c\x93\x28\xae\x43\x9f\xb6\x99\x7e\xf4\xec\xd6\x17\xc8\x36\xa0\xd5\x46\xf8\xca\xa9\xaf\x3b\x09\x91\xc2\x73\xa6\x4d\xfe\xb1\x16\xe2\x9a\xd5\xbd\x1f\x00\xb0\xa7\x43\x07\x00\xf3\xe8\x15\x07\x78\x31\xa9\xe1\x25\xf8\xa7\xf7\xdd\x85\xf0\x14\xc3\xa2\xa5\xbb\xa9\xae\x2f\x8c\x61\xe7\x3d\xe0\x6b\xab\x8f\xfa\xb0\xbc\x82\xa2\x12\xea\x03\x4d\x1e\x88\xbe\xe7\x26\x45\x49\x88\x50\xba\xf9\xfb\xcd\xe3\x75\x6c\x37\x68\x13\x7d\x26\x76\xdd\xf7\xd4\xd4\xbb\x23\xae\x0b\x63\x80\x1c\xf8\x5e\x56\x13\x67\xdf\x60\xe0\x6a\x5a\xc0\xf8\x1e\xf2\x67\x93\xd2\xbc\x6a\x61\x94\x31\x90\xc8\x7f\xf4\xf2\x50\x92\x84\x33\x0f\x13\xdc\xc9\x45\x5f\x01\x14\xae\x9e\x2e\x7c\xb7\x92\xcd\xb6\x4e\xeb\xd8\x52\xf9\x29\x14\x1f\xd7\xd5\xd6\xd8\xa7\x10\xa5\x01\x30\x82\x7e\xf7\x00\x5a\x85\xdb\x63\x00\x1d\xae\x50\x4a\xc6\xf9\x74\x5a\x7b\x27\x67\x7c\x17\x3d\x51\x9b\xa9\x7a\xc1\x1b\xec\x71\xbf\xc2\xac\x09\x6a\xbb\x86\x43\xbf\x21\xe5\xab\x11\xfb\xb2\x0b\xf5\xe9\xdc\xbd\xc9\xd8\x5c\x13\x9a\x91\xe7\xd1\x98\x76\xa4\xfe\x9d\xb7\x51\xff\x9c\xd1\x0e\xf1\x2a\xb3\x0e\x6f\xe7\xfd\x86\xf4\x42\x83\xff\xb9\xd7\x4f\xee\x15\x04\xe4\x61\x8b\x70\x58\x0d\xbc\x47\xcb\xa6\x54\x42\xf6\xe9\xee\x51\x41\x20\xdb\xd7\x41\x81\xb7\xce\xbe\xbe\xe5\x73\x82\xe0\x55\x72\x60\xb0\xf8\x36\xe0\x36\x00\x27\x9f\x5e\x20\x9a\xe7\x99\xa2\x8b\xcc\x0a\x7f\xeb\xc5\x4a\x66\x98\x4d\x83\xaa\xe0\xe8\x07\x46\x9e\x90\x96\xb5\x83\xd0\xeb\x11\x6c\xcf\x00\x11\x95\xbc\xd1\xba\x4d\x14\x24\x11\x24\xe1\x22\x05\xa4\xf6\x14\x8b\x14\xd2\xb2\x2d\xc3\x67\x38\x79\x80\x72\x2e\x70\x1d\x99\x37\x5a\xcf\x8c\x03\x33\x1b\x6f\x61\x31\x1a\x65\x89\x69\x70\xec\xb2\xc5\xfd\xfc\xcc\xe3\x12\xe1\x44\x70\x69\x1c\x3f\xae\x8a\x87\x09\xc6\x83\xfa\xf5\x48\xd3\x1c\x67\xe6\x8d\x5d\x5c\x2f\xd7\x96\x21\x5c\xdc\x38\xf0\x39\x81\x94\x8c\xf2\x66\x3f\x70\x61\x81\xc9\x40\xf1\x6b\x9b\x9e\xfb\x33\x7d\x24\x03\x74\xbb\xc0\xe2\x61\x80\x4e\x97\x0c\xcf\x69\xf2\x5f\x7c\x5c\xe5\x4f\x59\x09\xc4\x6e\xad\x12\xef\xbe\x52\x65\xf5\x41\xff\xb2\x12\x66\x46\x75\x19\xa5\xaf\xd3\x9b\x52\x13\x23\xff\xd6\x2f\xf5\x35\x21\xb0\xde\x31\xb2\xd3\x0b\xb0\xd2\x50\x76\x6e\x0e\x9c\xce\x29\x8b\x6c\xb5\x83\x72\xb6\x96\x37\xb5\x0a\x93\x12\x09\xe3\x56\xd6\xed\x2e\x34\xc7\x6b\xac\xad\x1c\x6d\x50\xce\xb9\x22\xe6\xde\x97\x8a\x0b\xa2\xcf\x89\x70\xea\x24\xb4\xd4\x80\xe6\xf1\xbc\xbe\xf5\x59\x92\x71\x99\x8b\x96\x62\x63\x75\xc3\xde\xdb\xc7\x1b\xb5\x13\x3e\x5f\x40\xb0\x43\x10\x99\x67\x4a\x56\xd8\x6b\x2b\x6e\xeb\xcd\xda\x7e\xda\xb3\xe4\x1a\x84\xd8\x22\xe8\x94\x4d\xb3\xba\xba\xc1\x23\x66\x6b\xa8\x07\xb2\x06\x17\xd9\x02\x4e\x01\x72\xf9\x5c\x4f\x51\xfd\x68\x5f\x80\xdd\xe2\x3c\xb0\x35\x90\xbd\x1e\x02\x77\xe7\x00\xaa\xab\x18\x48\x0c\x83\xe2\x3a\x23\x26\xf3\xf1\x71\x81\xc6\xe0\x02\xa4\x19\x64\x47\x2f\x30\xb4\xbb\x4f\x66\x34\x4b\x8f\x57\xa1\x4e\x56\xab\x80\xd2\xeb\xbe\x92\xd0\x98\x40\xb1\x10\xa0\xb0\x69\x73\x64\x82\x81\x7e\xed\x7e\x9c\x71\xae\x10\xf1\xa5\xac\xa9\xb4\xce\x9a\xd2\xcd\x1d\x9d\xcf\xc8\x16\x7f\x69\x0f\xdc\xfa\xf3\x59\x97\x0c\xf4\xed\x9f\xcb\x88\x66\x6d\xce\xe5\x5d\xec\xf5\x72\xa7\x06\x33\x7f\x52\xeb\x48\x25\xef\x8d\xcb\x6a\x8f\x99\xa9\x5f\x7c\x3e\xaa\x4b\xe1\x90\x0b\xfc\xc4\x2c\x06\xa2\x53\x6d\xc4\x76\xf2\xa1\x3a\x89\x5d\xcb\x87\xd2\x37\x22\xea\x22\x4f\x4d\x0c\x9b\xfa\xd4\xaa\x41\x90\xe2\x09\x6d\x2d\x0a\xbc\x7c\x61\x6e\x8c\x58\x01\xce\x29\xfa\xf0\x25\x65\x41\x69\x31\x2f\x29\x04\x36\xc9\xc0\x05\xec\x07\x26\xbf\xc8\x1a\x05\xc7\x63\x0c\x75\x3c\x95\x12\x74\x9c\xab\x95\x7a\x0a\xd1\x69\xae\x0c\x2a\xec\x42\x1b\x3f\xdf\x7f\xd9\x78\xaf\x82\x44\x80\xc3\xa2\xec\x7e\x81\xc4\x29\x2f\x3d\xa8\x2f\xf3\xfc\x39\xf9\xdd\xf2\x18\x82\xa2\x2f\xed\x39\x7c\x25\x57\xca\x16\x3c\x01\x0b\x36\x0d\xca\xf5\x46\x38\x01\x20\x61\x51\xce\xd8\x63\x28\x02\x48\xb9\x16\x51\x78\x4a\xd0\x9c\xa4\x34\x2f\xa7\xc9\xac\x8f\x56\x1d\x94\x99\xd7\x86\xb3\xb4\xc1\xeb\x0d\xbf\x4b\x50\xce\x9f\xf4\xad\x6d\x10\x56\xe0\x64\xa8\xce\x28\x0f\x50\x8e\x58\x7d\x2f\x7d\xf4\x2b\xa6\x98\x73\xe9\x5c\x50\xa9\x7e\x2d\x95\x22\xdd\x20\x1b\x23\xcb\xf7\x07\x6d\x73\x53\x35\xd3\x0c\x9e\x68\x84\x70\xdd\x44\x6d\x16\x81\xc9\x8c\x7b\x00\x30\x19\x2e\x4f\x45\xcf\xbb\x8b\x00\xff\x9b\xa7\xd7\xdf\x6c\x23\x48\x81\x17\x0b\x22\x90\x6d\x06\x59\x6e\xef\x68\x92\x3e\xe0\x2d\x23\x66\x14\xa6\xff\xba\xbd\xba\x2c\x24\x77\x61\xb7\x94\x86\x86\x9f\x01\xe9\x4e\xaa\x77\xee\x32\xcf\xb2\xda\x9d\x6b\x51\xea\xe7\xf3\xc5\xc5\xfd\xaf\xc3\x8b\xcf\x67\xcd\xa5\x74\x8a\x9f\xd5\xd2\xc4\xcf\xc4\xd2\xc4\x5c\x63\x0a\xae\xae\x7c\x4e\xac\xc3\x08\x94\x11\xbb\x6a\x03\x28\xc8\xb3\x2c\xc6\xed\x8f\xd8\xdf\xec\x38\x80\xef\xca\x99\x51\x33\x47\x0c\x35\x12\x2e\x7e\x3f\xfc\xec\x6f\x7a\xf0\xbf\x99\x67\x8f\x51\xb1\x88\x77\xe8\xd2\xbf\xb5\x86\xae\xd6\xc9\xb9\xc5\x71\x30\xe9\x03\xcf\x95\x99\xb4\xd9\xf1\xf8\xcc\x5c\x95\x2b\x9b\x50\xb4\x93\xd3\x61\x68\xf7\xb7\xd8\x84\xf1\xd9\x93\xa9\x91\xf3\x30\xee\xc0\xe4\x93\x98\x46\xc1\x3e\xe5\x62\xc4\x4c\xfc\x1e\xda\x43\xf2\xfa\x39\xa1\x73\x66\x80\x7b\x19\x66\xd3\x1c\x4f\x89\x1c\x20\xf7\xf2\x11\xf3\xcd\x08\x6d\x75\x02\x5f\x45\x1f\x43\xcd\xe0\x98\x85\x8c\x6b\x91\x7c\xc5\xf3\x05\x84\x3c\xd8\x88\xd9\x35\xb1\x69\x31\xbc\xf1\x3a\xfe\xd7\xad\x5f\x8e\xe6\x34\x3f\x90\x4d\x89\x61\x23\x66\x36\xd7\xe4\x43\x39\xdd\x0e\x1c\x2e\xd0\x7d\x34\x62\x5d\x2c\x88\xcb\xc2\x03\x99\x3e\x05\x2d\xd3\x14\x58\x75\x21\x3d\x2d\xe9\x83\x0a\x0b\xc6\xc1\x6b\xa6\xb4\x5e\x9e\xb8\xcd\x70\x67\xc2\xce\xad\x9a\xeb\xb7\xbe\x03\xf4\x81\xab\x2e\x6a\xdd\xcc\xb6\x85\x18\x5b\x23\xcd\x0b\x86\x62\xe5\x23\x8c\xca\x48\x6b\x08\x16\xef\xa0\x80\x77\xeb\x29\x99\xdf\x37\x4e\xaa\x43\xdd\xef\xd6\xaf\xb5\xc9\x9c\x4d\xaf\xd5\x16\x4e\xf3\x4b\x77\x60\x22\x45\x93\xb2\x0f\xac\x23\x46\x9e\xd4\x94\x58\xdf\x3a\x06\x55\x26\x91\x93\x3e\x4d\x13\xca\xa8\xdc\x68\x3a\x85\xfe\xd4\x7a\x46\x5e\x43\xb0\x97\x5d\x27\x09\x6b\xef\xb9\x48\xc0\xd6\x88\x49\x8b\x85\xb2\x6e\x19\x42\x8d\x78\xd1\x87\x67\x00\x87\x48\xf3\xff\xc0\x33\xd1\xa0\xd8\xb9\x81\x29\x0e\x9c\x0b\xa9\xc5\xa5\x95\x77\x56\x6a\x6b\x33\x67\xc4\x1c\x3a\xde\x89\xe3\xa1\xeb\x57\x22\xfc\xa7\x26\xae\xb7\x30\x60\x57\xd0\x58\x55\xd1\xe8\x06\xab\x11\x83\xcc\x57\x06\x26\xe4\x58\x42\x72\x90\xcd\xef\xb4\x5f\x04\xb5\x6c\x30\xf3\x05\x8a\xd7\xc8\xbc\x92\x1a\x10\xdd\xf3\xdf\xe9\xff\xff\xaf\xef\xfe\xff\x00\x00\x00\xff\xff\xc6\xbb\xaa\x78\xb3\xbb\x02\x00") func adminSwaggerJsonBytes() ([]byte, error) { return bindataRead( @@ -92,7 +92,7 @@ func adminSwaggerJson() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "admin.swagger.json", size: 172977, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} + info := bindataFileInfo{name: "admin.swagger.json", size: 179123, mode: os.FileMode(420), modTime: time.Unix(1562572800, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/flyteidl/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java new file mode 100644 index 0000000000..daa6add49e --- /dev/null +++ b/flyteidl/gen/pb-java/flyteidl/admin/MatchableResourceOuterClass.java @@ -0,0 +1,4654 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/matchable_resource.proto + +package flyteidl.admin; + +public final class MatchableResourceOuterClass { + private MatchableResourceOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + /** + *
+   * Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes
+   * based on matching tags.
+   * 
+ * + * Protobuf enum {@code flyteidl.admin.MatchableResource} + */ + public enum MatchableResource + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * Applies to customizable task resource requests and limits.
+     * 
+ * + * TASK_RESOURCE = 0; + */ + TASK_RESOURCE(0), + /** + *
+     * Applies to configuring templated kubernetes cluster resources.
+     * 
+ * + * CLUSTER_RESOURCE = 1; + */ + CLUSTER_RESOURCE(1), + /** + *
+     * Configures task and dynamic task execution queue assignment.
+     * 
+ * + * EXECUTION_QUEUE = 2; + */ + EXECUTION_QUEUE(2), + UNRECOGNIZED(-1), + ; + + /** + *
+     * Applies to customizable task resource requests and limits.
+     * 
+ * + * TASK_RESOURCE = 0; + */ + public static final int TASK_RESOURCE_VALUE = 0; + /** + *
+     * Applies to configuring templated kubernetes cluster resources.
+     * 
+ * + * CLUSTER_RESOURCE = 1; + */ + public static final int CLUSTER_RESOURCE_VALUE = 1; + /** + *
+     * Configures task and dynamic task execution queue assignment.
+     * 
+ * + * EXECUTION_QUEUE = 2; + */ + public static final int EXECUTION_QUEUE_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MatchableResource valueOf(int value) { + return forNumber(value); + } + + public static MatchableResource forNumber(int value) { + switch (value) { + case 0: return TASK_RESOURCE; + case 1: return CLUSTER_RESOURCE; + case 2: return EXECUTION_QUEUE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + MatchableResource> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MatchableResource findValueByNumber(int number) { + return MatchableResource.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return flyteidl.admin.MatchableResourceOuterClass.getDescriptor().getEnumTypes().get(0); + } + + private static final MatchableResource[] VALUES = values(); + + public static MatchableResource valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private MatchableResource(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:flyteidl.admin.MatchableResource) + } + + public interface TaskResourceSpecOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskResourceSpec) + com.google.protobuf.MessageOrBuilder { + + /** + * string cpu = 1; + */ + java.lang.String getCpu(); + /** + * string cpu = 1; + */ + com.google.protobuf.ByteString + getCpuBytes(); + + /** + * string gpu = 2; + */ + java.lang.String getGpu(); + /** + * string gpu = 2; + */ + com.google.protobuf.ByteString + getGpuBytes(); + + /** + * string memory = 3; + */ + java.lang.String getMemory(); + /** + * string memory = 3; + */ + com.google.protobuf.ByteString + getMemoryBytes(); + + /** + * string storage = 4; + */ + java.lang.String getStorage(); + /** + * string storage = 4; + */ + com.google.protobuf.ByteString + getStorageBytes(); + } + /** + * Protobuf type {@code flyteidl.admin.TaskResourceSpec} + */ + public static final class TaskResourceSpec extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskResourceSpec) + TaskResourceSpecOrBuilder { + private static final long serialVersionUID = 0L; + // Use TaskResourceSpec.newBuilder() to construct. + private TaskResourceSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskResourceSpec() { + cpu_ = ""; + gpu_ = ""; + memory_ = ""; + storage_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskResourceSpec( + 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(); + + cpu_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + gpu_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + memory_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + storage_ = 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.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.class, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder.class); + } + + public static final int CPU_FIELD_NUMBER = 1; + private volatile java.lang.Object cpu_; + /** + * string cpu = 1; + */ + public java.lang.String getCpu() { + java.lang.Object ref = cpu_; + 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(); + cpu_ = s; + return s; + } + } + /** + * string cpu = 1; + */ + public com.google.protobuf.ByteString + getCpuBytes() { + java.lang.Object ref = cpu_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + cpu_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GPU_FIELD_NUMBER = 2; + private volatile java.lang.Object gpu_; + /** + * string gpu = 2; + */ + public java.lang.String getGpu() { + java.lang.Object ref = gpu_; + 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(); + gpu_ = s; + return s; + } + } + /** + * string gpu = 2; + */ + public com.google.protobuf.ByteString + getGpuBytes() { + java.lang.Object ref = gpu_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + gpu_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MEMORY_FIELD_NUMBER = 3; + private volatile java.lang.Object memory_; + /** + * string memory = 3; + */ + public java.lang.String getMemory() { + java.lang.Object ref = memory_; + 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(); + memory_ = s; + return s; + } + } + /** + * string memory = 3; + */ + public com.google.protobuf.ByteString + getMemoryBytes() { + java.lang.Object ref = memory_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memory_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STORAGE_FIELD_NUMBER = 4; + private volatile java.lang.Object storage_; + /** + * string storage = 4; + */ + public java.lang.String getStorage() { + java.lang.Object ref = storage_; + 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(); + storage_ = s; + return s; + } + } + /** + * string storage = 4; + */ + public com.google.protobuf.ByteString + getStorageBytes() { + java.lang.Object ref = storage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + storage_ = 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 (!getCpuBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cpu_); + } + if (!getGpuBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, gpu_); + } + if (!getMemoryBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, memory_); + } + if (!getStorageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, storage_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getCpuBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cpu_); + } + if (!getGpuBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, gpu_); + } + if (!getMemoryBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, memory_); + } + if (!getStorageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, storage_); + } + 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.MatchableResourceOuterClass.TaskResourceSpec)) { + return super.equals(obj); + } + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec other = (flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec) obj; + + if (!getCpu() + .equals(other.getCpu())) return false; + if (!getGpu() + .equals(other.getGpu())) return false; + if (!getMemory() + .equals(other.getMemory())) return false; + if (!getStorage() + .equals(other.getStorage())) 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) + CPU_FIELD_NUMBER; + hash = (53 * hash) + getCpu().hashCode(); + hash = (37 * hash) + GPU_FIELD_NUMBER; + hash = (53 * hash) + getGpu().hashCode(); + hash = (37 * hash) + MEMORY_FIELD_NUMBER; + hash = (53 * hash) + getMemory().hashCode(); + hash = (37 * hash) + STORAGE_FIELD_NUMBER; + hash = (53 * hash) + getStorage().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec 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.MatchableResourceOuterClass.TaskResourceSpec parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec 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.MatchableResourceOuterClass.TaskResourceSpec parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec 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.MatchableResourceOuterClass.TaskResourceSpec parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec 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.MatchableResourceOuterClass.TaskResourceSpec 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; + } + /** + * Protobuf type {@code flyteidl.admin.TaskResourceSpec} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskResourceSpec) + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.class, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder.class); + } + + // Construct using flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.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(); + cpu_ = ""; + + gpu_ = ""; + + memory_ = ""; + + storage_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceSpec_descriptor; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaultInstanceForType() { + return flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec build() { + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec buildPartial() { + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec result = new flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec(this); + result.cpu_ = cpu_; + result.gpu_ = gpu_; + result.memory_ = memory_; + result.storage_ = storage_; + 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.MatchableResourceOuterClass.TaskResourceSpec) { + return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec other) { + if (other == flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance()) return this; + if (!other.getCpu().isEmpty()) { + cpu_ = other.cpu_; + onChanged(); + } + if (!other.getGpu().isEmpty()) { + gpu_ = other.gpu_; + onChanged(); + } + if (!other.getMemory().isEmpty()) { + memory_ = other.memory_; + onChanged(); + } + if (!other.getStorage().isEmpty()) { + storage_ = other.storage_; + 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.MatchableResourceOuterClass.TaskResourceSpec parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object cpu_ = ""; + /** + * string cpu = 1; + */ + public java.lang.String getCpu() { + java.lang.Object ref = cpu_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + cpu_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string cpu = 1; + */ + public com.google.protobuf.ByteString + getCpuBytes() { + java.lang.Object ref = cpu_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + cpu_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string cpu = 1; + */ + public Builder setCpu( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + cpu_ = value; + onChanged(); + return this; + } + /** + * string cpu = 1; + */ + public Builder clearCpu() { + + cpu_ = getDefaultInstance().getCpu(); + onChanged(); + return this; + } + /** + * string cpu = 1; + */ + public Builder setCpuBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + cpu_ = value; + onChanged(); + return this; + } + + private java.lang.Object gpu_ = ""; + /** + * string gpu = 2; + */ + public java.lang.String getGpu() { + java.lang.Object ref = gpu_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + gpu_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string gpu = 2; + */ + public com.google.protobuf.ByteString + getGpuBytes() { + java.lang.Object ref = gpu_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + gpu_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string gpu = 2; + */ + public Builder setGpu( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + gpu_ = value; + onChanged(); + return this; + } + /** + * string gpu = 2; + */ + public Builder clearGpu() { + + gpu_ = getDefaultInstance().getGpu(); + onChanged(); + return this; + } + /** + * string gpu = 2; + */ + public Builder setGpuBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + gpu_ = value; + onChanged(); + return this; + } + + private java.lang.Object memory_ = ""; + /** + * string memory = 3; + */ + public java.lang.String getMemory() { + java.lang.Object ref = memory_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + memory_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string memory = 3; + */ + public com.google.protobuf.ByteString + getMemoryBytes() { + java.lang.Object ref = memory_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + memory_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string memory = 3; + */ + public Builder setMemory( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + memory_ = value; + onChanged(); + return this; + } + /** + * string memory = 3; + */ + public Builder clearMemory() { + + memory_ = getDefaultInstance().getMemory(); + onChanged(); + return this; + } + /** + * string memory = 3; + */ + public Builder setMemoryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + memory_ = value; + onChanged(); + return this; + } + + private java.lang.Object storage_ = ""; + /** + * string storage = 4; + */ + public java.lang.String getStorage() { + java.lang.Object ref = storage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + storage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string storage = 4; + */ + public com.google.protobuf.ByteString + getStorageBytes() { + java.lang.Object ref = storage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + storage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string storage = 4; + */ + public Builder setStorage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + storage_ = value; + onChanged(); + return this; + } + /** + * string storage = 4; + */ + public Builder clearStorage() { + + storage_ = getDefaultInstance().getStorage(); + onChanged(); + return this; + } + /** + * string storage = 4; + */ + public Builder setStorageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + storage_ = 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.TaskResourceSpec) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceSpec) + private static final flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec(); + } + + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskResourceSpec parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskResourceSpec(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.MatchableResourceOuterClass.TaskResourceSpec getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TaskResourceAttributesOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.TaskResourceAttributes) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + boolean hasDefaults(); + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaults(); + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getDefaultsOrBuilder(); + + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + boolean hasLimits(); + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getLimits(); + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getLimitsOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.admin.TaskResourceAttributes} + */ + public static final class TaskResourceAttributes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.TaskResourceAttributes) + TaskResourceAttributesOrBuilder { + private static final long serialVersionUID = 0L; + // Use TaskResourceAttributes.newBuilder() to construct. + private TaskResourceAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskResourceAttributes() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskResourceAttributes( + 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.TaskResourceSpec.Builder subBuilder = null; + if (defaults_ != null) { + subBuilder = defaults_.toBuilder(); + } + defaults_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(defaults_); + defaults_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder subBuilder = null; + if (limits_ != null) { + subBuilder = limits_.toBuilder(); + } + limits_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(limits_); + limits_ = 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.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.class, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder.class); + } + + public static final int DEFAULTS_FIELD_NUMBER = 1; + private flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec defaults_; + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public boolean hasDefaults() { + return defaults_ != null; + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaults() { + return defaults_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : defaults_; + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getDefaultsOrBuilder() { + return getDefaults(); + } + + public static final int LIMITS_FIELD_NUMBER = 2; + private flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec limits_; + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public boolean hasLimits() { + return limits_ != null; + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getLimits() { + return limits_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : limits_; + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getLimitsOrBuilder() { + return getLimits(); + } + + 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 (defaults_ != null) { + output.writeMessage(1, getDefaults()); + } + if (limits_ != null) { + output.writeMessage(2, getLimits()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (defaults_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDefaults()); + } + if (limits_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getLimits()); + } + 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.MatchableResourceOuterClass.TaskResourceAttributes)) { + return super.equals(obj); + } + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes other = (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) obj; + + if (hasDefaults() != other.hasDefaults()) return false; + if (hasDefaults()) { + if (!getDefaults() + .equals(other.getDefaults())) return false; + } + if (hasLimits() != other.hasLimits()) return false; + if (hasLimits()) { + if (!getLimits() + .equals(other.getLimits())) 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 (hasDefaults()) { + hash = (37 * hash) + DEFAULTS_FIELD_NUMBER; + hash = (53 * hash) + getDefaults().hashCode(); + } + if (hasLimits()) { + hash = (37 * hash) + LIMITS_FIELD_NUMBER; + hash = (53 * hash) + getLimits().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes 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.MatchableResourceOuterClass.TaskResourceAttributes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes 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.MatchableResourceOuterClass.TaskResourceAttributes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes 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.MatchableResourceOuterClass.TaskResourceAttributes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes 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.MatchableResourceOuterClass.TaskResourceAttributes 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; + } + /** + * Protobuf type {@code flyteidl.admin.TaskResourceAttributes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.TaskResourceAttributes) + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.class, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder.class); + } + + // Construct using flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.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 (defaultsBuilder_ == null) { + defaults_ = null; + } else { + defaults_ = null; + defaultsBuilder_ = null; + } + if (limitsBuilder_ == null) { + limits_ = null; + } else { + limits_ = null; + limitsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_TaskResourceAttributes_descriptor; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getDefaultInstanceForType() { + return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes build() { + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes buildPartial() { + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes result = new flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes(this); + if (defaultsBuilder_ == null) { + result.defaults_ = defaults_; + } else { + result.defaults_ = defaultsBuilder_.build(); + } + if (limitsBuilder_ == null) { + result.limits_ = limits_; + } else { + result.limits_ = limitsBuilder_.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.MatchableResourceOuterClass.TaskResourceAttributes) { + return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes other) { + if (other == flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance()) return this; + if (other.hasDefaults()) { + mergeDefaults(other.getDefaults()); + } + if (other.hasLimits()) { + mergeLimits(other.getLimits()); + } + 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.MatchableResourceOuterClass.TaskResourceAttributes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec defaults_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder> defaultsBuilder_; + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public boolean hasDefaults() { + return defaultsBuilder_ != null || defaults_ != null; + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getDefaults() { + if (defaultsBuilder_ == null) { + return defaults_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : defaults_; + } else { + return defaultsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public Builder setDefaults(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec value) { + if (defaultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + defaults_ = value; + onChanged(); + } else { + defaultsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public Builder setDefaults( + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder builderForValue) { + if (defaultsBuilder_ == null) { + defaults_ = builderForValue.build(); + onChanged(); + } else { + defaultsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public Builder mergeDefaults(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec value) { + if (defaultsBuilder_ == null) { + if (defaults_ != null) { + defaults_ = + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.newBuilder(defaults_).mergeFrom(value).buildPartial(); + } else { + defaults_ = value; + } + onChanged(); + } else { + defaultsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public Builder clearDefaults() { + if (defaultsBuilder_ == null) { + defaults_ = null; + onChanged(); + } else { + defaults_ = null; + defaultsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder getDefaultsBuilder() { + + onChanged(); + return getDefaultsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getDefaultsOrBuilder() { + if (defaultsBuilder_ != null) { + return defaultsBuilder_.getMessageOrBuilder(); + } else { + return defaults_ == null ? + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : defaults_; + } + } + /** + * .flyteidl.admin.TaskResourceSpec defaults = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder> + getDefaultsFieldBuilder() { + if (defaultsBuilder_ == null) { + defaultsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder>( + getDefaults(), + getParentForChildren(), + isClean()); + defaults_ = null; + } + return defaultsBuilder_; + } + + private flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec limits_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder> limitsBuilder_; + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public boolean hasLimits() { + return limitsBuilder_ != null || limits_ != null; + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec getLimits() { + if (limitsBuilder_ == null) { + return limits_ == null ? flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : limits_; + } else { + return limitsBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public Builder setLimits(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec value) { + if (limitsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + limits_ = value; + onChanged(); + } else { + limitsBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public Builder setLimits( + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder builderForValue) { + if (limitsBuilder_ == null) { + limits_ = builderForValue.build(); + onChanged(); + } else { + limitsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public Builder mergeLimits(flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec value) { + if (limitsBuilder_ == null) { + if (limits_ != null) { + limits_ = + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.newBuilder(limits_).mergeFrom(value).buildPartial(); + } else { + limits_ = value; + } + onChanged(); + } else { + limitsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public Builder clearLimits() { + if (limitsBuilder_ == null) { + limits_ = null; + onChanged(); + } else { + limits_ = null; + limitsBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder getLimitsBuilder() { + + onChanged(); + return getLimitsFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder getLimitsOrBuilder() { + if (limitsBuilder_ != null) { + return limitsBuilder_.getMessageOrBuilder(); + } else { + return limits_ == null ? + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.getDefaultInstance() : limits_; + } + } + /** + * .flyteidl.admin.TaskResourceSpec limits = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder> + getLimitsFieldBuilder() { + if (limitsBuilder_ == null) { + limitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpec.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceSpecOrBuilder>( + getLimits(), + getParentForChildren(), + isClean()); + limits_ = null; + } + return limitsBuilder_; + } + @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.TaskResourceAttributes) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceAttributes) + private static final flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes(); + } + + public static flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskResourceAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskResourceAttributes(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.MatchableResourceOuterClass.TaskResourceAttributes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ClusterResourceAttributesOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.ClusterResourceAttributes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+     * Map keys are the *case-sensitive* names of variables in templatized resource files.
+     * Map values should be the custom values which get substituted during resource creation.
+     * 
+ * + * map<string, string> attributes = 1; + */ + int getAttributesCount(); + /** + *
+     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+     * Map keys are the *case-sensitive* names of variables in templatized resource files.
+     * Map values should be the custom values which get substituted during resource creation.
+     * 
+ * + * map<string, string> attributes = 1; + */ + boolean containsAttributes( + java.lang.String key); + /** + * Use {@link #getAttributesMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getAttributes(); + /** + *
+     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+     * Map keys are the *case-sensitive* names of variables in templatized resource files.
+     * Map values should be the custom values which get substituted during resource creation.
+     * 
+ * + * map<string, string> attributes = 1; + */ + java.util.Map + getAttributesMap(); + /** + *
+     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+     * Map keys are the *case-sensitive* names of variables in templatized resource files.
+     * Map values should be the custom values which get substituted during resource creation.
+     * 
+ * + * map<string, string> attributes = 1; + */ + + java.lang.String getAttributesOrDefault( + java.lang.String key, + java.lang.String defaultValue); + /** + *
+     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+     * Map keys are the *case-sensitive* names of variables in templatized resource files.
+     * Map values should be the custom values which get substituted during resource creation.
+     * 
+ * + * map<string, string> attributes = 1; + */ + + java.lang.String getAttributesOrThrow( + java.lang.String key); + } + /** + * Protobuf type {@code flyteidl.admin.ClusterResourceAttributes} + */ + public static final class ClusterResourceAttributes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.ClusterResourceAttributes) + ClusterResourceAttributesOrBuilder { + private static final long serialVersionUID = 0L; + // Use ClusterResourceAttributes.newBuilder() to construct. + private ClusterResourceAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ClusterResourceAttributes() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ClusterResourceAttributes( + 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: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + attributes_ = com.google.protobuf.MapField.newMapField( + AttributesDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + attributes__ = input.readMessage( + AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + attributes_.getMutableMap().put( + attributes__.getKey(), attributes__.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.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetAttributes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.class, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder.class); + } + + public static final int ATTRIBUTES_FIELD_NUMBER = 1; + private static final class AttributesDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> attributes_; + private com.google.protobuf.MapField + internalGetAttributes() { + if (attributes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + AttributesDefaultEntryHolder.defaultEntry); + } + return attributes_; + } + + public int getAttributesCount() { + return internalGetAttributes().getMap().size(); + } + /** + *
+     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+     * Map keys are the *case-sensitive* names of variables in templatized resource files.
+     * Map values should be the custom values which get substituted during resource creation.
+     * 
+ * + * map<string, string> attributes = 1; + */ + + public boolean containsAttributes( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetAttributes().getMap().containsKey(key); + } + /** + * Use {@link #getAttributesMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getAttributes() { + return getAttributesMap(); + } + /** + *
+     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+     * Map keys are the *case-sensitive* names of variables in templatized resource files.
+     * Map values should be the custom values which get substituted during resource creation.
+     * 
+ * + * map<string, string> attributes = 1; + */ + + public java.util.Map getAttributesMap() { + return internalGetAttributes().getMap(); + } + /** + *
+     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+     * Map keys are the *case-sensitive* names of variables in templatized resource files.
+     * Map values should be the custom values which get substituted during resource creation.
+     * 
+ * + * map<string, string> attributes = 1; + */ + + public java.lang.String getAttributesOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetAttributes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+     * Map keys are the *case-sensitive* names of variables in templatized resource files.
+     * Map values should be the custom values which get substituted during resource creation.
+     * 
+ * + * map<string, string> attributes = 1; + */ + + public java.lang.String getAttributesOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetAttributes().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 { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAttributes(), + AttributesDefaultEntryHolder.defaultEntry, + 1); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry + : internalGetAttributes().getMap().entrySet()) { + com.google.protobuf.MapEntry + attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, attributes__); + } + 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.MatchableResourceOuterClass.ClusterResourceAttributes)) { + return super.equals(obj); + } + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes other = (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) obj; + + if (!internalGetAttributes().equals( + other.internalGetAttributes())) 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 (!internalGetAttributes().getMap().isEmpty()) { + hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + internalGetAttributes().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes 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.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes 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.MatchableResourceOuterClass.ClusterResourceAttributes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes 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.MatchableResourceOuterClass.ClusterResourceAttributes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes 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.MatchableResourceOuterClass.ClusterResourceAttributes 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; + } + /** + * Protobuf type {@code flyteidl.admin.ClusterResourceAttributes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.ClusterResourceAttributes) + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 1: + return internalGetAttributes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 1: + return internalGetMutableAttributes(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.class, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder.class); + } + + // Construct using flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.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(); + internalGetMutableAttributes().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getDefaultInstanceForType() { + return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes build() { + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes buildPartial() { + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes result = new flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes(this); + int from_bitField0_ = bitField0_; + result.attributes_ = internalGetAttributes(); + result.attributes_.makeImmutable(); + 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.MatchableResourceOuterClass.ClusterResourceAttributes) { + return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes other) { + if (other == flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance()) return this; + internalGetMutableAttributes().mergeFrom( + other.internalGetAttributes()); + 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.MatchableResourceOuterClass.ClusterResourceAttributes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> attributes_; + private com.google.protobuf.MapField + internalGetAttributes() { + if (attributes_ == null) { + return com.google.protobuf.MapField.emptyMapField( + AttributesDefaultEntryHolder.defaultEntry); + } + return attributes_; + } + private com.google.protobuf.MapField + internalGetMutableAttributes() { + onChanged();; + if (attributes_ == null) { + attributes_ = com.google.protobuf.MapField.newMapField( + AttributesDefaultEntryHolder.defaultEntry); + } + if (!attributes_.isMutable()) { + attributes_ = attributes_.copy(); + } + return attributes_; + } + + public int getAttributesCount() { + return internalGetAttributes().getMap().size(); + } + /** + *
+       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+       * Map keys are the *case-sensitive* names of variables in templatized resource files.
+       * Map values should be the custom values which get substituted during resource creation.
+       * 
+ * + * map<string, string> attributes = 1; + */ + + public boolean containsAttributes( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + return internalGetAttributes().getMap().containsKey(key); + } + /** + * Use {@link #getAttributesMap()} instead. + */ + @java.lang.Deprecated + public java.util.Map getAttributes() { + return getAttributesMap(); + } + /** + *
+       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+       * Map keys are the *case-sensitive* names of variables in templatized resource files.
+       * Map values should be the custom values which get substituted during resource creation.
+       * 
+ * + * map<string, string> attributes = 1; + */ + + public java.util.Map getAttributesMap() { + return internalGetAttributes().getMap(); + } + /** + *
+       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+       * Map keys are the *case-sensitive* names of variables in templatized resource files.
+       * Map values should be the custom values which get substituted during resource creation.
+       * 
+ * + * map<string, string> attributes = 1; + */ + + public java.lang.String getAttributesOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetAttributes().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+       * Map keys are the *case-sensitive* names of variables in templatized resource files.
+       * Map values should be the custom values which get substituted during resource creation.
+       * 
+ * + * map<string, string> attributes = 1; + */ + + public java.lang.String getAttributesOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetAttributes().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearAttributes() { + internalGetMutableAttributes().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+       * Map keys are the *case-sensitive* names of variables in templatized resource files.
+       * Map values should be the custom values which get substituted during resource creation.
+       * 
+ * + * map<string, string> attributes = 1; + */ + + public Builder removeAttributes( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + internalGetMutableAttributes().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableAttributes() { + return internalGetMutableAttributes().getMutableMap(); + } + /** + *
+       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+       * Map keys are the *case-sensitive* names of variables in templatized resource files.
+       * Map values should be the custom values which get substituted during resource creation.
+       * 
+ * + * map<string, string> attributes = 1; + */ + public Builder putAttributes( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + internalGetMutableAttributes().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
+       * Map keys are the *case-sensitive* names of variables in templatized resource files.
+       * Map values should be the custom values which get substituted during resource creation.
+       * 
+ * + * map<string, string> attributes = 1; + */ + + public Builder putAllAttributes( + java.util.Map values) { + internalGetMutableAttributes().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.ClusterResourceAttributes) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterResourceAttributes) + private static final flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes(); + } + + public static flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterResourceAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ClusterResourceAttributes(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.MatchableResourceOuterClass.ClusterResourceAttributes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ExecutionQueueAttributesOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.ExecutionQueueAttributes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Tags used for assigning execution queues for tasks defined within this project.
+     * 
+ * + * repeated string tags = 1; + */ + java.util.List + getTagsList(); + /** + *
+     * Tags used for assigning execution queues for tasks defined within this project.
+     * 
+ * + * repeated string tags = 1; + */ + int getTagsCount(); + /** + *
+     * Tags used for assigning execution queues for tasks defined within this project.
+     * 
+ * + * repeated string tags = 1; + */ + java.lang.String getTags(int index); + /** + *
+     * Tags used for assigning execution queues for tasks defined within this project.
+     * 
+ * + * repeated string tags = 1; + */ + com.google.protobuf.ByteString + getTagsBytes(int index); + } + /** + * Protobuf type {@code flyteidl.admin.ExecutionQueueAttributes} + */ + public static final class ExecutionQueueAttributes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.ExecutionQueueAttributes) + ExecutionQueueAttributesOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExecutionQueueAttributes.newBuilder() to construct. + private ExecutionQueueAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ExecutionQueueAttributes() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExecutionQueueAttributes( + 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(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add(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 { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = tags_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.class, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder.class); + } + + public static final int TAGS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList tags_; + /** + *
+     * Tags used for assigning execution queues for tasks defined within this project.
+     * 
+ * + * repeated string tags = 1; + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_; + } + /** + *
+     * Tags used for assigning execution queues for tasks defined within this project.
+     * 
+ * + * repeated string tags = 1; + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+     * Tags used for assigning execution queues for tasks defined within this project.
+     * 
+ * + * repeated string tags = 1; + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+     * Tags used for assigning execution queues for tasks defined within this project.
+     * 
+ * + * repeated string tags = 1; + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + + 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 { + for (int i = 0; i < tags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tags_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < tags_.size(); i++) { + dataSize += computeStringSizeNoTag(tags_.getRaw(i)); + } + size += dataSize; + size += 1 * getTagsList().size(); + } + 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.MatchableResourceOuterClass.ExecutionQueueAttributes)) { + return super.equals(obj); + } + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes other = (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) obj; + + if (!getTagsList() + .equals(other.getTagsList())) 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 (getTagsCount() > 0) { + hash = (37 * hash) + TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTagsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes 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.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes 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.MatchableResourceOuterClass.ExecutionQueueAttributes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes 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.MatchableResourceOuterClass.ExecutionQueueAttributes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes 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.MatchableResourceOuterClass.ExecutionQueueAttributes 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; + } + /** + * Protobuf type {@code flyteidl.admin.ExecutionQueueAttributes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.ExecutionQueueAttributes) + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.class, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder.class); + } + + // Construct using flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.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(); + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getDefaultInstanceForType() { + return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes build() { + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes buildPartial() { + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes result = new flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + tags_ = tags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.tags_ = tags_; + 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.MatchableResourceOuterClass.ExecutionQueueAttributes) { + return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes other) { + if (other == flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance()) return this; + if (!other.tags_.isEmpty()) { + if (tags_.isEmpty()) { + tags_ = other.tags_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTagsIsMutable(); + tags_.addAll(other.tags_); + } + 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.MatchableResourceOuterClass.ExecutionQueueAttributes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(tags_); + bitField0_ |= 0x00000001; + } + } + /** + *
+       * Tags used for assigning execution queues for tasks defined within this project.
+       * 
+ * + * repeated string tags = 1; + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_.getUnmodifiableView(); + } + /** + *
+       * Tags used for assigning execution queues for tasks defined within this project.
+       * 
+ * + * repeated string tags = 1; + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+       * Tags used for assigning execution queues for tasks defined within this project.
+       * 
+ * + * repeated string tags = 1; + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+       * Tags used for assigning execution queues for tasks defined within this project.
+       * 
+ * + * repeated string tags = 1; + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + /** + *
+       * Tags used for assigning execution queues for tasks defined within this project.
+       * 
+ * + * repeated string tags = 1; + */ + public Builder setTags( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * Tags used for assigning execution queues for tasks defined within this project.
+       * 
+ * + * repeated string tags = 1; + */ + public Builder addTags( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + /** + *
+       * Tags used for assigning execution queues for tasks defined within this project.
+       * 
+ * + * repeated string tags = 1; + */ + public Builder addAllTags( + java.lang.Iterable values) { + ensureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); + onChanged(); + return this; + } + /** + *
+       * Tags used for assigning execution queues for tasks defined within this project.
+       * 
+ * + * repeated string tags = 1; + */ + public Builder clearTags() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Tags used for assigning execution queues for tasks defined within this project.
+       * 
+ * + * repeated string tags = 1; + */ + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureTagsIsMutable(); + tags_.add(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.ExecutionQueueAttributes) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionQueueAttributes) + private static final flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes(); + } + + public static flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionQueueAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExecutionQueueAttributes(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.MatchableResourceOuterClass.ExecutionQueueAttributes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MatchingAttributesOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.MatchingAttributes) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + boolean hasTaskResourceAttributes(); + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getTaskResourceAttributes(); + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder getTaskResourceAttributesOrBuilder(); + + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + boolean hasClusterResourceAttributes(); + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getClusterResourceAttributes(); + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder getClusterResourceAttributesOrBuilder(); + + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + boolean hasExecutionQueueAttributes(); + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getExecutionQueueAttributes(); + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder getExecutionQueueAttributesOrBuilder(); + + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.TargetCase getTargetCase(); + } + /** + *
+   * Generic container for encapsulating all types of the above attributes messages.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.MatchingAttributes} + */ + public static final class MatchingAttributes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.MatchingAttributes) + MatchingAttributesOrBuilder { + private static final long serialVersionUID = 0L; + // Use MatchingAttributes.newBuilder() to construct. + private MatchingAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MatchingAttributes() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MatchingAttributes( + 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.TaskResourceAttributes.Builder subBuilder = null; + if (targetCase_ == 1) { + subBuilder = ((flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_).toBuilder(); + } + target_ = + input.readMessage(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 1; + break; + } + case 18: { + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder subBuilder = null; + if (targetCase_ == 2) { + subBuilder = ((flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_).toBuilder(); + } + target_ = + input.readMessage(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 2; + break; + } + case 26: { + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder subBuilder = null; + if (targetCase_ == 3) { + subBuilder = ((flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_).toBuilder(); + } + target_ = + input.readMessage(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_); + target_ = subBuilder.buildPartial(); + } + targetCase_ = 3; + 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.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.class, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder.class); + } + + private int targetCase_ = 0; + private java.lang.Object target_; + public enum TargetCase + implements com.google.protobuf.Internal.EnumLite { + TASK_RESOURCE_ATTRIBUTES(1), + CLUSTER_RESOURCE_ATTRIBUTES(2), + EXECUTION_QUEUE_ATTRIBUTES(3), + TARGET_NOT_SET(0); + private final int value; + private TargetCase(int value) { + this.value = value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TargetCase valueOf(int value) { + return forNumber(value); + } + + public static TargetCase forNumber(int value) { + switch (value) { + case 1: return TASK_RESOURCE_ATTRIBUTES; + case 2: return CLUSTER_RESOURCE_ATTRIBUTES; + case 3: return EXECUTION_QUEUE_ATTRIBUTES; + case 0: return TARGET_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); + } + + public static final int TASK_RESOURCE_ATTRIBUTES_FIELD_NUMBER = 1; + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public boolean hasTaskResourceAttributes() { + return targetCase_ == 1; + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getTaskResourceAttributes() { + if (targetCase_ == 1) { + return (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder getTaskResourceAttributesOrBuilder() { + if (targetCase_ == 1) { + return (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); + } + + public static final int CLUSTER_RESOURCE_ATTRIBUTES_FIELD_NUMBER = 2; + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public boolean hasClusterResourceAttributes() { + return targetCase_ == 2; + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getClusterResourceAttributes() { + if (targetCase_ == 2) { + return (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder getClusterResourceAttributesOrBuilder() { + if (targetCase_ == 2) { + return (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); + } + + public static final int EXECUTION_QUEUE_ATTRIBUTES_FIELD_NUMBER = 3; + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public boolean hasExecutionQueueAttributes() { + return targetCase_ == 3; + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getExecutionQueueAttributes() { + if (targetCase_ == 3) { + return (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder getExecutionQueueAttributesOrBuilder() { + if (targetCase_ == 3) { + return (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.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 (targetCase_ == 1) { + output.writeMessage(1, (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_); + } + if (targetCase_ == 2) { + output.writeMessage(2, (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_); + } + if (targetCase_ == 3) { + output.writeMessage(3, (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (targetCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_); + } + if (targetCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_); + } + if (targetCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_); + } + 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.MatchableResourceOuterClass.MatchingAttributes)) { + return super.equals(obj); + } + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes other = (flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes) obj; + + if (!getTargetCase().equals(other.getTargetCase())) return false; + switch (targetCase_) { + case 1: + if (!getTaskResourceAttributes() + .equals(other.getTaskResourceAttributes())) return false; + break; + case 2: + if (!getClusterResourceAttributes() + .equals(other.getClusterResourceAttributes())) return false; + break; + case 3: + if (!getExecutionQueueAttributes() + .equals(other.getExecutionQueueAttributes())) 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 (targetCase_) { + case 1: + hash = (37 * hash) + TASK_RESOURCE_ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + getTaskResourceAttributes().hashCode(); + break; + case 2: + hash = (37 * hash) + CLUSTER_RESOURCE_ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + getClusterResourceAttributes().hashCode(); + break; + case 3: + hash = (37 * hash) + EXECUTION_QUEUE_ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + getExecutionQueueAttributes().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes 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.MatchableResourceOuterClass.MatchingAttributes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes 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.MatchableResourceOuterClass.MatchingAttributes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes 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.MatchableResourceOuterClass.MatchingAttributes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes 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.MatchableResourceOuterClass.MatchingAttributes 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; + } + /** + *
+     * Generic container for encapsulating all types of the above attributes messages.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.MatchingAttributes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.MatchingAttributes) + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.class, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder.class); + } + + // Construct using flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.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(); + targetCase_ = 0; + target_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.MatchableResourceOuterClass.internal_static_flyteidl_admin_MatchingAttributes_descriptor; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getDefaultInstanceForType() { + return flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes build() { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes buildPartial() { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes result = new flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes(this); + if (targetCase_ == 1) { + if (taskResourceAttributesBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = taskResourceAttributesBuilder_.build(); + } + } + if (targetCase_ == 2) { + if (clusterResourceAttributesBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = clusterResourceAttributesBuilder_.build(); + } + } + if (targetCase_ == 3) { + if (executionQueueAttributesBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = executionQueueAttributesBuilder_.build(); + } + } + result.targetCase_ = targetCase_; + 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.MatchableResourceOuterClass.MatchingAttributes) { + return mergeFrom((flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes other) { + if (other == flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance()) return this; + switch (other.getTargetCase()) { + case TASK_RESOURCE_ATTRIBUTES: { + mergeTaskResourceAttributes(other.getTaskResourceAttributes()); + break; + } + case CLUSTER_RESOURCE_ATTRIBUTES: { + mergeClusterResourceAttributes(other.getClusterResourceAttributes()); + break; + } + case EXECUTION_QUEUE_ATTRIBUTES: { + mergeExecutionQueueAttributes(other.getExecutionQueueAttributes()); + break; + } + case TARGET_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.MatchableResourceOuterClass.MatchingAttributes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int targetCase_ = 0; + private java.lang.Object target_; + public TargetCase + getTargetCase() { + return TargetCase.forNumber( + targetCase_); + } + + public Builder clearTarget() { + targetCase_ = 0; + target_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder> taskResourceAttributesBuilder_; + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public boolean hasTaskResourceAttributes() { + return targetCase_ == 1; + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes getTaskResourceAttributes() { + if (taskResourceAttributesBuilder_ == null) { + if (targetCase_ == 1) { + return (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); + } else { + if (targetCase_ == 1) { + return taskResourceAttributesBuilder_.getMessage(); + } + return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public Builder setTaskResourceAttributes(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes value) { + if (taskResourceAttributesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + taskResourceAttributesBuilder_.setMessage(value); + } + targetCase_ = 1; + return this; + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public Builder setTaskResourceAttributes( + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder builderForValue) { + if (taskResourceAttributesBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + taskResourceAttributesBuilder_.setMessage(builderForValue.build()); + } + targetCase_ = 1; + return this; + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public Builder mergeTaskResourceAttributes(flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes value) { + if (taskResourceAttributesBuilder_ == null) { + if (targetCase_ == 1 && + target_ != flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance()) { + target_ = flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.newBuilder((flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_) + .mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + if (targetCase_ == 1) { + taskResourceAttributesBuilder_.mergeFrom(value); + } + taskResourceAttributesBuilder_.setMessage(value); + } + targetCase_ = 1; + return this; + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public Builder clearTaskResourceAttributes() { + if (taskResourceAttributesBuilder_ == null) { + if (targetCase_ == 1) { + targetCase_ = 0; + target_ = null; + onChanged(); + } + } else { + if (targetCase_ == 1) { + targetCase_ = 0; + target_ = null; + } + taskResourceAttributesBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder getTaskResourceAttributesBuilder() { + return getTaskResourceAttributesFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + public flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder getTaskResourceAttributesOrBuilder() { + if ((targetCase_ == 1) && (taskResourceAttributesBuilder_ != null)) { + return taskResourceAttributesBuilder_.getMessageOrBuilder(); + } else { + if (targetCase_ == 1) { + return (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.TaskResourceAttributes task_resource_attributes = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder> + getTaskResourceAttributesFieldBuilder() { + if (taskResourceAttributesBuilder_ == null) { + if (!(targetCase_ == 1)) { + target_ = flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.getDefaultInstance(); + } + taskResourceAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributesOrBuilder>( + (flyteidl.admin.MatchableResourceOuterClass.TaskResourceAttributes) target_, + getParentForChildren(), + isClean()); + target_ = null; + } + targetCase_ = 1; + onChanged();; + return taskResourceAttributesBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder> clusterResourceAttributesBuilder_; + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public boolean hasClusterResourceAttributes() { + return targetCase_ == 2; + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes getClusterResourceAttributes() { + if (clusterResourceAttributesBuilder_ == null) { + if (targetCase_ == 2) { + return (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); + } else { + if (targetCase_ == 2) { + return clusterResourceAttributesBuilder_.getMessage(); + } + return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public Builder setClusterResourceAttributes(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes value) { + if (clusterResourceAttributesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + clusterResourceAttributesBuilder_.setMessage(value); + } + targetCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public Builder setClusterResourceAttributes( + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder builderForValue) { + if (clusterResourceAttributesBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + clusterResourceAttributesBuilder_.setMessage(builderForValue.build()); + } + targetCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public Builder mergeClusterResourceAttributes(flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes value) { + if (clusterResourceAttributesBuilder_ == null) { + if (targetCase_ == 2 && + target_ != flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance()) { + target_ = flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.newBuilder((flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_) + .mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + if (targetCase_ == 2) { + clusterResourceAttributesBuilder_.mergeFrom(value); + } + clusterResourceAttributesBuilder_.setMessage(value); + } + targetCase_ = 2; + return this; + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public Builder clearClusterResourceAttributes() { + if (clusterResourceAttributesBuilder_ == null) { + if (targetCase_ == 2) { + targetCase_ = 0; + target_ = null; + onChanged(); + } + } else { + if (targetCase_ == 2) { + targetCase_ = 0; + target_ = null; + } + clusterResourceAttributesBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder getClusterResourceAttributesBuilder() { + return getClusterResourceAttributesFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder getClusterResourceAttributesOrBuilder() { + if ((targetCase_ == 2) && (clusterResourceAttributesBuilder_ != null)) { + return clusterResourceAttributesBuilder_.getMessageOrBuilder(); + } else { + if (targetCase_ == 2) { + return (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ClusterResourceAttributes cluster_resource_attributes = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder> + getClusterResourceAttributesFieldBuilder() { + if (clusterResourceAttributesBuilder_ == null) { + if (!(targetCase_ == 2)) { + target_ = flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.getDefaultInstance(); + } + clusterResourceAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributesOrBuilder>( + (flyteidl.admin.MatchableResourceOuterClass.ClusterResourceAttributes) target_, + getParentForChildren(), + isClean()); + target_ = null; + } + targetCase_ = 2; + onChanged();; + return clusterResourceAttributesBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder> executionQueueAttributesBuilder_; + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public boolean hasExecutionQueueAttributes() { + return targetCase_ == 3; + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes getExecutionQueueAttributes() { + if (executionQueueAttributesBuilder_ == null) { + if (targetCase_ == 3) { + return (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); + } else { + if (targetCase_ == 3) { + return executionQueueAttributesBuilder_.getMessage(); + } + return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public Builder setExecutionQueueAttributes(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes value) { + if (executionQueueAttributesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + executionQueueAttributesBuilder_.setMessage(value); + } + targetCase_ = 3; + return this; + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public Builder setExecutionQueueAttributes( + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder builderForValue) { + if (executionQueueAttributesBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + executionQueueAttributesBuilder_.setMessage(builderForValue.build()); + } + targetCase_ = 3; + return this; + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public Builder mergeExecutionQueueAttributes(flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes value) { + if (executionQueueAttributesBuilder_ == null) { + if (targetCase_ == 3 && + target_ != flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance()) { + target_ = flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.newBuilder((flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_) + .mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + if (targetCase_ == 3) { + executionQueueAttributesBuilder_.mergeFrom(value); + } + executionQueueAttributesBuilder_.setMessage(value); + } + targetCase_ = 3; + return this; + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public Builder clearExecutionQueueAttributes() { + if (executionQueueAttributesBuilder_ == null) { + if (targetCase_ == 3) { + targetCase_ = 0; + target_ = null; + onChanged(); + } + } else { + if (targetCase_ == 3) { + targetCase_ = 0; + target_ = null; + } + executionQueueAttributesBuilder_.clear(); + } + return this; + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder getExecutionQueueAttributesBuilder() { + return getExecutionQueueAttributesFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + public flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder getExecutionQueueAttributesOrBuilder() { + if ((targetCase_ == 3) && (executionQueueAttributesBuilder_ != null)) { + return executionQueueAttributesBuilder_.getMessageOrBuilder(); + } else { + if (targetCase_ == 3) { + return (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_; + } + return flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); + } + } + /** + * .flyteidl.admin.ExecutionQueueAttributes execution_queue_attributes = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder> + getExecutionQueueAttributesFieldBuilder() { + if (executionQueueAttributesBuilder_ == null) { + if (!(targetCase_ == 3)) { + target_ = flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.getDefaultInstance(); + } + executionQueueAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributesOrBuilder>( + (flyteidl.admin.MatchableResourceOuterClass.ExecutionQueueAttributes) target_, + getParentForChildren(), + isClean()); + target_ = null; + } + targetCase_ = 3; + onChanged();; + return executionQueueAttributesBuilder_; + } + @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.MatchingAttributes) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.MatchingAttributes) + private static final flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes(); + } + + public static flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MatchingAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MatchingAttributes(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.MatchableResourceOuterClass.MatchingAttributes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_TaskResourceSpec_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_TaskResourceSpec_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_TaskResourceAttributes_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_TaskResourceAttributes_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ClusterResourceAttributes_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ExecutionQueueAttributes_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_MatchingAttributes_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_MatchingAttributes_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\'flyteidl/admin/matchable_resource.prot" + + "o\022\016flyteidl.admin\"M\n\020TaskResourceSpec\022\013\n" + + "\003cpu\030\001 \001(\t\022\013\n\003gpu\030\002 \001(\t\022\016\n\006memory\030\003 \001(\t\022" + + "\017\n\007storage\030\004 \001(\t\"~\n\026TaskResourceAttribut" + + "es\0222\n\010defaults\030\001 \001(\0132 .flyteidl.admin.Ta" + + "skResourceSpec\0220\n\006limits\030\002 \001(\0132 .flyteid" + + "l.admin.TaskResourceSpec\"\235\001\n\031ClusterReso" + + "urceAttributes\022M\n\nattributes\030\001 \003(\01329.fly" + + "teidl.admin.ClusterResourceAttributes.At" + + "tributesEntry\0321\n\017AttributesEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"(\n\030ExecutionQue" + + "ueAttributes\022\014\n\004tags\030\001 \003(\t\"\214\002\n\022MatchingA" + + "ttributes\022J\n\030task_resource_attributes\030\001 " + + "\001(\0132&.flyteidl.admin.TaskResourceAttribu" + + "tesH\000\022P\n\033cluster_resource_attributes\030\002 \001" + + "(\0132).flyteidl.admin.ClusterResourceAttri" + + "butesH\000\022N\n\032execution_queue_attributes\030\003 " + + "\001(\0132(.flyteidl.admin.ExecutionQueueAttri" + + "butesH\000B\010\n\006target*Q\n\021MatchableResource\022\021" + + "\n\rTASK_RESOURCE\020\000\022\024\n\020CLUSTER_RESOURCE\020\001\022" + + "\023\n\017EXECUTION_QUEUE\020\002B3Z1github.com/lyft/" + + "flyteidl/gen/pb-go/flyteidl/adminb\006proto" + + "3" + }; + 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[] { + }, assigner); + internal_static_flyteidl_admin_TaskResourceSpec_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_admin_TaskResourceSpec_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_TaskResourceSpec_descriptor, + new java.lang.String[] { "Cpu", "Gpu", "Memory", "Storage", }); + internal_static_flyteidl_admin_TaskResourceAttributes_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_admin_TaskResourceAttributes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_TaskResourceAttributes_descriptor, + new java.lang.String[] { "Defaults", "Limits", }); + internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_admin_ClusterResourceAttributes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor, + new java.lang.String[] { "Attributes", }); + internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_descriptor = + internal_static_flyteidl_admin_ClusterResourceAttributes_descriptor.getNestedTypes().get(0); + internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_ClusterResourceAttributes_AttributesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_flyteidl_admin_ExecutionQueueAttributes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_ExecutionQueueAttributes_descriptor, + new java.lang.String[] { "Tags", }); + internal_static_flyteidl_admin_MatchingAttributes_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_flyteidl_admin_MatchingAttributes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_MatchingAttributes_descriptor, + new java.lang.String[] { "TaskResourceAttributes", "ClusterResourceAttributes", "ExecutionQueueAttributes", "Target", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ProjectAttributesOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ProjectAttributesOuterClass.java new file mode 100644 index 0000000000..eb1ecdcaac --- /dev/null +++ b/flyteidl/gen/pb-java/flyteidl/admin/ProjectAttributesOuterClass.java @@ -0,0 +1,1899 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/project_attributes.proto + +package flyteidl.admin; + +public final class ProjectAttributesOuterClass { + private ProjectAttributesOuterClass() {} + 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 ProjectAttributesOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Unique project id for which this set of attributes will be applied.
+     * 
+ * + * string project = 1; + */ + java.lang.String getProject(); + /** + *
+     * Unique project id for which this set of attributes will be applied.
+     * 
+ * + * string project = 1; + */ + com.google.protobuf.ByteString + getProjectBytes(); + + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + boolean hasMatchingAttributes(); + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes(); + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.admin.ProjectAttributes} + */ + public static final class ProjectAttributes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributes) + ProjectAttributesOrBuilder { + private static final long serialVersionUID = 0L; + // Use ProjectAttributes.newBuilder() to construct. + private ProjectAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ProjectAttributes() { + project_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ProjectAttributes( + 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.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (matchingAttributes_ != null) { + subBuilder = matchingAttributes_.toBuilder(); + } + matchingAttributes_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(matchingAttributes_); + matchingAttributes_ = 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.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 1; + private volatile java.lang.Object project_; + /** + *
+     * Unique project id for which this set of attributes will be applied.
+     * 
+ * + * 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 this set of attributes will be applied.
+     * 
+ * + * 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 MATCHING_ATTRIBUTES_FIELD_NUMBER = 2; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public boolean hasMatchingAttributes() { + return matchingAttributes_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { + return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { + return getMatchingAttributes(); + } + + 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 (matchingAttributes_ != null) { + output.writeMessage(2, getMatchingAttributes()); + } + 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 (matchingAttributes_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getMatchingAttributes()); + } + 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.ProjectAttributesOuterClass.ProjectAttributes)) { + return super.equals(obj); + } + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes) obj; + + if (!getProject() + .equals(other.getProject())) return false; + if (hasMatchingAttributes() != other.hasMatchingAttributes()) return false; + if (hasMatchingAttributes()) { + if (!getMatchingAttributes() + .equals(other.getMatchingAttributes())) 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 (hasMatchingAttributes()) { + hash = (37 * hash) + MATCHING_ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + getMatchingAttributes().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes 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.ProjectAttributesOuterClass.ProjectAttributes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes 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.ProjectAttributesOuterClass.ProjectAttributes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes 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.ProjectAttributesOuterClass.ProjectAttributes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes 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.ProjectAttributesOuterClass.ProjectAttributes 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; + } + /** + * Protobuf type {@code flyteidl.admin.ProjectAttributes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributes) + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder.class); + } + + // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.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 (matchingAttributesBuilder_ == null) { + matchingAttributes_ = null; + } else { + matchingAttributes_ = null; + matchingAttributesBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributes_descriptor; + } + + @java.lang.Override + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getDefaultInstanceForType() { + return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes build() { + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes buildPartial() { + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes(this); + result.project_ = project_; + if (matchingAttributesBuilder_ == null) { + result.matchingAttributes_ = matchingAttributes_; + } else { + result.matchingAttributes_ = matchingAttributesBuilder_.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.ProjectAttributesOuterClass.ProjectAttributes) { + return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes other) { + if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasMatchingAttributes()) { + mergeMatchingAttributes(other.getMatchingAttributes()); + } + 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.ProjectAttributesOuterClass.ProjectAttributes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object project_ = ""; + /** + *
+       * Unique project id for which this set of attributes will be applied.
+       * 
+ * + * 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 this set of attributes will be applied.
+       * 
+ * + * 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 this set of attributes will be applied.
+       * 
+ * + * 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 this set of attributes will be applied.
+       * 
+ * + * string project = 1; + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + *
+       * Unique project id for which this set of attributes will be applied.
+       * 
+ * + * 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.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> matchingAttributesBuilder_; + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public boolean hasMatchingAttributes() { + return matchingAttributesBuilder_ != null || matchingAttributes_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { + if (matchingAttributesBuilder_ == null) { + return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; + } else { + return matchingAttributesBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public Builder setMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (matchingAttributesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + matchingAttributes_ = value; + onChanged(); + } else { + matchingAttributesBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public Builder setMatchingAttributes( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (matchingAttributesBuilder_ == null) { + matchingAttributes_ = builderForValue.build(); + onChanged(); + } else { + matchingAttributesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public Builder mergeMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (matchingAttributesBuilder_ == null) { + if (matchingAttributes_ != null) { + matchingAttributes_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(matchingAttributes_).mergeFrom(value).buildPartial(); + } else { + matchingAttributes_ = value; + } + onChanged(); + } else { + matchingAttributesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public Builder clearMatchingAttributes() { + if (matchingAttributesBuilder_ == null) { + matchingAttributes_ = null; + onChanged(); + } else { + matchingAttributes_ = null; + matchingAttributesBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getMatchingAttributesBuilder() { + + onChanged(); + return getMatchingAttributesFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { + if (matchingAttributesBuilder_ != null) { + return matchingAttributesBuilder_.getMessageOrBuilder(); + } else { + return matchingAttributes_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; + } + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getMatchingAttributesFieldBuilder() { + if (matchingAttributesBuilder_ == null) { + matchingAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getMatchingAttributes(), + getParentForChildren(), + isClean()); + matchingAttributes_ = null; + } + return matchingAttributesBuilder_; + } + @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.ProjectAttributes) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributes) + private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes(); + } + + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectAttributes(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.ProjectAttributesOuterClass.ProjectAttributes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ProjectAttributesUpdateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributesUpdateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + boolean hasAttributes(); + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getAttributes(); + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder getAttributesOrBuilder(); + } + /** + *
+   * Sets custom attributes for a project combination.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.ProjectAttributesUpdateRequest} + */ + public static final class ProjectAttributesUpdateRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributesUpdateRequest) + ProjectAttributesUpdateRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ProjectAttributesUpdateRequest.newBuilder() to construct. + private ProjectAttributesUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ProjectAttributesUpdateRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ProjectAttributesUpdateRequest( + 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.ProjectAttributesOuterClass.ProjectAttributes.Builder subBuilder = null; + if (attributes_ != null) { + subBuilder = attributes_.toBuilder(); + } + attributes_ = input.readMessage(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(attributes_); + attributes_ = 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.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.Builder.class); + } + + public static final int ATTRIBUTES_FIELD_NUMBER = 1; + private flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes attributes_; + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public boolean hasAttributes() { + return attributes_ != null; + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getAttributes() { + return attributes_ == null ? flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance() : attributes_; + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder getAttributesOrBuilder() { + return getAttributes(); + } + + 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 (attributes_ != null) { + output.writeMessage(1, getAttributes()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (attributes_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAttributes()); + } + 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.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest)) { + return super.equals(obj); + } + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest) obj; + + if (hasAttributes() != other.hasAttributes()) return false; + if (hasAttributes()) { + if (!getAttributes() + .equals(other.getAttributes())) 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 (hasAttributes()) { + hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + getAttributes().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest 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.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest 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.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest 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.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest 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.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest 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; + } + /** + *
+     * Sets custom attributes for a project combination.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.ProjectAttributesUpdateRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributesUpdateRequest) + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.Builder.class); + } + + // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.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 (attributesBuilder_ == null) { + attributes_ = null; + } else { + attributes_ = null; + attributesBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor; + } + + @java.lang.Override + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest getDefaultInstanceForType() { + return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest build() { + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest buildPartial() { + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest(this); + if (attributesBuilder_ == null) { + result.attributes_ = attributes_; + } else { + result.attributes_ = attributesBuilder_.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.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest) { + return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest other) { + if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest.getDefaultInstance()) return this; + if (other.hasAttributes()) { + mergeAttributes(other.getAttributes()); + } + 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.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes attributes_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder> attributesBuilder_; + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public boolean hasAttributes() { + return attributesBuilder_ != null || attributes_ != null; + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes getAttributes() { + if (attributesBuilder_ == null) { + return attributes_ == null ? flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance() : attributes_; + } else { + return attributesBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public Builder setAttributes(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes value) { + if (attributesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + attributes_ = value; + onChanged(); + } else { + attributesBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public Builder setAttributes( + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder builderForValue) { + if (attributesBuilder_ == null) { + attributes_ = builderForValue.build(); + onChanged(); + } else { + attributesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public Builder mergeAttributes(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes value) { + if (attributesBuilder_ == null) { + if (attributes_ != null) { + attributes_ = + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); + } else { + attributes_ = value; + } + onChanged(); + } else { + attributesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public Builder clearAttributes() { + if (attributesBuilder_ == null) { + attributes_ = null; + onChanged(); + } else { + attributes_ = null; + attributesBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder getAttributesBuilder() { + + onChanged(); + return getAttributesFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder getAttributesOrBuilder() { + if (attributesBuilder_ != null) { + return attributesBuilder_.getMessageOrBuilder(); + } else { + return attributes_ == null ? + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.getDefaultInstance() : attributes_; + } + } + /** + * .flyteidl.admin.ProjectAttributes attributes = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder> + getAttributesFieldBuilder() { + if (attributesBuilder_ == null) { + attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributes.Builder, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesOrBuilder>( + getAttributes(), + getParentForChildren(), + isClean()); + attributes_ = null; + } + return attributesBuilder_; + } + @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.ProjectAttributesUpdateRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesUpdateRequest) + private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest(); + } + + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectAttributesUpdateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectAttributesUpdateRequest(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.ProjectAttributesOuterClass.ProjectAttributesUpdateRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ProjectAttributesUpdateResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.ProjectAttributesUpdateResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Purposefully empty, may be populated in the future.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.ProjectAttributesUpdateResponse} + */ + public static final class ProjectAttributesUpdateResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.ProjectAttributesUpdateResponse) + ProjectAttributesUpdateResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ProjectAttributesUpdateResponse.newBuilder() to construct. + private ProjectAttributesUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ProjectAttributesUpdateResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ProjectAttributesUpdateResponse( + 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.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.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.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse)) { + return super.equals(obj); + } + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse other = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse) 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.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse 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.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse 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.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse 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.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse 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.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse 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.ProjectAttributesUpdateResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.ProjectAttributesUpdateResponse) + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.class, flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.Builder.class); + } + + // Construct using flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.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.ProjectAttributesOuterClass.internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor; + } + + @java.lang.Override + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse getDefaultInstanceForType() { + return flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse build() { + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse buildPartial() { + flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse result = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse(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.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse) { + return mergeFrom((flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse other) { + if (other == flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse.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.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse) 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.ProjectAttributesUpdateResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesUpdateResponse) + private static final flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse(); + } + + public static flyteidl.admin.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectAttributesUpdateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectAttributesUpdateResponse(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.ProjectAttributesOuterClass.ProjectAttributesUpdateResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ProjectAttributes_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ProjectAttributes_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_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\'flyteidl/admin/project_attributes.prot" + + "o\022\016flyteidl.admin\032\'flyteidl/admin/matcha" + + "ble_resource.proto\"e\n\021ProjectAttributes\022" + + "\017\n\007project\030\001 \001(\t\022?\n\023matching_attributes\030" + + "\002 \001(\0132\".flyteidl.admin.MatchingAttribute" + + "s\"W\n\036ProjectAttributesUpdateRequest\0225\n\na" + + "ttributes\030\001 \001(\0132!.flyteidl.admin.Project" + + "Attributes\"!\n\037ProjectAttributesUpdateRes" + + "ponseB3Z1github.com/lyft/flyteidl/gen/pb" + + "-go/flyteidl/adminb\006proto3" + }; + 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_ProjectAttributes_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_admin_ProjectAttributes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_ProjectAttributes_descriptor, + new java.lang.String[] { "Project", "MatchingAttributes", }); + internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_ProjectAttributesUpdateRequest_descriptor, + new java.lang.String[] { "Attributes", }); + internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_ProjectAttributesUpdateResponse_descriptor, + new java.lang.String[] { }); + flyteidl.admin.MatchableResourceOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/flyteidl/gen/pb-java/flyteidl/admin/ProjectDomainAttributesOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/ProjectDomainAttributesOuterClass.java index 1a03bd545c..9990696f93 100644 --- a/flyteidl/gen/pb-java/flyteidl/admin/ProjectDomainAttributesOuterClass.java +++ b/flyteidl/gen/pb-java/flyteidl/admin/ProjectDomainAttributesOuterClass.java @@ -55,68 +55,17 @@ public interface ProjectDomainAttributesOrBuilder extends getDomainBytes(); /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 3; - */ - int getAttributesCount(); - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 3; - */ - boolean containsAttributes( - java.lang.String key); - /** - * Use {@link #getAttributesMap()} instead. + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - @java.lang.Deprecated - java.util.Map - getAttributes(); + boolean hasMatchingAttributes(); /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - java.util.Map - getAttributesMap(); + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes(); /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - - java.lang.String getAttributesOrDefault( - java.lang.String key, - java.lang.String defaultValue); - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 3; - */ - - java.lang.String getAttributesOrThrow( - java.lang.String key); + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder(); } /** * Protobuf type {@code flyteidl.admin.ProjectDomainAttributes} @@ -172,16 +121,16 @@ private ProjectDomainAttributes( break; } case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - attributes_ = com.google.protobuf.MapField.newMapField( - AttributesDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000004; + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (matchingAttributes_ != null) { + subBuilder = matchingAttributes_.toBuilder(); } - com.google.protobuf.MapEntry - attributes__ = input.readMessage( - AttributesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - attributes_.getMutableMap().put( - attributes__.getKey(), attributes__.getValue()); + matchingAttributes_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(matchingAttributes_); + matchingAttributes_ = subBuilder.buildPartial(); + } + break; } default: { @@ -208,18 +157,6 @@ private ProjectDomainAttributes( return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor; } - @SuppressWarnings({"rawtypes"}) - @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 3: - return internalGetAttributes(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -228,7 +165,6 @@ protected com.google.protobuf.MapField internalGetMapField( flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.class, flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes.Builder.class); } - private int bitField0_; public static final int PROJECT_FIELD_NUMBER = 1; private volatile java.lang.Object project_; /** @@ -313,104 +249,25 @@ public java.lang.String getDomain() { } } - public static final int ATTRIBUTES_FIELD_NUMBER = 3; - private static final class AttributesDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributes_AttributesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> attributes_; - private com.google.protobuf.MapField - internalGetAttributes() { - if (attributes_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AttributesDefaultEntryHolder.defaultEntry); - } - return attributes_; - } - - public int getAttributesCount() { - return internalGetAttributes().getMap().size(); - } + public static final int MATCHING_ATTRIBUTES_FIELD_NUMBER = 3; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - - public boolean containsAttributes( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetAttributes().getMap().containsKey(key); + public boolean hasMatchingAttributes() { + return matchingAttributes_ != null; } /** - * Use {@link #getAttributesMap()} instead. - */ - @java.lang.Deprecated - public java.util.Map getAttributes() { - return getAttributesMap(); - } - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - - public java.util.Map getAttributesMap() { - return internalGetAttributes().getMap(); - } - /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 3; - */ - - public java.lang.String getAttributesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAttributes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { + return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; } /** - *
-     * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-     * Map keys are the *case-sensitive* names of variables in templatized resource files.
-     * Map values should be the custom values which get substituted during resource creation.
-     * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - - public java.lang.String getAttributesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAttributes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); - } - return map.get(key); + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { + return getMatchingAttributes(); } private byte memoizedIsInitialized = -1; @@ -433,12 +290,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!getDomainBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, domain_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetAttributes(), - AttributesDefaultEntryHolder.defaultEntry, - 3); + if (matchingAttributes_ != null) { + output.writeMessage(3, getMatchingAttributes()); + } unknownFields.writeTo(output); } @@ -454,15 +308,9 @@ public int getSerializedSize() { if (!getDomainBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); } - for (java.util.Map.Entry entry - : internalGetAttributes().getMap().entrySet()) { - com.google.protobuf.MapEntry - attributes__ = AttributesDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); + if (matchingAttributes_ != null) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, attributes__); + .computeMessageSize(3, getMatchingAttributes()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -483,8 +331,11 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getProject())) return false; if (!getDomain() .equals(other.getDomain())) return false; - if (!internalGetAttributes().equals( - other.internalGetAttributes())) return false; + if (hasMatchingAttributes() != other.hasMatchingAttributes()) return false; + if (hasMatchingAttributes()) { + if (!getMatchingAttributes() + .equals(other.getMatchingAttributes())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -500,9 +351,9 @@ public int hashCode() { hash = (53 * hash) + getProject().hashCode(); hash = (37 * hash) + DOMAIN_FIELD_NUMBER; hash = (53 * hash) + getDomain().hashCode(); - if (!internalGetAttributes().getMap().isEmpty()) { - hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; - hash = (53 * hash) + internalGetAttributes().hashCode(); + if (hasMatchingAttributes()) { + hash = (37 * hash) + MATCHING_ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + getMatchingAttributes().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; @@ -611,28 +462,6 @@ public static final class Builder extends return flyteidl.admin.ProjectDomainAttributesOuterClass.internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor; } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { - switch (number) { - case 3: - return internalGetAttributes(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { - switch (number) { - case 3: - return internalGetMutableAttributes(); - default: - throw new RuntimeException( - "Invalid map field number: " + number); - } - } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { @@ -663,7 +492,12 @@ public Builder clear() { domain_ = ""; - internalGetMutableAttributes().clear(); + if (matchingAttributesBuilder_ == null) { + matchingAttributes_ = null; + } else { + matchingAttributes_ = null; + matchingAttributesBuilder_ = null; + } return this; } @@ -690,13 +524,13 @@ public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes @java.lang.Override public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes buildPartial() { flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes result = new flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributes(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.project_ = project_; result.domain_ = domain_; - result.attributes_ = internalGetAttributes(); - result.attributes_.makeImmutable(); - result.bitField0_ = to_bitField0_; + if (matchingAttributesBuilder_ == null) { + result.matchingAttributes_ = matchingAttributes_; + } else { + result.matchingAttributes_ = matchingAttributesBuilder_.build(); + } onBuilt(); return result; } @@ -753,8 +587,9 @@ public Builder mergeFrom(flyteidl.admin.ProjectDomainAttributesOuterClass.Projec domain_ = other.domain_; onChanged(); } - internalGetMutableAttributes().mergeFrom( - other.internalGetAttributes()); + if (other.hasMatchingAttributes()) { + mergeMatchingAttributes(other.getMatchingAttributes()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -783,7 +618,6 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object project_ = ""; /** @@ -963,169 +797,121 @@ public Builder setDomainBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> attributes_; - private com.google.protobuf.MapField - internalGetAttributes() { - if (attributes_ == null) { - return com.google.protobuf.MapField.emptyMapField( - AttributesDefaultEntryHolder.defaultEntry); - } - return attributes_; - } - private com.google.protobuf.MapField - internalGetMutableAttributes() { - onChanged();; - if (attributes_ == null) { - attributes_ = com.google.protobuf.MapField.newMapField( - AttributesDefaultEntryHolder.defaultEntry); - } - if (!attributes_.isMutable()) { - attributes_ = attributes_.copy(); - } - return attributes_; - } - - public int getAttributesCount() { - return internalGetAttributes().getMap().size(); - } + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> matchingAttributesBuilder_; /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - - public boolean containsAttributes( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - return internalGetAttributes().getMap().containsKey(key); + public boolean hasMatchingAttributes() { + return matchingAttributesBuilder_ != null || matchingAttributes_ != null; } /** - * Use {@link #getAttributesMap()} instead. + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - @java.lang.Deprecated - public java.util.Map getAttributes() { - return getAttributesMap(); + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { + if (matchingAttributesBuilder_ == null) { + return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; + } else { + return matchingAttributesBuilder_.getMessage(); + } } /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ + public Builder setMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (matchingAttributesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + matchingAttributes_ = value; + onChanged(); + } else { + matchingAttributesBuilder_.setMessage(value); + } - public java.util.Map getAttributesMap() { - return internalGetAttributes().getMap(); + return this; } /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ + public Builder setMatchingAttributes( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (matchingAttributesBuilder_ == null) { + matchingAttributes_ = builderForValue.build(); + onChanged(); + } else { + matchingAttributesBuilder_.setMessage(builderForValue.build()); + } - public java.lang.String getAttributesOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAttributes().getMap(); - return map.containsKey(key) ? map.get(key) : defaultValue; + return this; } /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - - public java.lang.String getAttributesOrThrow( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - java.util.Map map = - internalGetAttributes().getMap(); - if (!map.containsKey(key)) { - throw new java.lang.IllegalArgumentException(); + public Builder mergeMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (matchingAttributesBuilder_ == null) { + if (matchingAttributes_ != null) { + matchingAttributes_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(matchingAttributes_).mergeFrom(value).buildPartial(); + } else { + matchingAttributes_ = value; + } + onChanged(); + } else { + matchingAttributesBuilder_.mergeFrom(value); } - return map.get(key); - } - public Builder clearAttributes() { - internalGetMutableAttributes().getMutableMap() - .clear(); return this; } /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ + public Builder clearMatchingAttributes() { + if (matchingAttributesBuilder_ == null) { + matchingAttributes_ = null; + onChanged(); + } else { + matchingAttributes_ = null; + matchingAttributesBuilder_ = null; + } - public Builder removeAttributes( - java.lang.String key) { - if (key == null) { throw new java.lang.NullPointerException(); } - internalGetMutableAttributes().getMutableMap() - .remove(key); return this; } /** - * Use alternate mutation accessors instead. + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - @java.lang.Deprecated - public java.util.Map - getMutableAttributes() { - return internalGetMutableAttributes().getMutableMap(); + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getMatchingAttributesBuilder() { + + onChanged(); + return getMatchingAttributesFieldBuilder().getBuilder(); } /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - public Builder putAttributes( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableAttributes().getMutableMap() - .put(key, value); - return this; + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { + if (matchingAttributesBuilder_ != null) { + return matchingAttributesBuilder_.getMessageOrBuilder(); + } else { + return matchingAttributes_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; + } } /** - *
-       * Custom resource attributes which will be applied in cluster resource creation (e.g. quotas).
-       * Map keys are the *case-sensitive* names of variables in templatized resource files.
-       * Map values should be the custom values which get substituted during resource creation.
-       * 
- * - * map<string, string> attributes = 3; + * .flyteidl.admin.MatchingAttributes matching_attributes = 3; */ - - public Builder putAllAttributes( - java.util.Map values) { - internalGetMutableAttributes().getMutableMap() - .putAll(values); - return this; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getMatchingAttributesFieldBuilder() { + if (matchingAttributesBuilder_ == null) { + matchingAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getMatchingAttributes(), + getParentForChildren(), + isClean()); + matchingAttributes_ = null; + } + return matchingAttributesBuilder_; } @java.lang.Override public final Builder setUnknownFields( @@ -2218,11 +2004,6 @@ public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesU private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_flyteidl_admin_ProjectDomainAttributes_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_flyteidl_admin_ProjectDomainAttributes_AttributesEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_flyteidl_admin_ProjectDomainAttributes_AttributesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_descriptor; private static final @@ -2243,17 +2024,16 @@ public flyteidl.admin.ProjectDomainAttributesOuterClass.ProjectDomainAttributesU static { java.lang.String[] descriptorData = { "\n.flyteidl/admin/project_domain_attribut" + - "es.proto\022\016flyteidl.admin\"\272\001\n\027ProjectDoma" + + "es.proto\022\016flyteidl.admin\032\'flyteidl/admin" + + "/matchable_resource.proto\"{\n\027ProjectDoma" + "inAttributes\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030" + - "\002 \001(\t\022K\n\nattributes\030\003 \003(\01327.flyteidl.adm" + - "in.ProjectDomainAttributes.AttributesEnt" + - "ry\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + - "lue\030\002 \001(\t:\0028\001\"c\n$ProjectDomainAttributes" + - "UpdateRequest\022;\n\nattributes\030\001 \001(\0132\'.flyt" + - "eidl.admin.ProjectDomainAttributes\"\'\n%Pr" + - "ojectDomainAttributesUpdateResponseB3Z1g" + - "ithub.com/lyft/flyteidl/gen/pb-go/flytei" + - "dl/adminb\006proto3" + "\002 \001(\t\022?\n\023matching_attributes\030\003 \001(\0132\".fly" + + "teidl.admin.MatchingAttributes\"c\n$Projec" + + "tDomainAttributesUpdateRequest\022;\n\nattrib" + + "utes\030\001 \001(\0132\'.flyteidl.admin.ProjectDomai" + + "nAttributes\"\'\n%ProjectDomainAttributesUp" + + "dateResponseB3Z1github.com/lyft/flyteidl" + + "/gen/pb-go/flyteidl/adminb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -2266,19 +2046,14 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + flyteidl.admin.MatchableResourceOuterClass.getDescriptor(), }, assigner); internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_flyteidl_admin_ProjectDomainAttributes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor, - new java.lang.String[] { "Project", "Domain", "Attributes", }); - internal_static_flyteidl_admin_ProjectDomainAttributes_AttributesEntry_descriptor = - internal_static_flyteidl_admin_ProjectDomainAttributes_descriptor.getNestedTypes().get(0); - internal_static_flyteidl_admin_ProjectDomainAttributes_AttributesEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_flyteidl_admin_ProjectDomainAttributes_AttributesEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); + new java.lang.String[] { "Project", "Domain", "MatchingAttributes", }); internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_flyteidl_admin_ProjectDomainAttributesUpdateRequest_fieldAccessorTable = new @@ -2291,6 +2066,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_flyteidl_admin_ProjectDomainAttributesUpdateResponse_descriptor, new java.lang.String[] { }); + flyteidl.admin.MatchableResourceOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/flyteidl/gen/pb-java/flyteidl/admin/WorkflowAttributesOuterClass.java b/flyteidl/gen/pb-java/flyteidl/admin/WorkflowAttributesOuterClass.java new file mode 100644 index 0000000000..9ac3e33cc0 --- /dev/null +++ b/flyteidl/gen/pb-java/flyteidl/admin/WorkflowAttributesOuterClass.java @@ -0,0 +1,2246 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: flyteidl/admin/workflow_attributes.proto + +package flyteidl.admin; + +public final class WorkflowAttributesOuterClass { + private WorkflowAttributesOuterClass() {} + 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 WorkflowAttributesOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributes) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Unique project id for which this set of attributes will be applied.
+     * 
+ * + * string project = 1; + */ + java.lang.String getProject(); + /** + *
+     * Unique project id for which this set of attributes will be applied.
+     * 
+ * + * string project = 1; + */ + com.google.protobuf.ByteString + getProjectBytes(); + + /** + *
+     * Unique domain id for which this set of attributes will be applied.
+     * 
+ * + * string domain = 2; + */ + java.lang.String getDomain(); + /** + *
+     * Unique domain id for which this set of attributes will be applied.
+     * 
+ * + * string domain = 2; + */ + com.google.protobuf.ByteString + getDomainBytes(); + + /** + *
+     * Workflow name for which this set of attributes will be applied.
+     * 
+ * + * string workflow = 3; + */ + java.lang.String getWorkflow(); + /** + *
+     * Workflow name for which this set of attributes will be applied.
+     * 
+ * + * string workflow = 3; + */ + com.google.protobuf.ByteString + getWorkflowBytes(); + + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + boolean hasMatchingAttributes(); + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes(); + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder(); + } + /** + * Protobuf type {@code flyteidl.admin.WorkflowAttributes} + */ + public static final class WorkflowAttributes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributes) + WorkflowAttributesOrBuilder { + private static final long serialVersionUID = 0L; + // Use WorkflowAttributes.newBuilder() to construct. + private WorkflowAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WorkflowAttributes() { + project_ = ""; + domain_ = ""; + workflow_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WorkflowAttributes( + 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: { + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder subBuilder = null; + if (matchingAttributes_ != null) { + subBuilder = matchingAttributes_.toBuilder(); + } + matchingAttributes_ = input.readMessage(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(matchingAttributes_); + matchingAttributes_ = 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.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 1; + private volatile java.lang.Object project_; + /** + *
+     * Unique project id for which this set of attributes will be applied.
+     * 
+ * + * 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 this set of attributes will be applied.
+     * 
+ * + * 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_; + /** + *
+     * Unique domain id for which this set of attributes will be applied.
+     * 
+ * + * 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; + } + } + /** + *
+     * Unique domain id for which this set of attributes will be applied.
+     * 
+ * + * 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_; + /** + *
+     * Workflow name for which this set of attributes will be applied.
+     * 
+ * + * 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; + } + } + /** + *
+     * Workflow name for which this set of attributes will be applied.
+     * 
+ * + * 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 MATCHING_ATTRIBUTES_FIELD_NUMBER = 4; + private flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public boolean hasMatchingAttributes() { + return matchingAttributes_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { + return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { + return getMatchingAttributes(); + } + + 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 (matchingAttributes_ != null) { + output.writeMessage(4, getMatchingAttributes()); + } + 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 (matchingAttributes_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getMatchingAttributes()); + } + 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.WorkflowAttributesOuterClass.WorkflowAttributes)) { + return super.equals(obj); + } + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes) obj; + + if (!getProject() + .equals(other.getProject())) return false; + if (!getDomain() + .equals(other.getDomain())) return false; + if (!getWorkflow() + .equals(other.getWorkflow())) return false; + if (hasMatchingAttributes() != other.hasMatchingAttributes()) return false; + if (hasMatchingAttributes()) { + if (!getMatchingAttributes() + .equals(other.getMatchingAttributes())) 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(); + if (hasMatchingAttributes()) { + hash = (37 * hash) + MATCHING_ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + getMatchingAttributes().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes 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.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes 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.WorkflowAttributesOuterClass.WorkflowAttributes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes 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.WorkflowAttributesOuterClass.WorkflowAttributes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes 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.WorkflowAttributesOuterClass.WorkflowAttributes 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; + } + /** + * Protobuf type {@code flyteidl.admin.WorkflowAttributes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributes) + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder.class); + } + + // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.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_ = ""; + + if (matchingAttributesBuilder_ == null) { + matchingAttributes_ = null; + } else { + matchingAttributes_ = null; + matchingAttributesBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributes_descriptor; + } + + @java.lang.Override + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getDefaultInstanceForType() { + return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes build() { + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes buildPartial() { + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes(this); + result.project_ = project_; + result.domain_ = domain_; + result.workflow_ = workflow_; + if (matchingAttributesBuilder_ == null) { + result.matchingAttributes_ = matchingAttributes_; + } else { + result.matchingAttributes_ = matchingAttributesBuilder_.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.WorkflowAttributesOuterClass.WorkflowAttributes) { + return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes other) { + if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.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.hasMatchingAttributes()) { + mergeMatchingAttributes(other.getMatchingAttributes()); + } + 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.WorkflowAttributesOuterClass.WorkflowAttributes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object project_ = ""; + /** + *
+       * Unique project id for which this set of attributes will be applied.
+       * 
+ * + * 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 this set of attributes will be applied.
+       * 
+ * + * 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 this set of attributes will be applied.
+       * 
+ * + * 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 this set of attributes will be applied.
+       * 
+ * + * string project = 1; + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + *
+       * Unique project id for which this set of attributes will be applied.
+       * 
+ * + * 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_ = ""; + /** + *
+       * Unique domain id for which this set of attributes will be applied.
+       * 
+ * + * 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; + } + } + /** + *
+       * Unique domain id for which this set of attributes will be applied.
+       * 
+ * + * 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; + } + } + /** + *
+       * Unique domain id for which this set of attributes will be applied.
+       * 
+ * + * string domain = 2; + */ + public Builder setDomain( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + domain_ = value; + onChanged(); + return this; + } + /** + *
+       * Unique domain id for which this set of attributes will be applied.
+       * 
+ * + * string domain = 2; + */ + public Builder clearDomain() { + + domain_ = getDefaultInstance().getDomain(); + onChanged(); + return this; + } + /** + *
+       * Unique domain id for which this set of attributes will be applied.
+       * 
+ * + * 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_ = ""; + /** + *
+       * Workflow name for which this set of attributes will be applied.
+       * 
+ * + * 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; + } + } + /** + *
+       * Workflow name for which this set of attributes will be applied.
+       * 
+ * + * 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; + } + } + /** + *
+       * Workflow name for which this set of attributes will be applied.
+       * 
+ * + * string workflow = 3; + */ + public Builder setWorkflow( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workflow_ = value; + onChanged(); + return this; + } + /** + *
+       * Workflow name for which this set of attributes will be applied.
+       * 
+ * + * string workflow = 3; + */ + public Builder clearWorkflow() { + + workflow_ = getDefaultInstance().getWorkflow(); + onChanged(); + return this; + } + /** + *
+       * Workflow name for which this set of attributes will be applied.
+       * 
+ * + * 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 flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes matchingAttributes_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> matchingAttributesBuilder_; + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public boolean hasMatchingAttributes() { + return matchingAttributesBuilder_ != null || matchingAttributes_ != null; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes getMatchingAttributes() { + if (matchingAttributesBuilder_ == null) { + return matchingAttributes_ == null ? flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; + } else { + return matchingAttributesBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public Builder setMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (matchingAttributesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + matchingAttributes_ = value; + onChanged(); + } else { + matchingAttributesBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public Builder setMatchingAttributes( + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder builderForValue) { + if (matchingAttributesBuilder_ == null) { + matchingAttributes_ = builderForValue.build(); + onChanged(); + } else { + matchingAttributesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public Builder mergeMatchingAttributes(flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes value) { + if (matchingAttributesBuilder_ == null) { + if (matchingAttributes_ != null) { + matchingAttributes_ = + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.newBuilder(matchingAttributes_).mergeFrom(value).buildPartial(); + } else { + matchingAttributes_ = value; + } + onChanged(); + } else { + matchingAttributesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public Builder clearMatchingAttributes() { + if (matchingAttributesBuilder_ == null) { + matchingAttributes_ = null; + onChanged(); + } else { + matchingAttributes_ = null; + matchingAttributesBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder getMatchingAttributesBuilder() { + + onChanged(); + return getMatchingAttributesFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + public flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder getMatchingAttributesOrBuilder() { + if (matchingAttributesBuilder_ != null) { + return matchingAttributesBuilder_.getMessageOrBuilder(); + } else { + return matchingAttributes_ == null ? + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.getDefaultInstance() : matchingAttributes_; + } + } + /** + * .flyteidl.admin.MatchingAttributes matching_attributes = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder> + getMatchingAttributesFieldBuilder() { + if (matchingAttributesBuilder_ == null) { + matchingAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributes.Builder, flyteidl.admin.MatchableResourceOuterClass.MatchingAttributesOrBuilder>( + getMatchingAttributes(), + getParentForChildren(), + isClean()); + matchingAttributes_ = null; + } + return matchingAttributesBuilder_; + } + @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.WorkflowAttributes) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributes) + private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes(); + } + + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowAttributes(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.WorkflowAttributesOuterClass.WorkflowAttributes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WorkflowAttributesUpdateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributesUpdateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + boolean hasAttributes(); + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getAttributes(); + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder getAttributesOrBuilder(); + } + /** + *
+   * Sets custom attributes for a project, domain and workflow combination.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowAttributesUpdateRequest} + */ + public static final class WorkflowAttributesUpdateRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributesUpdateRequest) + WorkflowAttributesUpdateRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use WorkflowAttributesUpdateRequest.newBuilder() to construct. + private WorkflowAttributesUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WorkflowAttributesUpdateRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WorkflowAttributesUpdateRequest( + 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.WorkflowAttributesOuterClass.WorkflowAttributes.Builder subBuilder = null; + if (attributes_ != null) { + subBuilder = attributes_.toBuilder(); + } + attributes_ = input.readMessage(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(attributes_); + attributes_ = 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.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.Builder.class); + } + + public static final int ATTRIBUTES_FIELD_NUMBER = 1; + private flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes attributes_; + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public boolean hasAttributes() { + return attributes_ != null; + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getAttributes() { + return attributes_ == null ? flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance() : attributes_; + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder getAttributesOrBuilder() { + return getAttributes(); + } + + 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 (attributes_ != null) { + output.writeMessage(1, getAttributes()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (attributes_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAttributes()); + } + 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest)) { + return super.equals(obj); + } + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest) obj; + + if (hasAttributes() != other.hasAttributes()) return false; + if (hasAttributes()) { + if (!getAttributes() + .equals(other.getAttributes())) 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 (hasAttributes()) { + hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + getAttributes().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest 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; + } + /** + *
+     * Sets custom attributes for a project, domain and workflow combination.
+     * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowAttributesUpdateRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributesUpdateRequest) + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.Builder.class); + } + + // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.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 (attributesBuilder_ == null) { + attributes_ = null; + } else { + attributes_ = null; + attributesBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor; + } + + @java.lang.Override + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest getDefaultInstanceForType() { + return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest build() { + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest buildPartial() { + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest(this); + if (attributesBuilder_ == null) { + result.attributes_ = attributes_; + } else { + result.attributes_ = attributesBuilder_.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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest) { + return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest other) { + if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest.getDefaultInstance()) return this; + if (other.hasAttributes()) { + mergeAttributes(other.getAttributes()); + } + 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes attributes_; + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder> attributesBuilder_; + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public boolean hasAttributes() { + return attributesBuilder_ != null || attributes_ != null; + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes getAttributes() { + if (attributesBuilder_ == null) { + return attributes_ == null ? flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance() : attributes_; + } else { + return attributesBuilder_.getMessage(); + } + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public Builder setAttributes(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes value) { + if (attributesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + attributes_ = value; + onChanged(); + } else { + attributesBuilder_.setMessage(value); + } + + return this; + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public Builder setAttributes( + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder builderForValue) { + if (attributesBuilder_ == null) { + attributes_ = builderForValue.build(); + onChanged(); + } else { + attributesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public Builder mergeAttributes(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes value) { + if (attributesBuilder_ == null) { + if (attributes_ != null) { + attributes_ = + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); + } else { + attributes_ = value; + } + onChanged(); + } else { + attributesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public Builder clearAttributes() { + if (attributesBuilder_ == null) { + attributes_ = null; + onChanged(); + } else { + attributes_ = null; + attributesBuilder_ = null; + } + + return this; + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder getAttributesBuilder() { + + onChanged(); + return getAttributesFieldBuilder().getBuilder(); + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder getAttributesOrBuilder() { + if (attributesBuilder_ != null) { + return attributesBuilder_.getMessageOrBuilder(); + } else { + return attributes_ == null ? + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.getDefaultInstance() : attributes_; + } + } + /** + * .flyteidl.admin.WorkflowAttributes attributes = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder> + getAttributesFieldBuilder() { + if (attributesBuilder_ == null) { + attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributes.Builder, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesOrBuilder>( + getAttributes(), + getParentForChildren(), + isClean()); + attributes_ = null; + } + return attributesBuilder_; + } + @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.WorkflowAttributesUpdateRequest) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesUpdateRequest) + private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest(); + } + + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowAttributesUpdateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowAttributesUpdateRequest(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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WorkflowAttributesUpdateResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:flyteidl.admin.WorkflowAttributesUpdateResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + *
+   * Purposefully empty, may be populated in the future.
+   * 
+ * + * Protobuf type {@code flyteidl.admin.WorkflowAttributesUpdateResponse} + */ + public static final class WorkflowAttributesUpdateResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:flyteidl.admin.WorkflowAttributesUpdateResponse) + WorkflowAttributesUpdateResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use WorkflowAttributesUpdateResponse.newBuilder() to construct. + private WorkflowAttributesUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WorkflowAttributesUpdateResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WorkflowAttributesUpdateResponse( + 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.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse)) { + return super.equals(obj); + } + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse other = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse) 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse 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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse 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.WorkflowAttributesUpdateResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:flyteidl.admin.WorkflowAttributesUpdateResponse) + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return flyteidl.admin.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.class, flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.Builder.class); + } + + // Construct using flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.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.WorkflowAttributesOuterClass.internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor; + } + + @java.lang.Override + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse getDefaultInstanceForType() { + return flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.getDefaultInstance(); + } + + @java.lang.Override + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse build() { + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse buildPartial() { + flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse result = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse(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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse) { + return mergeFrom((flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse other) { + if (other == flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse.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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse) 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.WorkflowAttributesUpdateResponse) + } + + // @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesUpdateResponse) + private static final flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse(); + } + + public static flyteidl.admin.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowAttributesUpdateResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowAttributesUpdateResponse(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.WorkflowAttributesOuterClass.WorkflowAttributesUpdateResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowAttributes_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowAttributes_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_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(flyteidl/admin/workflow_attributes.pro" + + "to\022\016flyteidl.admin\032\'flyteidl/admin/match" + + "able_resource.proto\"\210\001\n\022WorkflowAttribut" + + "es\022\017\n\007project\030\001 \001(\t\022\016\n\006domain\030\002 \001(\t\022\020\n\010w" + + "orkflow\030\003 \001(\t\022?\n\023matching_attributes\030\004 \001" + + "(\0132\".flyteidl.admin.MatchingAttributes\"Y" + + "\n\037WorkflowAttributesUpdateRequest\0226\n\natt" + + "ributes\030\001 \001(\0132\".flyteidl.admin.WorkflowA" + + "ttributes\"\"\n WorkflowAttributesUpdateRes" + + "ponseB3Z1github.com/lyft/flyteidl/gen/pb" + + "-go/flyteidl/adminb\006proto3" + }; + 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_WorkflowAttributes_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_flyteidl_admin_WorkflowAttributes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_WorkflowAttributes_descriptor, + new java.lang.String[] { "Project", "Domain", "Workflow", "MatchingAttributes", }); + internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_WorkflowAttributesUpdateRequest_descriptor, + new java.lang.String[] { "Attributes", }); + internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_flyteidl_admin_WorkflowAttributesUpdateResponse_descriptor, + new java.lang.String[] { }); + flyteidl.admin.MatchableResourceOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/flyteidl/gen/pb-java/flyteidl/service/Admin.java b/flyteidl/gen/pb-java/flyteidl/service/Admin.java index 0a6a9153d0..f7ddb9a303 100644 --- a/flyteidl/gen/pb-java/flyteidl/service/Admin.java +++ b/flyteidl/gen/pb-java/flyteidl/service/Admin.java @@ -25,277 +25,294 @@ public static void registerAllExtensions( java.lang.String[] descriptorData = { "\n\034flyteidl/service/admin.proto\022\020flyteidl" + ".service\032\034google/api/annotations.proto\032\034" + - "flyteidl/admin/project.proto\032.flyteidl/a" + - "dmin/project_domain_attributes.proto\032\031fl" + - "yteidl/admin/task.proto\032\035flyteidl/admin/" + - "workflow.proto\032 flyteidl/admin/launch_pl" + - "an.proto\032\032flyteidl/admin/event.proto\032\036fl" + - "yteidl/admin/execution.proto\032#flyteidl/a" + - "dmin/node_execution.proto\032#flyteidl/admi" + - "n/task_execution.proto\032\033flyteidl/admin/c" + - "ommon.proto\032,protoc-gen-swagger/options/" + - "annotations.proto2\200Q\n\014AdminService\022\305\002\n\nC" + - "reateTask\022!.flyteidl.admin.TaskCreateReq" + - "uest\032\".flyteidl.admin.TaskCreateResponse" + - "\"\357\001\202\323\344\223\002\022\"\r/api/v1/tasks:\001*\222A\323\001\032&Create " + - "and register a task definition.JB\n\003400\022;" + - "\n9Returned for bad request that may have" + - " failed validation.Je\n\003409\022^\n\\Returned f" + - "or a request that references an identica" + - "l entity that has already been registere" + - "d.\022\262\001\n\007GetTask\022 .flyteidl.admin.ObjectGe" + - "tRequest\032\024.flyteidl.admin.Task\"o\202\323\344\223\002?\022=" + - "/api/v1/tasks/{id.project}/{id.domain}/{" + - "id.name}/{id.version}\222A\'\032%Retrieve an ex" + - "isting task definition.\022\336\001\n\013ListTaskIds\022" + - "0.flyteidl.admin.NamedEntityIdentifierLi" + - "stRequest\032).flyteidl.admin.NamedEntityId" + - "entifierList\"r\202\323\344\223\002%\022#/api/v1/task_ids/{" + - "project}/{domain}\222AD\032BFetch existing tas" + - "k definition identifiers matching input " + - "filters.\022\353\001\n\tListTasks\022#.flyteidl.admin." + - "ResourceListRequest\032\030.flyteidl.admin.Tas" + - "kList\"\236\001\202\323\344\223\002\\\0220/api/v1/tasks/{id.projec" + - "t}/{id.domain}/{id.name}Z(\022&/api/v1/task" + - "s/{id.project}/{id.domain}\222A9\0327Fetch exi" + - "sting task definitions matching input fi" + - "lters.\022\331\002\n\016CreateWorkflow\022%.flyteidl.adm" + - "in.WorkflowCreateRequest\032&.flyteidl.admi" + - "n.WorkflowCreateResponse\"\367\001\202\323\344\223\002\026\"\021/api/" + - "v1/workflows:\001*\222A\327\001\032*Create and register" + - " a workflow definition.JB\n\003400\022;\n9Return" + - "ed for bad request that may have failed " + - "validation.Je\n\003409\022^\n\\Returned for a req" + - "uest that references an identical entity" + - " that has already been registered.\022\302\001\n\013G" + - "etWorkflow\022 .flyteidl.admin.ObjectGetReq" + - "uest\032\030.flyteidl.admin.Workflow\"w\202\323\344\223\002C\022A" + - "/api/v1/workflows/{id.project}/{id.domai" + - "n}/{id.name}/{id.version}\222A+\032)Retrieve a" + - "n existing workflow definition.\022\355\001\n\017List" + - "WorkflowIds\0220.flyteidl.admin.NamedEntity" + - "IdentifierListRequest\032).flyteidl.admin.N" + - "amedEntityIdentifierList\"}\202\323\344\223\002)\022\'/api/v" + - "1/workflow_ids/{project}/{domain}\222AK\032IFe" + - "tch an existing workflow definition iden" + - "tifiers matching input filters.\022\377\001\n\rList" + - "Workflows\022#.flyteidl.admin.ResourceListR" + - "equest\032\034.flyteidl.admin.WorkflowList\"\252\001\202" + - "\323\344\223\002d\0224/api/v1/workflows/{id.project}/{i" + - "d.domain}/{id.name}Z,\022*/api/v1/workflows" + - "/{id.project}/{id.domain}\222A=\032;Fetch exis" + - "ting workflow definitions matching input" + - " filters.\022\345\002\n\020CreateLaunchPlan\022\'.flyteid" + - "l.admin.LaunchPlanCreateRequest\032(.flytei" + - "dl.admin.LaunchPlanCreateResponse\"\375\001\202\323\344\223" + - "\002\031\"\024/api/v1/launch_plans:\001*\222A\332\001\032-Create " + - "and register a launch plan definition.JB" + - "\n\003400\022;\n9Returned for bad request that m" + - "ay have failed validation.Je\n\003409\022^\n\\Ret" + - "urned for a request that references an i" + - "dentical entity that has already been re" + - "gistered.\022\314\001\n\rGetLaunchPlan\022 .flyteidl.a" + - "dmin.ObjectGetRequest\032\032.flyteidl.admin.L" + - "aunchPlan\"}\202\323\344\223\002F\022D/api/v1/launch_plans/" + - "{id.project}/{id.domain}/{id.name}/{id.v" + - "ersion}\222A.\032,Retrieve an existing launch " + - "plan definition.\022\363\001\n\023GetActiveLaunchPlan" + - "\022\'.flyteidl.admin.ActiveLaunchPlanReques" + - "t\032\032.flyteidl.admin.LaunchPlan\"\226\001\202\323\344\223\002@\022>" + - "/api/v1/active_launch_plans/{id.project}" + - "/{id.domain}/{id.name}\222AM\032KRetrieve the " + - "active launch plan version specified by " + - "input request filters.\022\353\001\n\025ListActiveLau" + - "nchPlans\022+.flyteidl.admin.ActiveLaunchPl" + - "anListRequest\032\036.flyteidl.admin.LaunchPla" + - "nList\"\204\001\202\323\344\223\0020\022./api/v1/active_launch_pl" + - "ans/{project}/{domain}\222AK\032IFetch the act" + - "ive launch plan versions specified by in" + - "put request filters.\022\363\001\n\021ListLaunchPlanI" + + "flyteidl/admin/project.proto\032\'flyteidl/a" + + "dmin/project_attributes.proto\032.flyteidl/" + + "admin/project_domain_attributes.proto\032\031f" + + "lyteidl/admin/task.proto\032\035flyteidl/admin" + + "/workflow.proto\032(flyteidl/admin/workflow" + + "_attributes.proto\032 flyteidl/admin/launch" + + "_plan.proto\032\032flyteidl/admin/event.proto\032" + + "\036flyteidl/admin/execution.proto\032#flyteid" + + "l/admin/node_execution.proto\032#flyteidl/a" + + "dmin/task_execution.proto\032\033flyteidl/admi" + + "n/common.proto\032,protoc-gen-swagger/optio" + + "ns/annotations.proto2\323U\n\014AdminService\022\305\002" + + "\n\nCreateTask\022!.flyteidl.admin.TaskCreate" + + "Request\032\".flyteidl.admin.TaskCreateRespo" + + "nse\"\357\001\202\323\344\223\002\022\"\r/api/v1/tasks:\001*\222A\323\001\032&Crea" + + "te and register a task definition.JB\n\00340" + + "0\022;\n9Returned for bad request that may h" + + "ave failed validation.Je\n\003409\022^\n\\Returne" + + "d for a request that references an ident" + + "ical entity that has already been regist" + + "ered.\022\262\001\n\007GetTask\022 .flyteidl.admin.Objec" + + "tGetRequest\032\024.flyteidl.admin.Task\"o\202\323\344\223\002" + + "?\022=/api/v1/tasks/{id.project}/{id.domain" + + "}/{id.name}/{id.version}\222A\'\032%Retrieve an" + + " existing task definition.\022\336\001\n\013ListTaskI" + "ds\0220.flyteidl.admin.NamedEntityIdentifie" + "rListRequest\032).flyteidl.admin.NamedEntit" + - "yIdentifierList\"\200\001\202\323\344\223\002,\022*/api/v1/launch" + - "_plan_ids/{project}/{domain}\222AK\032IFetch e" + - "xisting launch plan definition identifie" + - "rs matching input filters.\022\214\002\n\017ListLaunc" + - "hPlans\022#.flyteidl.admin.ResourceListRequ" + - "est\032\036.flyteidl.admin.LaunchPlanList\"\263\001\202\323" + - "\344\223\002j\0227/api/v1/launch_plans/{id.project}/" + - "{id.domain}/{id.name}Z/\022-/api/v1/launch_" + - "plans/{id.project}/{id.domain}\222A@\032>Fetch" + - " existing launch plan definitions matchi" + - "ng input filters.\022\300\006\n\020UpdateLaunchPlan\022\'" + - ".flyteidl.admin.LaunchPlanUpdateRequest\032" + - "(.flyteidl.admin.LaunchPlanUpdateRespons" + - "e\"\330\005\202\323\344\223\002I\032D/api/v1/launch_plans/{id.pro" + - "ject}/{id.domain}/{id.name}/{id.version}" + - ":\001*\222A\205\005\032\202\005Update the status of an existi" + - "ng launch plan definition. At most one l" + - "aunch plan version for a given {project," + - " domain, name} can be active at a time. " + - "If this call sets a launch plan to activ" + - "e and existing version is already active" + - ", the result of this call will be that t" + - "he formerly active launch plan will be m" + - "ade inactive and specified launch plan i" + - "n this request will be made active. In t" + - "he event that the formerly active launch" + - " plan had a schedule associated it with " + - "it, this schedule will be disabled. If t" + - "he reference launch plan in this request" + - " is being set to active and has a schedu" + - "le associated with it, the schedule will" + - " be enabled.\022\242\001\n\017CreateExecution\022&.flyte" + - "idl.admin.ExecutionCreateRequest\032\'.flyte" + - "idl.admin.ExecutionCreateResponse\">\202\323\344\223\002" + - "\027\"\022/api/v1/executions:\001*\222A\036\032\034Create a wo" + - "rkflow execution.\022\261\001\n\021RelaunchExecution\022" + - "(.flyteidl.admin.ExecutionRelaunchReques" + - "t\032\'.flyteidl.admin.ExecutionCreateRespon" + - "se\"I\202\323\344\223\002 \"\033/api/v1/executions/relaunch:" + - "\001*\222A \032\036Relaunch a workflow execution.\022\302\001" + - "\n\014GetExecution\022+.flyteidl.admin.Workflow" + - "ExecutionGetRequest\032\031.flyteidl.admin.Exe" + - "cution\"j\202\323\344\223\0027\0225/api/v1/executions/{id.p" + - "roject}/{id.domain}/{id.name}\222A*\032(Retrie" + - "ve an existing workflow execution.\022\202\002\n\020G" + - "etExecutionData\022/.flyteidl.admin.Workflo" + - "wExecutionGetDataRequest\0320.flyteidl.admi" + - "n.WorkflowExecutionGetDataResponse\"\212\001\202\323\344" + - "\223\002<\022:/api/v1/data/executions/{id.project" + - "}/{id.domain}/{id.name}\222AE\032CRetrieve inp" + - "ut and output data from an existing work" + - "flow execution.\022\310\001\n\016ListExecutions\022#.fly" + - "teidl.admin.ResourceListRequest\032\035.flytei" + - "dl.admin.ExecutionList\"r\202\323\344\223\002-\022+/api/v1/" + - "executions/{id.project}/{id.domain}\222A<\032:" + - "Fetch existing workflow executions match" + - "ing input filters.\022\364\001\n\022TerminateExecutio" + - "n\022).flyteidl.admin.ExecutionTerminateReq" + - "uest\032*.flyteidl.admin.ExecutionTerminate" + - "Response\"\206\001\202\323\344\223\002:*5/api/v1/executions/{i" + - "d.project}/{id.domain}/{id.name}:\001*\222AC\032A" + - "Terminate the active workflow execution " + - "specified in the request.\022\374\001\n\020GetNodeExe" + - "cution\022\'.flyteidl.admin.NodeExecutionGet" + - "Request\032\035.flyteidl.admin.NodeExecution\"\237" + - "\001\202\323\344\223\002p\022n/api/v1/node_executions/{id.exe" + - "cution_id.project}/{id.execution_id.doma" + - "in}/{id.execution_id.name}/{id.node_id}\222" + - "A&\032$Retrieve an existing node execution." + - "\022\232\002\n\022ListNodeExecutions\022(.flyteidl.admin" + - ".NodeExecutionListRequest\032!.flyteidl.adm" + - "in.NodeExecutionList\"\266\001\202\323\344\223\002u\022s/api/v1/n" + - "ode_executions/{workflow_execution_id.pr" + - "oject}/{workflow_execution_id.domain}/{w" + - "orkflow_execution_id.name}\222A8\0326Fetch exi" + - "sting node executions matching input fil" + - "ters.\022\357\004\n\031ListNodeExecutionsForTask\022/.fl" + - "yteidl.admin.NodeExecutionForTaskListReq" + - "uest\032!.flyteidl.admin.NodeExecutionList\"" + - "\375\003\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_execut" + - "ions/{task_execution_id.node_execution_i" + - "d.execution_id.project}/{task_execution_" + - "id.node_execution_id.execution_id.domain" + - "}/{task_execution_id.node_execution_id.e" + - "xecution_id.name}/{task_execution_id.nod" + - "e_execution_id.node_id}/{task_execution_" + - "id.task_id.project}/{task_execution_id.t" + - "ask_id.domain}/{task_execution_id.task_i" + - "d.name}/{task_execution_id.task_id.versi" + - "on}/{task_execution_id.retry_attempt}\222AG" + - "\032EFetch child node executions launched b" + - "y the specified task execution.\022\263\002\n\024GetN" + - "odeExecutionData\022+.flyteidl.admin.NodeEx" + - "ecutionGetDataRequest\032,.flyteidl.admin.N" + - "odeExecutionGetDataResponse\"\277\001\202\323\344\223\002u\022s/a" + - "pi/v1/data/node_executions/{id.execution" + - "_id.project}/{id.execution_id.domain}/{i" + - "d.execution_id.name}/{id.node_id}\222AA\032?Re" + - "trieve input and output data from an exi" + - "sting node execution.\022\227\001\n\017RegisterProjec" + - "t\022&.flyteidl.admin.ProjectRegisterReques" + - "t\032\'.flyteidl.admin.ProjectRegisterRespon" + - "se\"3\202\323\344\223\002\025\"\020/api/v1/projects:\001*\222A\025\032\023Regi" + - "ster a project.\022\205\001\n\014ListProjects\022\".flyte" + - "idl.admin.ProjectListRequest\032\030.flyteidl." + - "admin.Projects\"7\202\323\344\223\002\022\022\020/api/v1/projects" + - "\222A\034\032\032Fetch registered projects.\022\335\001\n\023Crea" + - "teWorkflowEvent\022-.flyteidl.admin.Workflo" + - "wExecutionEventRequest\032..flyteidl.admin." + - "WorkflowExecutionEventResponse\"g\202\323\344\223\002\035\"\030" + - "/api/v1/events/workflows:\001*\222AA\032?Create a" + - " workflow execution event recording a ph" + - "ase transition.\022\311\001\n\017CreateNodeEvent\022).fl" + - "yteidl.admin.NodeExecutionEventRequest\032*" + - ".flyteidl.admin.NodeExecutionEventRespon" + - "se\"_\202\323\344\223\002\031\"\024/api/v1/events/nodes:\001*\222A=\032;" + - "Create a node execution event recording " + - "a phase transition.\022\311\001\n\017CreateTaskEvent\022" + - ").flyteidl.admin.TaskExecutionEventReque" + - "st\032*.flyteidl.admin.TaskExecutionEventRe" + - "sponse\"_\202\323\344\223\002\031\"\024/api/v1/events/tasks:\001*\222" + - "A=\032;Create a task execution event record" + - "ing a phase transition.\022\251\003\n\020GetTaskExecu" + - "tion\022\'.flyteidl.admin.TaskExecutionGetRe" + - "quest\032\035.flyteidl.admin.TaskExecution\"\314\002\202" + - "\323\344\223\002\234\002\022\231\002/api/v1/task_executions/{id.nod" + - "e_execution_id.execution_id.project}/{id" + - ".node_execution_id.execution_id.domain}/" + - "{id.node_execution_id.execution_id.name}" + - "/{id.node_execution_id.node_id}/{id.task" + - "_id.project}/{id.task_id.domain}/{id.tas" + - "k_id.name}/{id.task_id.version}/{id.retr" + - "y_attempt}\222A&\032$Retrieve an existing task" + - " execution.\022\323\002\n\022ListTaskExecutions\022(.fly" + - "teidl.admin.TaskExecutionListRequest\032!.f" + - "lyteidl.admin.TaskExecutionList\"\357\001\202\323\344\223\002\255" + - "\001\022\252\001/api/v1/task_executions/{node_execut" + - "ion_id.execution_id.project}/{node_execu" + - "tion_id.execution_id.domain}/{node_execu" + - "tion_id.execution_id.name}/{node_executi" + - "on_id.node_id}\222A8\0326Fetch existing task e" + - "xecutions matching input filters.\022\340\003\n\024Ge" + - "tTaskExecutionData\022+.flyteidl.admin.Task" + - "ExecutionGetDataRequest\032,.flyteidl.admin" + - ".TaskExecutionGetDataResponse\"\354\002\202\323\344\223\002\241\002\022" + - "\236\002/api/v1/data/task_executions/{id.node_" + - "execution_id.execution_id.project}/{id.n" + - "ode_execution_id.execution_id.domain}/{i" + - "d.node_execution_id.execution_id.name}/{" + - "id.node_execution_id.node_id}/{id.task_i" + - "d.project}/{id.task_id.domain}/{id.task_" + - "id.name}/{id.task_id.version}/{id.retry_" + - "attempt}\222AA\032?Retrieve input and output d" + - "ata from an existing task execution.\022\277\002\n" + - "\035UpdateProjectDomainAttributes\0224.flyteid" + - "l.admin.ProjectDomainAttributesUpdateReq" + - "uest\0325.flyteidl.admin.ProjectDomainAttri" + - "butesUpdateResponse\"\260\001\202\323\344\223\002O\032J/api/v1/pr" + - "oject_domain_attributes/{attributes.proj" + - "ect}/{attributes.domain}:\001*\222AX\032VUpdate t" + - "he customized resource attributes associ" + - "ated with a project-domain combination\022\200" + - "\002\n\021ListNamedEntities\022&.flyteidl.admin.Na" + - "medEntityListRequest\032\037.flyteidl.admin.Na" + - "medEntityList\"\241\001\202\323\344\223\002;\0229/api/v1/named_en" + - "tities/{resource_type}/{project}/{domain" + - "}\222A]\032[Retrieve a list of NamedEntity obj" + - "ects sharing a common resource type, pro" + - "ject, and domain.\022\312\001\n\016GetNamedEntity\022%.f" + - "lyteidl.admin.NamedEntityGetRequest\032\033.fl" + - "yteidl.admin.NamedEntity\"t\202\323\344\223\002K\022I/api/v" + - "1/named_entities/{resource_type}/{id.pro" + - "ject}/{id.domain}/{id.name}\222A \032\036Retrieve" + - " a NamedEntity object.\022\363\001\n\021UpdateNamedEn" + - "tity\022(.flyteidl.admin.NamedEntityUpdateR" + - "equest\032).flyteidl.admin.NamedEntityUpdat" + - "eResponse\"\210\001\202\323\344\223\002N\032I/api/v1/named_entiti" + - "es/{resource_type}/{id.project}/{id.doma" + - "in}/{id.name}:\001*\222A1\032/Update the fields a" + - "ssociated with a NamedEntityB5Z3github.c" + - "om/lyft/flyteidl/gen/pb-go/flyteidl/serv" + - "iceb\006proto3" + "yIdentifierList\"r\202\323\344\223\002%\022#/api/v1/task_id" + + "s/{project}/{domain}\222AD\032BFetch existing " + + "task definition identifiers matching inp" + + "ut filters.\022\353\001\n\tListTasks\022#.flyteidl.adm" + + "in.ResourceListRequest\032\030.flyteidl.admin." + + "TaskList\"\236\001\202\323\344\223\002\\\0220/api/v1/tasks/{id.pro" + + "ject}/{id.domain}/{id.name}Z(\022&/api/v1/t" + + "asks/{id.project}/{id.domain}\222A9\0327Fetch " + + "existing task definitions matching input" + + " filters.\022\331\002\n\016CreateWorkflow\022%.flyteidl." + + "admin.WorkflowCreateRequest\032&.flyteidl.a" + + "dmin.WorkflowCreateResponse\"\367\001\202\323\344\223\002\026\"\021/a" + + "pi/v1/workflows:\001*\222A\327\001\032*Create and regis" + + "ter a workflow definition.JB\n\003400\022;\n9Ret" + + "urned for bad request that may have fail" + + "ed validation.Je\n\003409\022^\n\\Returned for a " + + "request that references an identical ent" + + "ity that has already been registered.\022\302\001" + + "\n\013GetWorkflow\022 .flyteidl.admin.ObjectGet" + + "Request\032\030.flyteidl.admin.Workflow\"w\202\323\344\223\002" + + "C\022A/api/v1/workflows/{id.project}/{id.do" + + "main}/{id.name}/{id.version}\222A+\032)Retriev" + + "e an existing workflow definition.\022\355\001\n\017L" + + "istWorkflowIds\0220.flyteidl.admin.NamedEnt" + + "ityIdentifierListRequest\032).flyteidl.admi" + + "n.NamedEntityIdentifierList\"}\202\323\344\223\002)\022\'/ap" + + "i/v1/workflow_ids/{project}/{domain}\222AK\032" + + "IFetch an existing workflow definition i" + + "dentifiers matching input filters.\022\377\001\n\rL" + + "istWorkflows\022#.flyteidl.admin.ResourceLi" + + "stRequest\032\034.flyteidl.admin.WorkflowList\"" + + "\252\001\202\323\344\223\002d\0224/api/v1/workflows/{id.project}" + + "/{id.domain}/{id.name}Z,\022*/api/v1/workfl" + + "ows/{id.project}/{id.domain}\222A=\032;Fetch e" + + "xisting workflow definitions matching in" + + "put filters.\022\345\002\n\020CreateLaunchPlan\022\'.flyt" + + "eidl.admin.LaunchPlanCreateRequest\032(.fly" + + "teidl.admin.LaunchPlanCreateResponse\"\375\001\202" + + "\323\344\223\002\031\"\024/api/v1/launch_plans:\001*\222A\332\001\032-Crea" + + "te and register a launch plan definition" + + ".JB\n\003400\022;\n9Returned for bad request tha" + + "t may have failed validation.Je\n\003409\022^\n\\" + + "Returned for a request that references a" + + "n identical entity that has already been" + + " registered.\022\314\001\n\rGetLaunchPlan\022 .flyteid" + + "l.admin.ObjectGetRequest\032\032.flyteidl.admi" + + "n.LaunchPlan\"}\202\323\344\223\002F\022D/api/v1/launch_pla" + + "ns/{id.project}/{id.domain}/{id.name}/{i" + + "d.version}\222A.\032,Retrieve an existing laun" + + "ch plan definition.\022\363\001\n\023GetActiveLaunchP" + + "lan\022\'.flyteidl.admin.ActiveLaunchPlanReq" + + "uest\032\032.flyteidl.admin.LaunchPlan\"\226\001\202\323\344\223\002" + + "@\022>/api/v1/active_launch_plans/{id.proje" + + "ct}/{id.domain}/{id.name}\222AM\032KRetrieve t" + + "he active launch plan version specified " + + "by input request filters.\022\353\001\n\025ListActive" + + "LaunchPlans\022+.flyteidl.admin.ActiveLaunc" + + "hPlanListRequest\032\036.flyteidl.admin.Launch" + + "PlanList\"\204\001\202\323\344\223\0020\022./api/v1/active_launch" + + "_plans/{project}/{domain}\222AK\032IFetch the " + + "active launch plan versions specified by" + + " input request filters.\022\363\001\n\021ListLaunchPl" + + "anIds\0220.flyteidl.admin.NamedEntityIdenti" + + "fierListRequest\032).flyteidl.admin.NamedEn" + + "tityIdentifierList\"\200\001\202\323\344\223\002,\022*/api/v1/lau" + + "nch_plan_ids/{project}/{domain}\222AK\032IFetc" + + "h existing launch plan definition identi" + + "fiers matching input filters.\022\214\002\n\017ListLa" + + "unchPlans\022#.flyteidl.admin.ResourceListR" + + "equest\032\036.flyteidl.admin.LaunchPlanList\"\263" + + "\001\202\323\344\223\002j\0227/api/v1/launch_plans/{id.projec" + + "t}/{id.domain}/{id.name}Z/\022-/api/v1/laun" + + "ch_plans/{id.project}/{id.domain}\222A@\032>Fe" + + "tch existing launch plan definitions mat" + + "ching input filters.\022\300\006\n\020UpdateLaunchPla" + + "n\022\'.flyteidl.admin.LaunchPlanUpdateReque" + + "st\032(.flyteidl.admin.LaunchPlanUpdateResp" + + "onse\"\330\005\202\323\344\223\002I\032D/api/v1/launch_plans/{id." + + "project}/{id.domain}/{id.name}/{id.versi" + + "on}:\001*\222A\205\005\032\202\005Update the status of an exi" + + "sting launch plan definition. At most on" + + "e launch plan version for a given {proje" + + "ct, domain, name} can be active at a tim" + + "e. If this call sets a launch plan to ac" + + "tive and existing version is already act" + + "ive, the result of this call will be tha" + + "t the formerly active launch plan will b" + + "e made inactive and specified launch pla" + + "n in this request will be made active. I" + + "n the event that the formerly active lau" + + "nch plan had a schedule associated it wi" + + "th it, this schedule will be disabled. I" + + "f the reference launch plan in this requ" + + "est is being set to active and has a sch" + + "edule associated with it, the schedule w" + + "ill be enabled.\022\242\001\n\017CreateExecution\022&.fl" + + "yteidl.admin.ExecutionCreateRequest\032\'.fl" + + "yteidl.admin.ExecutionCreateResponse\">\202\323" + + "\344\223\002\027\"\022/api/v1/executions:\001*\222A\036\032\034Create a" + + " workflow execution.\022\261\001\n\021RelaunchExecuti" + + "on\022(.flyteidl.admin.ExecutionRelaunchReq" + + "uest\032\'.flyteidl.admin.ExecutionCreateRes" + + "ponse\"I\202\323\344\223\002 \"\033/api/v1/executions/relaun" + + "ch:\001*\222A \032\036Relaunch a workflow execution." + + "\022\302\001\n\014GetExecution\022+.flyteidl.admin.Workf" + + "lowExecutionGetRequest\032\031.flyteidl.admin." + + "Execution\"j\202\323\344\223\0027\0225/api/v1/executions/{i" + + "d.project}/{id.domain}/{id.name}\222A*\032(Ret" + + "rieve an existing workflow execution.\022\202\002" + + "\n\020GetExecutionData\022/.flyteidl.admin.Work" + + "flowExecutionGetDataRequest\0320.flyteidl.a" + + "dmin.WorkflowExecutionGetDataResponse\"\212\001" + + "\202\323\344\223\002<\022:/api/v1/data/executions/{id.proj" + + "ect}/{id.domain}/{id.name}\222AE\032CRetrieve " + + "input and output data from an existing w" + + "orkflow execution.\022\310\001\n\016ListExecutions\022#." + + "flyteidl.admin.ResourceListRequest\032\035.fly" + + "teidl.admin.ExecutionList\"r\202\323\344\223\002-\022+/api/" + + "v1/executions/{id.project}/{id.domain}\222A" + + "<\032:Fetch existing workflow executions ma" + + "tching input filters.\022\364\001\n\022TerminateExecu" + + "tion\022).flyteidl.admin.ExecutionTerminate" + + "Request\032*.flyteidl.admin.ExecutionTermin" + + "ateResponse\"\206\001\202\323\344\223\002:*5/api/v1/executions" + + "/{id.project}/{id.domain}/{id.name}:\001*\222A" + + "C\032ATerminate the active workflow executi" + + "on specified in the request.\022\374\001\n\020GetNode" + + "Execution\022\'.flyteidl.admin.NodeExecution" + + "GetRequest\032\035.flyteidl.admin.NodeExecutio" + + "n\"\237\001\202\323\344\223\002p\022n/api/v1/node_executions/{id." + + "execution_id.project}/{id.execution_id.d" + + "omain}/{id.execution_id.name}/{id.node_i" + + "d}\222A&\032$Retrieve an existing node executi" + + "on.\022\232\002\n\022ListNodeExecutions\022(.flyteidl.ad" + + "min.NodeExecutionListRequest\032!.flyteidl." + + "admin.NodeExecutionList\"\266\001\202\323\344\223\002u\022s/api/v" + + "1/node_executions/{workflow_execution_id" + + ".project}/{workflow_execution_id.domain}" + + "/{workflow_execution_id.name}\222A8\0326Fetch " + + "existing node executions matching input " + + "filters.\022\357\004\n\031ListNodeExecutionsForTask\022/" + + ".flyteidl.admin.NodeExecutionForTaskList" + + "Request\032!.flyteidl.admin.NodeExecutionLi" + + "st\"\375\003\202\323\344\223\002\254\003\022\251\003/api/v1/children/task_exe" + + "cutions/{task_execution_id.node_executio" + + "n_id.execution_id.project}/{task_executi" + + "on_id.node_execution_id.execution_id.dom" + + "ain}/{task_execution_id.node_execution_i" + + "d.execution_id.name}/{task_execution_id." + + "node_execution_id.node_id}/{task_executi" + + "on_id.task_id.project}/{task_execution_i" + + "d.task_id.domain}/{task_execution_id.tas" + + "k_id.name}/{task_execution_id.task_id.ve" + + "rsion}/{task_execution_id.retry_attempt}" + + "\222AG\032EFetch child node executions launche" + + "d by the specified task execution.\022\263\002\n\024G" + + "etNodeExecutionData\022+.flyteidl.admin.Nod" + + "eExecutionGetDataRequest\032,.flyteidl.admi" + + "n.NodeExecutionGetDataResponse\"\277\001\202\323\344\223\002u\022" + + "s/api/v1/data/node_executions/{id.execut" + + "ion_id.project}/{id.execution_id.domain}" + + "/{id.execution_id.name}/{id.node_id}\222AA\032" + + "?Retrieve input and output data from an " + + "existing node execution.\022\227\001\n\017RegisterPro" + + "ject\022&.flyteidl.admin.ProjectRegisterReq" + + "uest\032\'.flyteidl.admin.ProjectRegisterRes" + + "ponse\"3\202\323\344\223\002\025\"\020/api/v1/projects:\001*\222A\025\032\023R" + + "egister a project.\022\205\001\n\014ListProjects\022\".fl" + + "yteidl.admin.ProjectListRequest\032\030.flytei" + + "dl.admin.Projects\"7\202\323\344\223\002\022\022\020/api/v1/proje" + + "cts\222A\034\032\032Fetch registered projects.\022\335\001\n\023C" + + "reateWorkflowEvent\022-.flyteidl.admin.Work" + + "flowExecutionEventRequest\032..flyteidl.adm" + + "in.WorkflowExecutionEventResponse\"g\202\323\344\223\002" + + "\035\"\030/api/v1/events/workflows:\001*\222AA\032?Creat" + + "e a workflow execution event recording a" + + " phase transition.\022\311\001\n\017CreateNodeEvent\022)" + + ".flyteidl.admin.NodeExecutionEventReques" + + "t\032*.flyteidl.admin.NodeExecutionEventRes" + + "ponse\"_\202\323\344\223\002\031\"\024/api/v1/events/nodes:\001*\222A" + + "=\032;Create a node execution event recordi" + + "ng a phase transition.\022\311\001\n\017CreateTaskEve" + + "nt\022).flyteidl.admin.TaskExecutionEventRe" + + "quest\032*.flyteidl.admin.TaskExecutionEven" + + "tResponse\"_\202\323\344\223\002\031\"\024/api/v1/events/tasks:" + + "\001*\222A=\032;Create a task execution event rec" + + "ording a phase transition.\022\251\003\n\020GetTaskEx" + + "ecution\022\'.flyteidl.admin.TaskExecutionGe" + + "tRequest\032\035.flyteidl.admin.TaskExecution\"" + + "\314\002\202\323\344\223\002\234\002\022\231\002/api/v1/task_executions/{id." + + "node_execution_id.execution_id.project}/" + + "{id.node_execution_id.execution_id.domai" + + "n}/{id.node_execution_id.execution_id.na" + + "me}/{id.node_execution_id.node_id}/{id.t" + + "ask_id.project}/{id.task_id.domain}/{id." + + "task_id.name}/{id.task_id.version}/{id.r" + + "etry_attempt}\222A&\032$Retrieve an existing t" + + "ask execution.\022\323\002\n\022ListTaskExecutions\022(." + + "flyteidl.admin.TaskExecutionListRequest\032" + + "!.flyteidl.admin.TaskExecutionList\"\357\001\202\323\344" + + "\223\002\255\001\022\252\001/api/v1/task_executions/{node_exe" + + "cution_id.execution_id.project}/{node_ex" + + "ecution_id.execution_id.domain}/{node_ex" + + "ecution_id.execution_id.name}/{node_exec" + + "ution_id.node_id}\222A8\0326Fetch existing tas" + + "k executions matching input filters.\022\340\003\n" + + "\024GetTaskExecutionData\022+.flyteidl.admin.T" + + "askExecutionGetDataRequest\032,.flyteidl.ad" + + "min.TaskExecutionGetDataResponse\"\354\002\202\323\344\223\002" + + "\241\002\022\236\002/api/v1/data/task_executions/{id.no" + + "de_execution_id.execution_id.project}/{i" + + "d.node_execution_id.execution_id.domain}" + + "/{id.node_execution_id.execution_id.name" + + "}/{id.node_execution_id.node_id}/{id.tas" + + "k_id.project}/{id.task_id.domain}/{id.ta" + + "sk_id.name}/{id.task_id.version}/{id.ret" + + "ry_attempt}\222AA\032?Retrieve input and outpu" + + "t data from an existing task execution.\022" + + "\377\001\n\027UpdateProjectAttributes\022..flyteidl.a" + + "dmin.ProjectAttributesUpdateRequest\032/.fl" + + "yteidl.admin.ProjectAttributesUpdateResp" + + "onse\"\202\001\202\323\344\223\0024\032//api/v1/project_attribute" + + "s/{attributes.project}:\001*\222AE\032CUpdate the" + + " customized resource attributes associat" + + "ed with a project\022\277\002\n\035UpdateProjectDomai" + + "nAttributes\0224.flyteidl.admin.ProjectDoma" + + "inAttributesUpdateRequest\0325.flyteidl.adm" + + "in.ProjectDomainAttributesUpdateResponse" + + "\"\260\001\202\323\344\223\002O\032J/api/v1/project_domain_attrib" + + "utes/{attributes.project}/{attributes.do" + + "main}:\001*\222AX\032VUpdate the customized resou" + + "rce attributes associated with a project" + + "-domain combination\022\316\002\n\030UpdateWorkflowAt" + + "tributes\022/.flyteidl.admin.WorkflowAttrib" + + "utesUpdateRequest\0320.flyteidl.admin.Workf" + + "lowAttributesUpdateResponse\"\316\001\202\323\344\223\002_\032Z/a" + + "pi/v1/workflow_attributes/{attributes.pr" + + "oject}/{attributes.domain}/{attributes.w" + + "orkflow}:\001*\222Af\032dUpdate the customized re" + + "source attributes associated with a proj" + + "ect, domain and workflow combination\022\200\002\n" + + "\021ListNamedEntities\022&.flyteidl.admin.Name" + + "dEntityListRequest\032\037.flyteidl.admin.Name" + + "dEntityList\"\241\001\202\323\344\223\002;\0229/api/v1/named_enti" + + "ties/{resource_type}/{project}/{domain}\222" + + "A]\032[Retrieve a list of NamedEntity objec" + + "ts sharing a common resource type, proje" + + "ct, and domain.\022\312\001\n\016GetNamedEntity\022%.fly" + + "teidl.admin.NamedEntityGetRequest\032\033.flyt" + + "eidl.admin.NamedEntity\"t\202\323\344\223\002K\022I/api/v1/" + + "named_entities/{resource_type}/{id.proje" + + "ct}/{id.domain}/{id.name}\222A \032\036Retrieve a" + + " NamedEntity object.\022\363\001\n\021UpdateNamedEnti" + + "ty\022(.flyteidl.admin.NamedEntityUpdateReq" + + "uest\032).flyteidl.admin.NamedEntityUpdateR" + + "esponse\"\210\001\202\323\344\223\002N\032I/api/v1/named_entities" + + "/{resource_type}/{id.project}/{id.domain" + + "}/{id.name}:\001*\222A1\032/Update the fields ass" + + "ociated with a NamedEntityB5Z3github.com" + + "/lyft/flyteidl/gen/pb-go/flyteidl/servic" + + "eb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { @@ -310,9 +327,11 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), flyteidl.admin.ProjectOuterClass.getDescriptor(), + flyteidl.admin.ProjectAttributesOuterClass.getDescriptor(), flyteidl.admin.ProjectDomainAttributesOuterClass.getDescriptor(), flyteidl.admin.TaskOuterClass.getDescriptor(), flyteidl.admin.WorkflowOuterClass.getDescriptor(), + flyteidl.admin.WorkflowAttributesOuterClass.getDescriptor(), flyteidl.admin.LaunchPlanOuterClass.getDescriptor(), flyteidl.admin.Event.getDescriptor(), flyteidl.admin.ExecutionOuterClass.getDescriptor(), @@ -329,9 +348,11 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( .internalUpdateFileDescriptor(descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); flyteidl.admin.ProjectOuterClass.getDescriptor(); + flyteidl.admin.ProjectAttributesOuterClass.getDescriptor(); flyteidl.admin.ProjectDomainAttributesOuterClass.getDescriptor(); flyteidl.admin.TaskOuterClass.getDescriptor(); flyteidl.admin.WorkflowOuterClass.getDescriptor(); + flyteidl.admin.WorkflowAttributesOuterClass.getDescriptor(); flyteidl.admin.LaunchPlanOuterClass.getDescriptor(); flyteidl.admin.Event.getDescriptor(); flyteidl.admin.ExecutionOuterClass.getDescriptor(); diff --git a/flyteidl/gen/pb-js/flyteidl.d.ts b/flyteidl/gen/pb-js/flyteidl.d.ts index 136103e5af..a012236117 100644 --- a/flyteidl/gen/pb-js/flyteidl.d.ts +++ b/flyteidl/gen/pb-js/flyteidl.d.ts @@ -8220,6 +8220,312 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** MatchableResource enum. */ + enum MatchableResource { + TASK_RESOURCE = 0, + CLUSTER_RESOURCE = 1, + EXECUTION_QUEUE = 2 + } + + /** Properties of a TaskResourceSpec. */ + interface ITaskResourceSpec { + + /** TaskResourceSpec cpu */ + cpu?: (string|null); + + /** TaskResourceSpec gpu */ + gpu?: (string|null); + + /** TaskResourceSpec memory */ + memory?: (string|null); + + /** TaskResourceSpec storage */ + storage?: (string|null); + } + + /** Represents a TaskResourceSpec. */ + class TaskResourceSpec implements ITaskResourceSpec { + + /** + * Constructs a new TaskResourceSpec. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskResourceSpec); + + /** TaskResourceSpec cpu. */ + public cpu: string; + + /** TaskResourceSpec gpu. */ + public gpu: string; + + /** TaskResourceSpec memory. */ + public memory: string; + + /** TaskResourceSpec storage. */ + public storage: string; + + /** + * Creates a new TaskResourceSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskResourceSpec instance + */ + public static create(properties?: flyteidl.admin.ITaskResourceSpec): flyteidl.admin.TaskResourceSpec; + + /** + * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. + * @param message TaskResourceSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskResourceSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskResourceSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskResourceSpec + * @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.TaskResourceSpec; + + /** + * Verifies a TaskResourceSpec 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 TaskResourceAttributes. */ + interface ITaskResourceAttributes { + + /** TaskResourceAttributes defaults */ + defaults?: (flyteidl.admin.ITaskResourceSpec|null); + + /** TaskResourceAttributes limits */ + limits?: (flyteidl.admin.ITaskResourceSpec|null); + } + + /** Represents a TaskResourceAttributes. */ + class TaskResourceAttributes implements ITaskResourceAttributes { + + /** + * Constructs a new TaskResourceAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.ITaskResourceAttributes); + + /** TaskResourceAttributes defaults. */ + public defaults?: (flyteidl.admin.ITaskResourceSpec|null); + + /** TaskResourceAttributes limits. */ + public limits?: (flyteidl.admin.ITaskResourceSpec|null); + + /** + * Creates a new TaskResourceAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns TaskResourceAttributes instance + */ + public static create(properties?: flyteidl.admin.ITaskResourceAttributes): flyteidl.admin.TaskResourceAttributes; + + /** + * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. + * @param message TaskResourceAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.ITaskResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a TaskResourceAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns TaskResourceAttributes + * @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.TaskResourceAttributes; + + /** + * Verifies a TaskResourceAttributes 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 ClusterResourceAttributes. */ + interface IClusterResourceAttributes { + + /** ClusterResourceAttributes attributes */ + attributes?: ({ [k: string]: string }|null); + } + + /** Represents a ClusterResourceAttributes. */ + class ClusterResourceAttributes implements IClusterResourceAttributes { + + /** + * Constructs a new ClusterResourceAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IClusterResourceAttributes); + + /** ClusterResourceAttributes attributes. */ + public attributes: { [k: string]: string }; + + /** + * Creates a new ClusterResourceAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns ClusterResourceAttributes instance + */ + public static create(properties?: flyteidl.admin.IClusterResourceAttributes): flyteidl.admin.ClusterResourceAttributes; + + /** + * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. + * @param message ClusterResourceAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IClusterResourceAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ClusterResourceAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ClusterResourceAttributes + * @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.ClusterResourceAttributes; + + /** + * Verifies a ClusterResourceAttributes 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 an ExecutionQueueAttributes. */ + interface IExecutionQueueAttributes { + + /** ExecutionQueueAttributes tags */ + tags?: (string[]|null); + } + + /** Represents an ExecutionQueueAttributes. */ + class ExecutionQueueAttributes implements IExecutionQueueAttributes { + + /** + * Constructs a new ExecutionQueueAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IExecutionQueueAttributes); + + /** ExecutionQueueAttributes tags. */ + public tags: string[]; + + /** + * Creates a new ExecutionQueueAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns ExecutionQueueAttributes instance + */ + public static create(properties?: flyteidl.admin.IExecutionQueueAttributes): flyteidl.admin.ExecutionQueueAttributes; + + /** + * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. + * @param message ExecutionQueueAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IExecutionQueueAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ExecutionQueueAttributes + * @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.ExecutionQueueAttributes; + + /** + * Verifies an ExecutionQueueAttributes 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 MatchingAttributes. */ + interface IMatchingAttributes { + + /** MatchingAttributes taskResourceAttributes */ + taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); + + /** MatchingAttributes clusterResourceAttributes */ + clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); + + /** MatchingAttributes executionQueueAttributes */ + executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); + } + + /** Represents a MatchingAttributes. */ + class MatchingAttributes implements IMatchingAttributes { + + /** + * Constructs a new MatchingAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IMatchingAttributes); + + /** MatchingAttributes taskResourceAttributes. */ + public taskResourceAttributes?: (flyteidl.admin.ITaskResourceAttributes|null); + + /** MatchingAttributes clusterResourceAttributes. */ + public clusterResourceAttributes?: (flyteidl.admin.IClusterResourceAttributes|null); + + /** MatchingAttributes executionQueueAttributes. */ + public executionQueueAttributes?: (flyteidl.admin.IExecutionQueueAttributes|null); + + /** MatchingAttributes target. */ + public target?: ("taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"); + + /** + * Creates a new MatchingAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns MatchingAttributes instance + */ + public static create(properties?: flyteidl.admin.IMatchingAttributes): flyteidl.admin.MatchingAttributes; + + /** + * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. + * @param message MatchingAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IMatchingAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MatchingAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MatchingAttributes + * @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.MatchingAttributes; + + /** + * Verifies a MatchingAttributes 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 NodeExecutionGetRequest. */ interface INodeExecutionGetRequest { @@ -9202,6 +9508,162 @@ export namespace flyteidl { public static verify(message: { [k: string]: any }): (string|null); } + /** Properties of a ProjectAttributes. */ + interface IProjectAttributes { + + /** ProjectAttributes project */ + project?: (string|null); + + /** ProjectAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + } + + /** Represents a ProjectAttributes. */ + class ProjectAttributes implements IProjectAttributes { + + /** + * Constructs a new ProjectAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributes); + + /** ProjectAttributes project. */ + public project: string; + + /** ProjectAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** + * Creates a new ProjectAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributes instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributes): flyteidl.admin.ProjectAttributes; + + /** + * Encodes the specified ProjectAttributes message. Does not implicitly {@link flyteidl.admin.ProjectAttributes.verify|verify} messages. + * @param message ProjectAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributes + * @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.ProjectAttributes; + + /** + * Verifies a ProjectAttributes 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 ProjectAttributesUpdateRequest. */ + interface IProjectAttributesUpdateRequest { + + /** ProjectAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IProjectAttributes|null); + } + + /** Represents a ProjectAttributesUpdateRequest. */ + class ProjectAttributesUpdateRequest implements IProjectAttributesUpdateRequest { + + /** + * Constructs a new ProjectAttributesUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributesUpdateRequest); + + /** ProjectAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IProjectAttributes|null); + + /** + * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributesUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributesUpdateRequest): flyteidl.admin.ProjectAttributesUpdateRequest; + + /** + * Encodes the specified ProjectAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateRequest.verify|verify} messages. + * @param message ProjectAttributesUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributesUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributesUpdateRequest + * @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.ProjectAttributesUpdateRequest; + + /** + * Verifies a ProjectAttributesUpdateRequest 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 ProjectAttributesUpdateResponse. */ + interface IProjectAttributesUpdateResponse { + } + + /** Represents a ProjectAttributesUpdateResponse. */ + class ProjectAttributesUpdateResponse implements IProjectAttributesUpdateResponse { + + /** + * Constructs a new ProjectAttributesUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IProjectAttributesUpdateResponse); + + /** + * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ProjectAttributesUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.IProjectAttributesUpdateResponse): flyteidl.admin.ProjectAttributesUpdateResponse; + + /** + * Encodes the specified ProjectAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateResponse.verify|verify} messages. + * @param message ProjectAttributesUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IProjectAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ProjectAttributesUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ProjectAttributesUpdateResponse + * @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.ProjectAttributesUpdateResponse; + + /** + * Verifies a ProjectAttributesUpdateResponse 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 ProjectDomainAttributes. */ interface IProjectDomainAttributes { @@ -9211,8 +9673,8 @@ export namespace flyteidl { /** ProjectDomainAttributes domain */ domain?: (string|null); - /** ProjectDomainAttributes attributes */ - attributes?: ({ [k: string]: string }|null); + /** ProjectDomainAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); } /** Represents a ProjectDomainAttributes. */ @@ -9230,8 +9692,8 @@ export namespace flyteidl { /** ProjectDomainAttributes domain. */ public domain: string; - /** ProjectDomainAttributes attributes. */ - public attributes: { [k: string]: string }; + /** ProjectDomainAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); /** * Creates a new ProjectDomainAttributes instance using the specified properties. @@ -10492,6 +10954,174 @@ export namespace flyteidl { */ public static verify(message: { [k: string]: any }): (string|null); } + + /** Properties of a WorkflowAttributes. */ + interface IWorkflowAttributes { + + /** WorkflowAttributes project */ + project?: (string|null); + + /** WorkflowAttributes domain */ + domain?: (string|null); + + /** WorkflowAttributes workflow */ + workflow?: (string|null); + + /** WorkflowAttributes matchingAttributes */ + matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + } + + /** Represents a WorkflowAttributes. */ + class WorkflowAttributes implements IWorkflowAttributes { + + /** + * Constructs a new WorkflowAttributes. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributes); + + /** WorkflowAttributes project. */ + public project: string; + + /** WorkflowAttributes domain. */ + public domain: string; + + /** WorkflowAttributes workflow. */ + public workflow: string; + + /** WorkflowAttributes matchingAttributes. */ + public matchingAttributes?: (flyteidl.admin.IMatchingAttributes|null); + + /** + * Creates a new WorkflowAttributes instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributes instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributes): flyteidl.admin.WorkflowAttributes; + + /** + * Encodes the specified WorkflowAttributes message. Does not implicitly {@link flyteidl.admin.WorkflowAttributes.verify|verify} messages. + * @param message WorkflowAttributes message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributes, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributes message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributes + * @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.WorkflowAttributes; + + /** + * Verifies a WorkflowAttributes 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 WorkflowAttributesUpdateRequest. */ + interface IWorkflowAttributesUpdateRequest { + + /** WorkflowAttributesUpdateRequest attributes */ + attributes?: (flyteidl.admin.IWorkflowAttributes|null); + } + + /** Represents a WorkflowAttributesUpdateRequest. */ + class WorkflowAttributesUpdateRequest implements IWorkflowAttributesUpdateRequest { + + /** + * Constructs a new WorkflowAttributesUpdateRequest. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest); + + /** WorkflowAttributesUpdateRequest attributes. */ + public attributes?: (flyteidl.admin.IWorkflowAttributes|null); + + /** + * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesUpdateRequest instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateRequest): flyteidl.admin.WorkflowAttributesUpdateRequest; + + /** + * Encodes the specified WorkflowAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateRequest.verify|verify} messages. + * @param message WorkflowAttributesUpdateRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributesUpdateRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributesUpdateRequest + * @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.WorkflowAttributesUpdateRequest; + + /** + * Verifies a WorkflowAttributesUpdateRequest 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 WorkflowAttributesUpdateResponse. */ + interface IWorkflowAttributesUpdateResponse { + } + + /** Represents a WorkflowAttributesUpdateResponse. */ + class WorkflowAttributesUpdateResponse implements IWorkflowAttributesUpdateResponse { + + /** + * Constructs a new WorkflowAttributesUpdateResponse. + * @param [properties] Properties to set + */ + constructor(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse); + + /** + * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns WorkflowAttributesUpdateResponse instance + */ + public static create(properties?: flyteidl.admin.IWorkflowAttributesUpdateResponse): flyteidl.admin.WorkflowAttributesUpdateResponse; + + /** + * Encodes the specified WorkflowAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateResponse.verify|verify} messages. + * @param message WorkflowAttributesUpdateResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: flyteidl.admin.IWorkflowAttributesUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a WorkflowAttributesUpdateResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns WorkflowAttributesUpdateResponse + * @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.WorkflowAttributesUpdateResponse; + + /** + * Verifies a WorkflowAttributesUpdateResponse 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); + } } /** Namespace service. */ @@ -10979,6 +11609,20 @@ export namespace flyteidl { */ public getTaskExecutionData(request: flyteidl.admin.ITaskExecutionGetDataRequest): Promise; + /** + * Calls UpdateProjectAttributes. + * @param request ProjectAttributesUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ProjectAttributesUpdateResponse + */ + public updateProjectAttributes(request: flyteidl.admin.IProjectAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateProjectAttributesCallback): void; + + /** + * Calls UpdateProjectAttributes. + * @param request ProjectAttributesUpdateRequest message or plain object + * @returns Promise + */ + public updateProjectAttributes(request: flyteidl.admin.IProjectAttributesUpdateRequest): Promise; + /** * Calls UpdateProjectDomainAttributes. * @param request ProjectDomainAttributesUpdateRequest message or plain object @@ -10993,6 +11637,20 @@ export namespace flyteidl { */ public updateProjectDomainAttributes(request: flyteidl.admin.IProjectDomainAttributesUpdateRequest): Promise; + /** + * Calls UpdateWorkflowAttributes. + * @param request WorkflowAttributesUpdateRequest message or plain object + * @param callback Node-style callback called with the error, if any, and WorkflowAttributesUpdateResponse + */ + public updateWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesUpdateRequest, callback: flyteidl.service.AdminService.UpdateWorkflowAttributesCallback): void; + + /** + * Calls UpdateWorkflowAttributes. + * @param request WorkflowAttributesUpdateRequest message or plain object + * @returns Promise + */ + public updateWorkflowAttributes(request: flyteidl.admin.IWorkflowAttributesUpdateRequest): Promise; + /** * Calls ListNamedEntities. * @param request NamedEntityListRequest message or plain object @@ -11269,6 +11927,13 @@ export namespace flyteidl { */ type GetTaskExecutionDataCallback = (error: (Error|null), response?: flyteidl.admin.TaskExecutionGetDataResponse) => void; + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProjectAttributes}. + * @param error Error, if any + * @param [response] ProjectAttributesUpdateResponse + */ + type UpdateProjectAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectAttributesUpdateResponse) => void; + /** * Callback as used by {@link flyteidl.service.AdminService#updateProjectDomainAttributes}. * @param error Error, if any @@ -11276,6 +11941,13 @@ export namespace flyteidl { */ type UpdateProjectDomainAttributesCallback = (error: (Error|null), response?: flyteidl.admin.ProjectDomainAttributesUpdateResponse) => void; + /** + * Callback as used by {@link flyteidl.service.AdminService#updateWorkflowAttributes}. + * @param error Error, if any + * @param [response] WorkflowAttributesUpdateResponse + */ + type UpdateWorkflowAttributesCallback = (error: (Error|null), response?: flyteidl.admin.WorkflowAttributesUpdateResponse) => void; + /** * Callback as used by {@link flyteidl.service.AdminService#listNamedEntities}. * @param error Error, if any diff --git a/flyteidl/gen/pb-js/flyteidl.js b/flyteidl/gen/pb-js/flyteidl.js index c8132c9606..88b6fba377 100644 --- a/flyteidl/gen/pb-js/flyteidl.js +++ b/flyteidl/gen/pb-js/flyteidl.js @@ -19650,24 +19650,43 @@ export const flyteidl = $root.flyteidl = (() => { return Schedule; })(); - admin.NodeExecutionGetRequest = (function() { + /** + * MatchableResource enum. + * @name flyteidl.admin.MatchableResource + * @enum {string} + * @property {number} TASK_RESOURCE=0 TASK_RESOURCE value + * @property {number} CLUSTER_RESOURCE=1 CLUSTER_RESOURCE value + * @property {number} EXECUTION_QUEUE=2 EXECUTION_QUEUE value + */ + admin.MatchableResource = (function() { + const valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "TASK_RESOURCE"] = 0; + values[valuesById[1] = "CLUSTER_RESOURCE"] = 1; + values[valuesById[2] = "EXECUTION_QUEUE"] = 2; + return values; + })(); + + admin.TaskResourceSpec = (function() { /** - * Properties of a NodeExecutionGetRequest. + * Properties of a TaskResourceSpec. * @memberof flyteidl.admin - * @interface INodeExecutionGetRequest - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetRequest id + * @interface ITaskResourceSpec + * @property {string|null} [cpu] TaskResourceSpec cpu + * @property {string|null} [gpu] TaskResourceSpec gpu + * @property {string|null} [memory] TaskResourceSpec memory + * @property {string|null} [storage] TaskResourceSpec storage */ /** - * Constructs a new NodeExecutionGetRequest. + * Constructs a new TaskResourceSpec. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionGetRequest. - * @implements INodeExecutionGetRequest + * @classdesc Represents a TaskResourceSpec. + * @implements ITaskResourceSpec * @constructor - * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set */ - function NodeExecutionGetRequest(properties) { + function TaskResourceSpec(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -19675,62 +19694,101 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * NodeExecutionGetRequest id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.NodeExecutionGetRequest + * TaskResourceSpec cpu. + * @member {string} cpu + * @memberof flyteidl.admin.TaskResourceSpec * @instance */ - NodeExecutionGetRequest.prototype.id = null; + TaskResourceSpec.prototype.cpu = ""; /** - * Creates a new NodeExecutionGetRequest instance using the specified properties. + * TaskResourceSpec gpu. + * @member {string} gpu + * @memberof flyteidl.admin.TaskResourceSpec + * @instance + */ + TaskResourceSpec.prototype.gpu = ""; + + /** + * TaskResourceSpec memory. + * @member {string} memory + * @memberof flyteidl.admin.TaskResourceSpec + * @instance + */ + TaskResourceSpec.prototype.memory = ""; + + /** + * TaskResourceSpec storage. + * @member {string} storage + * @memberof flyteidl.admin.TaskResourceSpec + * @instance + */ + TaskResourceSpec.prototype.storage = ""; + + /** + * Creates a new TaskResourceSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static - * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest instance + * @param {flyteidl.admin.ITaskResourceSpec=} [properties] Properties to set + * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec instance */ - NodeExecutionGetRequest.create = function create(properties) { - return new NodeExecutionGetRequest(properties); + TaskResourceSpec.create = function create(properties) { + return new TaskResourceSpec(properties); }; /** - * Encodes the specified NodeExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetRequest.verify|verify} messages. + * Encodes the specified TaskResourceSpec message. Does not implicitly {@link flyteidl.admin.TaskResourceSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static - * @param {flyteidl.admin.INodeExecutionGetRequest} message NodeExecutionGetRequest message or plain object to encode + * @param {flyteidl.admin.ITaskResourceSpec} message TaskResourceSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionGetRequest.encode = function encode(message, writer) { + TaskResourceSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.cpu != null && message.hasOwnProperty("cpu")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.cpu); + if (message.gpu != null && message.hasOwnProperty("gpu")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.gpu); + if (message.memory != null && message.hasOwnProperty("memory")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.memory); + if (message.storage != null && message.hasOwnProperty("storage")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.storage); return writer; }; /** - * Decodes a NodeExecutionGetRequest message from the specified reader or buffer. + * Decodes a TaskResourceSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest + * @returns {flyteidl.admin.TaskResourceSpec} TaskResourceSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionGetRequest.decode = function decode(reader, length) { + TaskResourceSpec.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.NodeExecutionGetRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskResourceSpec(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.cpu = reader.string(); + break; + case 2: + message.gpu = reader.string(); + break; + case 3: + message.memory = reader.string(); + break; + case 4: + message.storage = reader.string(); break; default: reader.skipType(tag & 7); @@ -19741,49 +19799,53 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a NodeExecutionGetRequest message. + * Verifies a TaskResourceSpec message. * @function verify - * @memberof flyteidl.admin.NodeExecutionGetRequest + * @memberof flyteidl.admin.TaskResourceSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionGetRequest.verify = function verify(message) { + TaskResourceSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - let error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } + if (message.cpu != null && message.hasOwnProperty("cpu")) + if (!$util.isString(message.cpu)) + return "cpu: string expected"; + if (message.gpu != null && message.hasOwnProperty("gpu")) + if (!$util.isString(message.gpu)) + return "gpu: string expected"; + if (message.memory != null && message.hasOwnProperty("memory")) + if (!$util.isString(message.memory)) + return "memory: string expected"; + if (message.storage != null && message.hasOwnProperty("storage")) + if (!$util.isString(message.storage)) + return "storage: string expected"; return null; }; - return NodeExecutionGetRequest; + return TaskResourceSpec; })(); - admin.NodeExecutionListRequest = (function() { + admin.TaskResourceAttributes = (function() { /** - * Properties of a NodeExecutionListRequest. + * Properties of a TaskResourceAttributes. * @memberof flyteidl.admin - * @interface INodeExecutionListRequest - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowExecutionId] NodeExecutionListRequest workflowExecutionId - * @property {number|null} [limit] NodeExecutionListRequest limit - * @property {string|null} [token] NodeExecutionListRequest token - * @property {string|null} [filters] NodeExecutionListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] NodeExecutionListRequest sortBy + * @interface ITaskResourceAttributes + * @property {flyteidl.admin.ITaskResourceSpec|null} [defaults] TaskResourceAttributes defaults + * @property {flyteidl.admin.ITaskResourceSpec|null} [limits] TaskResourceAttributes limits */ /** - * Constructs a new NodeExecutionListRequest. + * Constructs a new TaskResourceAttributes. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionListRequest. - * @implements INodeExecutionListRequest + * @classdesc Represents a TaskResourceAttributes. + * @implements ITaskResourceAttributes * @constructor - * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set */ - function NodeExecutionListRequest(properties) { + function TaskResourceAttributes(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -19791,114 +19853,75 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * NodeExecutionListRequest workflowExecutionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId - * @memberof flyteidl.admin.NodeExecutionListRequest - * @instance - */ - NodeExecutionListRequest.prototype.workflowExecutionId = null; - - /** - * NodeExecutionListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.NodeExecutionListRequest - * @instance - */ - NodeExecutionListRequest.prototype.limit = 0; - - /** - * NodeExecutionListRequest token. - * @member {string} token - * @memberof flyteidl.admin.NodeExecutionListRequest - * @instance - */ - NodeExecutionListRequest.prototype.token = ""; - - /** - * NodeExecutionListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.NodeExecutionListRequest + * TaskResourceAttributes defaults. + * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} defaults + * @memberof flyteidl.admin.TaskResourceAttributes * @instance */ - NodeExecutionListRequest.prototype.filters = ""; + TaskResourceAttributes.prototype.defaults = null; /** - * NodeExecutionListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.NodeExecutionListRequest + * TaskResourceAttributes limits. + * @member {flyteidl.admin.ITaskResourceSpec|null|undefined} limits + * @memberof flyteidl.admin.TaskResourceAttributes * @instance */ - NodeExecutionListRequest.prototype.sortBy = null; + TaskResourceAttributes.prototype.limits = null; /** - * Creates a new NodeExecutionListRequest instance using the specified properties. + * Creates a new TaskResourceAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.TaskResourceAttributes * @static - * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest instance + * @param {flyteidl.admin.ITaskResourceAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes instance */ - NodeExecutionListRequest.create = function create(properties) { - return new NodeExecutionListRequest(properties); + TaskResourceAttributes.create = function create(properties) { + return new TaskResourceAttributes(properties); }; /** - * Encodes the specified NodeExecutionListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionListRequest.verify|verify} messages. + * Encodes the specified TaskResourceAttributes message. Does not implicitly {@link flyteidl.admin.TaskResourceAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.TaskResourceAttributes * @static - * @param {flyteidl.admin.INodeExecutionListRequest} message NodeExecutionListRequest message or plain object to encode + * @param {flyteidl.admin.ITaskResourceAttributes} message TaskResourceAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionListRequest.encode = function encode(message, writer) { + TaskResourceAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.defaults != null && message.hasOwnProperty("defaults")) + $root.flyteidl.admin.TaskResourceSpec.encode(message.defaults, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limits != null && message.hasOwnProperty("limits")) + $root.flyteidl.admin.TaskResourceSpec.encode(message.limits, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionListRequest message from the specified reader or buffer. + * Decodes a TaskResourceAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.TaskResourceAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest + * @returns {flyteidl.admin.TaskResourceAttributes} TaskResourceAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionListRequest.decode = function decode(reader, length) { + TaskResourceAttributes.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.NodeExecutionListRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskResourceAttributes(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + message.defaults = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); break; case 2: - message.limit = reader.uint32(); - break; - case 3: - message.token = reader.string(); - break; - case 4: - message.filters = reader.string(); - break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + message.limits = $root.flyteidl.admin.TaskResourceSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -19909,63 +19932,51 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a NodeExecutionListRequest message. + * Verifies a TaskResourceAttributes message. * @function verify - * @memberof flyteidl.admin.NodeExecutionListRequest + * @memberof flyteidl.admin.TaskResourceAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionListRequest.verify = function verify(message) { + TaskResourceAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { - let error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); + if (message.defaults != null && message.hasOwnProperty("defaults")) { + let error = $root.flyteidl.admin.TaskResourceSpec.verify(message.defaults); if (error) - return "workflowExecutionId." + error; + return "defaults." + error; } - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - let error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (message.limits != null && message.hasOwnProperty("limits")) { + let error = $root.flyteidl.admin.TaskResourceSpec.verify(message.limits); if (error) - return "sortBy." + error; + return "limits." + error; } return null; }; - return NodeExecutionListRequest; + return TaskResourceAttributes; })(); - admin.NodeExecutionForTaskListRequest = (function() { + admin.ClusterResourceAttributes = (function() { /** - * Properties of a NodeExecutionForTaskListRequest. + * Properties of a ClusterResourceAttributes. * @memberof flyteidl.admin - * @interface INodeExecutionForTaskListRequest - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecutionId] NodeExecutionForTaskListRequest taskExecutionId - * @property {number|null} [limit] NodeExecutionForTaskListRequest limit - * @property {string|null} [token] NodeExecutionForTaskListRequest token - * @property {string|null} [filters] NodeExecutionForTaskListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] NodeExecutionForTaskListRequest sortBy + * @interface IClusterResourceAttributes + * @property {Object.|null} [attributes] ClusterResourceAttributes attributes */ /** - * Constructs a new NodeExecutionForTaskListRequest. + * Constructs a new ClusterResourceAttributes. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionForTaskListRequest. - * @implements INodeExecutionForTaskListRequest + * @classdesc Represents a ClusterResourceAttributes. + * @implements IClusterResourceAttributes * @constructor - * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set */ - function NodeExecutionForTaskListRequest(properties) { + function ClusterResourceAttributes(properties) { + this.attributes = {}; if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -19973,117 +19984,71 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * NodeExecutionForTaskListRequest taskExecutionId. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecutionId - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest - * @instance - */ - NodeExecutionForTaskListRequest.prototype.taskExecutionId = null; - - /** - * NodeExecutionForTaskListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest - * @instance - */ - NodeExecutionForTaskListRequest.prototype.limit = 0; - - /** - * NodeExecutionForTaskListRequest token. - * @member {string} token - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest - * @instance - */ - NodeExecutionForTaskListRequest.prototype.token = ""; - - /** - * NodeExecutionForTaskListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest - * @instance - */ - NodeExecutionForTaskListRequest.prototype.filters = ""; - - /** - * NodeExecutionForTaskListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * ClusterResourceAttributes attributes. + * @member {Object.} attributes + * @memberof flyteidl.admin.ClusterResourceAttributes * @instance */ - NodeExecutionForTaskListRequest.prototype.sortBy = null; + ClusterResourceAttributes.prototype.attributes = $util.emptyObject; /** - * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. + * Creates a new ClusterResourceAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.ClusterResourceAttributes * @static - * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest instance + * @param {flyteidl.admin.IClusterResourceAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes instance */ - NodeExecutionForTaskListRequest.create = function create(properties) { - return new NodeExecutionForTaskListRequest(properties); + ClusterResourceAttributes.create = function create(properties) { + return new ClusterResourceAttributes(properties); }; /** - * Encodes the specified NodeExecutionForTaskListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionForTaskListRequest.verify|verify} messages. + * Encodes the specified ClusterResourceAttributes message. Does not implicitly {@link flyteidl.admin.ClusterResourceAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.ClusterResourceAttributes * @static - * @param {flyteidl.admin.INodeExecutionForTaskListRequest} message NodeExecutionForTaskListRequest message or plain object to encode + * @param {flyteidl.admin.IClusterResourceAttributes} message ClusterResourceAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionForTaskListRequest.encode = function encode(message, writer) { + ClusterResourceAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.attributes != null && message.hasOwnProperty("attributes")) + for (let keys = Object.keys(message.attributes), i = 0; i < keys.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.attributes[keys[i]]).ldelim(); return writer; }; /** - * Decodes a NodeExecutionForTaskListRequest message from the specified reader or buffer. + * Decodes a ClusterResourceAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.ClusterResourceAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest + * @returns {flyteidl.admin.ClusterResourceAttributes} ClusterResourceAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionForTaskListRequest.decode = function decode(reader, length) { + ClusterResourceAttributes.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.NodeExecutionForTaskListRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ClusterResourceAttributes(), key; while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.taskExecutionId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + reader.skip().pos++; + if (message.attributes === $util.emptyObject) + message.attributes = {}; + key = reader.string(); + reader.pos++; + message.attributes[key] = reader.string(); break; - case 2: - message.limit = reader.uint32(); - break; - case 3: - message.token = reader.string(); - break; - case 4: - message.filters = reader.string(); - break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); + default: + reader.skipType(tag & 7); break; } } @@ -20091,61 +20056,49 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a NodeExecutionForTaskListRequest message. + * Verifies a ClusterResourceAttributes message. * @function verify - * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @memberof flyteidl.admin.ClusterResourceAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionForTaskListRequest.verify = function verify(message) { + ClusterResourceAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) { - let error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecutionId); - if (error) - return "taskExecutionId." + error; - } - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - let error = $root.flyteidl.admin.Sort.verify(message.sortBy); - if (error) - return "sortBy." + error; + if (message.attributes != null && message.hasOwnProperty("attributes")) { + if (!$util.isObject(message.attributes)) + return "attributes: object expected"; + let key = Object.keys(message.attributes); + for (let i = 0; i < key.length; ++i) + if (!$util.isString(message.attributes[key[i]])) + return "attributes: string{k:string} expected"; } return null; }; - return NodeExecutionForTaskListRequest; + return ClusterResourceAttributes; })(); - admin.NodeExecution = (function() { + admin.ExecutionQueueAttributes = (function() { /** - * Properties of a NodeExecution. + * Properties of an ExecutionQueueAttributes. * @memberof flyteidl.admin - * @interface INodeExecution - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecution id - * @property {string|null} [inputUri] NodeExecution inputUri - * @property {flyteidl.admin.INodeExecutionClosure|null} [closure] NodeExecution closure + * @interface IExecutionQueueAttributes + * @property {Array.|null} [tags] ExecutionQueueAttributes tags */ /** - * Constructs a new NodeExecution. + * Constructs a new ExecutionQueueAttributes. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecution. - * @implements INodeExecution + * @classdesc Represents an ExecutionQueueAttributes. + * @implements IExecutionQueueAttributes * @constructor - * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set + * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set */ - function NodeExecution(properties) { + function ExecutionQueueAttributes(properties) { + this.tags = []; if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20153,88 +20106,65 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * NodeExecution id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.NodeExecution - * @instance - */ - NodeExecution.prototype.id = null; - - /** - * NodeExecution inputUri. - * @member {string} inputUri - * @memberof flyteidl.admin.NodeExecution - * @instance - */ - NodeExecution.prototype.inputUri = ""; - - /** - * NodeExecution closure. - * @member {flyteidl.admin.INodeExecutionClosure|null|undefined} closure - * @memberof flyteidl.admin.NodeExecution + * ExecutionQueueAttributes tags. + * @member {Array.} tags + * @memberof flyteidl.admin.ExecutionQueueAttributes * @instance */ - NodeExecution.prototype.closure = null; + ExecutionQueueAttributes.prototype.tags = $util.emptyArray; /** - * Creates a new NodeExecution instance using the specified properties. + * Creates a new ExecutionQueueAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static - * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecution} NodeExecution instance + * @param {flyteidl.admin.IExecutionQueueAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes instance */ - NodeExecution.create = function create(properties) { - return new NodeExecution(properties); + ExecutionQueueAttributes.create = function create(properties) { + return new ExecutionQueueAttributes(properties); }; /** - * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.admin.NodeExecution.verify|verify} messages. + * Encodes the specified ExecutionQueueAttributes message. Does not implicitly {@link flyteidl.admin.ExecutionQueueAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static - * @param {flyteidl.admin.INodeExecution} message NodeExecution message or plain object to encode + * @param {flyteidl.admin.IExecutionQueueAttributes} message ExecutionQueueAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecution.encode = function encode(message, writer) { + ExecutionQueueAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputUri); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.NodeExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.tags != null && message.tags.length) + for (let i = 0; i < message.tags.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.tags[i]); return writer; }; /** - * Decodes a NodeExecution message from the specified reader or buffer. + * Decodes an ExecutionQueueAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecution} NodeExecution + * @returns {flyteidl.admin.ExecutionQueueAttributes} ExecutionQueueAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecution.decode = function decode(reader, length) { + ExecutionQueueAttributes.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.NodeExecution(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ExecutionQueueAttributes(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); - break; - case 2: - message.inputUri = reader.string(); - break; - case 3: - message.closure = $root.flyteidl.admin.NodeExecutionClosure.decode(reader, reader.uint32()); + if (!(message.tags && message.tags.length)) + message.tags = []; + message.tags.push(reader.string()); break; default: reader.skipType(tag & 7); @@ -20245,55 +20175,49 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a NodeExecution message. + * Verifies an ExecutionQueueAttributes message. * @function verify - * @memberof flyteidl.admin.NodeExecution + * @memberof flyteidl.admin.ExecutionQueueAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecution.verify = function verify(message) { + ExecutionQueueAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - let error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - if (!$util.isString(message.inputUri)) - return "inputUri: string expected"; - if (message.closure != null && message.hasOwnProperty("closure")) { - let error = $root.flyteidl.admin.NodeExecutionClosure.verify(message.closure); - if (error) - return "closure." + error; + if (message.tags != null && message.hasOwnProperty("tags")) { + if (!Array.isArray(message.tags)) + return "tags: array expected"; + for (let i = 0; i < message.tags.length; ++i) + if (!$util.isString(message.tags[i])) + return "tags: string[] expected"; } return null; }; - return NodeExecution; + return ExecutionQueueAttributes; })(); - admin.NodeExecutionList = (function() { + admin.MatchingAttributes = (function() { /** - * Properties of a NodeExecutionList. + * Properties of a MatchingAttributes. * @memberof flyteidl.admin - * @interface INodeExecutionList - * @property {Array.|null} [nodeExecutions] NodeExecutionList nodeExecutions - * @property {string|null} [token] NodeExecutionList token + * @interface IMatchingAttributes + * @property {flyteidl.admin.ITaskResourceAttributes|null} [taskResourceAttributes] MatchingAttributes taskResourceAttributes + * @property {flyteidl.admin.IClusterResourceAttributes|null} [clusterResourceAttributes] MatchingAttributes clusterResourceAttributes + * @property {flyteidl.admin.IExecutionQueueAttributes|null} [executionQueueAttributes] MatchingAttributes executionQueueAttributes */ /** - * Constructs a new NodeExecutionList. + * Constructs a new MatchingAttributes. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionList. - * @implements INodeExecutionList + * @classdesc Represents a MatchingAttributes. + * @implements IMatchingAttributes * @constructor - * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set + * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set */ - function NodeExecutionList(properties) { - this.nodeExecutions = []; + function MatchingAttributes(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20301,78 +20225,102 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * NodeExecutionList nodeExecutions. - * @member {Array.} nodeExecutions - * @memberof flyteidl.admin.NodeExecutionList + * MatchingAttributes taskResourceAttributes. + * @member {flyteidl.admin.ITaskResourceAttributes|null|undefined} taskResourceAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - NodeExecutionList.prototype.nodeExecutions = $util.emptyArray; + MatchingAttributes.prototype.taskResourceAttributes = null; /** - * NodeExecutionList token. - * @member {string} token - * @memberof flyteidl.admin.NodeExecutionList + * MatchingAttributes clusterResourceAttributes. + * @member {flyteidl.admin.IClusterResourceAttributes|null|undefined} clusterResourceAttributes + * @memberof flyteidl.admin.MatchingAttributes * @instance */ - NodeExecutionList.prototype.token = ""; + MatchingAttributes.prototype.clusterResourceAttributes = null; /** - * Creates a new NodeExecutionList instance using the specified properties. + * MatchingAttributes executionQueueAttributes. + * @member {flyteidl.admin.IExecutionQueueAttributes|null|undefined} executionQueueAttributes + * @memberof flyteidl.admin.MatchingAttributes + * @instance + */ + MatchingAttributes.prototype.executionQueueAttributes = null; + + // OneOf field names bound to virtual getters and setters + let $oneOfFields; + + /** + * MatchingAttributes target. + * @member {"taskResourceAttributes"|"clusterResourceAttributes"|"executionQueueAttributes"|undefined} target + * @memberof flyteidl.admin.MatchingAttributes + * @instance + */ + Object.defineProperty(MatchingAttributes.prototype, "target", { + get: $util.oneOfGetter($oneOfFields = ["taskResourceAttributes", "clusterResourceAttributes", "executionQueueAttributes"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new MatchingAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionList + * @memberof flyteidl.admin.MatchingAttributes * @static - * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList instance + * @param {flyteidl.admin.IMatchingAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes instance */ - NodeExecutionList.create = function create(properties) { - return new NodeExecutionList(properties); + MatchingAttributes.create = function create(properties) { + return new MatchingAttributes(properties); }; /** - * Encodes the specified NodeExecutionList message. Does not implicitly {@link flyteidl.admin.NodeExecutionList.verify|verify} messages. + * Encodes the specified MatchingAttributes message. Does not implicitly {@link flyteidl.admin.MatchingAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionList + * @memberof flyteidl.admin.MatchingAttributes * @static - * @param {flyteidl.admin.INodeExecutionList} message NodeExecutionList message or plain object to encode + * @param {flyteidl.admin.IMatchingAttributes} message MatchingAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionList.encode = function encode(message, writer) { + MatchingAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.nodeExecutions != null && message.nodeExecutions.length) - for (let i = 0; i < message.nodeExecutions.length; ++i) - $root.flyteidl.admin.NodeExecution.encode(message.nodeExecutions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.taskResourceAttributes != null && message.hasOwnProperty("taskResourceAttributes")) + $root.flyteidl.admin.TaskResourceAttributes.encode(message.taskResourceAttributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.clusterResourceAttributes != null && message.hasOwnProperty("clusterResourceAttributes")) + $root.flyteidl.admin.ClusterResourceAttributes.encode(message.clusterResourceAttributes, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.executionQueueAttributes != null && message.hasOwnProperty("executionQueueAttributes")) + $root.flyteidl.admin.ExecutionQueueAttributes.encode(message.executionQueueAttributes, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionList message from the specified reader or buffer. + * Decodes a MatchingAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionList + * @memberof flyteidl.admin.MatchingAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList + * @returns {flyteidl.admin.MatchingAttributes} MatchingAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionList.decode = function decode(reader, length) { + MatchingAttributes.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.NodeExecutionList(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.MatchingAttributes(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.nodeExecutions && message.nodeExecutions.length)) - message.nodeExecutions = []; - message.nodeExecutions.push($root.flyteidl.admin.NodeExecution.decode(reader, reader.uint32())); + message.taskResourceAttributes = $root.flyteidl.admin.TaskResourceAttributes.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.clusterResourceAttributes = $root.flyteidl.admin.ClusterResourceAttributes.decode(reader, reader.uint32()); + break; + case 3: + message.executionQueueAttributes = $root.flyteidl.admin.ExecutionQueueAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -20383,59 +20331,69 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a NodeExecutionList message. + * Verifies a MatchingAttributes message. * @function verify - * @memberof flyteidl.admin.NodeExecutionList + * @memberof flyteidl.admin.MatchingAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionList.verify = function verify(message) { + MatchingAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.nodeExecutions != null && message.hasOwnProperty("nodeExecutions")) { - if (!Array.isArray(message.nodeExecutions)) - return "nodeExecutions: array expected"; - for (let i = 0; i < message.nodeExecutions.length; ++i) { - let error = $root.flyteidl.admin.NodeExecution.verify(message.nodeExecutions[i]); + let properties = {}; + if (message.taskResourceAttributes != null && message.hasOwnProperty("taskResourceAttributes")) { + properties.target = 1; + { + let error = $root.flyteidl.admin.TaskResourceAttributes.verify(message.taskResourceAttributes); if (error) - return "nodeExecutions." + error; + return "taskResourceAttributes." + error; + } + } + if (message.clusterResourceAttributes != null && message.hasOwnProperty("clusterResourceAttributes")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + let error = $root.flyteidl.admin.ClusterResourceAttributes.verify(message.clusterResourceAttributes); + if (error) + return "clusterResourceAttributes." + error; + } + } + if (message.executionQueueAttributes != null && message.hasOwnProperty("executionQueueAttributes")) { + if (properties.target === 1) + return "target: multiple values"; + properties.target = 1; + { + let error = $root.flyteidl.admin.ExecutionQueueAttributes.verify(message.executionQueueAttributes); + if (error) + return "executionQueueAttributes." + error; } } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return NodeExecutionList; + return MatchingAttributes; })(); - admin.NodeExecutionClosure = (function() { + admin.NodeExecutionGetRequest = (function() { /** - * Properties of a NodeExecutionClosure. + * Properties of a NodeExecutionGetRequest. * @memberof flyteidl.admin - * @interface INodeExecutionClosure - * @property {string|null} [outputUri] NodeExecutionClosure outputUri - * @property {flyteidl.core.IExecutionError|null} [error] NodeExecutionClosure error - * @property {flyteidl.core.NodeExecution.Phase|null} [phase] NodeExecutionClosure phase - * @property {google.protobuf.ITimestamp|null} [startedAt] NodeExecutionClosure startedAt - * @property {google.protobuf.IDuration|null} [duration] NodeExecutionClosure duration - * @property {google.protobuf.ITimestamp|null} [createdAt] NodeExecutionClosure createdAt - * @property {google.protobuf.ITimestamp|null} [updatedAt] NodeExecutionClosure updatedAt - * @property {flyteidl.admin.IWorkflowNodeMetadata|null} [workflowNodeMetadata] NodeExecutionClosure workflowNodeMetadata + * @interface INodeExecutionGetRequest + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetRequest id */ /** - * Constructs a new NodeExecutionClosure. + * Constructs a new NodeExecutionGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionClosure. - * @implements INodeExecutionClosure + * @classdesc Represents a NodeExecutionGetRequest. + * @implements INodeExecutionGetRequest * @constructor - * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set + * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set */ - function NodeExecutionClosure(properties) { + function NodeExecutionGetRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20443,178 +20401,1809 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * NodeExecutionClosure outputUri. - * @member {string} outputUri - * @memberof flyteidl.admin.NodeExecutionClosure + * NodeExecutionGetRequest id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.NodeExecutionGetRequest * @instance */ - NodeExecutionClosure.prototype.outputUri = ""; + NodeExecutionGetRequest.prototype.id = null; /** - * NodeExecutionClosure error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance + * Creates a new NodeExecutionGetRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.NodeExecutionGetRequest + * @static + * @param {flyteidl.admin.INodeExecutionGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest instance */ - NodeExecutionClosure.prototype.error = null; + NodeExecutionGetRequest.create = function create(properties) { + return new NodeExecutionGetRequest(properties); + }; /** - * NodeExecutionClosure phase. - * @member {flyteidl.core.NodeExecution.Phase} phase - * @memberof flyteidl.admin.NodeExecutionClosure - * @instance - */ - NodeExecutionClosure.prototype.phase = 0; + * Encodes the specified NodeExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.NodeExecutionGetRequest + * @static + * @param {flyteidl.admin.INodeExecutionGetRequest} message NodeExecutionGetRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NodeExecutionGetRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; /** - * NodeExecutionClosure startedAt. - * @member {google.protobuf.ITimestamp|null|undefined} startedAt - * @memberof flyteidl.admin.NodeExecutionClosure + * Decodes a NodeExecutionGetRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.NodeExecutionGetRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.NodeExecutionGetRequest} NodeExecutionGetRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NodeExecutionGetRequest.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.NodeExecutionGetRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a NodeExecutionGetRequest message. + * @function verify + * @memberof flyteidl.admin.NodeExecutionGetRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NodeExecutionGetRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + let error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } + return null; + }; + + return NodeExecutionGetRequest; + })(); + + admin.NodeExecutionListRequest = (function() { + + /** + * Properties of a NodeExecutionListRequest. + * @memberof flyteidl.admin + * @interface INodeExecutionListRequest + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [workflowExecutionId] NodeExecutionListRequest workflowExecutionId + * @property {number|null} [limit] NodeExecutionListRequest limit + * @property {string|null} [token] NodeExecutionListRequest token + * @property {string|null} [filters] NodeExecutionListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] NodeExecutionListRequest sortBy + */ + + /** + * Constructs a new NodeExecutionListRequest. + * @memberof flyteidl.admin + * @classdesc Represents a NodeExecutionListRequest. + * @implements INodeExecutionListRequest + * @constructor + * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set + */ + function NodeExecutionListRequest(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]]; + } + + /** + * NodeExecutionListRequest workflowExecutionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} workflowExecutionId + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - NodeExecutionClosure.prototype.startedAt = null; + NodeExecutionListRequest.prototype.workflowExecutionId = null; /** - * NodeExecutionClosure duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.admin.NodeExecutionClosure + * NodeExecutionListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - NodeExecutionClosure.prototype.duration = null; + NodeExecutionListRequest.prototype.limit = 0; /** - * NodeExecutionClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.NodeExecutionClosure + * NodeExecutionListRequest token. + * @member {string} token + * @memberof flyteidl.admin.NodeExecutionListRequest + * @instance + */ + NodeExecutionListRequest.prototype.token = ""; + + /** + * NodeExecutionListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.NodeExecutionListRequest + * @instance + */ + NodeExecutionListRequest.prototype.filters = ""; + + /** + * NodeExecutionListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.NodeExecutionListRequest * @instance */ - NodeExecutionClosure.prototype.createdAt = null; + NodeExecutionListRequest.prototype.sortBy = null; + + /** + * Creates a new NodeExecutionListRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.NodeExecutionListRequest + * @static + * @param {flyteidl.admin.INodeExecutionListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest instance + */ + NodeExecutionListRequest.create = function create(properties) { + return new NodeExecutionListRequest(properties); + }; + + /** + * Encodes the specified NodeExecutionListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionListRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.NodeExecutionListRequest + * @static + * @param {flyteidl.admin.INodeExecutionListRequest} message NodeExecutionListRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NodeExecutionListRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.workflowExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a NodeExecutionListRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.NodeExecutionListRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.NodeExecutionListRequest} NodeExecutionListRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NodeExecutionListRequest.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.NodeExecutionListRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.workflowExecutionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.limit = reader.uint32(); + break; + case 3: + message.token = reader.string(); + break; + case 4: + message.filters = reader.string(); + break; + case 5: + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a NodeExecutionListRequest message. + * @function verify + * @memberof flyteidl.admin.NodeExecutionListRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NodeExecutionListRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.workflowExecutionId != null && message.hasOwnProperty("workflowExecutionId")) { + let error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.workflowExecutionId); + if (error) + return "workflowExecutionId." + error; + } + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + let error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (error) + return "sortBy." + error; + } + return null; + }; + + return NodeExecutionListRequest; + })(); + + admin.NodeExecutionForTaskListRequest = (function() { + + /** + * Properties of a NodeExecutionForTaskListRequest. + * @memberof flyteidl.admin + * @interface INodeExecutionForTaskListRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [taskExecutionId] NodeExecutionForTaskListRequest taskExecutionId + * @property {number|null} [limit] NodeExecutionForTaskListRequest limit + * @property {string|null} [token] NodeExecutionForTaskListRequest token + * @property {string|null} [filters] NodeExecutionForTaskListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] NodeExecutionForTaskListRequest sortBy + */ + + /** + * Constructs a new NodeExecutionForTaskListRequest. + * @memberof flyteidl.admin + * @classdesc Represents a NodeExecutionForTaskListRequest. + * @implements INodeExecutionForTaskListRequest + * @constructor + * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set + */ + function NodeExecutionForTaskListRequest(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]]; + } + + /** + * NodeExecutionForTaskListRequest taskExecutionId. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} taskExecutionId + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @instance + */ + NodeExecutionForTaskListRequest.prototype.taskExecutionId = null; + + /** + * NodeExecutionForTaskListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @instance + */ + NodeExecutionForTaskListRequest.prototype.limit = 0; + + /** + * NodeExecutionForTaskListRequest token. + * @member {string} token + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @instance + */ + NodeExecutionForTaskListRequest.prototype.token = ""; + + /** + * NodeExecutionForTaskListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @instance + */ + NodeExecutionForTaskListRequest.prototype.filters = ""; + + /** + * NodeExecutionForTaskListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @instance + */ + NodeExecutionForTaskListRequest.prototype.sortBy = null; + + /** + * Creates a new NodeExecutionForTaskListRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @static + * @param {flyteidl.admin.INodeExecutionForTaskListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest instance + */ + NodeExecutionForTaskListRequest.create = function create(properties) { + return new NodeExecutionForTaskListRequest(properties); + }; + + /** + * Encodes the specified NodeExecutionForTaskListRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionForTaskListRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @static + * @param {flyteidl.admin.INodeExecutionForTaskListRequest} message NodeExecutionForTaskListRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NodeExecutionForTaskListRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.taskExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a NodeExecutionForTaskListRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.NodeExecutionForTaskListRequest} NodeExecutionForTaskListRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NodeExecutionForTaskListRequest.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.NodeExecutionForTaskListRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.taskExecutionId = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.limit = reader.uint32(); + break; + case 3: + message.token = reader.string(); + break; + case 4: + message.filters = reader.string(); + break; + case 5: + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a NodeExecutionForTaskListRequest message. + * @function verify + * @memberof flyteidl.admin.NodeExecutionForTaskListRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NodeExecutionForTaskListRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.taskExecutionId != null && message.hasOwnProperty("taskExecutionId")) { + let error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.taskExecutionId); + if (error) + return "taskExecutionId." + error; + } + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + let error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (error) + return "sortBy." + error; + } + return null; + }; + + return NodeExecutionForTaskListRequest; + })(); + + admin.NodeExecution = (function() { + + /** + * Properties of a NodeExecution. + * @memberof flyteidl.admin + * @interface INodeExecution + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecution id + * @property {string|null} [inputUri] NodeExecution inputUri + * @property {flyteidl.admin.INodeExecutionClosure|null} [closure] NodeExecution closure + */ + + /** + * Constructs a new NodeExecution. + * @memberof flyteidl.admin + * @classdesc Represents a NodeExecution. + * @implements INodeExecution + * @constructor + * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set + */ + function NodeExecution(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]]; + } + + /** + * NodeExecution id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.NodeExecution + * @instance + */ + NodeExecution.prototype.id = null; + + /** + * NodeExecution inputUri. + * @member {string} inputUri + * @memberof flyteidl.admin.NodeExecution + * @instance + */ + NodeExecution.prototype.inputUri = ""; + + /** + * NodeExecution closure. + * @member {flyteidl.admin.INodeExecutionClosure|null|undefined} closure + * @memberof flyteidl.admin.NodeExecution + * @instance + */ + NodeExecution.prototype.closure = null; + + /** + * Creates a new NodeExecution instance using the specified properties. + * @function create + * @memberof flyteidl.admin.NodeExecution + * @static + * @param {flyteidl.admin.INodeExecution=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecution} NodeExecution instance + */ + NodeExecution.create = function create(properties) { + return new NodeExecution(properties); + }; + + /** + * Encodes the specified NodeExecution message. Does not implicitly {@link flyteidl.admin.NodeExecution.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.NodeExecution + * @static + * @param {flyteidl.admin.INodeExecution} message NodeExecution message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NodeExecution.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputUri); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.NodeExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a NodeExecution message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.NodeExecution + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.NodeExecution} NodeExecution + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NodeExecution.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.NodeExecution(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.inputUri = reader.string(); + break; + case 3: + message.closure = $root.flyteidl.admin.NodeExecutionClosure.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a NodeExecution message. + * @function verify + * @memberof flyteidl.admin.NodeExecution + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NodeExecution.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + let error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + if (!$util.isString(message.inputUri)) + return "inputUri: string expected"; + if (message.closure != null && message.hasOwnProperty("closure")) { + let error = $root.flyteidl.admin.NodeExecutionClosure.verify(message.closure); + if (error) + return "closure." + error; + } + return null; + }; + + return NodeExecution; + })(); + + admin.NodeExecutionList = (function() { + + /** + * Properties of a NodeExecutionList. + * @memberof flyteidl.admin + * @interface INodeExecutionList + * @property {Array.|null} [nodeExecutions] NodeExecutionList nodeExecutions + * @property {string|null} [token] NodeExecutionList token + */ + + /** + * Constructs a new NodeExecutionList. + * @memberof flyteidl.admin + * @classdesc Represents a NodeExecutionList. + * @implements INodeExecutionList + * @constructor + * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set + */ + function NodeExecutionList(properties) { + this.nodeExecutions = []; + 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]]; + } + + /** + * NodeExecutionList nodeExecutions. + * @member {Array.} nodeExecutions + * @memberof flyteidl.admin.NodeExecutionList + * @instance + */ + NodeExecutionList.prototype.nodeExecutions = $util.emptyArray; + + /** + * NodeExecutionList token. + * @member {string} token + * @memberof flyteidl.admin.NodeExecutionList + * @instance + */ + NodeExecutionList.prototype.token = ""; + + /** + * Creates a new NodeExecutionList instance using the specified properties. + * @function create + * @memberof flyteidl.admin.NodeExecutionList + * @static + * @param {flyteidl.admin.INodeExecutionList=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList instance + */ + NodeExecutionList.create = function create(properties) { + return new NodeExecutionList(properties); + }; + + /** + * Encodes the specified NodeExecutionList message. Does not implicitly {@link flyteidl.admin.NodeExecutionList.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.NodeExecutionList + * @static + * @param {flyteidl.admin.INodeExecutionList} message NodeExecutionList message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NodeExecutionList.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.nodeExecutions != null && message.nodeExecutions.length) + for (let i = 0; i < message.nodeExecutions.length; ++i) + $root.flyteidl.admin.NodeExecution.encode(message.nodeExecutions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + return writer; + }; + + /** + * Decodes a NodeExecutionList message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.NodeExecutionList + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.NodeExecutionList} NodeExecutionList + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NodeExecutionList.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.NodeExecutionList(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.nodeExecutions && message.nodeExecutions.length)) + message.nodeExecutions = []; + message.nodeExecutions.push($root.flyteidl.admin.NodeExecution.decode(reader, reader.uint32())); + break; + case 2: + message.token = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a NodeExecutionList message. + * @function verify + * @memberof flyteidl.admin.NodeExecutionList + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NodeExecutionList.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.nodeExecutions != null && message.hasOwnProperty("nodeExecutions")) { + if (!Array.isArray(message.nodeExecutions)) + return "nodeExecutions: array expected"; + for (let i = 0; i < message.nodeExecutions.length; ++i) { + let error = $root.flyteidl.admin.NodeExecution.verify(message.nodeExecutions[i]); + if (error) + return "nodeExecutions." + error; + } + } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + return null; + }; + + return NodeExecutionList; + })(); + + admin.NodeExecutionClosure = (function() { + + /** + * Properties of a NodeExecutionClosure. + * @memberof flyteidl.admin + * @interface INodeExecutionClosure + * @property {string|null} [outputUri] NodeExecutionClosure outputUri + * @property {flyteidl.core.IExecutionError|null} [error] NodeExecutionClosure error + * @property {flyteidl.core.NodeExecution.Phase|null} [phase] NodeExecutionClosure phase + * @property {google.protobuf.ITimestamp|null} [startedAt] NodeExecutionClosure startedAt + * @property {google.protobuf.IDuration|null} [duration] NodeExecutionClosure duration + * @property {google.protobuf.ITimestamp|null} [createdAt] NodeExecutionClosure createdAt + * @property {google.protobuf.ITimestamp|null} [updatedAt] NodeExecutionClosure updatedAt + * @property {flyteidl.admin.IWorkflowNodeMetadata|null} [workflowNodeMetadata] NodeExecutionClosure workflowNodeMetadata + */ + + /** + * Constructs a new NodeExecutionClosure. + * @memberof flyteidl.admin + * @classdesc Represents a NodeExecutionClosure. + * @implements INodeExecutionClosure + * @constructor + * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set + */ + function NodeExecutionClosure(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]]; + } + + /** + * NodeExecutionClosure outputUri. + * @member {string} outputUri + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.outputUri = ""; + + /** + * NodeExecutionClosure error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.error = null; + + /** + * NodeExecutionClosure phase. + * @member {flyteidl.core.NodeExecution.Phase} phase + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.phase = 0; + + /** + * NodeExecutionClosure startedAt. + * @member {google.protobuf.ITimestamp|null|undefined} startedAt + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.startedAt = null; + + /** + * NodeExecutionClosure duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.duration = null; + + /** + * NodeExecutionClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.createdAt = null; + + /** + * NodeExecutionClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.updatedAt = null; + + /** + * NodeExecutionClosure workflowNodeMetadata. + * @member {flyteidl.admin.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + NodeExecutionClosure.prototype.workflowNodeMetadata = null; + + // OneOf field names bound to virtual getters and setters + let $oneOfFields; + + /** + * NodeExecutionClosure outputResult. + * @member {"outputUri"|"error"|undefined} outputResult + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + Object.defineProperty(NodeExecutionClosure.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputUri", "error"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * NodeExecutionClosure targetMetadata. + * @member {"workflowNodeMetadata"|undefined} targetMetadata + * @memberof flyteidl.admin.NodeExecutionClosure + * @instance + */ + Object.defineProperty(NodeExecutionClosure.prototype, "targetMetadata", { + get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new NodeExecutionClosure instance using the specified properties. + * @function create + * @memberof flyteidl.admin.NodeExecutionClosure + * @static + * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure instance + */ + NodeExecutionClosure.create = function create(properties) { + return new NodeExecutionClosure(properties); + }; + + /** + * Encodes the specified NodeExecutionClosure message. Does not implicitly {@link flyteidl.admin.NodeExecutionClosure.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.NodeExecutionClosure + * @static + * @param {flyteidl.admin.INodeExecutionClosure} message NodeExecutionClosure message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NodeExecutionClosure.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.outputUri != null && message.hasOwnProperty("outputUri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputUri); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.phase != null && message.hasOwnProperty("phase")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); + if (message.startedAt != null && message.hasOwnProperty("startedAt")) + $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.duration != null && message.hasOwnProperty("duration")) + $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) + $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) + $root.flyteidl.admin.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a NodeExecutionClosure message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.NodeExecutionClosure + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NodeExecutionClosure.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.NodeExecutionClosure(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.outputUri = reader.string(); + break; + case 2: + message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); + break; + case 3: + message.phase = reader.int32(); + break; + case 4: + message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 5: + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + case 6: + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 7: + message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 8: + message.workflowNodeMetadata = $root.flyteidl.admin.WorkflowNodeMetadata.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a NodeExecutionClosure message. + * @function verify + * @memberof flyteidl.admin.NodeExecutionClosure + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NodeExecutionClosure.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + let properties = {}; + if (message.outputUri != null && message.hasOwnProperty("outputUri")) { + properties.outputResult = 1; + if (!$util.isString(message.outputUri)) + return "outputUri: string expected"; + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + let error = $root.flyteidl.core.ExecutionError.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { + default: + return "phase: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + break; + } + if (message.startedAt != null && message.hasOwnProperty("startedAt")) { + let error = $root.google.protobuf.Timestamp.verify(message.startedAt); + if (error) + return "startedAt." + error; + } + if (message.duration != null && message.hasOwnProperty("duration")) { + let error = $root.google.protobuf.Duration.verify(message.duration); + if (error) + return "duration." + error; + } + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + let error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (error) + return "createdAt." + error; + } + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { + let error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (error) + return "updatedAt." + error; + } + if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) { + properties.targetMetadata = 1; + { + let error = $root.flyteidl.admin.WorkflowNodeMetadata.verify(message.workflowNodeMetadata); + if (error) + return "workflowNodeMetadata." + error; + } + } + return null; + }; + + return NodeExecutionClosure; + })(); + + admin.WorkflowNodeMetadata = (function() { + + /** + * Properties of a WorkflowNodeMetadata. + * @memberof flyteidl.admin + * @interface IWorkflowNodeMetadata + * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId + */ + + /** + * Constructs a new WorkflowNodeMetadata. + * @memberof flyteidl.admin + * @classdesc Represents a WorkflowNodeMetadata. + * @implements IWorkflowNodeMetadata + * @constructor + * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set + */ + function WorkflowNodeMetadata(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]]; + } + + /** + * WorkflowNodeMetadata executionId. + * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId + * @memberof flyteidl.admin.WorkflowNodeMetadata + * @instance + */ + WorkflowNodeMetadata.prototype.executionId = null; + + /** + * Creates a new WorkflowNodeMetadata instance using the specified properties. + * @function create + * @memberof flyteidl.admin.WorkflowNodeMetadata + * @static + * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata instance + */ + WorkflowNodeMetadata.create = function create(properties) { + return new WorkflowNodeMetadata(properties); + }; + + /** + * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.WorkflowNodeMetadata.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.WorkflowNodeMetadata + * @static + * @param {flyteidl.admin.IWorkflowNodeMetadata} message WorkflowNodeMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + WorkflowNodeMetadata.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.executionId != null && message.hasOwnProperty("executionId")) + $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.WorkflowNodeMetadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + WorkflowNodeMetadata.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.WorkflowNodeMetadata(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a WorkflowNodeMetadata message. + * @function verify + * @memberof flyteidl.admin.WorkflowNodeMetadata + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + WorkflowNodeMetadata.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.executionId != null && message.hasOwnProperty("executionId")) { + let error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); + if (error) + return "executionId." + error; + } + return null; + }; + + return WorkflowNodeMetadata; + })(); + + admin.NodeExecutionGetDataRequest = (function() { + + /** + * Properties of a NodeExecutionGetDataRequest. + * @memberof flyteidl.admin + * @interface INodeExecutionGetDataRequest + * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetDataRequest id + */ + + /** + * Constructs a new NodeExecutionGetDataRequest. + * @memberof flyteidl.admin + * @classdesc Represents a NodeExecutionGetDataRequest. + * @implements INodeExecutionGetDataRequest + * @constructor + * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set + */ + function NodeExecutionGetDataRequest(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]]; + } + + /** + * NodeExecutionGetDataRequest id. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @instance + */ + NodeExecutionGetDataRequest.prototype.id = null; + + /** + * Creates a new NodeExecutionGetDataRequest instance using the specified properties. + * @function create + * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @static + * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest instance + */ + NodeExecutionGetDataRequest.create = function create(properties) { + return new NodeExecutionGetDataRequest(properties); + }; + + /** + * Encodes the specified NodeExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataRequest.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @static + * @param {flyteidl.admin.INodeExecutionGetDataRequest} message NodeExecutionGetDataRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NodeExecutionGetDataRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a NodeExecutionGetDataRequest message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NodeExecutionGetDataRequest.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.NodeExecutionGetDataRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a NodeExecutionGetDataRequest message. + * @function verify + * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NodeExecutionGetDataRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + let error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; + } + return null; + }; + + return NodeExecutionGetDataRequest; + })(); + + admin.NodeExecutionGetDataResponse = (function() { + + /** + * Properties of a NodeExecutionGetDataResponse. + * @memberof flyteidl.admin + * @interface INodeExecutionGetDataResponse + * @property {flyteidl.admin.IUrlBlob|null} [inputs] NodeExecutionGetDataResponse inputs + * @property {flyteidl.admin.IUrlBlob|null} [outputs] NodeExecutionGetDataResponse outputs + */ + + /** + * Constructs a new NodeExecutionGetDataResponse. + * @memberof flyteidl.admin + * @classdesc Represents a NodeExecutionGetDataResponse. + * @implements INodeExecutionGetDataResponse + * @constructor + * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set + */ + function NodeExecutionGetDataResponse(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]]; + } + + /** + * NodeExecutionGetDataResponse inputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs + * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @instance + */ + NodeExecutionGetDataResponse.prototype.inputs = null; + + /** + * NodeExecutionGetDataResponse outputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs + * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @instance + */ + NodeExecutionGetDataResponse.prototype.outputs = null; + + /** + * Creates a new NodeExecutionGetDataResponse instance using the specified properties. + * @function create + * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @static + * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse instance + */ + NodeExecutionGetDataResponse.create = function create(properties) { + return new NodeExecutionGetDataResponse(properties); + }; + + /** + * Encodes the specified NodeExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataResponse.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @static + * @param {flyteidl.admin.INodeExecutionGetDataResponse} message NodeExecutionGetDataResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NodeExecutionGetDataResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.outputs != null && message.hasOwnProperty("outputs")) + $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Decodes a NodeExecutionGetDataResponse message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NodeExecutionGetDataResponse.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.NodeExecutionGetDataResponse(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + break; + case 2: + message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a NodeExecutionGetDataResponse message. + * @function verify + * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NodeExecutionGetDataResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.inputs != null && message.hasOwnProperty("inputs")) { + let error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); + if (error) + return "inputs." + error; + } + if (message.outputs != null && message.hasOwnProperty("outputs")) { + let error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); + if (error) + return "outputs." + error; + } + return null; + }; + + return NodeExecutionGetDataResponse; + })(); + + admin.EmailMessage = (function() { + + /** + * Properties of an EmailMessage. + * @memberof flyteidl.admin + * @interface IEmailMessage + * @property {Array.|null} [recipientsEmail] EmailMessage recipientsEmail + * @property {string|null} [senderEmail] EmailMessage senderEmail + * @property {string|null} [subjectLine] EmailMessage subjectLine + * @property {string|null} [body] EmailMessage body + */ + + /** + * Constructs a new EmailMessage. + * @memberof flyteidl.admin + * @classdesc Represents an EmailMessage. + * @implements IEmailMessage + * @constructor + * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set + */ + function EmailMessage(properties) { + this.recipientsEmail = []; + 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]]; + } + + /** + * EmailMessage recipientsEmail. + * @member {Array.} recipientsEmail + * @memberof flyteidl.admin.EmailMessage + * @instance + */ + EmailMessage.prototype.recipientsEmail = $util.emptyArray; + + /** + * EmailMessage senderEmail. + * @member {string} senderEmail + * @memberof flyteidl.admin.EmailMessage + * @instance + */ + EmailMessage.prototype.senderEmail = ""; + + /** + * EmailMessage subjectLine. + * @member {string} subjectLine + * @memberof flyteidl.admin.EmailMessage + * @instance + */ + EmailMessage.prototype.subjectLine = ""; + + /** + * EmailMessage body. + * @member {string} body + * @memberof flyteidl.admin.EmailMessage + * @instance + */ + EmailMessage.prototype.body = ""; + + /** + * Creates a new EmailMessage instance using the specified properties. + * @function create + * @memberof flyteidl.admin.EmailMessage + * @static + * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set + * @returns {flyteidl.admin.EmailMessage} EmailMessage instance + */ + EmailMessage.create = function create(properties) { + return new EmailMessage(properties); + }; + + /** + * Encodes the specified EmailMessage message. Does not implicitly {@link flyteidl.admin.EmailMessage.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.EmailMessage + * @static + * @param {flyteidl.admin.IEmailMessage} message EmailMessage message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EmailMessage.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.recipientsEmail != null && message.recipientsEmail.length) + for (let i = 0; i < message.recipientsEmail.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); + if (message.senderEmail != null && message.hasOwnProperty("senderEmail")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.senderEmail); + if (message.subjectLine != null && message.hasOwnProperty("subjectLine")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.subjectLine); + if (message.body != null && message.hasOwnProperty("body")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.body); + return writer; + }; + + /** + * Decodes an EmailMessage message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.EmailMessage + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.EmailMessage} EmailMessage + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EmailMessage.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.EmailMessage(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + if (!(message.recipientsEmail && message.recipientsEmail.length)) + message.recipientsEmail = []; + message.recipientsEmail.push(reader.string()); + break; + case 2: + message.senderEmail = reader.string(); + break; + case 3: + message.subjectLine = reader.string(); + break; + case 4: + message.body = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies an EmailMessage message. + * @function verify + * @memberof flyteidl.admin.EmailMessage + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EmailMessage.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { + if (!Array.isArray(message.recipientsEmail)) + return "recipientsEmail: array expected"; + for (let i = 0; i < message.recipientsEmail.length; ++i) + if (!$util.isString(message.recipientsEmail[i])) + return "recipientsEmail: string[] expected"; + } + if (message.senderEmail != null && message.hasOwnProperty("senderEmail")) + if (!$util.isString(message.senderEmail)) + return "senderEmail: string expected"; + if (message.subjectLine != null && message.hasOwnProperty("subjectLine")) + if (!$util.isString(message.subjectLine)) + return "subjectLine: string expected"; + if (message.body != null && message.hasOwnProperty("body")) + if (!$util.isString(message.body)) + return "body: string expected"; + return null; + }; + + return EmailMessage; + })(); + + admin.Domain = (function() { + + /** + * Properties of a Domain. + * @memberof flyteidl.admin + * @interface IDomain + * @property {string|null} [id] Domain id + * @property {string|null} [name] Domain name + */ + + /** + * Constructs a new Domain. + * @memberof flyteidl.admin + * @classdesc Represents a Domain. + * @implements IDomain + * @constructor + * @param {flyteidl.admin.IDomain=} [properties] Properties to set + */ + function Domain(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]]; + } + + /** + * Domain id. + * @member {string} id + * @memberof flyteidl.admin.Domain + * @instance + */ + Domain.prototype.id = ""; + + /** + * Domain name. + * @member {string} name + * @memberof flyteidl.admin.Domain + * @instance + */ + Domain.prototype.name = ""; + + /** + * Creates a new Domain instance using the specified properties. + * @function create + * @memberof flyteidl.admin.Domain + * @static + * @param {flyteidl.admin.IDomain=} [properties] Properties to set + * @returns {flyteidl.admin.Domain} Domain instance + */ + Domain.create = function create(properties) { + return new Domain(properties); + }; + + /** + * Encodes the specified Domain message. Does not implicitly {@link flyteidl.admin.Domain.verify|verify} messages. + * @function encode + * @memberof flyteidl.admin.Domain + * @static + * @param {flyteidl.admin.IDomain} message Domain message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Domain.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + return writer; + }; + + /** + * Decodes a Domain message from the specified reader or buffer. + * @function decode + * @memberof flyteidl.admin.Domain + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {flyteidl.admin.Domain} Domain + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Domain.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.Domain(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.id = reader.string(); + break; + case 2: + message.name = reader.string(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Verifies a Domain message. + * @function verify + * @memberof flyteidl.admin.Domain + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Domain.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + return null; + }; + + return Domain; + })(); + + admin.Project = (function() { + + /** + * Properties of a Project. + * @memberof flyteidl.admin + * @interface IProject + * @property {string|null} [id] Project id + * @property {string|null} [name] Project name + * @property {Array.|null} [domains] Project domains + * @property {string|null} [description] Project description + */ + + /** + * Constructs a new Project. + * @memberof flyteidl.admin + * @classdesc Represents a Project. + * @implements IProject + * @constructor + * @param {flyteidl.admin.IProject=} [properties] Properties to set + */ + function Project(properties) { + this.domains = []; + 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]]; + } /** - * NodeExecutionClosure updatedAt. - * @member {google.protobuf.ITimestamp|null|undefined} updatedAt - * @memberof flyteidl.admin.NodeExecutionClosure + * Project id. + * @member {string} id + * @memberof flyteidl.admin.Project * @instance */ - NodeExecutionClosure.prototype.updatedAt = null; + Project.prototype.id = ""; /** - * NodeExecutionClosure workflowNodeMetadata. - * @member {flyteidl.admin.IWorkflowNodeMetadata|null|undefined} workflowNodeMetadata - * @memberof flyteidl.admin.NodeExecutionClosure + * Project name. + * @member {string} name + * @memberof flyteidl.admin.Project * @instance */ - NodeExecutionClosure.prototype.workflowNodeMetadata = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; + Project.prototype.name = ""; /** - * NodeExecutionClosure outputResult. - * @member {"outputUri"|"error"|undefined} outputResult - * @memberof flyteidl.admin.NodeExecutionClosure + * Project domains. + * @member {Array.} domains + * @memberof flyteidl.admin.Project * @instance */ - Object.defineProperty(NodeExecutionClosure.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error"]), - set: $util.oneOfSetter($oneOfFields) - }); + Project.prototype.domains = $util.emptyArray; /** - * NodeExecutionClosure targetMetadata. - * @member {"workflowNodeMetadata"|undefined} targetMetadata - * @memberof flyteidl.admin.NodeExecutionClosure + * Project description. + * @member {string} description + * @memberof flyteidl.admin.Project * @instance */ - Object.defineProperty(NodeExecutionClosure.prototype, "targetMetadata", { - get: $util.oneOfGetter($oneOfFields = ["workflowNodeMetadata"]), - set: $util.oneOfSetter($oneOfFields) - }); + Project.prototype.description = ""; /** - * Creates a new NodeExecutionClosure instance using the specified properties. + * Creates a new Project instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.Project * @static - * @param {flyteidl.admin.INodeExecutionClosure=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure instance + * @param {flyteidl.admin.IProject=} [properties] Properties to set + * @returns {flyteidl.admin.Project} Project instance */ - NodeExecutionClosure.create = function create(properties) { - return new NodeExecutionClosure(properties); + Project.create = function create(properties) { + return new Project(properties); }; /** - * Encodes the specified NodeExecutionClosure message. Does not implicitly {@link flyteidl.admin.NodeExecutionClosure.verify|verify} messages. + * Encodes the specified Project message. Does not implicitly {@link flyteidl.admin.Project.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.Project * @static - * @param {flyteidl.admin.INodeExecutionClosure} message NodeExecutionClosure message or plain object to encode + * @param {flyteidl.admin.IProject} message Project message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionClosure.encode = function encode(message, writer) { + Project.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.outputUri != null && message.hasOwnProperty("outputUri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputUri); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.phase != null && message.hasOwnProperty("phase")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); - if (message.startedAt != null && message.hasOwnProperty("startedAt")) - $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.duration != null && message.hasOwnProperty("duration")) - $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) - $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) - $root.flyteidl.admin.WorkflowNodeMetadata.encode(message.workflowNodeMetadata, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); + if (message.name != null && message.hasOwnProperty("name")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + if (message.domains != null && message.domains.length) + for (let i = 0; i < message.domains.length; ++i) + $root.flyteidl.admin.Domain.encode(message.domains[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.description != null && message.hasOwnProperty("description")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.description); return writer; }; /** - * Decodes a NodeExecutionClosure message from the specified reader or buffer. + * Decodes a Project message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.Project * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionClosure} NodeExecutionClosure + * @returns {flyteidl.admin.Project} Project * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionClosure.decode = function decode(reader, length) { + Project.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.NodeExecutionClosure(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Project(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.outputUri = reader.string(); + message.id = reader.string(); break; case 2: - message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); + message.name = reader.string(); break; case 3: - message.phase = reader.int32(); + if (!(message.domains && message.domains.length)) + message.domains = []; + message.domains.push($root.flyteidl.admin.Domain.decode(reader, reader.uint32())); break; case 4: - message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 5: - message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 6: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 7: - message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 8: - message.workflowNodeMetadata = $root.flyteidl.admin.WorkflowNodeMetadata.decode(reader, reader.uint32()); + message.description = reader.string(); break; default: reader.skipType(tag & 7); @@ -20625,99 +22214,59 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a NodeExecutionClosure message. + * Verifies a Project message. * @function verify - * @memberof flyteidl.admin.NodeExecutionClosure + * @memberof flyteidl.admin.Project * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionClosure.verify = function verify(message) { + Project.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - let properties = {}; - if (message.outputUri != null && message.hasOwnProperty("outputUri")) { - properties.outputResult = 1; - if (!$util.isString(message.outputUri)) - return "outputUri: string expected"; - } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - let error = $root.flyteidl.core.ExecutionError.verify(message.error); - if (error) - return "error." + error; - } - } - if (message.phase != null && message.hasOwnProperty("phase")) - switch (message.phase) { - default: - return "phase: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - break; - } - if (message.startedAt != null && message.hasOwnProperty("startedAt")) { - let error = $root.google.protobuf.Timestamp.verify(message.startedAt); - if (error) - return "startedAt." + error; - } - if (message.duration != null && message.hasOwnProperty("duration")) { - let error = $root.google.protobuf.Duration.verify(message.duration); - if (error) - return "duration." + error; - } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - let error = $root.google.protobuf.Timestamp.verify(message.createdAt); - if (error) - return "createdAt." + error; - } - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { - let error = $root.google.protobuf.Timestamp.verify(message.updatedAt); - if (error) - return "updatedAt." + error; - } - if (message.workflowNodeMetadata != null && message.hasOwnProperty("workflowNodeMetadata")) { - properties.targetMetadata = 1; - { - let error = $root.flyteidl.admin.WorkflowNodeMetadata.verify(message.workflowNodeMetadata); + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.domains != null && message.hasOwnProperty("domains")) { + if (!Array.isArray(message.domains)) + return "domains: array expected"; + for (let i = 0; i < message.domains.length; ++i) { + let error = $root.flyteidl.admin.Domain.verify(message.domains[i]); if (error) - return "workflowNodeMetadata." + error; + return "domains." + error; } } + if (message.description != null && message.hasOwnProperty("description")) + if (!$util.isString(message.description)) + return "description: string expected"; return null; }; - return NodeExecutionClosure; + return Project; })(); - admin.WorkflowNodeMetadata = (function() { + admin.Projects = (function() { /** - * Properties of a WorkflowNodeMetadata. + * Properties of a Projects. * @memberof flyteidl.admin - * @interface IWorkflowNodeMetadata - * @property {flyteidl.core.IWorkflowExecutionIdentifier|null} [executionId] WorkflowNodeMetadata executionId + * @interface IProjects + * @property {Array.|null} [projects] Projects projects */ /** - * Constructs a new WorkflowNodeMetadata. + * Constructs a new Projects. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowNodeMetadata. - * @implements IWorkflowNodeMetadata + * @classdesc Represents a Projects. + * @implements IProjects * @constructor - * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set + * @param {flyteidl.admin.IProjects=} [properties] Properties to set */ - function WorkflowNodeMetadata(properties) { + function Projects(properties) { + this.projects = []; if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20725,62 +22274,65 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * WorkflowNodeMetadata executionId. - * @member {flyteidl.core.IWorkflowExecutionIdentifier|null|undefined} executionId - * @memberof flyteidl.admin.WorkflowNodeMetadata + * Projects projects. + * @member {Array.} projects + * @memberof flyteidl.admin.Projects * @instance */ - WorkflowNodeMetadata.prototype.executionId = null; + Projects.prototype.projects = $util.emptyArray; /** - * Creates a new WorkflowNodeMetadata instance using the specified properties. + * Creates a new Projects instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.Projects * @static - * @param {flyteidl.admin.IWorkflowNodeMetadata=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata instance + * @param {flyteidl.admin.IProjects=} [properties] Properties to set + * @returns {flyteidl.admin.Projects} Projects instance */ - WorkflowNodeMetadata.create = function create(properties) { - return new WorkflowNodeMetadata(properties); + Projects.create = function create(properties) { + return new Projects(properties); }; /** - * Encodes the specified WorkflowNodeMetadata message. Does not implicitly {@link flyteidl.admin.WorkflowNodeMetadata.verify|verify} messages. + * Encodes the specified Projects message. Does not implicitly {@link flyteidl.admin.Projects.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.Projects * @static - * @param {flyteidl.admin.IWorkflowNodeMetadata} message WorkflowNodeMetadata message or plain object to encode + * @param {flyteidl.admin.IProjects} message Projects message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowNodeMetadata.encode = function encode(message, writer) { + Projects.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.executionId != null && message.hasOwnProperty("executionId")) - $root.flyteidl.core.WorkflowExecutionIdentifier.encode(message.executionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.projects != null && message.projects.length) + for (let i = 0; i < message.projects.length; ++i) + $root.flyteidl.admin.Project.encode(message.projects[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowNodeMetadata message from the specified reader or buffer. + * Decodes a Projects message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.Projects * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowNodeMetadata} WorkflowNodeMetadata + * @returns {flyteidl.admin.Projects} Projects * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowNodeMetadata.decode = function decode(reader, length) { + Projects.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.WorkflowNodeMetadata(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Projects(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.executionId = $root.flyteidl.core.WorkflowExecutionIdentifier.decode(reader, reader.uint32()); + if (!(message.projects && message.projects.length)) + message.projects = []; + message.projects.push($root.flyteidl.admin.Project.decode(reader, reader.uint32())); break; default: reader.skipType(tag & 7); @@ -20791,45 +22343,48 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a WorkflowNodeMetadata message. + * Verifies a Projects message. * @function verify - * @memberof flyteidl.admin.WorkflowNodeMetadata + * @memberof flyteidl.admin.Projects * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowNodeMetadata.verify = function verify(message) { + Projects.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.executionId != null && message.hasOwnProperty("executionId")) { - let error = $root.flyteidl.core.WorkflowExecutionIdentifier.verify(message.executionId); - if (error) - return "executionId." + error; + if (message.projects != null && message.hasOwnProperty("projects")) { + if (!Array.isArray(message.projects)) + return "projects: array expected"; + for (let i = 0; i < message.projects.length; ++i) { + let error = $root.flyteidl.admin.Project.verify(message.projects[i]); + if (error) + return "projects." + error; + } } return null; }; - return WorkflowNodeMetadata; + return Projects; })(); - admin.NodeExecutionGetDataRequest = (function() { + admin.ProjectListRequest = (function() { /** - * Properties of a NodeExecutionGetDataRequest. + * Properties of a ProjectListRequest. * @memberof flyteidl.admin - * @interface INodeExecutionGetDataRequest - * @property {flyteidl.core.INodeExecutionIdentifier|null} [id] NodeExecutionGetDataRequest id + * @interface IProjectListRequest */ /** - * Constructs a new NodeExecutionGetDataRequest. + * Constructs a new ProjectListRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionGetDataRequest. - * @implements INodeExecutionGetDataRequest + * @classdesc Represents a ProjectListRequest. + * @implements IProjectListRequest * @constructor - * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set */ - function NodeExecutionGetDataRequest(properties) { + function ProjectListRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20837,63 +22392,50 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * NodeExecutionGetDataRequest id. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.NodeExecutionGetDataRequest - * @instance - */ - NodeExecutionGetDataRequest.prototype.id = null; - - /** - * Creates a new NodeExecutionGetDataRequest instance using the specified properties. + * Creates a new ProjectListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.ProjectListRequest * @static - * @param {flyteidl.admin.INodeExecutionGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest instance + * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest instance */ - NodeExecutionGetDataRequest.create = function create(properties) { - return new NodeExecutionGetDataRequest(properties); + ProjectListRequest.create = function create(properties) { + return new ProjectListRequest(properties); }; /** - * Encodes the specified NodeExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataRequest.verify|verify} messages. + * Encodes the specified ProjectListRequest message. Does not implicitly {@link flyteidl.admin.ProjectListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.ProjectListRequest * @static - * @param {flyteidl.admin.INodeExecutionGetDataRequest} message NodeExecutionGetDataRequest message or plain object to encode + * @param {flyteidl.admin.IProjectListRequest} message ProjectListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionGetDataRequest.encode = function encode(message, writer) { + ProjectListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionGetDataRequest message from the specified reader or buffer. + * Decodes a ProjectListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.ProjectListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionGetDataRequest} NodeExecutionGetDataRequest + * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionGetDataRequest.decode = function decode(reader, length) { + ProjectListRequest.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.NodeExecutionGetDataRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectListRequest(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.id = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -20903,46 +22445,40 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a NodeExecutionGetDataRequest message. + * Verifies a ProjectListRequest message. * @function verify - * @memberof flyteidl.admin.NodeExecutionGetDataRequest + * @memberof flyteidl.admin.ProjectListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionGetDataRequest.verify = function verify(message) { + ProjectListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - let error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } return null; }; - return NodeExecutionGetDataRequest; + return ProjectListRequest; })(); - admin.NodeExecutionGetDataResponse = (function() { + admin.ProjectRegisterRequest = (function() { /** - * Properties of a NodeExecutionGetDataResponse. + * Properties of a ProjectRegisterRequest. * @memberof flyteidl.admin - * @interface INodeExecutionGetDataResponse - * @property {flyteidl.admin.IUrlBlob|null} [inputs] NodeExecutionGetDataResponse inputs - * @property {flyteidl.admin.IUrlBlob|null} [outputs] NodeExecutionGetDataResponse outputs + * @interface IProjectRegisterRequest + * @property {flyteidl.admin.IProject|null} [project] ProjectRegisterRequest project */ /** - * Constructs a new NodeExecutionGetDataResponse. + * Constructs a new ProjectRegisterRequest. * @memberof flyteidl.admin - * @classdesc Represents a NodeExecutionGetDataResponse. - * @implements INodeExecutionGetDataResponse + * @classdesc Represents a ProjectRegisterRequest. + * @implements IProjectRegisterRequest * @constructor - * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set */ - function NodeExecutionGetDataResponse(properties) { + function ProjectRegisterRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -20950,75 +22486,62 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * NodeExecutionGetDataResponse inputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse - * @instance - */ - NodeExecutionGetDataResponse.prototype.inputs = null; - - /** - * NodeExecutionGetDataResponse outputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * ProjectRegisterRequest project. + * @member {flyteidl.admin.IProject|null|undefined} project + * @memberof flyteidl.admin.ProjectRegisterRequest * @instance */ - NodeExecutionGetDataResponse.prototype.outputs = null; + ProjectRegisterRequest.prototype.project = null; /** - * Creates a new NodeExecutionGetDataResponse instance using the specified properties. + * Creates a new ProjectRegisterRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @memberof flyteidl.admin.ProjectRegisterRequest * @static - * @param {flyteidl.admin.INodeExecutionGetDataResponse=} [properties] Properties to set - * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse instance + * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest instance */ - NodeExecutionGetDataResponse.create = function create(properties) { - return new NodeExecutionGetDataResponse(properties); + ProjectRegisterRequest.create = function create(properties) { + return new ProjectRegisterRequest(properties); }; /** - * Encodes the specified NodeExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.NodeExecutionGetDataResponse.verify|verify} messages. + * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @memberof flyteidl.admin.ProjectRegisterRequest * @static - * @param {flyteidl.admin.INodeExecutionGetDataResponse} message NodeExecutionGetDataResponse message or plain object to encode + * @param {flyteidl.admin.IProjectRegisterRequest} message ProjectRegisterRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NodeExecutionGetDataResponse.encode = function encode(message, writer) { + ProjectRegisterRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.outputs != null && message.hasOwnProperty("outputs")) - $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.project != null && message.hasOwnProperty("project")) + $root.flyteidl.admin.Project.encode(message.project, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a NodeExecutionGetDataResponse message from the specified reader or buffer. + * Decodes a ProjectRegisterRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @memberof flyteidl.admin.ProjectRegisterRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.NodeExecutionGetDataResponse} NodeExecutionGetDataResponse + * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NodeExecutionGetDataResponse.decode = function decode(reader, length) { + ProjectRegisterRequest.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.NodeExecutionGetDataResponse(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectRegisterRequest(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); - break; - case 2: - message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.project = $root.flyteidl.admin.Project.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -21029,160 +22552,95 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a NodeExecutionGetDataResponse message. + * Verifies a ProjectRegisterRequest message. * @function verify - * @memberof flyteidl.admin.NodeExecutionGetDataResponse + * @memberof flyteidl.admin.ProjectRegisterRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NodeExecutionGetDataResponse.verify = function verify(message) { + ProjectRegisterRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.inputs != null && message.hasOwnProperty("inputs")) { - let error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); - if (error) - return "inputs." + error; - } - if (message.outputs != null && message.hasOwnProperty("outputs")) { - let error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); + if (message.project != null && message.hasOwnProperty("project")) { + let error = $root.flyteidl.admin.Project.verify(message.project); if (error) - return "outputs." + error; + return "project." + error; } return null; }; - return NodeExecutionGetDataResponse; + return ProjectRegisterRequest; })(); - admin.EmailMessage = (function() { - - /** - * Properties of an EmailMessage. - * @memberof flyteidl.admin - * @interface IEmailMessage - * @property {Array.|null} [recipientsEmail] EmailMessage recipientsEmail - * @property {string|null} [senderEmail] EmailMessage senderEmail - * @property {string|null} [subjectLine] EmailMessage subjectLine - * @property {string|null} [body] EmailMessage body - */ + admin.ProjectRegisterResponse = (function() { /** - * Constructs a new EmailMessage. + * Properties of a ProjectRegisterResponse. * @memberof flyteidl.admin - * @classdesc Represents an EmailMessage. - * @implements IEmailMessage - * @constructor - * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set - */ - function EmailMessage(properties) { - this.recipientsEmail = []; - 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]]; - } - - /** - * EmailMessage recipientsEmail. - * @member {Array.} recipientsEmail - * @memberof flyteidl.admin.EmailMessage - * @instance - */ - EmailMessage.prototype.recipientsEmail = $util.emptyArray; - - /** - * EmailMessage senderEmail. - * @member {string} senderEmail - * @memberof flyteidl.admin.EmailMessage - * @instance - */ - EmailMessage.prototype.senderEmail = ""; - - /** - * EmailMessage subjectLine. - * @member {string} subjectLine - * @memberof flyteidl.admin.EmailMessage - * @instance + * @interface IProjectRegisterResponse */ - EmailMessage.prototype.subjectLine = ""; /** - * EmailMessage body. - * @member {string} body - * @memberof flyteidl.admin.EmailMessage - * @instance + * Constructs a new ProjectRegisterResponse. + * @memberof flyteidl.admin + * @classdesc Represents a ProjectRegisterResponse. + * @implements IProjectRegisterResponse + * @constructor + * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set */ - EmailMessage.prototype.body = ""; + function ProjectRegisterResponse(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 EmailMessage instance using the specified properties. + * Creates a new ProjectRegisterResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.ProjectRegisterResponse * @static - * @param {flyteidl.admin.IEmailMessage=} [properties] Properties to set - * @returns {flyteidl.admin.EmailMessage} EmailMessage instance + * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse instance */ - EmailMessage.create = function create(properties) { - return new EmailMessage(properties); + ProjectRegisterResponse.create = function create(properties) { + return new ProjectRegisterResponse(properties); }; /** - * Encodes the specified EmailMessage message. Does not implicitly {@link flyteidl.admin.EmailMessage.verify|verify} messages. + * Encodes the specified ProjectRegisterResponse message. Does not implicitly {@link flyteidl.admin.ProjectRegisterResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.ProjectRegisterResponse * @static - * @param {flyteidl.admin.IEmailMessage} message EmailMessage message or plain object to encode + * @param {flyteidl.admin.IProjectRegisterResponse} message ProjectRegisterResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EmailMessage.encode = function encode(message, writer) { + ProjectRegisterResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.recipientsEmail != null && message.recipientsEmail.length) - for (let i = 0; i < message.recipientsEmail.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.recipientsEmail[i]); - if (message.senderEmail != null && message.hasOwnProperty("senderEmail")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.senderEmail); - if (message.subjectLine != null && message.hasOwnProperty("subjectLine")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.subjectLine); - if (message.body != null && message.hasOwnProperty("body")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.body); return writer; }; /** - * Decodes an EmailMessage message from the specified reader or buffer. + * Decodes a ProjectRegisterResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.ProjectRegisterResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.EmailMessage} EmailMessage + * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EmailMessage.decode = function decode(reader, length) { + ProjectRegisterResponse.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.EmailMessage(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectRegisterResponse(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.recipientsEmail && message.recipientsEmail.length)) - message.recipientsEmail = []; - message.recipientsEmail.push(reader.string()); - break; - case 2: - message.senderEmail = reader.string(); - break; - case 3: - message.subjectLine = reader.string(); - break; - case 4: - message.body = reader.string(); - break; default: reader.skipType(tag & 7); break; @@ -21192,57 +22650,41 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies an EmailMessage message. + * Verifies a ProjectRegisterResponse message. * @function verify - * @memberof flyteidl.admin.EmailMessage + * @memberof flyteidl.admin.ProjectRegisterResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EmailMessage.verify = function verify(message) { + ProjectRegisterResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.recipientsEmail != null && message.hasOwnProperty("recipientsEmail")) { - if (!Array.isArray(message.recipientsEmail)) - return "recipientsEmail: array expected"; - for (let i = 0; i < message.recipientsEmail.length; ++i) - if (!$util.isString(message.recipientsEmail[i])) - return "recipientsEmail: string[] expected"; - } - if (message.senderEmail != null && message.hasOwnProperty("senderEmail")) - if (!$util.isString(message.senderEmail)) - return "senderEmail: string expected"; - if (message.subjectLine != null && message.hasOwnProperty("subjectLine")) - if (!$util.isString(message.subjectLine)) - return "subjectLine: string expected"; - if (message.body != null && message.hasOwnProperty("body")) - if (!$util.isString(message.body)) - return "body: string expected"; return null; }; - return EmailMessage; + return ProjectRegisterResponse; })(); - admin.Domain = (function() { + admin.ProjectAttributes = (function() { /** - * Properties of a Domain. + * Properties of a ProjectAttributes. * @memberof flyteidl.admin - * @interface IDomain - * @property {string|null} [id] Domain id - * @property {string|null} [name] Domain name + * @interface IProjectAttributes + * @property {string|null} [project] ProjectAttributes project + * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] ProjectAttributes matchingAttributes */ /** - * Constructs a new Domain. + * Constructs a new ProjectAttributes. * @memberof flyteidl.admin - * @classdesc Represents a Domain. - * @implements IDomain + * @classdesc Represents a ProjectAttributes. + * @implements IProjectAttributes * @constructor - * @param {flyteidl.admin.IDomain=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set */ - function Domain(properties) { + function ProjectAttributes(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21250,75 +22692,75 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * Domain id. - * @member {string} id - * @memberof flyteidl.admin.Domain + * ProjectAttributes project. + * @member {string} project + * @memberof flyteidl.admin.ProjectAttributes * @instance */ - Domain.prototype.id = ""; + ProjectAttributes.prototype.project = ""; /** - * Domain name. - * @member {string} name - * @memberof flyteidl.admin.Domain + * ProjectAttributes matchingAttributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes + * @memberof flyteidl.admin.ProjectAttributes * @instance */ - Domain.prototype.name = ""; + ProjectAttributes.prototype.matchingAttributes = null; /** - * Creates a new Domain instance using the specified properties. + * Creates a new ProjectAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.ProjectAttributes * @static - * @param {flyteidl.admin.IDomain=} [properties] Properties to set - * @returns {flyteidl.admin.Domain} Domain instance + * @param {flyteidl.admin.IProjectAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributes} ProjectAttributes instance */ - Domain.create = function create(properties) { - return new Domain(properties); + ProjectAttributes.create = function create(properties) { + return new ProjectAttributes(properties); }; /** - * Encodes the specified Domain message. Does not implicitly {@link flyteidl.admin.Domain.verify|verify} messages. + * Encodes the specified ProjectAttributes message. Does not implicitly {@link flyteidl.admin.ProjectAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.ProjectAttributes * @static - * @param {flyteidl.admin.IDomain} message Domain message or plain object to encode + * @param {flyteidl.admin.IProjectAttributes} message ProjectAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Domain.encode = function encode(message, writer) { + ProjectAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + if (message.project != null && message.hasOwnProperty("project")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.project); + if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) + $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Domain message from the specified reader or buffer. + * Decodes a ProjectAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.ProjectAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Domain} Domain + * @returns {flyteidl.admin.ProjectAttributes} ProjectAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Domain.decode = function decode(reader, length) { + ProjectAttributes.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.Domain(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributes(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = reader.string(); + message.project = reader.string(); break; case 2: - message.name = reader.string(); + message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -21329,50 +22771,48 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a Domain message. + * Verifies a ProjectAttributes message. * @function verify - * @memberof flyteidl.admin.Domain + * @memberof flyteidl.admin.ProjectAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Domain.verify = function verify(message) { + ProjectAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; + if (message.project != null && message.hasOwnProperty("project")) + if (!$util.isString(message.project)) + return "project: string expected"; + if (message.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.matchingAttributes); + if (error) + return "matchingAttributes." + error; + } return null; }; - return Domain; + return ProjectAttributes; })(); - admin.Project = (function() { + admin.ProjectAttributesUpdateRequest = (function() { /** - * Properties of a Project. + * Properties of a ProjectAttributesUpdateRequest. * @memberof flyteidl.admin - * @interface IProject - * @property {string|null} [id] Project id - * @property {string|null} [name] Project name - * @property {Array.|null} [domains] Project domains - * @property {string|null} [description] Project description + * @interface IProjectAttributesUpdateRequest + * @property {flyteidl.admin.IProjectAttributes|null} [attributes] ProjectAttributesUpdateRequest attributes */ /** - * Constructs a new Project. + * Constructs a new ProjectAttributesUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a Project. - * @implements IProject + * @classdesc Represents a ProjectAttributesUpdateRequest. + * @implements IProjectAttributesUpdateRequest * @constructor - * @param {flyteidl.admin.IProject=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set */ - function Project(properties) { - this.domains = []; + function ProjectAttributesUpdateRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21380,104 +22820,62 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * Project id. - * @member {string} id - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.id = ""; - - /** - * Project name. - * @member {string} name - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.name = ""; - - /** - * Project domains. - * @member {Array.} domains - * @memberof flyteidl.admin.Project - * @instance - */ - Project.prototype.domains = $util.emptyArray; - - /** - * Project description. - * @member {string} description - * @memberof flyteidl.admin.Project + * ProjectAttributesUpdateRequest attributes. + * @member {flyteidl.admin.IProjectAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @instance */ - Project.prototype.description = ""; + ProjectAttributesUpdateRequest.prototype.attributes = null; /** - * Creates a new Project instance using the specified properties. + * Creates a new ProjectAttributesUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.Project + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static - * @param {flyteidl.admin.IProject=} [properties] Properties to set - * @returns {flyteidl.admin.Project} Project instance + * @param {flyteidl.admin.IProjectAttributesUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesUpdateRequest} ProjectAttributesUpdateRequest instance */ - Project.create = function create(properties) { - return new Project(properties); + ProjectAttributesUpdateRequest.create = function create(properties) { + return new ProjectAttributesUpdateRequest(properties); }; /** - * Encodes the specified Project message. Does not implicitly {@link flyteidl.admin.Project.verify|verify} messages. + * Encodes the specified ProjectAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Project + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static - * @param {flyteidl.admin.IProject} message Project message or plain object to encode + * @param {flyteidl.admin.IProjectAttributesUpdateRequest} message ProjectAttributesUpdateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Project.encode = function encode(message, writer) { + ProjectAttributesUpdateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.name != null && message.hasOwnProperty("name")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); - if (message.domains != null && message.domains.length) - for (let i = 0; i < message.domains.length; ++i) - $root.flyteidl.admin.Domain.encode(message.domains[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.description != null && message.hasOwnProperty("description")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.description); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.ProjectAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a Project message from the specified reader or buffer. + * Decodes a ProjectAttributesUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Project + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Project} Project + * @returns {flyteidl.admin.ProjectAttributesUpdateRequest} ProjectAttributesUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Project.decode = function decode(reader, length) { + ProjectAttributesUpdateRequest.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.Project(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesUpdateRequest(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = reader.string(); - break; - case 2: - message.name = reader.string(); - break; - case 3: - if (!(message.domains && message.domains.length)) - message.domains = []; - message.domains.push($root.flyteidl.admin.Domain.decode(reader, reader.uint32())); - break; - case 4: - message.description = reader.string(); + message.attributes = $root.flyteidl.admin.ProjectAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -21488,59 +22886,44 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a Project message. + * Verifies a ProjectAttributesUpdateRequest message. * @function verify - * @memberof flyteidl.admin.Project + * @memberof flyteidl.admin.ProjectAttributesUpdateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Project.verify = function verify(message) { + ProjectAttributesUpdateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.domains != null && message.hasOwnProperty("domains")) { - if (!Array.isArray(message.domains)) - return "domains: array expected"; - for (let i = 0; i < message.domains.length; ++i) { - let error = $root.flyteidl.admin.Domain.verify(message.domains[i]); - if (error) - return "domains." + error; - } + if (message.attributes != null && message.hasOwnProperty("attributes")) { + let error = $root.flyteidl.admin.ProjectAttributes.verify(message.attributes); + if (error) + return "attributes." + error; } - if (message.description != null && message.hasOwnProperty("description")) - if (!$util.isString(message.description)) - return "description: string expected"; return null; }; - return Project; + return ProjectAttributesUpdateRequest; })(); - admin.Projects = (function() { + admin.ProjectAttributesUpdateResponse = (function() { /** - * Properties of a Projects. + * Properties of a ProjectAttributesUpdateResponse. * @memberof flyteidl.admin - * @interface IProjects - * @property {Array.|null} [projects] Projects projects + * @interface IProjectAttributesUpdateResponse */ /** - * Constructs a new Projects. + * Constructs a new ProjectAttributesUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a Projects. - * @implements IProjects + * @classdesc Represents a ProjectAttributesUpdateResponse. + * @implements IProjectAttributesUpdateResponse * @constructor - * @param {flyteidl.admin.IProjects=} [properties] Properties to set + * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set */ - function Projects(properties) { - this.projects = []; + function ProjectAttributesUpdateResponse(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21548,66 +22931,50 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * Projects projects. - * @member {Array.} projects - * @memberof flyteidl.admin.Projects - * @instance - */ - Projects.prototype.projects = $util.emptyArray; - - /** - * Creates a new Projects instance using the specified properties. + * Creates a new ProjectAttributesUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static - * @param {flyteidl.admin.IProjects=} [properties] Properties to set - * @returns {flyteidl.admin.Projects} Projects instance + * @param {flyteidl.admin.IProjectAttributesUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectAttributesUpdateResponse} ProjectAttributesUpdateResponse instance */ - Projects.create = function create(properties) { - return new Projects(properties); + ProjectAttributesUpdateResponse.create = function create(properties) { + return new ProjectAttributesUpdateResponse(properties); }; /** - * Encodes the specified Projects message. Does not implicitly {@link flyteidl.admin.Projects.verify|verify} messages. + * Encodes the specified ProjectAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectAttributesUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static - * @param {flyteidl.admin.IProjects} message Projects message or plain object to encode + * @param {flyteidl.admin.IProjectAttributesUpdateResponse} message ProjectAttributesUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Projects.encode = function encode(message, writer) { + ProjectAttributesUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.projects != null && message.projects.length) - for (let i = 0; i < message.projects.length; ++i) - $root.flyteidl.admin.Project.encode(message.projects[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a Projects message from the specified reader or buffer. + * Decodes a ProjectAttributesUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Projects} Projects + * @returns {flyteidl.admin.ProjectAttributesUpdateResponse} ProjectAttributesUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Projects.decode = function decode(reader, length) { + ProjectAttributesUpdateResponse.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.Projects(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectAttributesUpdateResponse(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.projects && message.projects.length)) - message.projects = []; - message.projects.push($root.flyteidl.admin.Project.decode(reader, reader.uint32())); - break; default: reader.skipType(tag & 7); break; @@ -21617,48 +22984,42 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a Projects message. + * Verifies a ProjectAttributesUpdateResponse message. * @function verify - * @memberof flyteidl.admin.Projects + * @memberof flyteidl.admin.ProjectAttributesUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Projects.verify = function verify(message) { + ProjectAttributesUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.projects != null && message.hasOwnProperty("projects")) { - if (!Array.isArray(message.projects)) - return "projects: array expected"; - for (let i = 0; i < message.projects.length; ++i) { - let error = $root.flyteidl.admin.Project.verify(message.projects[i]); - if (error) - return "projects." + error; - } - } return null; }; - return Projects; + return ProjectAttributesUpdateResponse; })(); - admin.ProjectListRequest = (function() { + admin.ProjectDomainAttributes = (function() { /** - * Properties of a ProjectListRequest. + * Properties of a ProjectDomainAttributes. * @memberof flyteidl.admin - * @interface IProjectListRequest + * @interface IProjectDomainAttributes + * @property {string|null} [project] ProjectDomainAttributes project + * @property {string|null} [domain] ProjectDomainAttributes domain + * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] ProjectDomainAttributes matchingAttributes */ /** - * Constructs a new ProjectListRequest. + * Constructs a new ProjectDomainAttributes. * @memberof flyteidl.admin - * @classdesc Represents a ProjectListRequest. - * @implements IProjectListRequest + * @classdesc Represents a ProjectDomainAttributes. + * @implements IProjectDomainAttributes * @constructor - * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set */ - function ProjectListRequest(properties) { + function ProjectDomainAttributes(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21666,50 +23027,89 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * Creates a new ProjectListRequest instance using the specified properties. + * ProjectDomainAttributes project. + * @member {string} project + * @memberof flyteidl.admin.ProjectDomainAttributes + * @instance + */ + ProjectDomainAttributes.prototype.project = ""; + + /** + * ProjectDomainAttributes domain. + * @member {string} domain + * @memberof flyteidl.admin.ProjectDomainAttributes + * @instance + */ + ProjectDomainAttributes.prototype.domain = ""; + + /** + * ProjectDomainAttributes matchingAttributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes + * @memberof flyteidl.admin.ProjectDomainAttributes + * @instance + */ + ProjectDomainAttributes.prototype.matchingAttributes = null; + + /** + * Creates a new ProjectDomainAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static - * @param {flyteidl.admin.IProjectListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest instance + * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes instance */ - ProjectListRequest.create = function create(properties) { - return new ProjectListRequest(properties); + ProjectDomainAttributes.create = function create(properties) { + return new ProjectDomainAttributes(properties); }; /** - * Encodes the specified ProjectListRequest message. Does not implicitly {@link flyteidl.admin.ProjectListRequest.verify|verify} messages. + * Encodes the specified ProjectDomainAttributes message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static - * @param {flyteidl.admin.IProjectListRequest} message ProjectListRequest message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributes} message ProjectDomainAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectListRequest.encode = function encode(message, writer) { + ProjectDomainAttributes.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.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) + $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectListRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectListRequest} ProjectListRequest + * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectListRequest.decode = function decode(reader, length) { + ProjectDomainAttributes.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.ProjectListRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributes(); 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.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -21719,40 +23119,51 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a ProjectListRequest message. + * Verifies a ProjectDomainAttributes message. * @function verify - * @memberof flyteidl.admin.ProjectListRequest + * @memberof flyteidl.admin.ProjectDomainAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectListRequest.verify = function verify(message) { + ProjectDomainAttributes.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.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.matchingAttributes); + if (error) + return "matchingAttributes." + error; + } return null; }; - return ProjectListRequest; + return ProjectDomainAttributes; })(); - admin.ProjectRegisterRequest = (function() { + admin.ProjectDomainAttributesUpdateRequest = (function() { /** - * Properties of a ProjectRegisterRequest. + * Properties of a ProjectDomainAttributesUpdateRequest. * @memberof flyteidl.admin - * @interface IProjectRegisterRequest - * @property {flyteidl.admin.IProject|null} [project] ProjectRegisterRequest project + * @interface IProjectDomainAttributesUpdateRequest + * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesUpdateRequest attributes */ /** - * Constructs a new ProjectRegisterRequest. + * Constructs a new ProjectDomainAttributesUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectRegisterRequest. - * @implements IProjectRegisterRequest + * @classdesc Represents a ProjectDomainAttributesUpdateRequest. + * @implements IProjectDomainAttributesUpdateRequest * @constructor - * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set */ - function ProjectRegisterRequest(properties) { + function ProjectDomainAttributesUpdateRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21760,62 +23171,62 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * ProjectRegisterRequest project. - * @member {flyteidl.admin.IProject|null|undefined} project - * @memberof flyteidl.admin.ProjectRegisterRequest + * ProjectDomainAttributesUpdateRequest attributes. + * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @instance */ - ProjectRegisterRequest.prototype.project = null; + ProjectDomainAttributesUpdateRequest.prototype.attributes = null; /** - * Creates a new ProjectRegisterRequest instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static - * @param {flyteidl.admin.IProjectRegisterRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest instance + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest instance */ - ProjectRegisterRequest.create = function create(properties) { - return new ProjectRegisterRequest(properties); + ProjectDomainAttributesUpdateRequest.create = function create(properties) { + return new ProjectDomainAttributesUpdateRequest(properties); }; /** - * Encodes the specified ProjectRegisterRequest message. Does not implicitly {@link flyteidl.admin.ProjectRegisterRequest.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static - * @param {flyteidl.admin.IProjectRegisterRequest} message ProjectRegisterRequest message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest} message ProjectDomainAttributesUpdateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectRegisterRequest.encode = function encode(message, writer) { + ProjectDomainAttributesUpdateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.project != null && message.hasOwnProperty("project")) - $root.flyteidl.admin.Project.encode(message.project, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.ProjectDomainAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectRegisterRequest message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectRegisterRequest} ProjectRegisterRequest + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectRegisterRequest.decode = function decode(reader, length) { + ProjectDomainAttributesUpdateRequest.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.ProjectRegisterRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesUpdateRequest(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = $root.flyteidl.admin.Project.decode(reader, reader.uint32()); + message.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -21826,44 +23237,44 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a ProjectRegisterRequest message. + * Verifies a ProjectDomainAttributesUpdateRequest message. * @function verify - * @memberof flyteidl.admin.ProjectRegisterRequest + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectRegisterRequest.verify = function verify(message) { + ProjectDomainAttributesUpdateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.project != null && message.hasOwnProperty("project")) { - let error = $root.flyteidl.admin.Project.verify(message.project); + if (message.attributes != null && message.hasOwnProperty("attributes")) { + let error = $root.flyteidl.admin.ProjectDomainAttributes.verify(message.attributes); if (error) - return "project." + error; + return "attributes." + error; } return null; }; - return ProjectRegisterRequest; + return ProjectDomainAttributesUpdateRequest; })(); - admin.ProjectRegisterResponse = (function() { + admin.ProjectDomainAttributesUpdateResponse = (function() { /** - * Properties of a ProjectRegisterResponse. + * Properties of a ProjectDomainAttributesUpdateResponse. * @memberof flyteidl.admin - * @interface IProjectRegisterResponse + * @interface IProjectDomainAttributesUpdateResponse */ /** - * Constructs a new ProjectRegisterResponse. + * Constructs a new ProjectDomainAttributesUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectRegisterResponse. - * @implements IProjectRegisterResponse + * @classdesc Represents a ProjectDomainAttributesUpdateResponse. + * @implements IProjectDomainAttributesUpdateResponse * @constructor - * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set + * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set */ - function ProjectRegisterResponse(properties) { + function ProjectDomainAttributesUpdateResponse(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21871,47 +23282,47 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * Creates a new ProjectRegisterResponse instance using the specified properties. + * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static - * @param {flyteidl.admin.IProjectRegisterResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse instance + * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse instance */ - ProjectRegisterResponse.create = function create(properties) { - return new ProjectRegisterResponse(properties); + ProjectDomainAttributesUpdateResponse.create = function create(properties) { + return new ProjectDomainAttributesUpdateResponse(properties); }; /** - * Encodes the specified ProjectRegisterResponse message. Does not implicitly {@link flyteidl.admin.ProjectRegisterResponse.verify|verify} messages. + * Encodes the specified ProjectDomainAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static - * @param {flyteidl.admin.IProjectRegisterResponse} message ProjectRegisterResponse message or plain object to encode + * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse} message ProjectDomainAttributesUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectRegisterResponse.encode = function encode(message, writer) { + ProjectDomainAttributesUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); return writer; }; /** - * Decodes a ProjectRegisterResponse message from the specified reader or buffer. + * Decodes a ProjectDomainAttributesUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectRegisterResponse} ProjectRegisterResponse + * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectRegisterResponse.decode = function decode(reader, length) { + ProjectDomainAttributesUpdateResponse.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.ProjectRegisterResponse(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectDomainAttributesUpdateResponse(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { @@ -21924,43 +23335,41 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a ProjectRegisterResponse message. + * Verifies a ProjectDomainAttributesUpdateResponse message. * @function verify - * @memberof flyteidl.admin.ProjectRegisterResponse + * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectRegisterResponse.verify = function verify(message) { + ProjectDomainAttributesUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; return null; }; - return ProjectRegisterResponse; + return ProjectDomainAttributesUpdateResponse; })(); - admin.ProjectDomainAttributes = (function() { + admin.TaskCreateRequest = (function() { /** - * Properties of a ProjectDomainAttributes. + * Properties of a TaskCreateRequest. * @memberof flyteidl.admin - * @interface IProjectDomainAttributes - * @property {string|null} [project] ProjectDomainAttributes project - * @property {string|null} [domain] ProjectDomainAttributes domain - * @property {Object.|null} [attributes] ProjectDomainAttributes attributes + * @interface ITaskCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] TaskCreateRequest id + * @property {flyteidl.admin.ITaskSpec|null} [spec] TaskCreateRequest spec */ /** - * Constructs a new ProjectDomainAttributes. + * Constructs a new TaskCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributes. - * @implements IProjectDomainAttributes + * @classdesc Represents a TaskCreateRequest. + * @implements ITaskCreateRequest * @constructor - * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set + * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set */ - function ProjectDomainAttributes(properties) { - this.attributes = {}; + function TaskCreateRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -21968,94 +23377,75 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * ProjectDomainAttributes project. - * @member {string} project - * @memberof flyteidl.admin.ProjectDomainAttributes - * @instance - */ - ProjectDomainAttributes.prototype.project = ""; - - /** - * ProjectDomainAttributes domain. - * @member {string} domain - * @memberof flyteidl.admin.ProjectDomainAttributes + * TaskCreateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskCreateRequest * @instance */ - ProjectDomainAttributes.prototype.domain = ""; + TaskCreateRequest.prototype.id = null; /** - * ProjectDomainAttributes attributes. - * @member {Object.} attributes - * @memberof flyteidl.admin.ProjectDomainAttributes + * TaskCreateRequest spec. + * @member {flyteidl.admin.ITaskSpec|null|undefined} spec + * @memberof flyteidl.admin.TaskCreateRequest * @instance */ - ProjectDomainAttributes.prototype.attributes = $util.emptyObject; + TaskCreateRequest.prototype.spec = null; /** - * Creates a new ProjectDomainAttributes instance using the specified properties. + * Creates a new TaskCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.TaskCreateRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributes=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes instance + * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest instance */ - ProjectDomainAttributes.create = function create(properties) { - return new ProjectDomainAttributes(properties); + TaskCreateRequest.create = function create(properties) { + return new TaskCreateRequest(properties); }; /** - * Encodes the specified ProjectDomainAttributes message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributes.verify|verify} messages. + * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.admin.TaskCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.TaskCreateRequest * @static - * @param {flyteidl.admin.IProjectDomainAttributes} message ProjectDomainAttributes message or plain object to encode + * @param {flyteidl.admin.ITaskCreateRequest} message TaskCreateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributes.encode = function encode(message, writer) { + TaskCreateRequest.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.attributes != null && message.hasOwnProperty("attributes")) - for (let keys = Object.keys(message.attributes), i = 0; i < keys.length; ++i) - writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.attributes[keys[i]]).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.admin.TaskSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributes message from the specified reader or buffer. + * Decodes a TaskCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.TaskCreateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributes} ProjectDomainAttributes + * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributes.decode = function decode(reader, length) { + TaskCreateRequest.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.ProjectDomainAttributes(), key; + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskCreateRequest(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.project = reader.string(); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.domain = reader.string(); - break; - case 3: - reader.skip().pos++; - if (message.attributes === $util.emptyObject) - message.attributes = {}; - key = reader.string(); - reader.pos++; - message.attributes[key] = reader.string(); + message.spec = $root.flyteidl.admin.TaskSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -22066,54 +23456,49 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a ProjectDomainAttributes message. + * Verifies a TaskCreateRequest message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributes + * @memberof flyteidl.admin.TaskCreateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributes.verify = function verify(message) { + TaskCreateRequest.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.attributes != null && message.hasOwnProperty("attributes")) { - if (!$util.isObject(message.attributes)) - return "attributes: object expected"; - let key = Object.keys(message.attributes); - for (let i = 0; i < key.length; ++i) - if (!$util.isString(message.attributes[key[i]])) - return "attributes: string{k:string} expected"; + if (message.id != null && message.hasOwnProperty("id")) { + let error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.spec != null && message.hasOwnProperty("spec")) { + let error = $root.flyteidl.admin.TaskSpec.verify(message.spec); + if (error) + return "spec." + error; } return null; }; - return ProjectDomainAttributes; + return TaskCreateRequest; })(); - admin.ProjectDomainAttributesUpdateRequest = (function() { + admin.TaskCreateResponse = (function() { /** - * Properties of a ProjectDomainAttributesUpdateRequest. + * Properties of a TaskCreateResponse. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesUpdateRequest - * @property {flyteidl.admin.IProjectDomainAttributes|null} [attributes] ProjectDomainAttributesUpdateRequest attributes + * @interface ITaskCreateResponse */ /** - * Constructs a new ProjectDomainAttributesUpdateRequest. + * Constructs a new TaskCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesUpdateRequest. - * @implements IProjectDomainAttributesUpdateRequest + * @classdesc Represents a TaskCreateResponse. + * @implements ITaskCreateResponse * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set */ - function ProjectDomainAttributesUpdateRequest(properties) { + function TaskCreateResponse(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22121,63 +23506,50 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * ProjectDomainAttributesUpdateRequest attributes. - * @member {flyteidl.admin.IProjectDomainAttributes|null|undefined} attributes - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest - * @instance - */ - ProjectDomainAttributesUpdateRequest.prototype.attributes = null; - - /** - * Creates a new ProjectDomainAttributesUpdateRequest instance using the specified properties. + * Creates a new TaskCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.TaskCreateResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest instance + * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse instance */ - ProjectDomainAttributesUpdateRequest.create = function create(properties) { - return new ProjectDomainAttributesUpdateRequest(properties); + TaskCreateResponse.create = function create(properties) { + return new TaskCreateResponse(properties); }; /** - * Encodes the specified ProjectDomainAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateRequest.verify|verify} messages. + * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.admin.TaskCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.TaskCreateResponse * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateRequest} message ProjectDomainAttributesUpdateRequest message or plain object to encode + * @param {flyteidl.admin.ITaskCreateResponse} message TaskCreateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributesUpdateRequest.encode = function encode(message, writer) { + TaskCreateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.attributes != null && message.hasOwnProperty("attributes")) - $root.flyteidl.admin.ProjectDomainAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributesUpdateRequest message from the specified reader or buffer. + * Decodes a TaskCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.TaskCreateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateRequest} ProjectDomainAttributesUpdateRequest + * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributesUpdateRequest.decode = function decode(reader, length) { + TaskCreateResponse.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.ProjectDomainAttributesUpdateRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskCreateResponse(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.attributes = $root.flyteidl.admin.ProjectDomainAttributes.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -22187,95 +23559,118 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a ProjectDomainAttributesUpdateRequest message. + * Verifies a TaskCreateResponse message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateRequest + * @memberof flyteidl.admin.TaskCreateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributesUpdateRequest.verify = function verify(message) { + TaskCreateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.attributes != null && message.hasOwnProperty("attributes")) { - let error = $root.flyteidl.admin.ProjectDomainAttributes.verify(message.attributes); - if (error) - return "attributes." + error; - } return null; }; - return ProjectDomainAttributesUpdateRequest; + return TaskCreateResponse; })(); - admin.ProjectDomainAttributesUpdateResponse = (function() { + admin.Task = (function() { /** - * Properties of a ProjectDomainAttributesUpdateResponse. + * Properties of a Task. * @memberof flyteidl.admin - * @interface IProjectDomainAttributesUpdateResponse + * @interface ITask + * @property {flyteidl.core.IIdentifier|null} [id] Task id + * @property {flyteidl.admin.ITaskClosure|null} [closure] Task closure */ /** - * Constructs a new ProjectDomainAttributesUpdateResponse. + * Constructs a new Task. * @memberof flyteidl.admin - * @classdesc Represents a ProjectDomainAttributesUpdateResponse. - * @implements IProjectDomainAttributesUpdateResponse + * @classdesc Represents a Task. + * @implements ITask * @constructor - * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITask=} [properties] Properties to set + */ + function Task(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]]; + } + + /** + * Task id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.Task + * @instance + */ + Task.prototype.id = null; + + /** + * Task closure. + * @member {flyteidl.admin.ITaskClosure|null|undefined} closure + * @memberof flyteidl.admin.Task + * @instance */ - function ProjectDomainAttributesUpdateResponse(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]]; - } + Task.prototype.closure = null; /** - * Creates a new ProjectDomainAttributesUpdateResponse instance using the specified properties. + * Creates a new Task instance using the specified properties. * @function create - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.Task * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse instance + * @param {flyteidl.admin.ITask=} [properties] Properties to set + * @returns {flyteidl.admin.Task} Task instance */ - ProjectDomainAttributesUpdateResponse.create = function create(properties) { - return new ProjectDomainAttributesUpdateResponse(properties); + Task.create = function create(properties) { + return new Task(properties); }; /** - * Encodes the specified ProjectDomainAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.ProjectDomainAttributesUpdateResponse.verify|verify} messages. + * Encodes the specified Task message. Does not implicitly {@link flyteidl.admin.Task.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.Task * @static - * @param {flyteidl.admin.IProjectDomainAttributesUpdateResponse} message ProjectDomainAttributesUpdateResponse message or plain object to encode + * @param {flyteidl.admin.ITask} message Task message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ProjectDomainAttributesUpdateResponse.encode = function encode(message, writer) { + Task.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.TaskClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a ProjectDomainAttributesUpdateResponse message from the specified reader or buffer. + * Decodes a Task message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.Task * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.ProjectDomainAttributesUpdateResponse} ProjectDomainAttributesUpdateResponse + * @returns {flyteidl.admin.Task} Task * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ProjectDomainAttributesUpdateResponse.decode = function decode(reader, length) { + Task.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.ProjectDomainAttributesUpdateResponse(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Task(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + break; + case 2: + message.closure = $root.flyteidl.admin.TaskClosure.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -22285,41 +23680,52 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a ProjectDomainAttributesUpdateResponse message. + * Verifies a Task message. * @function verify - * @memberof flyteidl.admin.ProjectDomainAttributesUpdateResponse + * @memberof flyteidl.admin.Task * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ProjectDomainAttributesUpdateResponse.verify = function verify(message) { + Task.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) { + let error = $root.flyteidl.core.Identifier.verify(message.id); + if (error) + return "id." + error; + } + if (message.closure != null && message.hasOwnProperty("closure")) { + let error = $root.flyteidl.admin.TaskClosure.verify(message.closure); + if (error) + return "closure." + error; + } return null; }; - return ProjectDomainAttributesUpdateResponse; + return Task; })(); - admin.TaskCreateRequest = (function() { + admin.TaskList = (function() { /** - * Properties of a TaskCreateRequest. + * Properties of a TaskList. * @memberof flyteidl.admin - * @interface ITaskCreateRequest - * @property {flyteidl.core.IIdentifier|null} [id] TaskCreateRequest id - * @property {flyteidl.admin.ITaskSpec|null} [spec] TaskCreateRequest spec + * @interface ITaskList + * @property {Array.|null} [tasks] TaskList tasks + * @property {string|null} [token] TaskList token */ /** - * Constructs a new TaskCreateRequest. + * Constructs a new TaskList. * @memberof flyteidl.admin - * @classdesc Represents a TaskCreateRequest. - * @implements ITaskCreateRequest + * @classdesc Represents a TaskList. + * @implements ITaskList * @constructor - * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskList=} [properties] Properties to set */ - function TaskCreateRequest(properties) { + function TaskList(properties) { + this.tasks = []; if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22327,75 +23733,78 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskCreateRequest + * TaskList tasks. + * @member {Array.} tasks + * @memberof flyteidl.admin.TaskList * @instance */ - TaskCreateRequest.prototype.id = null; + TaskList.prototype.tasks = $util.emptyArray; /** - * TaskCreateRequest spec. - * @member {flyteidl.admin.ITaskSpec|null|undefined} spec - * @memberof flyteidl.admin.TaskCreateRequest + * TaskList token. + * @member {string} token + * @memberof flyteidl.admin.TaskList * @instance */ - TaskCreateRequest.prototype.spec = null; + TaskList.prototype.token = ""; /** - * Creates a new TaskCreateRequest instance using the specified properties. + * Creates a new TaskList instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskCreateRequest + * @memberof flyteidl.admin.TaskList * @static - * @param {flyteidl.admin.ITaskCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest instance + * @param {flyteidl.admin.ITaskList=} [properties] Properties to set + * @returns {flyteidl.admin.TaskList} TaskList instance */ - TaskCreateRequest.create = function create(properties) { - return new TaskCreateRequest(properties); + TaskList.create = function create(properties) { + return new TaskList(properties); }; /** - * Encodes the specified TaskCreateRequest message. Does not implicitly {@link flyteidl.admin.TaskCreateRequest.verify|verify} messages. + * Encodes the specified TaskList message. Does not implicitly {@link flyteidl.admin.TaskList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskCreateRequest + * @memberof flyteidl.admin.TaskList * @static - * @param {flyteidl.admin.ITaskCreateRequest} message TaskCreateRequest message or plain object to encode + * @param {flyteidl.admin.ITaskList} message TaskList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskCreateRequest.encode = function encode(message, writer) { + TaskList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.spec != null && message.hasOwnProperty("spec")) - $root.flyteidl.admin.TaskSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tasks != null && message.tasks.length) + for (let i = 0; i < message.tasks.length; ++i) + $root.flyteidl.admin.Task.encode(message.tasks[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a TaskCreateRequest message from the specified reader or buffer. + * Decodes a TaskList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskCreateRequest + * @memberof flyteidl.admin.TaskList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskCreateRequest} TaskCreateRequest + * @returns {flyteidl.admin.TaskList} TaskList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskCreateRequest.decode = function decode(reader, length) { + TaskList.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.TaskCreateRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskList(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + if (!(message.tasks && message.tasks.length)) + message.tasks = []; + message.tasks.push($root.flyteidl.admin.Task.decode(reader, reader.uint32())); break; case 2: - message.spec = $root.flyteidl.admin.TaskSpec.decode(reader, reader.uint32()); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -22406,49 +23815,52 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskCreateRequest message. + * Verifies a TaskList message. * @function verify - * @memberof flyteidl.admin.TaskCreateRequest + * @memberof flyteidl.admin.TaskList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskCreateRequest.verify = function verify(message) { + TaskList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - let error = $root.flyteidl.core.Identifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.spec != null && message.hasOwnProperty("spec")) { - let error = $root.flyteidl.admin.TaskSpec.verify(message.spec); - if (error) - return "spec." + error; + if (message.tasks != null && message.hasOwnProperty("tasks")) { + if (!Array.isArray(message.tasks)) + return "tasks: array expected"; + for (let i = 0; i < message.tasks.length; ++i) { + let error = $root.flyteidl.admin.Task.verify(message.tasks[i]); + if (error) + return "tasks." + error; + } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return TaskCreateRequest; + return TaskList; })(); - admin.TaskCreateResponse = (function() { + admin.TaskSpec = (function() { /** - * Properties of a TaskCreateResponse. + * Properties of a TaskSpec. * @memberof flyteidl.admin - * @interface ITaskCreateResponse + * @interface ITaskSpec + * @property {flyteidl.core.ITaskTemplate|null} [template] TaskSpec template */ /** - * Constructs a new TaskCreateResponse. + * Constructs a new TaskSpec. * @memberof flyteidl.admin - * @classdesc Represents a TaskCreateResponse. - * @implements ITaskCreateResponse + * @classdesc Represents a TaskSpec. + * @implements ITaskSpec * @constructor - * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set */ - function TaskCreateResponse(properties) { + function TaskSpec(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22456,50 +23868,63 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * Creates a new TaskCreateResponse instance using the specified properties. + * TaskSpec template. + * @member {flyteidl.core.ITaskTemplate|null|undefined} template + * @memberof flyteidl.admin.TaskSpec + * @instance + */ + TaskSpec.prototype.template = null; + + /** + * Creates a new TaskSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.TaskSpec * @static - * @param {flyteidl.admin.ITaskCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse instance + * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set + * @returns {flyteidl.admin.TaskSpec} TaskSpec instance */ - TaskCreateResponse.create = function create(properties) { - return new TaskCreateResponse(properties); + TaskSpec.create = function create(properties) { + return new TaskSpec(properties); }; /** - * Encodes the specified TaskCreateResponse message. Does not implicitly {@link flyteidl.admin.TaskCreateResponse.verify|verify} messages. + * Encodes the specified TaskSpec message. Does not implicitly {@link flyteidl.admin.TaskSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.TaskSpec * @static - * @param {flyteidl.admin.ITaskCreateResponse} message TaskCreateResponse message or plain object to encode + * @param {flyteidl.admin.ITaskSpec} message TaskSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskCreateResponse.encode = function encode(message, writer) { + TaskSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskCreateResponse message from the specified reader or buffer. + * Decodes a TaskSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.TaskSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskCreateResponse} TaskCreateResponse + * @returns {flyteidl.admin.TaskSpec} TaskSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskCreateResponse.decode = function decode(reader, length) { + TaskSpec.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.TaskCreateResponse(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskSpec(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -22509,41 +23934,46 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskCreateResponse message. + * Verifies a TaskSpec message. * @function verify - * @memberof flyteidl.admin.TaskCreateResponse + * @memberof flyteidl.admin.TaskSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskCreateResponse.verify = function verify(message) { + TaskSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.template != null && message.hasOwnProperty("template")) { + let error = $root.flyteidl.core.TaskTemplate.verify(message.template); + if (error) + return "template." + error; + } return null; }; - return TaskCreateResponse; + return TaskSpec; })(); - admin.Task = (function() { + admin.TaskClosure = (function() { /** - * Properties of a Task. + * Properties of a TaskClosure. * @memberof flyteidl.admin - * @interface ITask - * @property {flyteidl.core.IIdentifier|null} [id] Task id - * @property {flyteidl.admin.ITaskClosure|null} [closure] Task closure + * @interface ITaskClosure + * @property {flyteidl.core.ICompiledTask|null} [compiledTask] TaskClosure compiledTask + * @property {google.protobuf.ITimestamp|null} [createdAt] TaskClosure createdAt */ /** - * Constructs a new Task. + * Constructs a new TaskClosure. * @memberof flyteidl.admin - * @classdesc Represents a Task. - * @implements ITask + * @classdesc Represents a TaskClosure. + * @implements ITaskClosure * @constructor - * @param {flyteidl.admin.ITask=} [properties] Properties to set + * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set */ - function Task(properties) { + function TaskClosure(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22551,75 +23981,75 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * Task id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.Task + * TaskClosure compiledTask. + * @member {flyteidl.core.ICompiledTask|null|undefined} compiledTask + * @memberof flyteidl.admin.TaskClosure * @instance */ - Task.prototype.id = null; + TaskClosure.prototype.compiledTask = null; /** - * Task closure. - * @member {flyteidl.admin.ITaskClosure|null|undefined} closure - * @memberof flyteidl.admin.Task + * TaskClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.TaskClosure * @instance */ - Task.prototype.closure = null; + TaskClosure.prototype.createdAt = null; /** - * Creates a new Task instance using the specified properties. + * Creates a new TaskClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.TaskClosure * @static - * @param {flyteidl.admin.ITask=} [properties] Properties to set - * @returns {flyteidl.admin.Task} Task instance + * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set + * @returns {flyteidl.admin.TaskClosure} TaskClosure instance */ - Task.create = function create(properties) { - return new Task(properties); + TaskClosure.create = function create(properties) { + return new TaskClosure(properties); }; /** - * Encodes the specified Task message. Does not implicitly {@link flyteidl.admin.Task.verify|verify} messages. + * Encodes the specified TaskClosure message. Does not implicitly {@link flyteidl.admin.TaskClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.TaskClosure * @static - * @param {flyteidl.admin.ITask} message Task message or plain object to encode + * @param {flyteidl.admin.ITaskClosure} message TaskClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Task.encode = function encode(message, writer) { + TaskClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.TaskClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.compiledTask != null && message.hasOwnProperty("compiledTask")) + $root.flyteidl.core.CompiledTask.encode(message.compiledTask, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Task message from the specified reader or buffer. + * Decodes a TaskClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.TaskClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Task} Task + * @returns {flyteidl.admin.TaskClosure} TaskClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Task.decode = function decode(reader, length) { + TaskClosure.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.Task(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskClosure(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.compiledTask = $root.flyteidl.core.CompiledTask.decode(reader, reader.uint32()); break; case 2: - message.closure = $root.flyteidl.admin.TaskClosure.decode(reader, reader.uint32()); + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -22630,52 +24060,50 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a Task message. + * Verifies a TaskClosure message. * @function verify - * @memberof flyteidl.admin.Task + * @memberof flyteidl.admin.TaskClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Task.verify = function verify(message) { + TaskClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - let error = $root.flyteidl.core.Identifier.verify(message.id); + if (message.compiledTask != null && message.hasOwnProperty("compiledTask")) { + let error = $root.flyteidl.core.CompiledTask.verify(message.compiledTask); if (error) - return "id." + error; + return "compiledTask." + error; } - if (message.closure != null && message.hasOwnProperty("closure")) { - let error = $root.flyteidl.admin.TaskClosure.verify(message.closure); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + let error = $root.google.protobuf.Timestamp.verify(message.createdAt); if (error) - return "closure." + error; + return "createdAt." + error; } return null; }; - return Task; + return TaskClosure; })(); - admin.TaskList = (function() { + admin.TaskExecutionGetRequest = (function() { /** - * Properties of a TaskList. + * Properties of a TaskExecutionGetRequest. * @memberof flyteidl.admin - * @interface ITaskList - * @property {Array.|null} [tasks] TaskList tasks - * @property {string|null} [token] TaskList token + * @interface ITaskExecutionGetRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetRequest id */ /** - * Constructs a new TaskList. + * Constructs a new TaskExecutionGetRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskList. - * @implements ITaskList + * @classdesc Represents a TaskExecutionGetRequest. + * @implements ITaskExecutionGetRequest * @constructor - * @param {flyteidl.admin.ITaskList=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set */ - function TaskList(properties) { - this.tasks = []; + function TaskExecutionGetRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22683,78 +24111,62 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskList tasks. - * @member {Array.} tasks - * @memberof flyteidl.admin.TaskList - * @instance - */ - TaskList.prototype.tasks = $util.emptyArray; - - /** - * TaskList token. - * @member {string} token - * @memberof flyteidl.admin.TaskList + * TaskExecutionGetRequest id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskExecutionGetRequest * @instance */ - TaskList.prototype.token = ""; + TaskExecutionGetRequest.prototype.id = null; /** - * Creates a new TaskList instance using the specified properties. + * Creates a new TaskExecutionGetRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static - * @param {flyteidl.admin.ITaskList=} [properties] Properties to set - * @returns {flyteidl.admin.TaskList} TaskList instance + * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest instance */ - TaskList.create = function create(properties) { - return new TaskList(properties); + TaskExecutionGetRequest.create = function create(properties) { + return new TaskExecutionGetRequest(properties); }; /** - * Encodes the specified TaskList message. Does not implicitly {@link flyteidl.admin.TaskList.verify|verify} messages. + * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static - * @param {flyteidl.admin.ITaskList} message TaskList message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionGetRequest} message TaskExecutionGetRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskList.encode = function encode(message, writer) { + TaskExecutionGetRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.tasks != null && message.tasks.length) - for (let i = 0; i < message.tasks.length; ++i) - $root.flyteidl.admin.Task.encode(message.tasks[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskList message from the specified reader or buffer. + * Decodes a TaskExecutionGetRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskList} TaskList + * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskList.decode = function decode(reader, length) { + TaskExecutionGetRequest.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.TaskList(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionGetRequest(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.tasks && message.tasks.length)) - message.tasks = []; - message.tasks.push($root.flyteidl.admin.Task.decode(reader, reader.uint32())); - break; - case 2: - message.token = reader.string(); + message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -22765,52 +24177,49 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskList message. + * Verifies a TaskExecutionGetRequest message. * @function verify - * @memberof flyteidl.admin.TaskList + * @memberof flyteidl.admin.TaskExecutionGetRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskList.verify = function verify(message) { + TaskExecutionGetRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.tasks != null && message.hasOwnProperty("tasks")) { - if (!Array.isArray(message.tasks)) - return "tasks: array expected"; - for (let i = 0; i < message.tasks.length; ++i) { - let error = $root.flyteidl.admin.Task.verify(message.tasks[i]); - if (error) - return "tasks." + error; - } + if (message.id != null && message.hasOwnProperty("id")) { + let error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); + if (error) + return "id." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return TaskList; + return TaskExecutionGetRequest; })(); - admin.TaskSpec = (function() { + admin.TaskExecutionListRequest = (function() { /** - * Properties of a TaskSpec. + * Properties of a TaskExecutionListRequest. * @memberof flyteidl.admin - * @interface ITaskSpec - * @property {flyteidl.core.ITaskTemplate|null} [template] TaskSpec template + * @interface ITaskExecutionListRequest + * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] TaskExecutionListRequest nodeExecutionId + * @property {number|null} [limit] TaskExecutionListRequest limit + * @property {string|null} [token] TaskExecutionListRequest token + * @property {string|null} [filters] TaskExecutionListRequest filters + * @property {flyteidl.admin.ISort|null} [sortBy] TaskExecutionListRequest sortBy */ /** - * Constructs a new TaskSpec. + * Constructs a new TaskExecutionListRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskSpec. - * @implements ITaskSpec + * @classdesc Represents a TaskExecutionListRequest. + * @implements ITaskExecutionListRequest * @constructor - * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set */ - function TaskSpec(properties) { + function TaskExecutionListRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22818,62 +24227,114 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskSpec template. - * @member {flyteidl.core.ITaskTemplate|null|undefined} template - * @memberof flyteidl.admin.TaskSpec + * TaskExecutionListRequest nodeExecutionId. + * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId + * @memberof flyteidl.admin.TaskExecutionListRequest * @instance */ - TaskSpec.prototype.template = null; + TaskExecutionListRequest.prototype.nodeExecutionId = null; + + /** + * TaskExecutionListRequest limit. + * @member {number} limit + * @memberof flyteidl.admin.TaskExecutionListRequest + * @instance + */ + TaskExecutionListRequest.prototype.limit = 0; + + /** + * TaskExecutionListRequest token. + * @member {string} token + * @memberof flyteidl.admin.TaskExecutionListRequest + * @instance + */ + TaskExecutionListRequest.prototype.token = ""; + + /** + * TaskExecutionListRequest filters. + * @member {string} filters + * @memberof flyteidl.admin.TaskExecutionListRequest + * @instance + */ + TaskExecutionListRequest.prototype.filters = ""; + + /** + * TaskExecutionListRequest sortBy. + * @member {flyteidl.admin.ISort|null|undefined} sortBy + * @memberof flyteidl.admin.TaskExecutionListRequest + * @instance + */ + TaskExecutionListRequest.prototype.sortBy = null; /** - * Creates a new TaskSpec instance using the specified properties. + * Creates a new TaskExecutionListRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.TaskExecutionListRequest * @static - * @param {flyteidl.admin.ITaskSpec=} [properties] Properties to set - * @returns {flyteidl.admin.TaskSpec} TaskSpec instance + * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest instance */ - TaskSpec.create = function create(properties) { - return new TaskSpec(properties); + TaskExecutionListRequest.create = function create(properties) { + return new TaskExecutionListRequest(properties); }; /** - * Encodes the specified TaskSpec message. Does not implicitly {@link flyteidl.admin.TaskSpec.verify|verify} messages. + * Encodes the specified TaskExecutionListRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionListRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.TaskExecutionListRequest * @static - * @param {flyteidl.admin.ITaskSpec} message TaskSpec message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionListRequest} message TaskExecutionListRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskSpec.encode = function encode(message, writer) { + TaskExecutionListRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.template != null && message.hasOwnProperty("template")) - $root.flyteidl.core.TaskTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) + $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.limit != null && message.hasOwnProperty("limit")) + writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); + if (message.filters != null && message.hasOwnProperty("filters")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); + if (message.sortBy != null && message.hasOwnProperty("sortBy")) + $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; /** - * Decodes a TaskSpec message from the specified reader or buffer. + * Decodes a TaskExecutionListRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.TaskExecutionListRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskSpec} TaskSpec + * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskSpec.decode = function decode(reader, length) { + TaskExecutionListRequest.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.TaskSpec(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionListRequest(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.template = $root.flyteidl.core.TaskTemplate.decode(reader, reader.uint32()); + message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + break; + case 2: + message.limit = reader.uint32(); + break; + case 3: + message.token = reader.string(); + break; + case 4: + message.filters = reader.string(); + break; + case 5: + message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -22884,46 +24345,62 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskSpec message. + * Verifies a TaskExecutionListRequest message. * @function verify - * @memberof flyteidl.admin.TaskSpec + * @memberof flyteidl.admin.TaskExecutionListRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskSpec.verify = function verify(message) { + TaskExecutionListRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.template != null && message.hasOwnProperty("template")) { - let error = $root.flyteidl.core.TaskTemplate.verify(message.template); + if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { + let error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); if (error) - return "template." + error; + return "nodeExecutionId." + error; + } + if (message.limit != null && message.hasOwnProperty("limit")) + if (!$util.isInteger(message.limit)) + return "limit: integer expected"; + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; + if (message.filters != null && message.hasOwnProperty("filters")) + if (!$util.isString(message.filters)) + return "filters: string expected"; + if (message.sortBy != null && message.hasOwnProperty("sortBy")) { + let error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (error) + return "sortBy." + error; } return null; }; - return TaskSpec; + return TaskExecutionListRequest; })(); - admin.TaskClosure = (function() { + admin.TaskExecution = (function() { /** - * Properties of a TaskClosure. + * Properties of a TaskExecution. * @memberof flyteidl.admin - * @interface ITaskClosure - * @property {flyteidl.core.ICompiledTask|null} [compiledTask] TaskClosure compiledTask - * @property {google.protobuf.ITimestamp|null} [createdAt] TaskClosure createdAt + * @interface ITaskExecution + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecution id + * @property {string|null} [inputUri] TaskExecution inputUri + * @property {flyteidl.admin.ITaskExecutionClosure|null} [closure] TaskExecution closure + * @property {boolean|null} [isParent] TaskExecution isParent */ /** - * Constructs a new TaskClosure. + * Constructs a new TaskExecution. * @memberof flyteidl.admin - * @classdesc Represents a TaskClosure. - * @implements ITaskClosure + * @classdesc Represents a TaskExecution. + * @implements ITaskExecution * @constructor - * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set */ - function TaskClosure(properties) { + function TaskExecution(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22931,75 +24408,101 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskClosure compiledTask. - * @member {flyteidl.core.ICompiledTask|null|undefined} compiledTask - * @memberof flyteidl.admin.TaskClosure + * TaskExecution id. + * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id + * @memberof flyteidl.admin.TaskExecution * @instance */ - TaskClosure.prototype.compiledTask = null; + TaskExecution.prototype.id = null; /** - * TaskClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.TaskClosure + * TaskExecution inputUri. + * @member {string} inputUri + * @memberof flyteidl.admin.TaskExecution * @instance */ - TaskClosure.prototype.createdAt = null; + TaskExecution.prototype.inputUri = ""; /** - * Creates a new TaskClosure instance using the specified properties. + * TaskExecution closure. + * @member {flyteidl.admin.ITaskExecutionClosure|null|undefined} closure + * @memberof flyteidl.admin.TaskExecution + * @instance + */ + TaskExecution.prototype.closure = null; + + /** + * TaskExecution isParent. + * @member {boolean} isParent + * @memberof flyteidl.admin.TaskExecution + * @instance + */ + TaskExecution.prototype.isParent = false; + + /** + * Creates a new TaskExecution instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.TaskExecution * @static - * @param {flyteidl.admin.ITaskClosure=} [properties] Properties to set - * @returns {flyteidl.admin.TaskClosure} TaskClosure instance + * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecution} TaskExecution instance */ - TaskClosure.create = function create(properties) { - return new TaskClosure(properties); + TaskExecution.create = function create(properties) { + return new TaskExecution(properties); }; /** - * Encodes the specified TaskClosure message. Does not implicitly {@link flyteidl.admin.TaskClosure.verify|verify} messages. + * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.admin.TaskExecution.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.TaskExecution * @static - * @param {flyteidl.admin.ITaskClosure} message TaskClosure message or plain object to encode + * @param {flyteidl.admin.ITaskExecution} message TaskExecution message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskClosure.encode = function encode(message, writer) { + TaskExecution.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.compiledTask != null && message.hasOwnProperty("compiledTask")) - $root.flyteidl.core.CompiledTask.encode(message.compiledTask, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputUri); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.TaskExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.isParent != null && message.hasOwnProperty("isParent")) + writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isParent); return writer; }; /** - * Decodes a TaskClosure message from the specified reader or buffer. + * Decodes a TaskExecution message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.TaskExecution * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskClosure} TaskClosure + * @returns {flyteidl.admin.TaskExecution} TaskExecution * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskClosure.decode = function decode(reader, length) { + TaskExecution.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.TaskClosure(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecution(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.compiledTask = $root.flyteidl.core.CompiledTask.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; case 2: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + message.inputUri = reader.string(); + break; + case 3: + message.closure = $root.flyteidl.admin.TaskExecutionClosure.decode(reader, reader.uint32()); + break; + case 4: + message.isParent = reader.bool(); break; default: reader.skipType(tag & 7); @@ -23010,50 +24513,58 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskClosure message. + * Verifies a TaskExecution message. * @function verify - * @memberof flyteidl.admin.TaskClosure + * @memberof flyteidl.admin.TaskExecution * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskClosure.verify = function verify(message) { + TaskExecution.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.compiledTask != null && message.hasOwnProperty("compiledTask")) { - let error = $root.flyteidl.core.CompiledTask.verify(message.compiledTask); + if (message.id != null && message.hasOwnProperty("id")) { + let error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); if (error) - return "compiledTask." + error; + return "id." + error; } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - let error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (message.inputUri != null && message.hasOwnProperty("inputUri")) + if (!$util.isString(message.inputUri)) + return "inputUri: string expected"; + if (message.closure != null && message.hasOwnProperty("closure")) { + let error = $root.flyteidl.admin.TaskExecutionClosure.verify(message.closure); if (error) - return "createdAt." + error; + return "closure." + error; } + if (message.isParent != null && message.hasOwnProperty("isParent")) + if (typeof message.isParent !== "boolean") + return "isParent: boolean expected"; return null; }; - return TaskClosure; + return TaskExecution; })(); - admin.TaskExecutionGetRequest = (function() { + admin.TaskExecutionList = (function() { /** - * Properties of a TaskExecutionGetRequest. + * Properties of a TaskExecutionList. * @memberof flyteidl.admin - * @interface ITaskExecutionGetRequest - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetRequest id + * @interface ITaskExecutionList + * @property {Array.|null} [taskExecutions] TaskExecutionList taskExecutions + * @property {string|null} [token] TaskExecutionList token */ /** - * Constructs a new TaskExecutionGetRequest. + * Constructs a new TaskExecutionList. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetRequest. - * @implements ITaskExecutionGetRequest + * @classdesc Represents a TaskExecutionList. + * @implements ITaskExecutionList * @constructor - * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set */ - function TaskExecutionGetRequest(properties) { + function TaskExecutionList(properties) { + this.taskExecutions = []; if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23061,62 +24572,78 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskExecutionGetRequest id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecutionGetRequest + * TaskExecutionList taskExecutions. + * @member {Array.} taskExecutions + * @memberof flyteidl.admin.TaskExecutionList * @instance */ - TaskExecutionGetRequest.prototype.id = null; + TaskExecutionList.prototype.taskExecutions = $util.emptyArray; /** - * Creates a new TaskExecutionGetRequest instance using the specified properties. + * TaskExecutionList token. + * @member {string} token + * @memberof flyteidl.admin.TaskExecutionList + * @instance + */ + TaskExecutionList.prototype.token = ""; + + /** + * Creates a new TaskExecutionList instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @memberof flyteidl.admin.TaskExecutionList * @static - * @param {flyteidl.admin.ITaskExecutionGetRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest instance + * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList instance */ - TaskExecutionGetRequest.create = function create(properties) { - return new TaskExecutionGetRequest(properties); + TaskExecutionList.create = function create(properties) { + return new TaskExecutionList(properties); }; /** - * Encodes the specified TaskExecutionGetRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetRequest.verify|verify} messages. + * Encodes the specified TaskExecutionList message. Does not implicitly {@link flyteidl.admin.TaskExecutionList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @memberof flyteidl.admin.TaskExecutionList * @static - * @param {flyteidl.admin.ITaskExecutionGetRequest} message TaskExecutionGetRequest message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionList} message TaskExecutionList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionGetRequest.encode = function encode(message, writer) { + TaskExecutionList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.taskExecutions != null && message.taskExecutions.length) + for (let i = 0; i < message.taskExecutions.length; ++i) + $root.flyteidl.admin.TaskExecution.encode(message.taskExecutions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a TaskExecutionGetRequest message from the specified reader or buffer. + * Decodes a TaskExecutionList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @memberof flyteidl.admin.TaskExecutionList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionGetRequest} TaskExecutionGetRequest + * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionGetRequest.decode = function decode(reader, length) { + TaskExecutionList.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.TaskExecutionGetRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionList(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); + if (!(message.taskExecutions && message.taskExecutions.length)) + message.taskExecutions = []; + message.taskExecutions.push($root.flyteidl.admin.TaskExecution.decode(reader, reader.uint32())); + break; + case 2: + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -23127,49 +24654,61 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskExecutionGetRequest message. + * Verifies a TaskExecutionList message. * @function verify - * @memberof flyteidl.admin.TaskExecutionGetRequest + * @memberof flyteidl.admin.TaskExecutionList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionGetRequest.verify = function verify(message) { + TaskExecutionList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - let error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; + if (message.taskExecutions != null && message.hasOwnProperty("taskExecutions")) { + if (!Array.isArray(message.taskExecutions)) + return "taskExecutions: array expected"; + for (let i = 0; i < message.taskExecutions.length; ++i) { + let error = $root.flyteidl.admin.TaskExecution.verify(message.taskExecutions[i]); + if (error) + return "taskExecutions." + error; + } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return TaskExecutionGetRequest; + return TaskExecutionList; })(); - admin.TaskExecutionListRequest = (function() { + admin.TaskExecutionClosure = (function() { /** - * Properties of a TaskExecutionListRequest. + * Properties of a TaskExecutionClosure. * @memberof flyteidl.admin - * @interface ITaskExecutionListRequest - * @property {flyteidl.core.INodeExecutionIdentifier|null} [nodeExecutionId] TaskExecutionListRequest nodeExecutionId - * @property {number|null} [limit] TaskExecutionListRequest limit - * @property {string|null} [token] TaskExecutionListRequest token - * @property {string|null} [filters] TaskExecutionListRequest filters - * @property {flyteidl.admin.ISort|null} [sortBy] TaskExecutionListRequest sortBy + * @interface ITaskExecutionClosure + * @property {string|null} [outputUri] TaskExecutionClosure outputUri + * @property {flyteidl.core.IExecutionError|null} [error] TaskExecutionClosure error + * @property {flyteidl.core.TaskExecution.Phase|null} [phase] TaskExecutionClosure phase + * @property {Array.|null} [logs] TaskExecutionClosure logs + * @property {google.protobuf.ITimestamp|null} [startedAt] TaskExecutionClosure startedAt + * @property {google.protobuf.IDuration|null} [duration] TaskExecutionClosure duration + * @property {google.protobuf.ITimestamp|null} [createdAt] TaskExecutionClosure createdAt + * @property {google.protobuf.ITimestamp|null} [updatedAt] TaskExecutionClosure updatedAt + * @property {google.protobuf.IStruct|null} [customInfo] TaskExecutionClosure customInfo */ /** - * Constructs a new TaskExecutionListRequest. + * Constructs a new TaskExecutionClosure. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionListRequest. - * @implements ITaskExecutionListRequest + * @classdesc Represents a TaskExecutionClosure. + * @implements ITaskExecutionClosure * @constructor - * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set */ - function TaskExecutionListRequest(properties) { + function TaskExecutionClosure(properties) { + this.logs = []; if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23177,114 +24716,183 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskExecutionListRequest nodeExecutionId. - * @member {flyteidl.core.INodeExecutionIdentifier|null|undefined} nodeExecutionId - * @memberof flyteidl.admin.TaskExecutionListRequest + * TaskExecutionClosure outputUri. + * @member {string} outputUri + * @memberof flyteidl.admin.TaskExecutionClosure * @instance */ - TaskExecutionListRequest.prototype.nodeExecutionId = null; + TaskExecutionClosure.prototype.outputUri = ""; /** - * TaskExecutionListRequest limit. - * @member {number} limit - * @memberof flyteidl.admin.TaskExecutionListRequest + * TaskExecutionClosure error. + * @member {flyteidl.core.IExecutionError|null|undefined} error + * @memberof flyteidl.admin.TaskExecutionClosure * @instance */ - TaskExecutionListRequest.prototype.limit = 0; + TaskExecutionClosure.prototype.error = null; /** - * TaskExecutionListRequest token. - * @member {string} token - * @memberof flyteidl.admin.TaskExecutionListRequest + * TaskExecutionClosure phase. + * @member {flyteidl.core.TaskExecution.Phase} phase + * @memberof flyteidl.admin.TaskExecutionClosure * @instance */ - TaskExecutionListRequest.prototype.token = ""; + TaskExecutionClosure.prototype.phase = 0; /** - * TaskExecutionListRequest filters. - * @member {string} filters - * @memberof flyteidl.admin.TaskExecutionListRequest + * TaskExecutionClosure logs. + * @member {Array.} logs + * @memberof flyteidl.admin.TaskExecutionClosure * @instance */ - TaskExecutionListRequest.prototype.filters = ""; + TaskExecutionClosure.prototype.logs = $util.emptyArray; /** - * TaskExecutionListRequest sortBy. - * @member {flyteidl.admin.ISort|null|undefined} sortBy - * @memberof flyteidl.admin.TaskExecutionListRequest + * TaskExecutionClosure startedAt. + * @member {google.protobuf.ITimestamp|null|undefined} startedAt + * @memberof flyteidl.admin.TaskExecutionClosure * @instance */ - TaskExecutionListRequest.prototype.sortBy = null; + TaskExecutionClosure.prototype.startedAt = null; /** - * Creates a new TaskExecutionListRequest instance using the specified properties. + * TaskExecutionClosure duration. + * @member {google.protobuf.IDuration|null|undefined} duration + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.duration = null; + + /** + * TaskExecutionClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.createdAt = null; + + /** + * TaskExecutionClosure updatedAt. + * @member {google.protobuf.ITimestamp|null|undefined} updatedAt + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.updatedAt = null; + + /** + * TaskExecutionClosure customInfo. + * @member {google.protobuf.IStruct|null|undefined} customInfo + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + TaskExecutionClosure.prototype.customInfo = null; + + // OneOf field names bound to virtual getters and setters + let $oneOfFields; + + /** + * TaskExecutionClosure outputResult. + * @member {"outputUri"|"error"|undefined} outputResult + * @memberof flyteidl.admin.TaskExecutionClosure + * @instance + */ + Object.defineProperty(TaskExecutionClosure.prototype, "outputResult", { + get: $util.oneOfGetter($oneOfFields = ["outputUri", "error"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new TaskExecutionClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.TaskExecutionClosure * @static - * @param {flyteidl.admin.ITaskExecutionListRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest instance + * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure instance */ - TaskExecutionListRequest.create = function create(properties) { - return new TaskExecutionListRequest(properties); + TaskExecutionClosure.create = function create(properties) { + return new TaskExecutionClosure(properties); }; /** - * Encodes the specified TaskExecutionListRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionListRequest.verify|verify} messages. + * Encodes the specified TaskExecutionClosure message. Does not implicitly {@link flyteidl.admin.TaskExecutionClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.TaskExecutionClosure * @static - * @param {flyteidl.admin.ITaskExecutionListRequest} message TaskExecutionListRequest message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionClosure} message TaskExecutionClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionListRequest.encode = function encode(message, writer) { + TaskExecutionClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) - $root.flyteidl.core.NodeExecutionIdentifier.encode(message.nodeExecutionId, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.limit != null && message.hasOwnProperty("limit")) - writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.limit); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.token); - if (message.filters != null && message.hasOwnProperty("filters")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.filters); - if (message.sortBy != null && message.hasOwnProperty("sortBy")) - $root.flyteidl.admin.Sort.encode(message.sortBy, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.outputUri != null && message.hasOwnProperty("outputUri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputUri); + if (message.error != null && message.hasOwnProperty("error")) + $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.phase != null && message.hasOwnProperty("phase")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); + if (message.logs != null && message.logs.length) + for (let i = 0; i < message.logs.length; ++i) + $root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.startedAt != null && message.hasOwnProperty("startedAt")) + $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.duration != null && message.hasOwnProperty("duration")) + $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) + $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.customInfo != null && message.hasOwnProperty("customInfo")) + $root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionListRequest message from the specified reader or buffer. + * Decodes a TaskExecutionClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.TaskExecutionClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionListRequest} TaskExecutionListRequest + * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionListRequest.decode = function decode(reader, length) { + TaskExecutionClosure.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.TaskExecutionListRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionClosure(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.nodeExecutionId = $root.flyteidl.core.NodeExecutionIdentifier.decode(reader, reader.uint32()); + message.outputUri = reader.string(); break; case 2: - message.limit = reader.uint32(); + message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); break; case 3: - message.token = reader.string(); + message.phase = reader.int32(); + break; + case 4: + if (!(message.logs && message.logs.length)) + message.logs = []; + message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); + break; + case 5: + message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 6: + message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); break; - case 4: - message.filters = reader.string(); + case 7: + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; - case 5: - message.sortBy = $root.flyteidl.admin.Sort.decode(reader, reader.uint32()); + case 8: + message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + case 9: + message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -23295,62 +24903,102 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskExecutionListRequest message. + * Verifies a TaskExecutionClosure message. * @function verify - * @memberof flyteidl.admin.TaskExecutionListRequest + * @memberof flyteidl.admin.TaskExecutionClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionListRequest.verify = function verify(message) { + TaskExecutionClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.nodeExecutionId != null && message.hasOwnProperty("nodeExecutionId")) { - let error = $root.flyteidl.core.NodeExecutionIdentifier.verify(message.nodeExecutionId); + let properties = {}; + if (message.outputUri != null && message.hasOwnProperty("outputUri")) { + properties.outputResult = 1; + if (!$util.isString(message.outputUri)) + return "outputUri: string expected"; + } + if (message.error != null && message.hasOwnProperty("error")) { + if (properties.outputResult === 1) + return "outputResult: multiple values"; + properties.outputResult = 1; + { + let error = $root.flyteidl.core.ExecutionError.verify(message.error); + if (error) + return "error." + error; + } + } + if (message.phase != null && message.hasOwnProperty("phase")) + switch (message.phase) { + default: + return "phase: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + break; + } + if (message.logs != null && message.hasOwnProperty("logs")) { + if (!Array.isArray(message.logs)) + return "logs: array expected"; + for (let i = 0; i < message.logs.length; ++i) { + let error = $root.flyteidl.core.TaskLog.verify(message.logs[i]); + if (error) + return "logs." + error; + } + } + if (message.startedAt != null && message.hasOwnProperty("startedAt")) { + let error = $root.google.protobuf.Timestamp.verify(message.startedAt); if (error) - return "nodeExecutionId." + error; + return "startedAt." + error; } - if (message.limit != null && message.hasOwnProperty("limit")) - if (!$util.isInteger(message.limit)) - return "limit: integer expected"; - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; - if (message.filters != null && message.hasOwnProperty("filters")) - if (!$util.isString(message.filters)) - return "filters: string expected"; - if (message.sortBy != null && message.hasOwnProperty("sortBy")) { - let error = $root.flyteidl.admin.Sort.verify(message.sortBy); + if (message.duration != null && message.hasOwnProperty("duration")) { + let error = $root.google.protobuf.Duration.verify(message.duration); if (error) - return "sortBy." + error; + return "duration." + error; + } + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + let error = $root.google.protobuf.Timestamp.verify(message.createdAt); + if (error) + return "createdAt." + error; + } + if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { + let error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (error) + return "updatedAt." + error; + } + if (message.customInfo != null && message.hasOwnProperty("customInfo")) { + let error = $root.google.protobuf.Struct.verify(message.customInfo); + if (error) + return "customInfo." + error; } return null; }; - return TaskExecutionListRequest; + return TaskExecutionClosure; })(); - admin.TaskExecution = (function() { + admin.TaskExecutionGetDataRequest = (function() { /** - * Properties of a TaskExecution. + * Properties of a TaskExecutionGetDataRequest. * @memberof flyteidl.admin - * @interface ITaskExecution - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecution id - * @property {string|null} [inputUri] TaskExecution inputUri - * @property {flyteidl.admin.ITaskExecutionClosure|null} [closure] TaskExecution closure - * @property {boolean|null} [isParent] TaskExecution isParent + * @interface ITaskExecutionGetDataRequest + * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetDataRequest id */ /** - * Constructs a new TaskExecution. + * Constructs a new TaskExecutionGetDataRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecution. - * @implements ITaskExecution + * @classdesc Represents a TaskExecutionGetDataRequest. + * @implements ITaskExecutionGetDataRequest * @constructor - * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set */ - function TaskExecution(properties) { + function TaskExecutionGetDataRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23358,102 +25006,63 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskExecution id. + * TaskExecutionGetDataRequest id. * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecution - * @instance - */ - TaskExecution.prototype.id = null; - - /** - * TaskExecution inputUri. - * @member {string} inputUri - * @memberof flyteidl.admin.TaskExecution - * @instance - */ - TaskExecution.prototype.inputUri = ""; - - /** - * TaskExecution closure. - * @member {flyteidl.admin.ITaskExecutionClosure|null|undefined} closure - * @memberof flyteidl.admin.TaskExecution - * @instance - */ - TaskExecution.prototype.closure = null; - - /** - * TaskExecution isParent. - * @member {boolean} isParent - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @instance */ - TaskExecution.prototype.isParent = false; + TaskExecutionGetDataRequest.prototype.id = null; /** - * Creates a new TaskExecution instance using the specified properties. + * Creates a new TaskExecutionGetDataRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static - * @param {flyteidl.admin.ITaskExecution=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecution} TaskExecution instance + * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest instance */ - TaskExecution.create = function create(properties) { - return new TaskExecution(properties); + TaskExecutionGetDataRequest.create = function create(properties) { + return new TaskExecutionGetDataRequest(properties); }; /** - * Encodes the specified TaskExecution message. Does not implicitly {@link flyteidl.admin.TaskExecution.verify|verify} messages. + * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static - * @param {flyteidl.admin.ITaskExecution} message TaskExecution message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionGetDataRequest} message TaskExecutionGetDataRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecution.encode = function encode(message, writer) { + TaskExecutionGetDataRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.id != null && message.hasOwnProperty("id")) $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputUri); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.TaskExecutionClosure.encode(message.closure, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.isParent != null && message.hasOwnProperty("isParent")) - writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isParent); return writer; }; /** - * Decodes a TaskExecution message from the specified reader or buffer. + * Decodes a TaskExecutionGetDataRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecution} TaskExecution + * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecution.decode = function decode(reader, length) { + TaskExecutionGetDataRequest.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.TaskExecution(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionGetDataRequest(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); break; - case 2: - message.inputUri = reader.string(); - break; - case 3: - message.closure = $root.flyteidl.admin.TaskExecutionClosure.decode(reader, reader.uint32()); - break; - case 4: - message.isParent = reader.bool(); - break; default: reader.skipType(tag & 7); break; @@ -23463,14 +25072,14 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskExecution message. + * Verifies a TaskExecutionGetDataRequest message. * @function verify - * @memberof flyteidl.admin.TaskExecution + * @memberof flyteidl.admin.TaskExecutionGetDataRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecution.verify = function verify(message) { + TaskExecutionGetDataRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; if (message.id != null && message.hasOwnProperty("id")) { @@ -23478,43 +25087,31 @@ export const flyteidl = $root.flyteidl = (() => { if (error) return "id." + error; } - if (message.inputUri != null && message.hasOwnProperty("inputUri")) - if (!$util.isString(message.inputUri)) - return "inputUri: string expected"; - if (message.closure != null && message.hasOwnProperty("closure")) { - let error = $root.flyteidl.admin.TaskExecutionClosure.verify(message.closure); - if (error) - return "closure." + error; - } - if (message.isParent != null && message.hasOwnProperty("isParent")) - if (typeof message.isParent !== "boolean") - return "isParent: boolean expected"; return null; }; - return TaskExecution; + return TaskExecutionGetDataRequest; })(); - admin.TaskExecutionList = (function() { + admin.TaskExecutionGetDataResponse = (function() { /** - * Properties of a TaskExecutionList. + * Properties of a TaskExecutionGetDataResponse. * @memberof flyteidl.admin - * @interface ITaskExecutionList - * @property {Array.|null} [taskExecutions] TaskExecutionList taskExecutions - * @property {string|null} [token] TaskExecutionList token + * @interface ITaskExecutionGetDataResponse + * @property {flyteidl.admin.IUrlBlob|null} [inputs] TaskExecutionGetDataResponse inputs + * @property {flyteidl.admin.IUrlBlob|null} [outputs] TaskExecutionGetDataResponse outputs */ /** - * Constructs a new TaskExecutionList. + * Constructs a new TaskExecutionGetDataResponse. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionList. - * @implements ITaskExecutionList + * @classdesc Represents a TaskExecutionGetDataResponse. + * @implements ITaskExecutionGetDataResponse * @constructor - * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set + * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set */ - function TaskExecutionList(properties) { - this.taskExecutions = []; + function TaskExecutionGetDataResponse(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23522,78 +25119,75 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskExecutionList taskExecutions. - * @member {Array.} taskExecutions - * @memberof flyteidl.admin.TaskExecutionList + * TaskExecutionGetDataResponse inputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @instance */ - TaskExecutionList.prototype.taskExecutions = $util.emptyArray; + TaskExecutionGetDataResponse.prototype.inputs = null; /** - * TaskExecutionList token. - * @member {string} token - * @memberof flyteidl.admin.TaskExecutionList + * TaskExecutionGetDataResponse outputs. + * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @instance */ - TaskExecutionList.prototype.token = ""; + TaskExecutionGetDataResponse.prototype.outputs = null; /** - * Creates a new TaskExecutionList instance using the specified properties. + * Creates a new TaskExecutionGetDataResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionList + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static - * @param {flyteidl.admin.ITaskExecutionList=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList instance + * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set + * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse instance */ - TaskExecutionList.create = function create(properties) { - return new TaskExecutionList(properties); + TaskExecutionGetDataResponse.create = function create(properties) { + return new TaskExecutionGetDataResponse(properties); }; /** - * Encodes the specified TaskExecutionList message. Does not implicitly {@link flyteidl.admin.TaskExecutionList.verify|verify} messages. + * Encodes the specified TaskExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionList + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static - * @param {flyteidl.admin.ITaskExecutionList} message TaskExecutionList message or plain object to encode + * @param {flyteidl.admin.ITaskExecutionGetDataResponse} message TaskExecutionGetDataResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionList.encode = function encode(message, writer) { + TaskExecutionGetDataResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.taskExecutions != null && message.taskExecutions.length) - for (let i = 0; i < message.taskExecutions.length; ++i) - $root.flyteidl.admin.TaskExecution.encode(message.taskExecutions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + if (message.inputs != null && message.hasOwnProperty("inputs")) + $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.outputs != null && message.hasOwnProperty("outputs")) + $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionList message from the specified reader or buffer. + * Decodes a TaskExecutionGetDataResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionList + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionList} TaskExecutionList + * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionList.decode = function decode(reader, length) { + TaskExecutionGetDataResponse.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.TaskExecutionList(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.TaskExecutionGetDataResponse(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.taskExecutions && message.taskExecutions.length)) - message.taskExecutions = []; - message.taskExecutions.push($root.flyteidl.admin.TaskExecution.decode(reader, reader.uint32())); + message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); break; case 2: - message.token = reader.string(); + message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -23604,61 +25198,51 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskExecutionList message. + * Verifies a TaskExecutionGetDataResponse message. * @function verify - * @memberof flyteidl.admin.TaskExecutionList + * @memberof flyteidl.admin.TaskExecutionGetDataResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionList.verify = function verify(message) { + TaskExecutionGetDataResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.taskExecutions != null && message.hasOwnProperty("taskExecutions")) { - if (!Array.isArray(message.taskExecutions)) - return "taskExecutions: array expected"; - for (let i = 0; i < message.taskExecutions.length; ++i) { - let error = $root.flyteidl.admin.TaskExecution.verify(message.taskExecutions[i]); - if (error) - return "taskExecutions." + error; - } + if (message.inputs != null && message.hasOwnProperty("inputs")) { + let error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); + if (error) + return "inputs." + error; + } + if (message.outputs != null && message.hasOwnProperty("outputs")) { + let error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); + if (error) + return "outputs." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return TaskExecutionList; + return TaskExecutionGetDataResponse; })(); - admin.TaskExecutionClosure = (function() { + admin.WorkflowCreateRequest = (function() { /** - * Properties of a TaskExecutionClosure. + * Properties of a WorkflowCreateRequest. * @memberof flyteidl.admin - * @interface ITaskExecutionClosure - * @property {string|null} [outputUri] TaskExecutionClosure outputUri - * @property {flyteidl.core.IExecutionError|null} [error] TaskExecutionClosure error - * @property {flyteidl.core.TaskExecution.Phase|null} [phase] TaskExecutionClosure phase - * @property {Array.|null} [logs] TaskExecutionClosure logs - * @property {google.protobuf.ITimestamp|null} [startedAt] TaskExecutionClosure startedAt - * @property {google.protobuf.IDuration|null} [duration] TaskExecutionClosure duration - * @property {google.protobuf.ITimestamp|null} [createdAt] TaskExecutionClosure createdAt - * @property {google.protobuf.ITimestamp|null} [updatedAt] TaskExecutionClosure updatedAt - * @property {google.protobuf.IStruct|null} [customInfo] TaskExecutionClosure customInfo + * @interface IWorkflowCreateRequest + * @property {flyteidl.core.IIdentifier|null} [id] WorkflowCreateRequest id + * @property {flyteidl.admin.IWorkflowSpec|null} [spec] WorkflowCreateRequest spec */ /** - * Constructs a new TaskExecutionClosure. + * Constructs a new WorkflowCreateRequest. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionClosure. - * @implements ITaskExecutionClosure + * @classdesc Represents a WorkflowCreateRequest. + * @implements IWorkflowCreateRequest * @constructor - * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set */ - function TaskExecutionClosure(properties) { - this.logs = []; + function WorkflowCreateRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23666,183 +25250,75 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskExecutionClosure outputUri. - * @member {string} outputUri - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.outputUri = ""; - - /** - * TaskExecutionClosure error. - * @member {flyteidl.core.IExecutionError|null|undefined} error - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.error = null; - - /** - * TaskExecutionClosure phase. - * @member {flyteidl.core.TaskExecution.Phase} phase - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.phase = 0; - - /** - * TaskExecutionClosure logs. - * @member {Array.} logs - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.logs = $util.emptyArray; - - /** - * TaskExecutionClosure startedAt. - * @member {google.protobuf.ITimestamp|null|undefined} startedAt - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.startedAt = null; - - /** - * TaskExecutionClosure duration. - * @member {google.protobuf.IDuration|null|undefined} duration - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.duration = null; - - /** - * TaskExecutionClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.createdAt = null; - - /** - * TaskExecutionClosure updatedAt. - * @member {google.protobuf.ITimestamp|null|undefined} updatedAt - * @memberof flyteidl.admin.TaskExecutionClosure - * @instance - */ - TaskExecutionClosure.prototype.updatedAt = null; - - /** - * TaskExecutionClosure customInfo. - * @member {google.protobuf.IStruct|null|undefined} customInfo - * @memberof flyteidl.admin.TaskExecutionClosure + * WorkflowCreateRequest id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.WorkflowCreateRequest * @instance */ - TaskExecutionClosure.prototype.customInfo = null; - - // OneOf field names bound to virtual getters and setters - let $oneOfFields; + WorkflowCreateRequest.prototype.id = null; /** - * TaskExecutionClosure outputResult. - * @member {"outputUri"|"error"|undefined} outputResult - * @memberof flyteidl.admin.TaskExecutionClosure + * WorkflowCreateRequest spec. + * @member {flyteidl.admin.IWorkflowSpec|null|undefined} spec + * @memberof flyteidl.admin.WorkflowCreateRequest * @instance */ - Object.defineProperty(TaskExecutionClosure.prototype, "outputResult", { - get: $util.oneOfGetter($oneOfFields = ["outputUri", "error"]), - set: $util.oneOfSetter($oneOfFields) - }); + WorkflowCreateRequest.prototype.spec = null; /** - * Creates a new TaskExecutionClosure instance using the specified properties. + * Creates a new WorkflowCreateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionClosure + * @memberof flyteidl.admin.WorkflowCreateRequest * @static - * @param {flyteidl.admin.ITaskExecutionClosure=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure instance + * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest instance */ - TaskExecutionClosure.create = function create(properties) { - return new TaskExecutionClosure(properties); + WorkflowCreateRequest.create = function create(properties) { + return new WorkflowCreateRequest(properties); }; /** - * Encodes the specified TaskExecutionClosure message. Does not implicitly {@link flyteidl.admin.TaskExecutionClosure.verify|verify} messages. + * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionClosure + * @memberof flyteidl.admin.WorkflowCreateRequest * @static - * @param {flyteidl.admin.ITaskExecutionClosure} message TaskExecutionClosure message or plain object to encode + * @param {flyteidl.admin.IWorkflowCreateRequest} message WorkflowCreateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionClosure.encode = function encode(message, writer) { + WorkflowCreateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.outputUri != null && message.hasOwnProperty("outputUri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.outputUri); - if (message.error != null && message.hasOwnProperty("error")) - $root.flyteidl.core.ExecutionError.encode(message.error, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.phase != null && message.hasOwnProperty("phase")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.phase); - if (message.logs != null && message.logs.length) - for (let i = 0; i < message.logs.length; ++i) - $root.flyteidl.core.TaskLog.encode(message.logs[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.startedAt != null && message.hasOwnProperty("startedAt")) - $root.google.protobuf.Timestamp.encode(message.startedAt, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.duration != null && message.hasOwnProperty("duration")) - $root.google.protobuf.Duration.encode(message.duration, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) - $root.google.protobuf.Timestamp.encode(message.updatedAt, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.customInfo != null && message.hasOwnProperty("customInfo")) - $root.google.protobuf.Struct.encode(message.customInfo, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.spec != null && message.hasOwnProperty("spec")) + $root.flyteidl.admin.WorkflowSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionClosure message from the specified reader or buffer. + * Decodes a WorkflowCreateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionClosure + * @memberof flyteidl.admin.WorkflowCreateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionClosure} TaskExecutionClosure + * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionClosure.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.TaskExecutionClosure(); - while (reader.pos < end) { - let tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.outputUri = reader.string(); - break; - case 2: - message.error = $root.flyteidl.core.ExecutionError.decode(reader, reader.uint32()); - break; - case 3: - message.phase = reader.int32(); - break; - case 4: - if (!(message.logs && message.logs.length)) - message.logs = []; - message.logs.push($root.flyteidl.core.TaskLog.decode(reader, reader.uint32())); - break; - case 5: - message.startedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 6: - message.duration = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 7: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - case 8: - message.updatedAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + WorkflowCreateRequest.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.WorkflowCreateRequest(); + while (reader.pos < end) { + let tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; - case 9: - message.customInfo = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + case 2: + message.spec = $root.flyteidl.admin.WorkflowSpec.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -23853,102 +25329,49 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskExecutionClosure message. + * Verifies a WorkflowCreateRequest message. * @function verify - * @memberof flyteidl.admin.TaskExecutionClosure + * @memberof flyteidl.admin.WorkflowCreateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionClosure.verify = function verify(message) { + WorkflowCreateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - let properties = {}; - if (message.outputUri != null && message.hasOwnProperty("outputUri")) { - properties.outputResult = 1; - if (!$util.isString(message.outputUri)) - return "outputUri: string expected"; - } - if (message.error != null && message.hasOwnProperty("error")) { - if (properties.outputResult === 1) - return "outputResult: multiple values"; - properties.outputResult = 1; - { - let error = $root.flyteidl.core.ExecutionError.verify(message.error); - if (error) - return "error." + error; - } - } - if (message.phase != null && message.hasOwnProperty("phase")) - switch (message.phase) { - default: - return "phase: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - case 5: - break; - } - if (message.logs != null && message.hasOwnProperty("logs")) { - if (!Array.isArray(message.logs)) - return "logs: array expected"; - for (let i = 0; i < message.logs.length; ++i) { - let error = $root.flyteidl.core.TaskLog.verify(message.logs[i]); - if (error) - return "logs." + error; - } - } - if (message.startedAt != null && message.hasOwnProperty("startedAt")) { - let error = $root.google.protobuf.Timestamp.verify(message.startedAt); - if (error) - return "startedAt." + error; - } - if (message.duration != null && message.hasOwnProperty("duration")) { - let error = $root.google.protobuf.Duration.verify(message.duration); - if (error) - return "duration." + error; - } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - let error = $root.google.protobuf.Timestamp.verify(message.createdAt); - if (error) - return "createdAt." + error; - } - if (message.updatedAt != null && message.hasOwnProperty("updatedAt")) { - let error = $root.google.protobuf.Timestamp.verify(message.updatedAt); + if (message.id != null && message.hasOwnProperty("id")) { + let error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "updatedAt." + error; + return "id." + error; } - if (message.customInfo != null && message.hasOwnProperty("customInfo")) { - let error = $root.google.protobuf.Struct.verify(message.customInfo); + if (message.spec != null && message.hasOwnProperty("spec")) { + let error = $root.flyteidl.admin.WorkflowSpec.verify(message.spec); if (error) - return "customInfo." + error; + return "spec." + error; } return null; }; - return TaskExecutionClosure; + return WorkflowCreateRequest; })(); - admin.TaskExecutionGetDataRequest = (function() { + admin.WorkflowCreateResponse = (function() { /** - * Properties of a TaskExecutionGetDataRequest. + * Properties of a WorkflowCreateResponse. * @memberof flyteidl.admin - * @interface ITaskExecutionGetDataRequest - * @property {flyteidl.core.ITaskExecutionIdentifier|null} [id] TaskExecutionGetDataRequest id + * @interface IWorkflowCreateResponse */ /** - * Constructs a new TaskExecutionGetDataRequest. + * Constructs a new WorkflowCreateResponse. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetDataRequest. - * @implements ITaskExecutionGetDataRequest + * @classdesc Represents a WorkflowCreateResponse. + * @implements IWorkflowCreateResponse * @constructor - * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set */ - function TaskExecutionGetDataRequest(properties) { + function WorkflowCreateResponse(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23956,63 +25379,50 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskExecutionGetDataRequest id. - * @member {flyteidl.core.ITaskExecutionIdentifier|null|undefined} id - * @memberof flyteidl.admin.TaskExecutionGetDataRequest - * @instance - */ - TaskExecutionGetDataRequest.prototype.id = null; - - /** - * Creates a new TaskExecutionGetDataRequest instance using the specified properties. + * Creates a new WorkflowCreateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.admin.WorkflowCreateResponse * @static - * @param {flyteidl.admin.ITaskExecutionGetDataRequest=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest instance + * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse instance */ - TaskExecutionGetDataRequest.create = function create(properties) { - return new TaskExecutionGetDataRequest(properties); + WorkflowCreateResponse.create = function create(properties) { + return new WorkflowCreateResponse(properties); }; /** - * Encodes the specified TaskExecutionGetDataRequest message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataRequest.verify|verify} messages. + * Encodes the specified WorkflowCreateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowCreateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.admin.WorkflowCreateResponse * @static - * @param {flyteidl.admin.ITaskExecutionGetDataRequest} message TaskExecutionGetDataRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowCreateResponse} message WorkflowCreateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionGetDataRequest.encode = function encode(message, writer) { + WorkflowCreateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.TaskExecutionIdentifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionGetDataRequest message from the specified reader or buffer. + * Decodes a WorkflowCreateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.admin.WorkflowCreateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionGetDataRequest} TaskExecutionGetDataRequest + * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionGetDataRequest.decode = function decode(reader, length) { + WorkflowCreateResponse.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.TaskExecutionGetDataRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowCreateResponse(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.id = $root.flyteidl.core.TaskExecutionIdentifier.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -24022,46 +25432,41 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskExecutionGetDataRequest message. + * Verifies a WorkflowCreateResponse message. * @function verify - * @memberof flyteidl.admin.TaskExecutionGetDataRequest + * @memberof flyteidl.admin.WorkflowCreateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionGetDataRequest.verify = function verify(message) { + WorkflowCreateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - let error = $root.flyteidl.core.TaskExecutionIdentifier.verify(message.id); - if (error) - return "id." + error; - } return null; }; - return TaskExecutionGetDataRequest; + return WorkflowCreateResponse; })(); - admin.TaskExecutionGetDataResponse = (function() { + admin.Workflow = (function() { /** - * Properties of a TaskExecutionGetDataResponse. + * Properties of a Workflow. * @memberof flyteidl.admin - * @interface ITaskExecutionGetDataResponse - * @property {flyteidl.admin.IUrlBlob|null} [inputs] TaskExecutionGetDataResponse inputs - * @property {flyteidl.admin.IUrlBlob|null} [outputs] TaskExecutionGetDataResponse outputs + * @interface IWorkflow + * @property {flyteidl.core.IIdentifier|null} [id] Workflow id + * @property {flyteidl.admin.IWorkflowClosure|null} [closure] Workflow closure */ /** - * Constructs a new TaskExecutionGetDataResponse. + * Constructs a new Workflow. * @memberof flyteidl.admin - * @classdesc Represents a TaskExecutionGetDataResponse. - * @implements ITaskExecutionGetDataResponse + * @classdesc Represents a Workflow. + * @implements IWorkflow * @constructor - * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set */ - function TaskExecutionGetDataResponse(properties) { + function Workflow(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24069,75 +25474,75 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * TaskExecutionGetDataResponse inputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} inputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * Workflow id. + * @member {flyteidl.core.IIdentifier|null|undefined} id + * @memberof flyteidl.admin.Workflow * @instance */ - TaskExecutionGetDataResponse.prototype.inputs = null; + Workflow.prototype.id = null; /** - * TaskExecutionGetDataResponse outputs. - * @member {flyteidl.admin.IUrlBlob|null|undefined} outputs - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * Workflow closure. + * @member {flyteidl.admin.IWorkflowClosure|null|undefined} closure + * @memberof flyteidl.admin.Workflow * @instance */ - TaskExecutionGetDataResponse.prototype.outputs = null; + Workflow.prototype.closure = null; /** - * Creates a new TaskExecutionGetDataResponse instance using the specified properties. + * Creates a new Workflow instance using the specified properties. * @function create - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.admin.Workflow * @static - * @param {flyteidl.admin.ITaskExecutionGetDataResponse=} [properties] Properties to set - * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse instance + * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set + * @returns {flyteidl.admin.Workflow} Workflow instance */ - TaskExecutionGetDataResponse.create = function create(properties) { - return new TaskExecutionGetDataResponse(properties); + Workflow.create = function create(properties) { + return new Workflow(properties); }; /** - * Encodes the specified TaskExecutionGetDataResponse message. Does not implicitly {@link flyteidl.admin.TaskExecutionGetDataResponse.verify|verify} messages. + * Encodes the specified Workflow message. Does not implicitly {@link flyteidl.admin.Workflow.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.admin.Workflow * @static - * @param {flyteidl.admin.ITaskExecutionGetDataResponse} message TaskExecutionGetDataResponse message or plain object to encode + * @param {flyteidl.admin.IWorkflow} message Workflow message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TaskExecutionGetDataResponse.encode = function encode(message, writer) { + Workflow.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.inputs != null && message.hasOwnProperty("inputs")) - $root.flyteidl.admin.UrlBlob.encode(message.inputs, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.outputs != null && message.hasOwnProperty("outputs")) - $root.flyteidl.admin.UrlBlob.encode(message.outputs, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.id != null && message.hasOwnProperty("id")) + $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.closure != null && message.hasOwnProperty("closure")) + $root.flyteidl.admin.WorkflowClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a TaskExecutionGetDataResponse message from the specified reader or buffer. + * Decodes a Workflow message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.admin.Workflow * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.TaskExecutionGetDataResponse} TaskExecutionGetDataResponse + * @returns {flyteidl.admin.Workflow} Workflow * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TaskExecutionGetDataResponse.decode = function decode(reader, length) { + Workflow.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.TaskExecutionGetDataResponse(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Workflow(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.inputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); break; case 2: - message.outputs = $root.flyteidl.admin.UrlBlob.decode(reader, reader.uint32()); + message.closure = $root.flyteidl.admin.WorkflowClosure.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -24148,51 +25553,52 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a TaskExecutionGetDataResponse message. + * Verifies a Workflow message. * @function verify - * @memberof flyteidl.admin.TaskExecutionGetDataResponse + * @memberof flyteidl.admin.Workflow * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TaskExecutionGetDataResponse.verify = function verify(message) { + Workflow.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.inputs != null && message.hasOwnProperty("inputs")) { - let error = $root.flyteidl.admin.UrlBlob.verify(message.inputs); + if (message.id != null && message.hasOwnProperty("id")) { + let error = $root.flyteidl.core.Identifier.verify(message.id); if (error) - return "inputs." + error; + return "id." + error; } - if (message.outputs != null && message.hasOwnProperty("outputs")) { - let error = $root.flyteidl.admin.UrlBlob.verify(message.outputs); + if (message.closure != null && message.hasOwnProperty("closure")) { + let error = $root.flyteidl.admin.WorkflowClosure.verify(message.closure); if (error) - return "outputs." + error; + return "closure." + error; } return null; }; - return TaskExecutionGetDataResponse; + return Workflow; })(); - admin.WorkflowCreateRequest = (function() { + admin.WorkflowList = (function() { /** - * Properties of a WorkflowCreateRequest. + * Properties of a WorkflowList. * @memberof flyteidl.admin - * @interface IWorkflowCreateRequest - * @property {flyteidl.core.IIdentifier|null} [id] WorkflowCreateRequest id - * @property {flyteidl.admin.IWorkflowSpec|null} [spec] WorkflowCreateRequest spec + * @interface IWorkflowList + * @property {Array.|null} [workflows] WorkflowList workflows + * @property {string|null} [token] WorkflowList token */ /** - * Constructs a new WorkflowCreateRequest. + * Constructs a new WorkflowList. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowCreateRequest. - * @implements IWorkflowCreateRequest + * @classdesc Represents a WorkflowList. + * @implements IWorkflowList * @constructor - * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set */ - function WorkflowCreateRequest(properties) { + function WorkflowList(properties) { + this.workflows = []; if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24200,75 +25606,78 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * WorkflowCreateRequest id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.WorkflowCreateRequest + * WorkflowList workflows. + * @member {Array.} workflows + * @memberof flyteidl.admin.WorkflowList * @instance */ - WorkflowCreateRequest.prototype.id = null; + WorkflowList.prototype.workflows = $util.emptyArray; /** - * WorkflowCreateRequest spec. - * @member {flyteidl.admin.IWorkflowSpec|null|undefined} spec - * @memberof flyteidl.admin.WorkflowCreateRequest + * WorkflowList token. + * @member {string} token + * @memberof flyteidl.admin.WorkflowList * @instance */ - WorkflowCreateRequest.prototype.spec = null; + WorkflowList.prototype.token = ""; /** - * Creates a new WorkflowCreateRequest instance using the specified properties. + * Creates a new WorkflowList instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.admin.WorkflowList * @static - * @param {flyteidl.admin.IWorkflowCreateRequest=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest instance + * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowList} WorkflowList instance */ - WorkflowCreateRequest.create = function create(properties) { - return new WorkflowCreateRequest(properties); + WorkflowList.create = function create(properties) { + return new WorkflowList(properties); }; /** - * Encodes the specified WorkflowCreateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowCreateRequest.verify|verify} messages. + * Encodes the specified WorkflowList message. Does not implicitly {@link flyteidl.admin.WorkflowList.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.admin.WorkflowList * @static - * @param {flyteidl.admin.IWorkflowCreateRequest} message WorkflowCreateRequest message or plain object to encode + * @param {flyteidl.admin.IWorkflowList} message WorkflowList message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowCreateRequest.encode = function encode(message, writer) { + WorkflowList.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.spec != null && message.hasOwnProperty("spec")) - $root.flyteidl.admin.WorkflowSpec.encode(message.spec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.workflows != null && message.workflows.length) + for (let i = 0; i < message.workflows.length; ++i) + $root.flyteidl.admin.Workflow.encode(message.workflows[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.token != null && message.hasOwnProperty("token")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); return writer; }; /** - * Decodes a WorkflowCreateRequest message from the specified reader or buffer. + * Decodes a WorkflowList message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.admin.WorkflowList * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowCreateRequest} WorkflowCreateRequest + * @returns {flyteidl.admin.WorkflowList} WorkflowList * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowCreateRequest.decode = function decode(reader, length) { + WorkflowList.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.WorkflowCreateRequest(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowList(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + if (!(message.workflows && message.workflows.length)) + message.workflows = []; + message.workflows.push($root.flyteidl.admin.Workflow.decode(reader, reader.uint32())); break; case 2: - message.spec = $root.flyteidl.admin.WorkflowSpec.decode(reader, reader.uint32()); + message.token = reader.string(); break; default: reader.skipType(tag & 7); @@ -24279,49 +25688,52 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a WorkflowCreateRequest message. + * Verifies a WorkflowList message. * @function verify - * @memberof flyteidl.admin.WorkflowCreateRequest + * @memberof flyteidl.admin.WorkflowList * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowCreateRequest.verify = function verify(message) { + WorkflowList.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - let error = $root.flyteidl.core.Identifier.verify(message.id); - if (error) - return "id." + error; - } - if (message.spec != null && message.hasOwnProperty("spec")) { - let error = $root.flyteidl.admin.WorkflowSpec.verify(message.spec); - if (error) - return "spec." + error; + if (message.workflows != null && message.hasOwnProperty("workflows")) { + if (!Array.isArray(message.workflows)) + return "workflows: array expected"; + for (let i = 0; i < message.workflows.length; ++i) { + let error = $root.flyteidl.admin.Workflow.verify(message.workflows[i]); + if (error) + return "workflows." + error; + } } + if (message.token != null && message.hasOwnProperty("token")) + if (!$util.isString(message.token)) + return "token: string expected"; return null; }; - return WorkflowCreateRequest; + return WorkflowList; })(); - admin.WorkflowCreateResponse = (function() { + admin.WorkflowSpec = (function() { /** - * Properties of a WorkflowCreateResponse. + * Properties of a WorkflowSpec. * @memberof flyteidl.admin - * @interface IWorkflowCreateResponse + * @interface IWorkflowSpec + * @property {flyteidl.core.IWorkflowTemplate|null} [template] WorkflowSpec template */ /** - * Constructs a new WorkflowCreateResponse. + * Constructs a new WorkflowSpec. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowCreateResponse. - * @implements IWorkflowCreateResponse + * @classdesc Represents a WorkflowSpec. + * @implements IWorkflowSpec * @constructor - * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set */ - function WorkflowCreateResponse(properties) { + function WorkflowSpec(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24329,50 +25741,63 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * Creates a new WorkflowCreateResponse instance using the specified properties. + * WorkflowSpec template. + * @member {flyteidl.core.IWorkflowTemplate|null|undefined} template + * @memberof flyteidl.admin.WorkflowSpec + * @instance + */ + WorkflowSpec.prototype.template = null; + + /** + * Creates a new WorkflowSpec instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowCreateResponse + * @memberof flyteidl.admin.WorkflowSpec * @static - * @param {flyteidl.admin.IWorkflowCreateResponse=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse instance + * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec instance */ - WorkflowCreateResponse.create = function create(properties) { - return new WorkflowCreateResponse(properties); + WorkflowSpec.create = function create(properties) { + return new WorkflowSpec(properties); }; /** - * Encodes the specified WorkflowCreateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowCreateResponse.verify|verify} messages. + * Encodes the specified WorkflowSpec message. Does not implicitly {@link flyteidl.admin.WorkflowSpec.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowCreateResponse + * @memberof flyteidl.admin.WorkflowSpec * @static - * @param {flyteidl.admin.IWorkflowCreateResponse} message WorkflowCreateResponse message or plain object to encode + * @param {flyteidl.admin.IWorkflowSpec} message WorkflowSpec message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowCreateResponse.encode = function encode(message, writer) { + WorkflowSpec.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.template != null && message.hasOwnProperty("template")) + $root.flyteidl.core.WorkflowTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowCreateResponse message from the specified reader or buffer. + * Decodes a WorkflowSpec message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowCreateResponse + * @memberof flyteidl.admin.WorkflowSpec * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowCreateResponse} WorkflowCreateResponse + * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowCreateResponse.decode = function decode(reader, length) { + WorkflowSpec.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.WorkflowCreateResponse(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowSpec(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { + case 1: + message.template = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -24382,41 +25807,46 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a WorkflowCreateResponse message. + * Verifies a WorkflowSpec message. * @function verify - * @memberof flyteidl.admin.WorkflowCreateResponse + * @memberof flyteidl.admin.WorkflowSpec * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowCreateResponse.verify = function verify(message) { + WorkflowSpec.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + if (message.template != null && message.hasOwnProperty("template")) { + let error = $root.flyteidl.core.WorkflowTemplate.verify(message.template); + if (error) + return "template." + error; + } return null; }; - return WorkflowCreateResponse; + return WorkflowSpec; })(); - admin.Workflow = (function() { + admin.WorkflowClosure = (function() { /** - * Properties of a Workflow. + * Properties of a WorkflowClosure. * @memberof flyteidl.admin - * @interface IWorkflow - * @property {flyteidl.core.IIdentifier|null} [id] Workflow id - * @property {flyteidl.admin.IWorkflowClosure|null} [closure] Workflow closure + * @interface IWorkflowClosure + * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] WorkflowClosure compiledWorkflow + * @property {google.protobuf.ITimestamp|null} [createdAt] WorkflowClosure createdAt */ /** - * Constructs a new Workflow. + * Constructs a new WorkflowClosure. * @memberof flyteidl.admin - * @classdesc Represents a Workflow. - * @implements IWorkflow + * @classdesc Represents a WorkflowClosure. + * @implements IWorkflowClosure * @constructor - * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set */ - function Workflow(properties) { + function WorkflowClosure(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24424,75 +25854,75 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * Workflow id. - * @member {flyteidl.core.IIdentifier|null|undefined} id - * @memberof flyteidl.admin.Workflow + * WorkflowClosure compiledWorkflow. + * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow + * @memberof flyteidl.admin.WorkflowClosure * @instance */ - Workflow.prototype.id = null; + WorkflowClosure.prototype.compiledWorkflow = null; /** - * Workflow closure. - * @member {flyteidl.admin.IWorkflowClosure|null|undefined} closure - * @memberof flyteidl.admin.Workflow + * WorkflowClosure createdAt. + * @member {google.protobuf.ITimestamp|null|undefined} createdAt + * @memberof flyteidl.admin.WorkflowClosure * @instance */ - Workflow.prototype.closure = null; + WorkflowClosure.prototype.createdAt = null; /** - * Creates a new Workflow instance using the specified properties. + * Creates a new WorkflowClosure instance using the specified properties. * @function create - * @memberof flyteidl.admin.Workflow + * @memberof flyteidl.admin.WorkflowClosure * @static - * @param {flyteidl.admin.IWorkflow=} [properties] Properties to set - * @returns {flyteidl.admin.Workflow} Workflow instance + * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure instance */ - Workflow.create = function create(properties) { - return new Workflow(properties); + WorkflowClosure.create = function create(properties) { + return new WorkflowClosure(properties); }; /** - * Encodes the specified Workflow message. Does not implicitly {@link flyteidl.admin.Workflow.verify|verify} messages. + * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.admin.WorkflowClosure.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.Workflow + * @memberof flyteidl.admin.WorkflowClosure * @static - * @param {flyteidl.admin.IWorkflow} message Workflow message or plain object to encode + * @param {flyteidl.admin.IWorkflowClosure} message WorkflowClosure message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Workflow.encode = function encode(message, writer) { + WorkflowClosure.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && message.hasOwnProperty("id")) - $root.flyteidl.core.Identifier.encode(message.id, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.closure != null && message.hasOwnProperty("closure")) - $root.flyteidl.admin.WorkflowClosure.encode(message.closure, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) + $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) + $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a Workflow message from the specified reader or buffer. + * Decodes a WorkflowClosure message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.Workflow + * @memberof flyteidl.admin.WorkflowClosure * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.Workflow} Workflow + * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Workflow.decode = function decode(reader, length) { + WorkflowClosure.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.Workflow(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowClosure(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.id = $root.flyteidl.core.Identifier.decode(reader, reader.uint32()); + message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); break; case 2: - message.closure = $root.flyteidl.admin.WorkflowClosure.decode(reader, reader.uint32()); + message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -24503,52 +25933,53 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a Workflow message. + * Verifies a WorkflowClosure message. * @function verify - * @memberof flyteidl.admin.Workflow + * @memberof flyteidl.admin.WorkflowClosure * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Workflow.verify = function verify(message) { + WorkflowClosure.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) { - let error = $root.flyteidl.core.Identifier.verify(message.id); + if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { + let error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); if (error) - return "id." + error; + return "compiledWorkflow." + error; } - if (message.closure != null && message.hasOwnProperty("closure")) { - let error = $root.flyteidl.admin.WorkflowClosure.verify(message.closure); + if (message.createdAt != null && message.hasOwnProperty("createdAt")) { + let error = $root.google.protobuf.Timestamp.verify(message.createdAt); if (error) - return "closure." + error; + return "createdAt." + error; } return null; }; - return Workflow; + return WorkflowClosure; })(); - admin.WorkflowList = (function() { + admin.WorkflowAttributes = (function() { /** - * Properties of a WorkflowList. + * Properties of a WorkflowAttributes. * @memberof flyteidl.admin - * @interface IWorkflowList - * @property {Array.|null} [workflows] WorkflowList workflows - * @property {string|null} [token] WorkflowList token + * @interface IWorkflowAttributes + * @property {string|null} [project] WorkflowAttributes project + * @property {string|null} [domain] WorkflowAttributes domain + * @property {string|null} [workflow] WorkflowAttributes workflow + * @property {flyteidl.admin.IMatchingAttributes|null} [matchingAttributes] WorkflowAttributes matchingAttributes */ /** - * Constructs a new WorkflowList. + * Constructs a new WorkflowAttributes. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowList. - * @implements IWorkflowList + * @classdesc Represents a WorkflowAttributes. + * @implements IWorkflowAttributes * @constructor - * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set */ - function WorkflowList(properties) { - this.workflows = []; + function WorkflowAttributes(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24556,78 +25987,101 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * WorkflowList workflows. - * @member {Array.} workflows - * @memberof flyteidl.admin.WorkflowList + * WorkflowAttributes project. + * @member {string} project + * @memberof flyteidl.admin.WorkflowAttributes * @instance */ - WorkflowList.prototype.workflows = $util.emptyArray; + WorkflowAttributes.prototype.project = ""; /** - * WorkflowList token. - * @member {string} token - * @memberof flyteidl.admin.WorkflowList + * WorkflowAttributes domain. + * @member {string} domain + * @memberof flyteidl.admin.WorkflowAttributes * @instance */ - WorkflowList.prototype.token = ""; + WorkflowAttributes.prototype.domain = ""; /** - * Creates a new WorkflowList instance using the specified properties. + * WorkflowAttributes workflow. + * @member {string} workflow + * @memberof flyteidl.admin.WorkflowAttributes + * @instance + */ + WorkflowAttributes.prototype.workflow = ""; + + /** + * WorkflowAttributes matchingAttributes. + * @member {flyteidl.admin.IMatchingAttributes|null|undefined} matchingAttributes + * @memberof flyteidl.admin.WorkflowAttributes + * @instance + */ + WorkflowAttributes.prototype.matchingAttributes = null; + + /** + * Creates a new WorkflowAttributes instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowList + * @memberof flyteidl.admin.WorkflowAttributes * @static - * @param {flyteidl.admin.IWorkflowList=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowList} WorkflowList instance + * @param {flyteidl.admin.IWorkflowAttributes=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributes} WorkflowAttributes instance */ - WorkflowList.create = function create(properties) { - return new WorkflowList(properties); + WorkflowAttributes.create = function create(properties) { + return new WorkflowAttributes(properties); }; /** - * Encodes the specified WorkflowList message. Does not implicitly {@link flyteidl.admin.WorkflowList.verify|verify} messages. + * Encodes the specified WorkflowAttributes message. Does not implicitly {@link flyteidl.admin.WorkflowAttributes.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowList + * @memberof flyteidl.admin.WorkflowAttributes * @static - * @param {flyteidl.admin.IWorkflowList} message WorkflowList message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributes} message WorkflowAttributes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowList.encode = function encode(message, writer) { + WorkflowAttributes.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.workflows != null && message.workflows.length) - for (let i = 0; i < message.workflows.length; ++i) - $root.flyteidl.admin.Workflow.encode(message.workflows[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.token != null && message.hasOwnProperty("token")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.token); + 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.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) + $root.flyteidl.admin.MatchingAttributes.encode(message.matchingAttributes, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowList message from the specified reader or buffer. + * Decodes a WorkflowAttributes message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowList + * @memberof flyteidl.admin.WorkflowAttributes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowList} WorkflowList + * @returns {flyteidl.admin.WorkflowAttributes} WorkflowAttributes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowList.decode = function decode(reader, length) { + WorkflowAttributes.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.WorkflowList(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributes(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - if (!(message.workflows && message.workflows.length)) - message.workflows = []; - message.workflows.push($root.flyteidl.admin.Workflow.decode(reader, reader.uint32())); + message.project = reader.string(); break; case 2: - message.token = reader.string(); + message.domain = reader.string(); + break; + case 3: + message.workflow = reader.string(); + break; + case 4: + message.matchingAttributes = $root.flyteidl.admin.MatchingAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -24638,52 +26092,54 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a WorkflowList message. + * Verifies a WorkflowAttributes message. * @function verify - * @memberof flyteidl.admin.WorkflowList + * @memberof flyteidl.admin.WorkflowAttributes * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowList.verify = function verify(message) { + WorkflowAttributes.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.workflows != null && message.hasOwnProperty("workflows")) { - if (!Array.isArray(message.workflows)) - return "workflows: array expected"; - for (let i = 0; i < message.workflows.length; ++i) { - let error = $root.flyteidl.admin.Workflow.verify(message.workflows[i]); - if (error) - return "workflows." + error; - } + 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.matchingAttributes != null && message.hasOwnProperty("matchingAttributes")) { + let error = $root.flyteidl.admin.MatchingAttributes.verify(message.matchingAttributes); + if (error) + return "matchingAttributes." + error; } - if (message.token != null && message.hasOwnProperty("token")) - if (!$util.isString(message.token)) - return "token: string expected"; return null; }; - return WorkflowList; + return WorkflowAttributes; })(); - admin.WorkflowSpec = (function() { + admin.WorkflowAttributesUpdateRequest = (function() { /** - * Properties of a WorkflowSpec. + * Properties of a WorkflowAttributesUpdateRequest. * @memberof flyteidl.admin - * @interface IWorkflowSpec - * @property {flyteidl.core.IWorkflowTemplate|null} [template] WorkflowSpec template + * @interface IWorkflowAttributesUpdateRequest + * @property {flyteidl.admin.IWorkflowAttributes|null} [attributes] WorkflowAttributesUpdateRequest attributes */ /** - * Constructs a new WorkflowSpec. + * Constructs a new WorkflowAttributesUpdateRequest. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowSpec. - * @implements IWorkflowSpec + * @classdesc Represents a WorkflowAttributesUpdateRequest. + * @implements IWorkflowAttributesUpdateRequest * @constructor - * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set */ - function WorkflowSpec(properties) { + function WorkflowAttributesUpdateRequest(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24691,62 +26147,62 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * WorkflowSpec template. - * @member {flyteidl.core.IWorkflowTemplate|null|undefined} template - * @memberof flyteidl.admin.WorkflowSpec + * WorkflowAttributesUpdateRequest attributes. + * @member {flyteidl.admin.IWorkflowAttributes|null|undefined} attributes + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @instance */ - WorkflowSpec.prototype.template = null; + WorkflowAttributesUpdateRequest.prototype.attributes = null; /** - * Creates a new WorkflowSpec instance using the specified properties. + * Creates a new WorkflowAttributesUpdateRequest instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @static - * @param {flyteidl.admin.IWorkflowSpec=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec instance + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest instance */ - WorkflowSpec.create = function create(properties) { - return new WorkflowSpec(properties); + WorkflowAttributesUpdateRequest.create = function create(properties) { + return new WorkflowAttributesUpdateRequest(properties); }; /** - * Encodes the specified WorkflowSpec message. Does not implicitly {@link flyteidl.admin.WorkflowSpec.verify|verify} messages. + * Encodes the specified WorkflowAttributesUpdateRequest message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateRequest.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @static - * @param {flyteidl.admin.IWorkflowSpec} message WorkflowSpec message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} message WorkflowAttributesUpdateRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowSpec.encode = function encode(message, writer) { + WorkflowAttributesUpdateRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.template != null && message.hasOwnProperty("template")) - $root.flyteidl.core.WorkflowTemplate.encode(message.template, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.attributes != null && message.hasOwnProperty("attributes")) + $root.flyteidl.admin.WorkflowAttributes.encode(message.attributes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowSpec message from the specified reader or buffer. + * Decodes a WorkflowAttributesUpdateRequest message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowSpec} WorkflowSpec + * @returns {flyteidl.admin.WorkflowAttributesUpdateRequest} WorkflowAttributesUpdateRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowSpec.decode = function decode(reader, length) { + WorkflowAttributesUpdateRequest.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.WorkflowSpec(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesUpdateRequest(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { case 1: - message.template = $root.flyteidl.core.WorkflowTemplate.decode(reader, reader.uint32()); + message.attributes = $root.flyteidl.admin.WorkflowAttributes.decode(reader, reader.uint32()); break; default: reader.skipType(tag & 7); @@ -24757,46 +26213,44 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a WorkflowSpec message. + * Verifies a WorkflowAttributesUpdateRequest message. * @function verify - * @memberof flyteidl.admin.WorkflowSpec + * @memberof flyteidl.admin.WorkflowAttributesUpdateRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowSpec.verify = function verify(message) { + WorkflowAttributesUpdateRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.template != null && message.hasOwnProperty("template")) { - let error = $root.flyteidl.core.WorkflowTemplate.verify(message.template); + if (message.attributes != null && message.hasOwnProperty("attributes")) { + let error = $root.flyteidl.admin.WorkflowAttributes.verify(message.attributes); if (error) - return "template." + error; + return "attributes." + error; } return null; }; - return WorkflowSpec; + return WorkflowAttributesUpdateRequest; })(); - admin.WorkflowClosure = (function() { + admin.WorkflowAttributesUpdateResponse = (function() { /** - * Properties of a WorkflowClosure. + * Properties of a WorkflowAttributesUpdateResponse. * @memberof flyteidl.admin - * @interface IWorkflowClosure - * @property {flyteidl.core.ICompiledWorkflowClosure|null} [compiledWorkflow] WorkflowClosure compiledWorkflow - * @property {google.protobuf.ITimestamp|null} [createdAt] WorkflowClosure createdAt + * @interface IWorkflowAttributesUpdateResponse */ /** - * Constructs a new WorkflowClosure. + * Constructs a new WorkflowAttributesUpdateResponse. * @memberof flyteidl.admin - * @classdesc Represents a WorkflowClosure. - * @implements IWorkflowClosure + * @classdesc Represents a WorkflowAttributesUpdateResponse. + * @implements IWorkflowAttributesUpdateResponse * @constructor - * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set + * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse=} [properties] Properties to set */ - function WorkflowClosure(properties) { + function WorkflowAttributesUpdateResponse(properties) { if (properties) for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -24804,76 +26258,50 @@ export const flyteidl = $root.flyteidl = (() => { } /** - * WorkflowClosure compiledWorkflow. - * @member {flyteidl.core.ICompiledWorkflowClosure|null|undefined} compiledWorkflow - * @memberof flyteidl.admin.WorkflowClosure - * @instance - */ - WorkflowClosure.prototype.compiledWorkflow = null; - - /** - * WorkflowClosure createdAt. - * @member {google.protobuf.ITimestamp|null|undefined} createdAt - * @memberof flyteidl.admin.WorkflowClosure - * @instance - */ - WorkflowClosure.prototype.createdAt = null; - - /** - * Creates a new WorkflowClosure instance using the specified properties. + * Creates a new WorkflowAttributesUpdateResponse instance using the specified properties. * @function create - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse * @static - * @param {flyteidl.admin.IWorkflowClosure=} [properties] Properties to set - * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure instance + * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse=} [properties] Properties to set + * @returns {flyteidl.admin.WorkflowAttributesUpdateResponse} WorkflowAttributesUpdateResponse instance */ - WorkflowClosure.create = function create(properties) { - return new WorkflowClosure(properties); + WorkflowAttributesUpdateResponse.create = function create(properties) { + return new WorkflowAttributesUpdateResponse(properties); }; /** - * Encodes the specified WorkflowClosure message. Does not implicitly {@link flyteidl.admin.WorkflowClosure.verify|verify} messages. + * Encodes the specified WorkflowAttributesUpdateResponse message. Does not implicitly {@link flyteidl.admin.WorkflowAttributesUpdateResponse.verify|verify} messages. * @function encode - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse * @static - * @param {flyteidl.admin.IWorkflowClosure} message WorkflowClosure message or plain object to encode + * @param {flyteidl.admin.IWorkflowAttributesUpdateResponse} message WorkflowAttributesUpdateResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - WorkflowClosure.encode = function encode(message, writer) { + WorkflowAttributesUpdateResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) - $root.flyteidl.core.CompiledWorkflowClosure.encode(message.compiledWorkflow, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.createdAt != null && message.hasOwnProperty("createdAt")) - $root.google.protobuf.Timestamp.encode(message.createdAt, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Decodes a WorkflowClosure message from the specified reader or buffer. + * Decodes a WorkflowAttributesUpdateResponse message from the specified reader or buffer. * @function decode - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {flyteidl.admin.WorkflowClosure} WorkflowClosure + * @returns {flyteidl.admin.WorkflowAttributesUpdateResponse} WorkflowAttributesUpdateResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - WorkflowClosure.decode = function decode(reader, length) { + WorkflowAttributesUpdateResponse.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.WorkflowClosure(); + let end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.WorkflowAttributesUpdateResponse(); while (reader.pos < end) { let tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.compiledWorkflow = $root.flyteidl.core.CompiledWorkflowClosure.decode(reader, reader.uint32()); - break; - case 2: - message.createdAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; default: reader.skipType(tag & 7); break; @@ -24883,30 +26311,20 @@ export const flyteidl = $root.flyteidl = (() => { }; /** - * Verifies a WorkflowClosure message. + * Verifies a WorkflowAttributesUpdateResponse message. * @function verify - * @memberof flyteidl.admin.WorkflowClosure + * @memberof flyteidl.admin.WorkflowAttributesUpdateResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - WorkflowClosure.verify = function verify(message) { + WorkflowAttributesUpdateResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.compiledWorkflow != null && message.hasOwnProperty("compiledWorkflow")) { - let error = $root.flyteidl.core.CompiledWorkflowClosure.verify(message.compiledWorkflow); - if (error) - return "compiledWorkflow." + error; - } - if (message.createdAt != null && message.hasOwnProperty("createdAt")) { - let error = $root.google.protobuf.Timestamp.verify(message.createdAt); - if (error) - return "createdAt." + error; - } return null; }; - return WorkflowClosure; + return WorkflowAttributesUpdateResponse; })(); return admin; @@ -26042,6 +27460,39 @@ export const flyteidl = $root.flyteidl = (() => { * @variation 2 */ + /** + * Callback as used by {@link flyteidl.service.AdminService#updateProjectAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef UpdateProjectAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.ProjectAttributesUpdateResponse} [response] ProjectAttributesUpdateResponse + */ + + /** + * Calls UpdateProjectAttributes. + * @function updateProjectAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectAttributesUpdateRequest} request ProjectAttributesUpdateRequest message or plain object + * @param {flyteidl.service.AdminService.UpdateProjectAttributesCallback} callback Node-style callback called with the error, if any, and ProjectAttributesUpdateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.updateProjectAttributes = function updateProjectAttributes(request, callback) { + return this.rpcCall(updateProjectAttributes, $root.flyteidl.admin.ProjectAttributesUpdateRequest, $root.flyteidl.admin.ProjectAttributesUpdateResponse, request, callback); + }, "name", { value: "UpdateProjectAttributes" }); + + /** + * Calls UpdateProjectAttributes. + * @function updateProjectAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IProjectAttributesUpdateRequest} request ProjectAttributesUpdateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + /** * Callback as used by {@link flyteidl.service.AdminService#updateProjectDomainAttributes}. * @memberof flyteidl.service.AdminService @@ -26075,6 +27526,39 @@ export const flyteidl = $root.flyteidl = (() => { * @variation 2 */ + /** + * Callback as used by {@link flyteidl.service.AdminService#updateWorkflowAttributes}. + * @memberof flyteidl.service.AdminService + * @typedef UpdateWorkflowAttributesCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {flyteidl.admin.WorkflowAttributesUpdateResponse} [response] WorkflowAttributesUpdateResponse + */ + + /** + * Calls UpdateWorkflowAttributes. + * @function updateWorkflowAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} request WorkflowAttributesUpdateRequest message or plain object + * @param {flyteidl.service.AdminService.UpdateWorkflowAttributesCallback} callback Node-style callback called with the error, if any, and WorkflowAttributesUpdateResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(AdminService.prototype.updateWorkflowAttributes = function updateWorkflowAttributes(request, callback) { + return this.rpcCall(updateWorkflowAttributes, $root.flyteidl.admin.WorkflowAttributesUpdateRequest, $root.flyteidl.admin.WorkflowAttributesUpdateResponse, request, callback); + }, "name", { value: "UpdateWorkflowAttributes" }); + + /** + * Calls UpdateWorkflowAttributes. + * @function updateWorkflowAttributes + * @memberof flyteidl.service.AdminService + * @instance + * @param {flyteidl.admin.IWorkflowAttributesUpdateRequest} request WorkflowAttributesUpdateRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + /** * Callback as used by {@link flyteidl.service.AdminService#listNamedEntities}. * @memberof flyteidl.service.AdminService diff --git a/flyteidl/gen/pb-protodoc/flyteidl/admin/index.rst b/flyteidl/gen/pb-protodoc/flyteidl/admin/index.rst index b7682dcffc..06872c51e8 100644 --- a/flyteidl/gen/pb-protodoc/flyteidl/admin/index.rst +++ b/flyteidl/gen/pb-protodoc/flyteidl/admin/index.rst @@ -14,11 +14,14 @@ Flyte Admin service over gRPC or REST. The endpoint specification is defined in event.proto execution.proto launch_plan.proto + matchable_resource.proto node_execution.proto notification.proto project.proto + project_attributes.proto project_domain_attributes.proto schedule.proto task.proto task_execution.proto workflow.proto + workflow_attributes.proto diff --git a/flyteidl/gen/pb-protodoc/flyteidl/admin/matchable_resource.proto.rst b/flyteidl/gen/pb-protodoc/flyteidl/admin/matchable_resource.proto.rst new file mode 100644 index 0000000000..5c558a5adf --- /dev/null +++ b/flyteidl/gen/pb-protodoc/flyteidl/admin/matchable_resource.proto.rst @@ -0,0 +1,187 @@ +.. _api_file_flyteidl/admin/matchable_resource.proto: + +matchable_resource.proto +======================================= + +.. _api_msg_flyteidl.admin.TaskResourceSpec: + +flyteidl.admin.TaskResourceSpec +------------------------------- + +`[flyteidl.admin.TaskResourceSpec proto] `_ + + +.. code-block:: json + + { + "cpu": "...", + "gpu": "...", + "memory": "...", + "storage": "..." + } + +.. _api_field_flyteidl.admin.TaskResourceSpec.cpu: + +cpu + (`string `_) + +.. _api_field_flyteidl.admin.TaskResourceSpec.gpu: + +gpu + (`string `_) + +.. _api_field_flyteidl.admin.TaskResourceSpec.memory: + +memory + (`string `_) + +.. _api_field_flyteidl.admin.TaskResourceSpec.storage: + +storage + (`string `_) + + + +.. _api_msg_flyteidl.admin.TaskResourceAttributes: + +flyteidl.admin.TaskResourceAttributes +------------------------------------- + +`[flyteidl.admin.TaskResourceAttributes proto] `_ + + +.. code-block:: json + + { + "defaults": "{...}", + "limits": "{...}" + } + +.. _api_field_flyteidl.admin.TaskResourceAttributes.defaults: + +defaults + (:ref:`flyteidl.admin.TaskResourceSpec `) + +.. _api_field_flyteidl.admin.TaskResourceAttributes.limits: + +limits + (:ref:`flyteidl.admin.TaskResourceSpec `) + + + +.. _api_msg_flyteidl.admin.ClusterResourceAttributes: + +flyteidl.admin.ClusterResourceAttributes +---------------------------------------- + +`[flyteidl.admin.ClusterResourceAttributes proto] `_ + + +.. code-block:: json + + { + "attributes": "{...}" + } + +.. _api_field_flyteidl.admin.ClusterResourceAttributes.attributes: + +attributes + (map<`string `_, `string `_>) Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). + Map keys are the *case-sensitive* names of variables in templatized resource files. + Map values should be the custom values which get substituted during resource creation. + + + + +.. _api_msg_flyteidl.admin.ExecutionQueueAttributes: + +flyteidl.admin.ExecutionQueueAttributes +--------------------------------------- + +`[flyteidl.admin.ExecutionQueueAttributes proto] `_ + + +.. code-block:: json + + { + "tags": [] + } + +.. _api_field_flyteidl.admin.ExecutionQueueAttributes.tags: + +tags + (`string `_) Tags used for assigning execution queues for tasks defined within this project. + + + + +.. _api_msg_flyteidl.admin.MatchingAttributes: + +flyteidl.admin.MatchingAttributes +--------------------------------- + +`[flyteidl.admin.MatchingAttributes proto] `_ + +Generic container for encapsulating all types of the above attributes messages. + +.. code-block:: json + + { + "task_resource_attributes": "{...}", + "cluster_resource_attributes": "{...}", + "execution_queue_attributes": "{...}" + } + +.. _api_field_flyteidl.admin.MatchingAttributes.task_resource_attributes: + +task_resource_attributes + (:ref:`flyteidl.admin.TaskResourceAttributes `) + + + Only one of :ref:`task_resource_attributes `, :ref:`cluster_resource_attributes `, :ref:`execution_queue_attributes ` may be set. + +.. _api_field_flyteidl.admin.MatchingAttributes.cluster_resource_attributes: + +cluster_resource_attributes + (:ref:`flyteidl.admin.ClusterResourceAttributes `) + + + Only one of :ref:`task_resource_attributes `, :ref:`cluster_resource_attributes `, :ref:`execution_queue_attributes ` may be set. + +.. _api_field_flyteidl.admin.MatchingAttributes.execution_queue_attributes: + +execution_queue_attributes + (:ref:`flyteidl.admin.ExecutionQueueAttributes `) + + + Only one of :ref:`task_resource_attributes `, :ref:`cluster_resource_attributes `, :ref:`execution_queue_attributes ` may be set. + + +.. _api_enum_flyteidl.admin.MatchableResource: + +Enum flyteidl.admin.MatchableResource +------------------------------------- + +`[flyteidl.admin.MatchableResource proto] `_ + +Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes +based on matching tags. + +.. _api_enum_value_flyteidl.admin.MatchableResource.TASK_RESOURCE: + +TASK_RESOURCE + *(DEFAULT)* ⁣Applies to customizable task resource requests and limits. + + +.. _api_enum_value_flyteidl.admin.MatchableResource.CLUSTER_RESOURCE: + +CLUSTER_RESOURCE + ⁣Applies to configuring templated kubernetes cluster resources. + + +.. _api_enum_value_flyteidl.admin.MatchableResource.EXECUTION_QUEUE: + +EXECUTION_QUEUE + ⁣Configures task and dynamic task execution queue assignment. + + diff --git a/flyteidl/gen/pb-protodoc/flyteidl/admin/project_attributes.proto.rst b/flyteidl/gen/pb-protodoc/flyteidl/admin/project_attributes.proto.rst new file mode 100644 index 0000000000..cfe384609a --- /dev/null +++ b/flyteidl/gen/pb-protodoc/flyteidl/admin/project_attributes.proto.rst @@ -0,0 +1,70 @@ +.. _api_file_flyteidl/admin/project_attributes.proto: + +project_attributes.proto +======================================= + +.. _api_msg_flyteidl.admin.ProjectAttributes: + +flyteidl.admin.ProjectAttributes +-------------------------------- + +`[flyteidl.admin.ProjectAttributes proto] `_ + + +.. code-block:: json + + { + "project": "...", + "matching_attributes": "{...}" + } + +.. _api_field_flyteidl.admin.ProjectAttributes.project: + +project + (`string `_) Unique project id for which this set of attributes will be applied. + + +.. _api_field_flyteidl.admin.ProjectAttributes.matching_attributes: + +matching_attributes + (:ref:`flyteidl.admin.MatchingAttributes `) + + + +.. _api_msg_flyteidl.admin.ProjectAttributesUpdateRequest: + +flyteidl.admin.ProjectAttributesUpdateRequest +--------------------------------------------- + +`[flyteidl.admin.ProjectAttributesUpdateRequest proto] `_ + +Sets custom attributes for a project combination. + +.. code-block:: json + + { + "attributes": "{...}" + } + +.. _api_field_flyteidl.admin.ProjectAttributesUpdateRequest.attributes: + +attributes + (:ref:`flyteidl.admin.ProjectAttributes `) + + + +.. _api_msg_flyteidl.admin.ProjectAttributesUpdateResponse: + +flyteidl.admin.ProjectAttributesUpdateResponse +---------------------------------------------- + +`[flyteidl.admin.ProjectAttributesUpdateResponse proto] `_ + +Purposefully empty, may be populated in the future. + +.. code-block:: json + + {} + + + diff --git a/flyteidl/gen/pb-protodoc/flyteidl/admin/project_domain_attributes.proto.rst b/flyteidl/gen/pb-protodoc/flyteidl/admin/project_domain_attributes.proto.rst index cf5d050c19..d7acf58378 100644 --- a/flyteidl/gen/pb-protodoc/flyteidl/admin/project_domain_attributes.proto.rst +++ b/flyteidl/gen/pb-protodoc/flyteidl/admin/project_domain_attributes.proto.rst @@ -8,7 +8,7 @@ project_domain_attributes.proto flyteidl.admin.ProjectDomainAttributes -------------------------------------- -`[flyteidl.admin.ProjectDomainAttributes proto] `_ +`[flyteidl.admin.ProjectDomainAttributes proto] `_ .. code-block:: json @@ -16,7 +16,7 @@ flyteidl.admin.ProjectDomainAttributes { "project": "...", "domain": "...", - "attributes": "{...}" + "matching_attributes": "{...}" } .. _api_field_flyteidl.admin.ProjectDomainAttributes.project: @@ -31,13 +31,10 @@ domain (`string `_) Unique domain id for which this set of attributes will be applied. -.. _api_field_flyteidl.admin.ProjectDomainAttributes.attributes: +.. _api_field_flyteidl.admin.ProjectDomainAttributes.matching_attributes: -attributes - (map<`string `_, `string `_>) Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). - Map keys are the *case-sensitive* names of variables in templatized resource files. - Map values should be the custom values which get substituted during resource creation. - +matching_attributes + (:ref:`flyteidl.admin.MatchingAttributes `) @@ -46,7 +43,7 @@ attributes flyteidl.admin.ProjectDomainAttributesUpdateRequest --------------------------------------------------- -`[flyteidl.admin.ProjectDomainAttributesUpdateRequest proto] `_ +`[flyteidl.admin.ProjectDomainAttributesUpdateRequest proto] `_ Sets custom attributes for a project-domain combination. @@ -68,7 +65,7 @@ attributes flyteidl.admin.ProjectDomainAttributesUpdateResponse ---------------------------------------------------- -`[flyteidl.admin.ProjectDomainAttributesUpdateResponse proto] `_ +`[flyteidl.admin.ProjectDomainAttributesUpdateResponse proto] `_ Purposefully empty, may be populated in the future. diff --git a/flyteidl/gen/pb-protodoc/flyteidl/admin/workflow_attributes.proto.rst b/flyteidl/gen/pb-protodoc/flyteidl/admin/workflow_attributes.proto.rst new file mode 100644 index 0000000000..02b78a8758 --- /dev/null +++ b/flyteidl/gen/pb-protodoc/flyteidl/admin/workflow_attributes.proto.rst @@ -0,0 +1,84 @@ +.. _api_file_flyteidl/admin/workflow_attributes.proto: + +workflow_attributes.proto +======================================== + +.. _api_msg_flyteidl.admin.WorkflowAttributes: + +flyteidl.admin.WorkflowAttributes +--------------------------------- + +`[flyteidl.admin.WorkflowAttributes proto] `_ + + +.. code-block:: json + + { + "project": "...", + "domain": "...", + "workflow": "...", + "matching_attributes": "{...}" + } + +.. _api_field_flyteidl.admin.WorkflowAttributes.project: + +project + (`string `_) Unique project id for which this set of attributes will be applied. + + +.. _api_field_flyteidl.admin.WorkflowAttributes.domain: + +domain + (`string `_) Unique domain id for which this set of attributes will be applied. + + +.. _api_field_flyteidl.admin.WorkflowAttributes.workflow: + +workflow + (`string `_) Workflow name for which this set of attributes will be applied. + + +.. _api_field_flyteidl.admin.WorkflowAttributes.matching_attributes: + +matching_attributes + (:ref:`flyteidl.admin.MatchingAttributes `) + + + +.. _api_msg_flyteidl.admin.WorkflowAttributesUpdateRequest: + +flyteidl.admin.WorkflowAttributesUpdateRequest +---------------------------------------------- + +`[flyteidl.admin.WorkflowAttributesUpdateRequest proto] `_ + +Sets custom attributes for a project, domain and workflow combination. + +.. code-block:: json + + { + "attributes": "{...}" + } + +.. _api_field_flyteidl.admin.WorkflowAttributesUpdateRequest.attributes: + +attributes + (:ref:`flyteidl.admin.WorkflowAttributes `) + + + +.. _api_msg_flyteidl.admin.WorkflowAttributesUpdateResponse: + +flyteidl.admin.WorkflowAttributesUpdateResponse +----------------------------------------------- + +`[flyteidl.admin.WorkflowAttributesUpdateResponse proto] `_ + +Purposefully empty, may be populated in the future. + +.. code-block:: json + + {} + + + diff --git a/flyteidl/gen/pb_python/flyteidl/admin/matchable_resource_pb2.py b/flyteidl/gen/pb_python/flyteidl/admin/matchable_resource_pb2.py new file mode 100644 index 0000000000..89b083ad48 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/admin/matchable_resource_pb2.py @@ -0,0 +1,366 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/admin/matchable_resource.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf.internal import enum_type_wrapper +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() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='flyteidl/admin/matchable_resource.proto', + package='flyteidl.admin', + syntax='proto3', + serialized_options=_b('Z1github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin'), + serialized_pb=_b('\n\'flyteidl/admin/matchable_resource.proto\x12\x0e\x66lyteidl.admin\"M\n\x10TaskResourceSpec\x12\x0b\n\x03\x63pu\x18\x01 \x01(\t\x12\x0b\n\x03gpu\x18\x02 \x01(\t\x12\x0e\n\x06memory\x18\x03 \x01(\t\x12\x0f\n\x07storage\x18\x04 \x01(\t\"~\n\x16TaskResourceAttributes\x12\x32\n\x08\x64\x65\x66\x61ults\x18\x01 \x01(\x0b\x32 .flyteidl.admin.TaskResourceSpec\x12\x30\n\x06limits\x18\x02 \x01(\x0b\x32 .flyteidl.admin.TaskResourceSpec\"\x9d\x01\n\x19\x43lusterResourceAttributes\x12M\n\nattributes\x18\x01 \x03(\x0b\x32\x39.flyteidl.admin.ClusterResourceAttributes.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"(\n\x18\x45xecutionQueueAttributes\x12\x0c\n\x04tags\x18\x01 \x03(\t\"\x8c\x02\n\x12MatchingAttributes\x12J\n\x18task_resource_attributes\x18\x01 \x01(\x0b\x32&.flyteidl.admin.TaskResourceAttributesH\x00\x12P\n\x1b\x63luster_resource_attributes\x18\x02 \x01(\x0b\x32).flyteidl.admin.ClusterResourceAttributesH\x00\x12N\n\x1a\x65xecution_queue_attributes\x18\x03 \x01(\x0b\x32(.flyteidl.admin.ExecutionQueueAttributesH\x00\x42\x08\n\x06target*Q\n\x11MatchableResource\x12\x11\n\rTASK_RESOURCE\x10\x00\x12\x14\n\x10\x43LUSTER_RESOURCE\x10\x01\x12\x13\n\x0f\x45XECUTION_QUEUE\x10\x02\x42\x33Z1github.com/lyft/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') +) + +_MATCHABLERESOURCE = _descriptor.EnumDescriptor( + name='MatchableResource', + full_name='flyteidl.admin.MatchableResource', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='TASK_RESOURCE', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CLUSTER_RESOURCE', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='EXECUTION_QUEUE', index=2, number=2, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=739, + serialized_end=820, +) +_sym_db.RegisterEnumDescriptor(_MATCHABLERESOURCE) + +MatchableResource = enum_type_wrapper.EnumTypeWrapper(_MATCHABLERESOURCE) +TASK_RESOURCE = 0 +CLUSTER_RESOURCE = 1 +EXECUTION_QUEUE = 2 + + + +_TASKRESOURCESPEC = _descriptor.Descriptor( + name='TaskResourceSpec', + full_name='flyteidl.admin.TaskResourceSpec', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='cpu', full_name='flyteidl.admin.TaskResourceSpec.cpu', 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='gpu', full_name='flyteidl.admin.TaskResourceSpec.gpu', 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='memory', full_name='flyteidl.admin.TaskResourceSpec.memory', 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='storage', full_name='flyteidl.admin.TaskResourceSpec.storage', 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=59, + serialized_end=136, +) + + +_TASKRESOURCEATTRIBUTES = _descriptor.Descriptor( + name='TaskResourceAttributes', + full_name='flyteidl.admin.TaskResourceAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='defaults', full_name='flyteidl.admin.TaskResourceAttributes.defaults', 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='limits', full_name='flyteidl.admin.TaskResourceAttributes.limits', 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=138, + serialized_end=264, +) + + +_CLUSTERRESOURCEATTRIBUTES_ATTRIBUTESENTRY = _descriptor.Descriptor( + name='AttributesEntry', + full_name='flyteidl.admin.ClusterResourceAttributes.AttributesEntry', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='key', full_name='flyteidl.admin.ClusterResourceAttributes.AttributesEntry.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.ClusterResourceAttributes.AttributesEntry.value', 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=_b('8\001'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=375, + serialized_end=424, +) + +_CLUSTERRESOURCEATTRIBUTES = _descriptor.Descriptor( + name='ClusterResourceAttributes', + full_name='flyteidl.admin.ClusterResourceAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='attributes', full_name='flyteidl.admin.ClusterResourceAttributes.attributes', index=0, + number=1, 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=[_CLUSTERRESOURCEATTRIBUTES_ATTRIBUTESENTRY, ], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=267, + serialized_end=424, +) + + +_EXECUTIONQUEUEATTRIBUTES = _descriptor.Descriptor( + name='ExecutionQueueAttributes', + full_name='flyteidl.admin.ExecutionQueueAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='tags', full_name='flyteidl.admin.ExecutionQueueAttributes.tags', index=0, + number=1, type=9, cpp_type=9, 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=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=426, + serialized_end=466, +) + + +_MATCHINGATTRIBUTES = _descriptor.Descriptor( + name='MatchingAttributes', + full_name='flyteidl.admin.MatchingAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='task_resource_attributes', full_name='flyteidl.admin.MatchingAttributes.task_resource_attributes', 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_attributes', full_name='flyteidl.admin.MatchingAttributes.cluster_resource_attributes', 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_attributes', full_name='flyteidl.admin.MatchingAttributes.execution_queue_attributes', 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), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='target', full_name='flyteidl.admin.MatchingAttributes.target', + index=0, containing_type=None, fields=[]), + ], + serialized_start=469, + serialized_end=737, +) + +_TASKRESOURCEATTRIBUTES.fields_by_name['defaults'].message_type = _TASKRESOURCESPEC +_TASKRESOURCEATTRIBUTES.fields_by_name['limits'].message_type = _TASKRESOURCESPEC +_CLUSTERRESOURCEATTRIBUTES_ATTRIBUTESENTRY.containing_type = _CLUSTERRESOURCEATTRIBUTES +_CLUSTERRESOURCEATTRIBUTES.fields_by_name['attributes'].message_type = _CLUSTERRESOURCEATTRIBUTES_ATTRIBUTESENTRY +_MATCHINGATTRIBUTES.fields_by_name['task_resource_attributes'].message_type = _TASKRESOURCEATTRIBUTES +_MATCHINGATTRIBUTES.fields_by_name['cluster_resource_attributes'].message_type = _CLUSTERRESOURCEATTRIBUTES +_MATCHINGATTRIBUTES.fields_by_name['execution_queue_attributes'].message_type = _EXECUTIONQUEUEATTRIBUTES +_MATCHINGATTRIBUTES.oneofs_by_name['target'].fields.append( + _MATCHINGATTRIBUTES.fields_by_name['task_resource_attributes']) +_MATCHINGATTRIBUTES.fields_by_name['task_resource_attributes'].containing_oneof = _MATCHINGATTRIBUTES.oneofs_by_name['target'] +_MATCHINGATTRIBUTES.oneofs_by_name['target'].fields.append( + _MATCHINGATTRIBUTES.fields_by_name['cluster_resource_attributes']) +_MATCHINGATTRIBUTES.fields_by_name['cluster_resource_attributes'].containing_oneof = _MATCHINGATTRIBUTES.oneofs_by_name['target'] +_MATCHINGATTRIBUTES.oneofs_by_name['target'].fields.append( + _MATCHINGATTRIBUTES.fields_by_name['execution_queue_attributes']) +_MATCHINGATTRIBUTES.fields_by_name['execution_queue_attributes'].containing_oneof = _MATCHINGATTRIBUTES.oneofs_by_name['target'] +DESCRIPTOR.message_types_by_name['TaskResourceSpec'] = _TASKRESOURCESPEC +DESCRIPTOR.message_types_by_name['TaskResourceAttributes'] = _TASKRESOURCEATTRIBUTES +DESCRIPTOR.message_types_by_name['ClusterResourceAttributes'] = _CLUSTERRESOURCEATTRIBUTES +DESCRIPTOR.message_types_by_name['ExecutionQueueAttributes'] = _EXECUTIONQUEUEATTRIBUTES +DESCRIPTOR.message_types_by_name['MatchingAttributes'] = _MATCHINGATTRIBUTES +DESCRIPTOR.enum_types_by_name['MatchableResource'] = _MATCHABLERESOURCE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +TaskResourceSpec = _reflection.GeneratedProtocolMessageType('TaskResourceSpec', (_message.Message,), dict( + DESCRIPTOR = _TASKRESOURCESPEC, + __module__ = 'flyteidl.admin.matchable_resource_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceSpec) + )) +_sym_db.RegisterMessage(TaskResourceSpec) + +TaskResourceAttributes = _reflection.GeneratedProtocolMessageType('TaskResourceAttributes', (_message.Message,), dict( + DESCRIPTOR = _TASKRESOURCEATTRIBUTES, + __module__ = 'flyteidl.admin.matchable_resource_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.TaskResourceAttributes) + )) +_sym_db.RegisterMessage(TaskResourceAttributes) + +ClusterResourceAttributes = _reflection.GeneratedProtocolMessageType('ClusterResourceAttributes', (_message.Message,), dict( + + AttributesEntry = _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), dict( + DESCRIPTOR = _CLUSTERRESOURCEATTRIBUTES_ATTRIBUTESENTRY, + __module__ = 'flyteidl.admin.matchable_resource_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterResourceAttributes.AttributesEntry) + )) + , + DESCRIPTOR = _CLUSTERRESOURCEATTRIBUTES, + __module__ = 'flyteidl.admin.matchable_resource_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.ClusterResourceAttributes) + )) +_sym_db.RegisterMessage(ClusterResourceAttributes) +_sym_db.RegisterMessage(ClusterResourceAttributes.AttributesEntry) + +ExecutionQueueAttributes = _reflection.GeneratedProtocolMessageType('ExecutionQueueAttributes', (_message.Message,), dict( + DESCRIPTOR = _EXECUTIONQUEUEATTRIBUTES, + __module__ = 'flyteidl.admin.matchable_resource_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.ExecutionQueueAttributes) + )) +_sym_db.RegisterMessage(ExecutionQueueAttributes) + +MatchingAttributes = _reflection.GeneratedProtocolMessageType('MatchingAttributes', (_message.Message,), dict( + DESCRIPTOR = _MATCHINGATTRIBUTES, + __module__ = 'flyteidl.admin.matchable_resource_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.MatchingAttributes) + )) +_sym_db.RegisterMessage(MatchingAttributes) + + +DESCRIPTOR._options = None +_CLUSTERRESOURCEATTRIBUTES_ATTRIBUTESENTRY._options = None +# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/admin/matchable_resource_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/admin/matchable_resource_pb2_grpc.py new file mode 100644 index 0000000000..a89435267c --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/admin/matchable_resource_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/flyteidl/gen/pb_python/flyteidl/admin/project_attributes_pb2.py b/flyteidl/gen/pb_python/flyteidl/admin/project_attributes_pb2.py new file mode 100644 index 0000000000..f03026bb22 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/admin/project_attributes_pb2.py @@ -0,0 +1,153 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/admin/project_attributes.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/project_attributes.proto', + package='flyteidl.admin', + syntax='proto3', + serialized_options=_b('Z1github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin'), + serialized_pb=_b('\n\'flyteidl/admin/project_attributes.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/matchable_resource.proto\"e\n\x11ProjectAttributes\x12\x0f\n\x07project\x18\x01 \x01(\t\x12?\n\x13matching_attributes\x18\x02 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\"W\n\x1eProjectAttributesUpdateRequest\x12\x35\n\nattributes\x18\x01 \x01(\x0b\x32!.flyteidl.admin.ProjectAttributes\"!\n\x1fProjectAttributesUpdateResponseB3Z1github.com/lyft/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + , + dependencies=[flyteidl_dot_admin_dot_matchable__resource__pb2.DESCRIPTOR,]) + + + + +_PROJECTATTRIBUTES = _descriptor.Descriptor( + name='ProjectAttributes', + full_name='flyteidl.admin.ProjectAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='project', full_name='flyteidl.admin.ProjectAttributes.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='matching_attributes', full_name='flyteidl.admin.ProjectAttributes.matching_attributes', 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=100, + serialized_end=201, +) + + +_PROJECTATTRIBUTESUPDATEREQUEST = _descriptor.Descriptor( + name='ProjectAttributesUpdateRequest', + full_name='flyteidl.admin.ProjectAttributesUpdateRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='attributes', full_name='flyteidl.admin.ProjectAttributesUpdateRequest.attributes', 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=203, + serialized_end=290, +) + + +_PROJECTATTRIBUTESUPDATERESPONSE = _descriptor.Descriptor( + name='ProjectAttributesUpdateResponse', + full_name='flyteidl.admin.ProjectAttributesUpdateResponse', + 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=292, + serialized_end=325, +) + +_PROJECTATTRIBUTES.fields_by_name['matching_attributes'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_PROJECTATTRIBUTESUPDATEREQUEST.fields_by_name['attributes'].message_type = _PROJECTATTRIBUTES +DESCRIPTOR.message_types_by_name['ProjectAttributes'] = _PROJECTATTRIBUTES +DESCRIPTOR.message_types_by_name['ProjectAttributesUpdateRequest'] = _PROJECTATTRIBUTESUPDATEREQUEST +DESCRIPTOR.message_types_by_name['ProjectAttributesUpdateResponse'] = _PROJECTATTRIBUTESUPDATERESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ProjectAttributes = _reflection.GeneratedProtocolMessageType('ProjectAttributes', (_message.Message,), dict( + DESCRIPTOR = _PROJECTATTRIBUTES, + __module__ = 'flyteidl.admin.project_attributes_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributes) + )) +_sym_db.RegisterMessage(ProjectAttributes) + +ProjectAttributesUpdateRequest = _reflection.GeneratedProtocolMessageType('ProjectAttributesUpdateRequest', (_message.Message,), dict( + DESCRIPTOR = _PROJECTATTRIBUTESUPDATEREQUEST, + __module__ = 'flyteidl.admin.project_attributes_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesUpdateRequest) + )) +_sym_db.RegisterMessage(ProjectAttributesUpdateRequest) + +ProjectAttributesUpdateResponse = _reflection.GeneratedProtocolMessageType('ProjectAttributesUpdateResponse', (_message.Message,), dict( + DESCRIPTOR = _PROJECTATTRIBUTESUPDATERESPONSE, + __module__ = 'flyteidl.admin.project_attributes_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectAttributesUpdateResponse) + )) +_sym_db.RegisterMessage(ProjectAttributesUpdateResponse) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/admin/project_attributes_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/admin/project_attributes_pb2_grpc.py new file mode 100644 index 0000000000..a89435267c --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/admin/project_attributes_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/flyteidl/gen/pb_python/flyteidl/admin/project_domain_attributes_pb2.py b/flyteidl/gen/pb_python/flyteidl/admin/project_domain_attributes_pb2.py index fb44d7da30..58ef02612b 100644 --- a/flyteidl/gen/pb_python/flyteidl/admin/project_domain_attributes_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/admin/project_domain_attributes_pb2.py @@ -13,6 +13,7 @@ _sym_db = _symbol_database.Default() +from flyteidl.admin import matchable_resource_pb2 as flyteidl_dot_admin_dot_matchable__resource__pb2 DESCRIPTOR = _descriptor.FileDescriptor( @@ -20,49 +21,13 @@ package='flyteidl.admin', syntax='proto3', serialized_options=_b('Z1github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin'), - serialized_pb=_b('\n.flyteidl/admin/project_domain_attributes.proto\x12\x0e\x66lyteidl.admin\"\xba\x01\n\x17ProjectDomainAttributes\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12K\n\nattributes\x18\x03 \x03(\x0b\x32\x37.flyteidl.admin.ProjectDomainAttributes.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"c\n$ProjectDomainAttributesUpdateRequest\x12;\n\nattributes\x18\x01 \x01(\x0b\x32\'.flyteidl.admin.ProjectDomainAttributes\"\'\n%ProjectDomainAttributesUpdateResponseB3Z1github.com/lyft/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') -) + serialized_pb=_b('\n.flyteidl/admin/project_domain_attributes.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/matchable_resource.proto\"{\n\x17ProjectDomainAttributes\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12?\n\x13matching_attributes\x18\x03 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\"c\n$ProjectDomainAttributesUpdateRequest\x12;\n\nattributes\x18\x01 \x01(\x0b\x32\'.flyteidl.admin.ProjectDomainAttributes\"\'\n%ProjectDomainAttributesUpdateResponseB3Z1github.com/lyft/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + , + dependencies=[flyteidl_dot_admin_dot_matchable__resource__pb2.DESCRIPTOR,]) -_PROJECTDOMAINATTRIBUTES_ATTRIBUTESENTRY = _descriptor.Descriptor( - name='AttributesEntry', - full_name='flyteidl.admin.ProjectDomainAttributes.AttributesEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='flyteidl.admin.ProjectDomainAttributes.AttributesEntry.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.ProjectDomainAttributes.AttributesEntry.value', 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=_b('8\001'), - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=204, - serialized_end=253, -) - _PROJECTDOMAINATTRIBUTES = _descriptor.Descriptor( name='ProjectDomainAttributes', full_name='flyteidl.admin.ProjectDomainAttributes', @@ -85,16 +50,16 @@ is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='attributes', full_name='flyteidl.admin.ProjectDomainAttributes.attributes', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], + name='matching_attributes', full_name='flyteidl.admin.ProjectDomainAttributes.matching_attributes', 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), ], extensions=[ ], - nested_types=[_PROJECTDOMAINATTRIBUTES_ATTRIBUTESENTRY, ], + nested_types=[], enum_types=[ ], serialized_options=None, @@ -103,8 +68,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=67, - serialized_end=253, + serialized_start=107, + serialized_end=230, ) @@ -134,8 +99,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=255, - serialized_end=354, + serialized_start=232, + serialized_end=331, ) @@ -158,12 +123,11 @@ extension_ranges=[], oneofs=[ ], - serialized_start=356, - serialized_end=395, + serialized_start=333, + serialized_end=372, ) -_PROJECTDOMAINATTRIBUTES_ATTRIBUTESENTRY.containing_type = _PROJECTDOMAINATTRIBUTES -_PROJECTDOMAINATTRIBUTES.fields_by_name['attributes'].message_type = _PROJECTDOMAINATTRIBUTES_ATTRIBUTESENTRY +_PROJECTDOMAINATTRIBUTES.fields_by_name['matching_attributes'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES _PROJECTDOMAINATTRIBUTESUPDATEREQUEST.fields_by_name['attributes'].message_type = _PROJECTDOMAINATTRIBUTES DESCRIPTOR.message_types_by_name['ProjectDomainAttributes'] = _PROJECTDOMAINATTRIBUTES DESCRIPTOR.message_types_by_name['ProjectDomainAttributesUpdateRequest'] = _PROJECTDOMAINATTRIBUTESUPDATEREQUEST @@ -171,19 +135,11 @@ _sym_db.RegisterFileDescriptor(DESCRIPTOR) ProjectDomainAttributes = _reflection.GeneratedProtocolMessageType('ProjectDomainAttributes', (_message.Message,), dict( - - AttributesEntry = _reflection.GeneratedProtocolMessageType('AttributesEntry', (_message.Message,), dict( - DESCRIPTOR = _PROJECTDOMAINATTRIBUTES_ATTRIBUTESENTRY, - __module__ = 'flyteidl.admin.project_domain_attributes_pb2' - # @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributes.AttributesEntry) - )) - , DESCRIPTOR = _PROJECTDOMAINATTRIBUTES, __module__ = 'flyteidl.admin.project_domain_attributes_pb2' # @@protoc_insertion_point(class_scope:flyteidl.admin.ProjectDomainAttributes) )) _sym_db.RegisterMessage(ProjectDomainAttributes) -_sym_db.RegisterMessage(ProjectDomainAttributes.AttributesEntry) ProjectDomainAttributesUpdateRequest = _reflection.GeneratedProtocolMessageType('ProjectDomainAttributesUpdateRequest', (_message.Message,), dict( DESCRIPTOR = _PROJECTDOMAINATTRIBUTESUPDATEREQUEST, @@ -201,5 +157,4 @@ DESCRIPTOR._options = None -_PROJECTDOMAINATTRIBUTES_ATTRIBUTESENTRY._options = None # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/admin/workflow_attributes_pb2.py b/flyteidl/gen/pb_python/flyteidl/admin/workflow_attributes_pb2.py new file mode 100644 index 0000000000..b46b00b760 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/admin/workflow_attributes_pb2.py @@ -0,0 +1,167 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: flyteidl/admin/workflow_attributes.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/workflow_attributes.proto', + package='flyteidl.admin', + syntax='proto3', + serialized_options=_b('Z1github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin'), + serialized_pb=_b('\n(flyteidl/admin/workflow_attributes.proto\x12\x0e\x66lyteidl.admin\x1a\'flyteidl/admin/matchable_resource.proto\"\x88\x01\n\x12WorkflowAttributes\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?\n\x13matching_attributes\x18\x04 \x01(\x0b\x32\".flyteidl.admin.MatchingAttributes\"Y\n\x1fWorkflowAttributesUpdateRequest\x12\x36\n\nattributes\x18\x01 \x01(\x0b\x32\".flyteidl.admin.WorkflowAttributes\"\"\n WorkflowAttributesUpdateResponseB3Z1github.com/lyft/flyteidl/gen/pb-go/flyteidl/adminb\x06proto3') + , + dependencies=[flyteidl_dot_admin_dot_matchable__resource__pb2.DESCRIPTOR,]) + + + + +_WORKFLOWATTRIBUTES = _descriptor.Descriptor( + name='WorkflowAttributes', + full_name='flyteidl.admin.WorkflowAttributes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='project', full_name='flyteidl.admin.WorkflowAttributes.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.WorkflowAttributes.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.WorkflowAttributes.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='matching_attributes', full_name='flyteidl.admin.WorkflowAttributes.matching_attributes', 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), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=102, + serialized_end=238, +) + + +_WORKFLOWATTRIBUTESUPDATEREQUEST = _descriptor.Descriptor( + name='WorkflowAttributesUpdateRequest', + full_name='flyteidl.admin.WorkflowAttributesUpdateRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='attributes', full_name='flyteidl.admin.WorkflowAttributesUpdateRequest.attributes', 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=240, + serialized_end=329, +) + + +_WORKFLOWATTRIBUTESUPDATERESPONSE = _descriptor.Descriptor( + name='WorkflowAttributesUpdateResponse', + full_name='flyteidl.admin.WorkflowAttributesUpdateResponse', + 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=331, + serialized_end=365, +) + +_WORKFLOWATTRIBUTES.fields_by_name['matching_attributes'].message_type = flyteidl_dot_admin_dot_matchable__resource__pb2._MATCHINGATTRIBUTES +_WORKFLOWATTRIBUTESUPDATEREQUEST.fields_by_name['attributes'].message_type = _WORKFLOWATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowAttributes'] = _WORKFLOWATTRIBUTES +DESCRIPTOR.message_types_by_name['WorkflowAttributesUpdateRequest'] = _WORKFLOWATTRIBUTESUPDATEREQUEST +DESCRIPTOR.message_types_by_name['WorkflowAttributesUpdateResponse'] = _WORKFLOWATTRIBUTESUPDATERESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +WorkflowAttributes = _reflection.GeneratedProtocolMessageType('WorkflowAttributes', (_message.Message,), dict( + DESCRIPTOR = _WORKFLOWATTRIBUTES, + __module__ = 'flyteidl.admin.workflow_attributes_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributes) + )) +_sym_db.RegisterMessage(WorkflowAttributes) + +WorkflowAttributesUpdateRequest = _reflection.GeneratedProtocolMessageType('WorkflowAttributesUpdateRequest', (_message.Message,), dict( + DESCRIPTOR = _WORKFLOWATTRIBUTESUPDATEREQUEST, + __module__ = 'flyteidl.admin.workflow_attributes_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesUpdateRequest) + )) +_sym_db.RegisterMessage(WorkflowAttributesUpdateRequest) + +WorkflowAttributesUpdateResponse = _reflection.GeneratedProtocolMessageType('WorkflowAttributesUpdateResponse', (_message.Message,), dict( + DESCRIPTOR = _WORKFLOWATTRIBUTESUPDATERESPONSE, + __module__ = 'flyteidl.admin.workflow_attributes_pb2' + # @@protoc_insertion_point(class_scope:flyteidl.admin.WorkflowAttributesUpdateResponse) + )) +_sym_db.RegisterMessage(WorkflowAttributesUpdateResponse) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/flyteidl/gen/pb_python/flyteidl/admin/workflow_attributes_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/admin/workflow_attributes_pb2_grpc.py new file mode 100644 index 0000000000..a89435267c --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/admin/workflow_attributes_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/flyteidl/gen/pb_python/flyteidl/service/admin_pb2.py b/flyteidl/gen/pb_python/flyteidl/service/admin_pb2.py index 980977af24..c89ecf367e 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/admin_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/service/admin_pb2.py @@ -15,9 +15,11 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from flyteidl.admin import project_pb2 as flyteidl_dot_admin_dot_project__pb2 +from flyteidl.admin import project_attributes_pb2 as flyteidl_dot_admin_dot_project__attributes__pb2 from flyteidl.admin import project_domain_attributes_pb2 as flyteidl_dot_admin_dot_project__domain__attributes__pb2 from flyteidl.admin import task_pb2 as flyteidl_dot_admin_dot_task__pb2 from flyteidl.admin import workflow_pb2 as flyteidl_dot_admin_dot_workflow__pb2 +from flyteidl.admin import workflow_attributes_pb2 as flyteidl_dot_admin_dot_workflow__attributes__pb2 from flyteidl.admin import launch_plan_pb2 as flyteidl_dot_admin_dot_launch__plan__pb2 from flyteidl.admin import event_pb2 as flyteidl_dot_admin_dot_event__pb2 from flyteidl.admin import execution_pb2 as flyteidl_dot_admin_dot_execution__pb2 @@ -32,9 +34,9 @@ package='flyteidl.service', syntax='proto3', serialized_options=_b('Z3github.com/lyft/flyteidl/gen/pb-go/flyteidl/service'), - serialized_pb=_b('\n\x1c\x66lyteidl/service/admin.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x66lyteidl/admin/project.proto\x1a.flyteidl/admin/project_domain_attributes.proto\x1a\x19\x66lyteidl/admin/task.proto\x1a\x1d\x66lyteidl/admin/workflow.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1a\x66lyteidl/admin/event.proto\x1a\x1e\x66lyteidl/admin/execution.proto\x1a#flyteidl/admin/node_execution.proto\x1a#flyteidl/admin/task_execution.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a,protoc-gen-swagger/options/annotations.proto2\x80Q\n\x0c\x41\x64minService\x12\xc5\x02\n\nCreateTask\x12!.flyteidl.admin.TaskCreateRequest\x1a\".flyteidl.admin.TaskCreateResponse\"\xef\x01\x82\xd3\xe4\x93\x02\x12\"\r/api/v1/tasks:\x01*\x92\x41\xd3\x01\x1a&Create and register a task definition.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x12\xb2\x01\n\x07GetTask\x12 .flyteidl.admin.ObjectGetRequest\x1a\x14.flyteidl.admin.Task\"o\x82\xd3\xe4\x93\x02?\x12=/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}\x92\x41\'\x1a%Retrieve an existing task definition.\x12\xde\x01\n\x0bListTaskIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"r\x82\xd3\xe4\x93\x02%\x12#/api/v1/task_ids/{project}/{domain}\x92\x41\x44\x1a\x42\x46\x65tch existing task definition identifiers matching input filters.\x12\xeb\x01\n\tListTasks\x12#.flyteidl.admin.ResourceListRequest\x1a\x18.flyteidl.admin.TaskList\"\x9e\x01\x82\xd3\xe4\x93\x02\\\x12\x30/api/v1/tasks/{id.project}/{id.domain}/{id.name}Z(\x12&/api/v1/tasks/{id.project}/{id.domain}\x92\x41\x39\x1a\x37\x46\x65tch existing task definitions matching input filters.\x12\xd9\x02\n\x0e\x43reateWorkflow\x12%.flyteidl.admin.WorkflowCreateRequest\x1a&.flyteidl.admin.WorkflowCreateResponse\"\xf7\x01\x82\xd3\xe4\x93\x02\x16\"\x11/api/v1/workflows:\x01*\x92\x41\xd7\x01\x1a*Create and register a workflow definition.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x12\xc2\x01\n\x0bGetWorkflow\x12 .flyteidl.admin.ObjectGetRequest\x1a\x18.flyteidl.admin.Workflow\"w\x82\xd3\xe4\x93\x02\x43\x12\x41/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}\x92\x41+\x1a)Retrieve an existing workflow definition.\x12\xed\x01\n\x0fListWorkflowIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"}\x82\xd3\xe4\x93\x02)\x12\'/api/v1/workflow_ids/{project}/{domain}\x92\x41K\x1aIFetch an existing workflow definition identifiers matching input filters.\x12\xff\x01\n\rListWorkflows\x12#.flyteidl.admin.ResourceListRequest\x1a\x1c.flyteidl.admin.WorkflowList\"\xaa\x01\x82\xd3\xe4\x93\x02\x64\x12\x34/api/v1/workflows/{id.project}/{id.domain}/{id.name}Z,\x12*/api/v1/workflows/{id.project}/{id.domain}\x92\x41=\x1a;Fetch existing workflow definitions matching input filters.\x12\xe5\x02\n\x10\x43reateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanCreateRequest\x1a(.flyteidl.admin.LaunchPlanCreateResponse\"\xfd\x01\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/launch_plans:\x01*\x92\x41\xda\x01\x1a-Create and register a launch plan definition.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x12\xcc\x01\n\rGetLaunchPlan\x12 .flyteidl.admin.ObjectGetRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"}\x82\xd3\xe4\x93\x02\x46\x12\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x92\x41.\x1a,Retrieve an existing launch plan definition.\x12\xf3\x01\n\x13GetActiveLaunchPlan\x12\'.flyteidl.admin.ActiveLaunchPlanRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"\x96\x01\x82\xd3\xe4\x93\x02@\x12>/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}\x92\x41M\x1aKRetrieve the active launch plan version specified by input request filters.\x12\xeb\x01\n\x15ListActiveLaunchPlans\x12+.flyteidl.admin.ActiveLaunchPlanListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"\x84\x01\x82\xd3\xe4\x93\x02\x30\x12./api/v1/active_launch_plans/{project}/{domain}\x92\x41K\x1aIFetch the active launch plan versions specified by input request filters.\x12\xf3\x01\n\x11ListLaunchPlanIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"\x80\x01\x82\xd3\xe4\x93\x02,\x12*/api/v1/launch_plan_ids/{project}/{domain}\x92\x41K\x1aIFetch existing launch plan definition identifiers matching input filters.\x12\x8c\x02\n\x0fListLaunchPlans\x12#.flyteidl.admin.ResourceListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"\xb3\x01\x82\xd3\xe4\x93\x02j\x12\x37/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}Z/\x12-/api/v1/launch_plans/{id.project}/{id.domain}\x92\x41@\x1a>Fetch existing launch plan definitions matching input filters.\x12\xc0\x06\n\x10UpdateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanUpdateRequest\x1a(.flyteidl.admin.LaunchPlanUpdateResponse\"\xd8\x05\x82\xd3\xe4\x93\x02I\x1a\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}:\x01*\x92\x41\x85\x05\x1a\x82\x05Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled.\x12\xa2\x01\n\x0f\x43reateExecution\x12&.flyteidl.admin.ExecutionCreateRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\">\x82\xd3\xe4\x93\x02\x17\"\x12/api/v1/executions:\x01*\x92\x41\x1e\x1a\x1c\x43reate a workflow execution.\x12\xb1\x01\n\x11RelaunchExecution\x12(.flyteidl.admin.ExecutionRelaunchRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"I\x82\xd3\xe4\x93\x02 \"\x1b/api/v1/executions/relaunch:\x01*\x92\x41 \x1a\x1eRelaunch a workflow execution.\x12\xc2\x01\n\x0cGetExecution\x12+.flyteidl.admin.WorkflowExecutionGetRequest\x1a\x19.flyteidl.admin.Execution\"j\x82\xd3\xe4\x93\x02\x37\x12\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x92\x41*\x1a(Retrieve an existing workflow execution.\x12\x82\x02\n\x10GetExecutionData\x12/.flyteidl.admin.WorkflowExecutionGetDataRequest\x1a\x30.flyteidl.admin.WorkflowExecutionGetDataResponse\"\x8a\x01\x82\xd3\xe4\x93\x02<\x12:/api/v1/data/executions/{id.project}/{id.domain}/{id.name}\x92\x41\x45\x1a\x43Retrieve input and output data from an existing workflow execution.\x12\xc8\x01\n\x0eListExecutions\x12#.flyteidl.admin.ResourceListRequest\x1a\x1d.flyteidl.admin.ExecutionList\"r\x82\xd3\xe4\x93\x02-\x12+/api/v1/executions/{id.project}/{id.domain}\x92\x41<\x1a:Fetch existing workflow executions matching input filters.\x12\xf4\x01\n\x12TerminateExecution\x12).flyteidl.admin.ExecutionTerminateRequest\x1a*.flyteidl.admin.ExecutionTerminateResponse\"\x86\x01\x82\xd3\xe4\x93\x02:*5/api/v1/executions/{id.project}/{id.domain}/{id.name}:\x01*\x92\x41\x43\x1a\x41Terminate the active workflow execution specified in the request.\x12\xfc\x01\n\x10GetNodeExecution\x12\'.flyteidl.admin.NodeExecutionGetRequest\x1a\x1d.flyteidl.admin.NodeExecution\"\x9f\x01\x82\xd3\xe4\x93\x02p\x12n/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x92\x41&\x1a$Retrieve an existing node execution.\x12\x9a\x02\n\x12ListNodeExecutions\x12(.flyteidl.admin.NodeExecutionListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\xb6\x01\x82\xd3\xe4\x93\x02u\x12s/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x92\x41\x38\x1a\x36\x46\x65tch existing node executions matching input filters.\x12\xef\x04\n\x19ListNodeExecutionsForTask\x12/.flyteidl.admin.NodeExecutionForTaskListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\xfd\x03\x82\xd3\xe4\x93\x02\xac\x03\x12\xa9\x03/api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt}\x92\x41G\x1a\x45\x46\x65tch child node executions launched by the specified task execution.\x12\xb3\x02\n\x14GetNodeExecutionData\x12+.flyteidl.admin.NodeExecutionGetDataRequest\x1a,.flyteidl.admin.NodeExecutionGetDataResponse\"\xbf\x01\x82\xd3\xe4\x93\x02u\x12s/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x92\x41\x41\x1a?Retrieve input and output data from an existing node execution.\x12\x97\x01\n\x0fRegisterProject\x12&.flyteidl.admin.ProjectRegisterRequest\x1a\'.flyteidl.admin.ProjectRegisterResponse\"3\x82\xd3\xe4\x93\x02\x15\"\x10/api/v1/projects:\x01*\x92\x41\x15\x1a\x13Register a project.\x12\x85\x01\n\x0cListProjects\x12\".flyteidl.admin.ProjectListRequest\x1a\x18.flyteidl.admin.Projects\"7\x82\xd3\xe4\x93\x02\x12\x12\x10/api/v1/projects\x92\x41\x1c\x1a\x1a\x46\x65tch registered projects.\x12\xdd\x01\n\x13\x43reateWorkflowEvent\x12-.flyteidl.admin.WorkflowExecutionEventRequest\x1a..flyteidl.admin.WorkflowExecutionEventResponse\"g\x82\xd3\xe4\x93\x02\x1d\"\x18/api/v1/events/workflows:\x01*\x92\x41\x41\x1a?Create a workflow execution event recording a phase transition.\x12\xc9\x01\n\x0f\x43reateNodeEvent\x12).flyteidl.admin.NodeExecutionEventRequest\x1a*.flyteidl.admin.NodeExecutionEventResponse\"_\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/events/nodes:\x01*\x92\x41=\x1a;Create a node execution event recording a phase transition.\x12\xc9\x01\n\x0f\x43reateTaskEvent\x12).flyteidl.admin.TaskExecutionEventRequest\x1a*.flyteidl.admin.TaskExecutionEventResponse\"_\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/events/tasks:\x01*\x92\x41=\x1a;Create a task execution event recording a phase transition.\x12\xa9\x03\n\x10GetTaskExecution\x12\'.flyteidl.admin.TaskExecutionGetRequest\x1a\x1d.flyteidl.admin.TaskExecution\"\xcc\x02\x82\xd3\xe4\x93\x02\x9c\x02\x12\x99\x02/api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}\x92\x41&\x1a$Retrieve an existing task execution.\x12\xd3\x02\n\x12ListTaskExecutions\x12(.flyteidl.admin.TaskExecutionListRequest\x1a!.flyteidl.admin.TaskExecutionList\"\xef\x01\x82\xd3\xe4\x93\x02\xad\x01\x12\xaa\x01/api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}\x92\x41\x38\x1a\x36\x46\x65tch existing task executions matching input filters.\x12\xe0\x03\n\x14GetTaskExecutionData\x12+.flyteidl.admin.TaskExecutionGetDataRequest\x1a,.flyteidl.admin.TaskExecutionGetDataResponse\"\xec\x02\x82\xd3\xe4\x93\x02\xa1\x02\x12\x9e\x02/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}\x92\x41\x41\x1a?Retrieve input and output data from an existing task execution.\x12\xbf\x02\n\x1dUpdateProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesUpdateRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesUpdateResponse\"\xb0\x01\x82\xd3\xe4\x93\x02O\x1aJ/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}:\x01*\x92\x41X\x1aVUpdate the customized resource attributes associated with a project-domain combination\x12\x80\x02\n\x11ListNamedEntities\x12&.flyteidl.admin.NamedEntityListRequest\x1a\x1f.flyteidl.admin.NamedEntityList\"\xa1\x01\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/named_entities/{resource_type}/{project}/{domain}\x92\x41]\x1a[Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain.\x12\xca\x01\n\x0eGetNamedEntity\x12%.flyteidl.admin.NamedEntityGetRequest\x1a\x1b.flyteidl.admin.NamedEntity\"t\x82\xd3\xe4\x93\x02K\x12I/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x92\x41 \x1a\x1eRetrieve a NamedEntity object.\x12\xf3\x01\n\x11UpdateNamedEntity\x12(.flyteidl.admin.NamedEntityUpdateRequest\x1a).flyteidl.admin.NamedEntityUpdateResponse\"\x88\x01\x82\xd3\xe4\x93\x02N\x1aI/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}:\x01*\x92\x41\x31\x1a/Update the fields associated with a NamedEntityB5Z3github.com/lyft/flyteidl/gen/pb-go/flyteidl/serviceb\x06proto3') + serialized_pb=_b('\n\x1c\x66lyteidl/service/admin.proto\x12\x10\x66lyteidl.service\x1a\x1cgoogle/api/annotations.proto\x1a\x1c\x66lyteidl/admin/project.proto\x1a\'flyteidl/admin/project_attributes.proto\x1a.flyteidl/admin/project_domain_attributes.proto\x1a\x19\x66lyteidl/admin/task.proto\x1a\x1d\x66lyteidl/admin/workflow.proto\x1a(flyteidl/admin/workflow_attributes.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1a\x66lyteidl/admin/event.proto\x1a\x1e\x66lyteidl/admin/execution.proto\x1a#flyteidl/admin/node_execution.proto\x1a#flyteidl/admin/task_execution.proto\x1a\x1b\x66lyteidl/admin/common.proto\x1a,protoc-gen-swagger/options/annotations.proto2\xd3U\n\x0c\x41\x64minService\x12\xc5\x02\n\nCreateTask\x12!.flyteidl.admin.TaskCreateRequest\x1a\".flyteidl.admin.TaskCreateResponse\"\xef\x01\x82\xd3\xe4\x93\x02\x12\"\r/api/v1/tasks:\x01*\x92\x41\xd3\x01\x1a&Create and register a task definition.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x12\xb2\x01\n\x07GetTask\x12 .flyteidl.admin.ObjectGetRequest\x1a\x14.flyteidl.admin.Task\"o\x82\xd3\xe4\x93\x02?\x12=/api/v1/tasks/{id.project}/{id.domain}/{id.name}/{id.version}\x92\x41\'\x1a%Retrieve an existing task definition.\x12\xde\x01\n\x0bListTaskIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"r\x82\xd3\xe4\x93\x02%\x12#/api/v1/task_ids/{project}/{domain}\x92\x41\x44\x1a\x42\x46\x65tch existing task definition identifiers matching input filters.\x12\xeb\x01\n\tListTasks\x12#.flyteidl.admin.ResourceListRequest\x1a\x18.flyteidl.admin.TaskList\"\x9e\x01\x82\xd3\xe4\x93\x02\\\x12\x30/api/v1/tasks/{id.project}/{id.domain}/{id.name}Z(\x12&/api/v1/tasks/{id.project}/{id.domain}\x92\x41\x39\x1a\x37\x46\x65tch existing task definitions matching input filters.\x12\xd9\x02\n\x0e\x43reateWorkflow\x12%.flyteidl.admin.WorkflowCreateRequest\x1a&.flyteidl.admin.WorkflowCreateResponse\"\xf7\x01\x82\xd3\xe4\x93\x02\x16\"\x11/api/v1/workflows:\x01*\x92\x41\xd7\x01\x1a*Create and register a workflow definition.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x12\xc2\x01\n\x0bGetWorkflow\x12 .flyteidl.admin.ObjectGetRequest\x1a\x18.flyteidl.admin.Workflow\"w\x82\xd3\xe4\x93\x02\x43\x12\x41/api/v1/workflows/{id.project}/{id.domain}/{id.name}/{id.version}\x92\x41+\x1a)Retrieve an existing workflow definition.\x12\xed\x01\n\x0fListWorkflowIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"}\x82\xd3\xe4\x93\x02)\x12\'/api/v1/workflow_ids/{project}/{domain}\x92\x41K\x1aIFetch an existing workflow definition identifiers matching input filters.\x12\xff\x01\n\rListWorkflows\x12#.flyteidl.admin.ResourceListRequest\x1a\x1c.flyteidl.admin.WorkflowList\"\xaa\x01\x82\xd3\xe4\x93\x02\x64\x12\x34/api/v1/workflows/{id.project}/{id.domain}/{id.name}Z,\x12*/api/v1/workflows/{id.project}/{id.domain}\x92\x41=\x1a;Fetch existing workflow definitions matching input filters.\x12\xe5\x02\n\x10\x43reateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanCreateRequest\x1a(.flyteidl.admin.LaunchPlanCreateResponse\"\xfd\x01\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/launch_plans:\x01*\x92\x41\xda\x01\x1a-Create and register a launch plan definition.JB\n\x03\x34\x30\x30\x12;\n9Returned for bad request that may have failed validation.Je\n\x03\x34\x30\x39\x12^\n\\Returned for a request that references an identical entity that has already been registered.\x12\xcc\x01\n\rGetLaunchPlan\x12 .flyteidl.admin.ObjectGetRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"}\x82\xd3\xe4\x93\x02\x46\x12\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}\x92\x41.\x1a,Retrieve an existing launch plan definition.\x12\xf3\x01\n\x13GetActiveLaunchPlan\x12\'.flyteidl.admin.ActiveLaunchPlanRequest\x1a\x1a.flyteidl.admin.LaunchPlan\"\x96\x01\x82\xd3\xe4\x93\x02@\x12>/api/v1/active_launch_plans/{id.project}/{id.domain}/{id.name}\x92\x41M\x1aKRetrieve the active launch plan version specified by input request filters.\x12\xeb\x01\n\x15ListActiveLaunchPlans\x12+.flyteidl.admin.ActiveLaunchPlanListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"\x84\x01\x82\xd3\xe4\x93\x02\x30\x12./api/v1/active_launch_plans/{project}/{domain}\x92\x41K\x1aIFetch the active launch plan versions specified by input request filters.\x12\xf3\x01\n\x11ListLaunchPlanIds\x12\x30.flyteidl.admin.NamedEntityIdentifierListRequest\x1a).flyteidl.admin.NamedEntityIdentifierList\"\x80\x01\x82\xd3\xe4\x93\x02,\x12*/api/v1/launch_plan_ids/{project}/{domain}\x92\x41K\x1aIFetch existing launch plan definition identifiers matching input filters.\x12\x8c\x02\n\x0fListLaunchPlans\x12#.flyteidl.admin.ResourceListRequest\x1a\x1e.flyteidl.admin.LaunchPlanList\"\xb3\x01\x82\xd3\xe4\x93\x02j\x12\x37/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}Z/\x12-/api/v1/launch_plans/{id.project}/{id.domain}\x92\x41@\x1a>Fetch existing launch plan definitions matching input filters.\x12\xc0\x06\n\x10UpdateLaunchPlan\x12\'.flyteidl.admin.LaunchPlanUpdateRequest\x1a(.flyteidl.admin.LaunchPlanUpdateResponse\"\xd8\x05\x82\xd3\xe4\x93\x02I\x1a\x44/api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version}:\x01*\x92\x41\x85\x05\x1a\x82\x05Update the status of an existing launch plan definition. At most one launch plan version for a given {project, domain, name} can be active at a time. If this call sets a launch plan to active and existing version is already active, the result of this call will be that the formerly active launch plan will be made inactive and specified launch plan in this request will be made active. In the event that the formerly active launch plan had a schedule associated it with it, this schedule will be disabled. If the reference launch plan in this request is being set to active and has a schedule associated with it, the schedule will be enabled.\x12\xa2\x01\n\x0f\x43reateExecution\x12&.flyteidl.admin.ExecutionCreateRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\">\x82\xd3\xe4\x93\x02\x17\"\x12/api/v1/executions:\x01*\x92\x41\x1e\x1a\x1c\x43reate a workflow execution.\x12\xb1\x01\n\x11RelaunchExecution\x12(.flyteidl.admin.ExecutionRelaunchRequest\x1a\'.flyteidl.admin.ExecutionCreateResponse\"I\x82\xd3\xe4\x93\x02 \"\x1b/api/v1/executions/relaunch:\x01*\x92\x41 \x1a\x1eRelaunch a workflow execution.\x12\xc2\x01\n\x0cGetExecution\x12+.flyteidl.admin.WorkflowExecutionGetRequest\x1a\x19.flyteidl.admin.Execution\"j\x82\xd3\xe4\x93\x02\x37\x12\x35/api/v1/executions/{id.project}/{id.domain}/{id.name}\x92\x41*\x1a(Retrieve an existing workflow execution.\x12\x82\x02\n\x10GetExecutionData\x12/.flyteidl.admin.WorkflowExecutionGetDataRequest\x1a\x30.flyteidl.admin.WorkflowExecutionGetDataResponse\"\x8a\x01\x82\xd3\xe4\x93\x02<\x12:/api/v1/data/executions/{id.project}/{id.domain}/{id.name}\x92\x41\x45\x1a\x43Retrieve input and output data from an existing workflow execution.\x12\xc8\x01\n\x0eListExecutions\x12#.flyteidl.admin.ResourceListRequest\x1a\x1d.flyteidl.admin.ExecutionList\"r\x82\xd3\xe4\x93\x02-\x12+/api/v1/executions/{id.project}/{id.domain}\x92\x41<\x1a:Fetch existing workflow executions matching input filters.\x12\xf4\x01\n\x12TerminateExecution\x12).flyteidl.admin.ExecutionTerminateRequest\x1a*.flyteidl.admin.ExecutionTerminateResponse\"\x86\x01\x82\xd3\xe4\x93\x02:*5/api/v1/executions/{id.project}/{id.domain}/{id.name}:\x01*\x92\x41\x43\x1a\x41Terminate the active workflow execution specified in the request.\x12\xfc\x01\n\x10GetNodeExecution\x12\'.flyteidl.admin.NodeExecutionGetRequest\x1a\x1d.flyteidl.admin.NodeExecution\"\x9f\x01\x82\xd3\xe4\x93\x02p\x12n/api/v1/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x92\x41&\x1a$Retrieve an existing node execution.\x12\x9a\x02\n\x12ListNodeExecutions\x12(.flyteidl.admin.NodeExecutionListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\xb6\x01\x82\xd3\xe4\x93\x02u\x12s/api/v1/node_executions/{workflow_execution_id.project}/{workflow_execution_id.domain}/{workflow_execution_id.name}\x92\x41\x38\x1a\x36\x46\x65tch existing node executions matching input filters.\x12\xef\x04\n\x19ListNodeExecutionsForTask\x12/.flyteidl.admin.NodeExecutionForTaskListRequest\x1a!.flyteidl.admin.NodeExecutionList\"\xfd\x03\x82\xd3\xe4\x93\x02\xac\x03\x12\xa9\x03/api/v1/children/task_executions/{task_execution_id.node_execution_id.execution_id.project}/{task_execution_id.node_execution_id.execution_id.domain}/{task_execution_id.node_execution_id.execution_id.name}/{task_execution_id.node_execution_id.node_id}/{task_execution_id.task_id.project}/{task_execution_id.task_id.domain}/{task_execution_id.task_id.name}/{task_execution_id.task_id.version}/{task_execution_id.retry_attempt}\x92\x41G\x1a\x45\x46\x65tch child node executions launched by the specified task execution.\x12\xb3\x02\n\x14GetNodeExecutionData\x12+.flyteidl.admin.NodeExecutionGetDataRequest\x1a,.flyteidl.admin.NodeExecutionGetDataResponse\"\xbf\x01\x82\xd3\xe4\x93\x02u\x12s/api/v1/data/node_executions/{id.execution_id.project}/{id.execution_id.domain}/{id.execution_id.name}/{id.node_id}\x92\x41\x41\x1a?Retrieve input and output data from an existing node execution.\x12\x97\x01\n\x0fRegisterProject\x12&.flyteidl.admin.ProjectRegisterRequest\x1a\'.flyteidl.admin.ProjectRegisterResponse\"3\x82\xd3\xe4\x93\x02\x15\"\x10/api/v1/projects:\x01*\x92\x41\x15\x1a\x13Register a project.\x12\x85\x01\n\x0cListProjects\x12\".flyteidl.admin.ProjectListRequest\x1a\x18.flyteidl.admin.Projects\"7\x82\xd3\xe4\x93\x02\x12\x12\x10/api/v1/projects\x92\x41\x1c\x1a\x1a\x46\x65tch registered projects.\x12\xdd\x01\n\x13\x43reateWorkflowEvent\x12-.flyteidl.admin.WorkflowExecutionEventRequest\x1a..flyteidl.admin.WorkflowExecutionEventResponse\"g\x82\xd3\xe4\x93\x02\x1d\"\x18/api/v1/events/workflows:\x01*\x92\x41\x41\x1a?Create a workflow execution event recording a phase transition.\x12\xc9\x01\n\x0f\x43reateNodeEvent\x12).flyteidl.admin.NodeExecutionEventRequest\x1a*.flyteidl.admin.NodeExecutionEventResponse\"_\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/events/nodes:\x01*\x92\x41=\x1a;Create a node execution event recording a phase transition.\x12\xc9\x01\n\x0f\x43reateTaskEvent\x12).flyteidl.admin.TaskExecutionEventRequest\x1a*.flyteidl.admin.TaskExecutionEventResponse\"_\x82\xd3\xe4\x93\x02\x19\"\x14/api/v1/events/tasks:\x01*\x92\x41=\x1a;Create a task execution event recording a phase transition.\x12\xa9\x03\n\x10GetTaskExecution\x12\'.flyteidl.admin.TaskExecutionGetRequest\x1a\x1d.flyteidl.admin.TaskExecution\"\xcc\x02\x82\xd3\xe4\x93\x02\x9c\x02\x12\x99\x02/api/v1/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}\x92\x41&\x1a$Retrieve an existing task execution.\x12\xd3\x02\n\x12ListTaskExecutions\x12(.flyteidl.admin.TaskExecutionListRequest\x1a!.flyteidl.admin.TaskExecutionList\"\xef\x01\x82\xd3\xe4\x93\x02\xad\x01\x12\xaa\x01/api/v1/task_executions/{node_execution_id.execution_id.project}/{node_execution_id.execution_id.domain}/{node_execution_id.execution_id.name}/{node_execution_id.node_id}\x92\x41\x38\x1a\x36\x46\x65tch existing task executions matching input filters.\x12\xe0\x03\n\x14GetTaskExecutionData\x12+.flyteidl.admin.TaskExecutionGetDataRequest\x1a,.flyteidl.admin.TaskExecutionGetDataResponse\"\xec\x02\x82\xd3\xe4\x93\x02\xa1\x02\x12\x9e\x02/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}\x92\x41\x41\x1a?Retrieve input and output data from an existing task execution.\x12\xff\x01\n\x17UpdateProjectAttributes\x12..flyteidl.admin.ProjectAttributesUpdateRequest\x1a/.flyteidl.admin.ProjectAttributesUpdateResponse\"\x82\x01\x82\xd3\xe4\x93\x02\x34\x1a//api/v1/project_attributes/{attributes.project}:\x01*\x92\x41\x45\x1a\x43Update the customized resource attributes associated with a project\x12\xbf\x02\n\x1dUpdateProjectDomainAttributes\x12\x34.flyteidl.admin.ProjectDomainAttributesUpdateRequest\x1a\x35.flyteidl.admin.ProjectDomainAttributesUpdateResponse\"\xb0\x01\x82\xd3\xe4\x93\x02O\x1aJ/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}:\x01*\x92\x41X\x1aVUpdate the customized resource attributes associated with a project-domain combination\x12\xce\x02\n\x18UpdateWorkflowAttributes\x12/.flyteidl.admin.WorkflowAttributesUpdateRequest\x1a\x30.flyteidl.admin.WorkflowAttributesUpdateResponse\"\xce\x01\x82\xd3\xe4\x93\x02_\x1aZ/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}:\x01*\x92\x41\x66\x1a\x64Update the customized resource attributes associated with a project, domain and workflow combination\x12\x80\x02\n\x11ListNamedEntities\x12&.flyteidl.admin.NamedEntityListRequest\x1a\x1f.flyteidl.admin.NamedEntityList\"\xa1\x01\x82\xd3\xe4\x93\x02;\x12\x39/api/v1/named_entities/{resource_type}/{project}/{domain}\x92\x41]\x1a[Retrieve a list of NamedEntity objects sharing a common resource type, project, and domain.\x12\xca\x01\n\x0eGetNamedEntity\x12%.flyteidl.admin.NamedEntityGetRequest\x1a\x1b.flyteidl.admin.NamedEntity\"t\x82\xd3\xe4\x93\x02K\x12I/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}\x92\x41 \x1a\x1eRetrieve a NamedEntity object.\x12\xf3\x01\n\x11UpdateNamedEntity\x12(.flyteidl.admin.NamedEntityUpdateRequest\x1a).flyteidl.admin.NamedEntityUpdateResponse\"\x88\x01\x82\xd3\xe4\x93\x02N\x1aI/api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name}:\x01*\x92\x41\x31\x1a/Update the fields associated with a NamedEntityB5Z3github.com/lyft/flyteidl/gen/pb-go/flyteidl/serviceb\x06proto3') , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__domain__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_task__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_workflow__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_launch__plan__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_event__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_node__execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_task__execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,protoc__gen__swagger_dot_options_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_project__domain__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_task__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_workflow__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_workflow__attributes__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_launch__plan__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_event__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_node__execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_task__execution__pb2.DESCRIPTOR,flyteidl_dot_admin_dot_common__pb2.DESCRIPTOR,protoc__gen__swagger_dot_options_dot_annotations__pb2.DESCRIPTOR,]) @@ -49,8 +51,8 @@ file=DESCRIPTOR, index=0, serialized_options=None, - serialized_start=460, - serialized_end=10828, + serialized_start=543, + serialized_end=11506, methods=[ _descriptor.MethodDescriptor( name='CreateTask', @@ -349,19 +351,37 @@ output_type=flyteidl_dot_admin_dot_task__execution__pb2._TASKEXECUTIONGETDATARESPONSE, serialized_options=_b('\202\323\344\223\002\241\002\022\236\002/api/v1/data/task_executions/{id.node_execution_id.execution_id.project}/{id.node_execution_id.execution_id.domain}/{id.node_execution_id.execution_id.name}/{id.node_execution_id.node_id}/{id.task_id.project}/{id.task_id.domain}/{id.task_id.name}/{id.task_id.version}/{id.retry_attempt}\222AA\032?Retrieve input and output data from an existing task execution.'), ), + _descriptor.MethodDescriptor( + name='UpdateProjectAttributes', + full_name='flyteidl.service.AdminService.UpdateProjectAttributes', + index=33, + containing_service=None, + input_type=flyteidl_dot_admin_dot_project__attributes__pb2._PROJECTATTRIBUTESUPDATEREQUEST, + output_type=flyteidl_dot_admin_dot_project__attributes__pb2._PROJECTATTRIBUTESUPDATERESPONSE, + serialized_options=_b('\202\323\344\223\0024\032//api/v1/project_attributes/{attributes.project}:\001*\222AE\032CUpdate the customized resource attributes associated with a project'), + ), _descriptor.MethodDescriptor( name='UpdateProjectDomainAttributes', full_name='flyteidl.service.AdminService.UpdateProjectDomainAttributes', - index=33, + index=34, containing_service=None, input_type=flyteidl_dot_admin_dot_project__domain__attributes__pb2._PROJECTDOMAINATTRIBUTESUPDATEREQUEST, output_type=flyteidl_dot_admin_dot_project__domain__attributes__pb2._PROJECTDOMAINATTRIBUTESUPDATERESPONSE, serialized_options=_b('\202\323\344\223\002O\032J/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}:\001*\222AX\032VUpdate the customized resource attributes associated with a project-domain combination'), ), + _descriptor.MethodDescriptor( + name='UpdateWorkflowAttributes', + full_name='flyteidl.service.AdminService.UpdateWorkflowAttributes', + index=35, + containing_service=None, + input_type=flyteidl_dot_admin_dot_workflow__attributes__pb2._WORKFLOWATTRIBUTESUPDATEREQUEST, + output_type=flyteidl_dot_admin_dot_workflow__attributes__pb2._WORKFLOWATTRIBUTESUPDATERESPONSE, + serialized_options=_b('\202\323\344\223\002_\032Z/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}:\001*\222Af\032dUpdate the customized resource attributes associated with a project, domain and workflow combination'), + ), _descriptor.MethodDescriptor( name='ListNamedEntities', full_name='flyteidl.service.AdminService.ListNamedEntities', - index=34, + index=36, containing_service=None, input_type=flyteidl_dot_admin_dot_common__pb2._NAMEDENTITYLISTREQUEST, output_type=flyteidl_dot_admin_dot_common__pb2._NAMEDENTITYLIST, @@ -370,7 +390,7 @@ _descriptor.MethodDescriptor( name='GetNamedEntity', full_name='flyteidl.service.AdminService.GetNamedEntity', - index=35, + index=37, containing_service=None, input_type=flyteidl_dot_admin_dot_common__pb2._NAMEDENTITYGETREQUEST, output_type=flyteidl_dot_admin_dot_common__pb2._NAMEDENTITY, @@ -379,7 +399,7 @@ _descriptor.MethodDescriptor( name='UpdateNamedEntity', full_name='flyteidl.service.AdminService.UpdateNamedEntity', - index=36, + index=38, containing_service=None, input_type=flyteidl_dot_admin_dot_common__pb2._NAMEDENTITYUPDATEREQUEST, output_type=flyteidl_dot_admin_dot_common__pb2._NAMEDENTITYUPDATERESPONSE, diff --git a/flyteidl/gen/pb_python/flyteidl/service/admin_pb2_grpc.py b/flyteidl/gen/pb_python/flyteidl/service/admin_pb2_grpc.py index c575a1d39e..cf41729c45 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/admin_pb2_grpc.py +++ b/flyteidl/gen/pb_python/flyteidl/service/admin_pb2_grpc.py @@ -6,10 +6,12 @@ from flyteidl.admin import execution_pb2 as flyteidl_dot_admin_dot_execution__pb2 from flyteidl.admin import launch_plan_pb2 as flyteidl_dot_admin_dot_launch__plan__pb2 from flyteidl.admin import node_execution_pb2 as flyteidl_dot_admin_dot_node__execution__pb2 +from flyteidl.admin import project_attributes_pb2 as flyteidl_dot_admin_dot_project__attributes__pb2 from flyteidl.admin import project_domain_attributes_pb2 as flyteidl_dot_admin_dot_project__domain__attributes__pb2 from flyteidl.admin import project_pb2 as flyteidl_dot_admin_dot_project__pb2 from flyteidl.admin import task_execution_pb2 as flyteidl_dot_admin_dot_task__execution__pb2 from flyteidl.admin import task_pb2 as flyteidl_dot_admin_dot_task__pb2 +from flyteidl.admin import workflow_attributes_pb2 as flyteidl_dot_admin_dot_workflow__attributes__pb2 from flyteidl.admin import workflow_pb2 as flyteidl_dot_admin_dot_workflow__pb2 @@ -189,11 +191,21 @@ def __init__(self, channel): request_serializer=flyteidl_dot_admin_dot_task__execution__pb2.TaskExecutionGetDataRequest.SerializeToString, response_deserializer=flyteidl_dot_admin_dot_task__execution__pb2.TaskExecutionGetDataResponse.FromString, ) + self.UpdateProjectAttributes = channel.unary_unary( + '/flyteidl.service.AdminService/UpdateProjectAttributes', + request_serializer=flyteidl_dot_admin_dot_project__attributes__pb2.ProjectAttributesUpdateRequest.SerializeToString, + response_deserializer=flyteidl_dot_admin_dot_project__attributes__pb2.ProjectAttributesUpdateResponse.FromString, + ) self.UpdateProjectDomainAttributes = channel.unary_unary( '/flyteidl.service.AdminService/UpdateProjectDomainAttributes', request_serializer=flyteidl_dot_admin_dot_project__domain__attributes__pb2.ProjectDomainAttributesUpdateRequest.SerializeToString, response_deserializer=flyteidl_dot_admin_dot_project__domain__attributes__pb2.ProjectDomainAttributesUpdateResponse.FromString, ) + self.UpdateWorkflowAttributes = channel.unary_unary( + '/flyteidl.service.AdminService/UpdateWorkflowAttributes', + request_serializer=flyteidl_dot_admin_dot_workflow__attributes__pb2.WorkflowAttributesUpdateRequest.SerializeToString, + response_deserializer=flyteidl_dot_admin_dot_workflow__attributes__pb2.WorkflowAttributesUpdateResponse.FromString, + ) self.ListNamedEntities = channel.unary_unary( '/flyteidl.service.AdminService/ListNamedEntities', request_serializer=flyteidl_dot_admin_dot_common__pb2.NamedEntityListRequest.SerializeToString, @@ -447,6 +459,13 @@ def GetTaskExecutionData(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def UpdateProjectAttributes(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def UpdateProjectDomainAttributes(self, request, context): # missing associated documentation comment in .proto file pass @@ -454,6 +473,13 @@ def UpdateProjectDomainAttributes(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def UpdateWorkflowAttributes(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def ListNamedEntities(self, request, context): # missing associated documentation comment in .proto file pass @@ -643,11 +669,21 @@ def add_AdminServiceServicer_to_server(servicer, server): request_deserializer=flyteidl_dot_admin_dot_task__execution__pb2.TaskExecutionGetDataRequest.FromString, response_serializer=flyteidl_dot_admin_dot_task__execution__pb2.TaskExecutionGetDataResponse.SerializeToString, ), + 'UpdateProjectAttributes': grpc.unary_unary_rpc_method_handler( + servicer.UpdateProjectAttributes, + request_deserializer=flyteidl_dot_admin_dot_project__attributes__pb2.ProjectAttributesUpdateRequest.FromString, + response_serializer=flyteidl_dot_admin_dot_project__attributes__pb2.ProjectAttributesUpdateResponse.SerializeToString, + ), 'UpdateProjectDomainAttributes': grpc.unary_unary_rpc_method_handler( servicer.UpdateProjectDomainAttributes, request_deserializer=flyteidl_dot_admin_dot_project__domain__attributes__pb2.ProjectDomainAttributesUpdateRequest.FromString, response_serializer=flyteidl_dot_admin_dot_project__domain__attributes__pb2.ProjectDomainAttributesUpdateResponse.SerializeToString, ), + 'UpdateWorkflowAttributes': grpc.unary_unary_rpc_method_handler( + servicer.UpdateWorkflowAttributes, + request_deserializer=flyteidl_dot_admin_dot_workflow__attributes__pb2.WorkflowAttributesUpdateRequest.FromString, + response_serializer=flyteidl_dot_admin_dot_workflow__attributes__pb2.WorkflowAttributesUpdateResponse.SerializeToString, + ), 'ListNamedEntities': grpc.unary_unary_rpc_method_handler( servicer.ListNamedEntities, request_deserializer=flyteidl_dot_admin_dot_common__pb2.NamedEntityListRequest.FromString, diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md index f12f22e9d6..bc5fc8fb5f 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/README.md @@ -108,7 +108,9 @@ Class | Method | HTTP request | Description *AdminServiceApi* | [**terminate_execution**](docs/AdminServiceApi.md#terminate_execution) | **DELETE** /api/v1/executions/{id.project}/{id.domain}/{id.name} | *AdminServiceApi* | [**update_launch_plan**](docs/AdminServiceApi.md#update_launch_plan) | **PUT** /api/v1/launch_plans/{id.project}/{id.domain}/{id.name}/{id.version} | *AdminServiceApi* | [**update_named_entity**](docs/AdminServiceApi.md#update_named_entity) | **PUT** /api/v1/named_entities/{resource_type}/{id.project}/{id.domain}/{id.name} | +*AdminServiceApi* | [**update_project_attributes**](docs/AdminServiceApi.md#update_project_attributes) | **PUT** /api/v1/project_attributes/{attributes.project} | *AdminServiceApi* | [**update_project_domain_attributes**](docs/AdminServiceApi.md#update_project_domain_attributes) | **PUT** /api/v1/project_domain_attributes/{attributes.project}/{attributes.domain} | +*AdminServiceApi* | [**update_workflow_attributes**](docs/AdminServiceApi.md#update_workflow_attributes) | **PUT** /api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow} | ## Documentation For Models @@ -116,6 +118,7 @@ Class | Method | HTTP request | Description - [AdminAbortMetadata](docs/AdminAbortMetadata.md) - [AdminAnnotations](docs/AdminAnnotations.md) - [AdminAuth](docs/AdminAuth.md) + - [AdminClusterResourceAttributes](docs/AdminClusterResourceAttributes.md) - [AdminDomain](docs/AdminDomain.md) - [AdminEmailNotification](docs/AdminEmailNotification.md) - [AdminExecution](docs/AdminExecution.md) @@ -124,6 +127,7 @@ Class | Method | HTTP request | Description - [AdminExecutionCreateResponse](docs/AdminExecutionCreateResponse.md) - [AdminExecutionList](docs/AdminExecutionList.md) - [AdminExecutionMetadata](docs/AdminExecutionMetadata.md) + - [AdminExecutionQueueAttributes](docs/AdminExecutionQueueAttributes.md) - [AdminExecutionRelaunchRequest](docs/AdminExecutionRelaunchRequest.md) - [AdminExecutionSpec](docs/AdminExecutionSpec.md) - [AdminExecutionTerminateRequest](docs/AdminExecutionTerminateRequest.md) @@ -142,6 +146,7 @@ Class | Method | HTTP request | Description - [AdminLaunchPlanUpdateRequest](docs/AdminLaunchPlanUpdateRequest.md) - [AdminLaunchPlanUpdateResponse](docs/AdminLaunchPlanUpdateResponse.md) - [AdminLiteralMapBlob](docs/AdminLiteralMapBlob.md) + - [AdminMatchingAttributes](docs/AdminMatchingAttributes.md) - [AdminNamedEntity](docs/AdminNamedEntity.md) - [AdminNamedEntityIdentifier](docs/AdminNamedEntityIdentifier.md) - [AdminNamedEntityIdentifierList](docs/AdminNamedEntityIdentifierList.md) @@ -158,6 +163,9 @@ Class | Method | HTTP request | Description - [AdminNotificationList](docs/AdminNotificationList.md) - [AdminPagerDutyNotification](docs/AdminPagerDutyNotification.md) - [AdminProject](docs/AdminProject.md) + - [AdminProjectAttributes](docs/AdminProjectAttributes.md) + - [AdminProjectAttributesUpdateRequest](docs/AdminProjectAttributesUpdateRequest.md) + - [AdminProjectAttributesUpdateResponse](docs/AdminProjectAttributesUpdateResponse.md) - [AdminProjectDomainAttributes](docs/AdminProjectDomainAttributes.md) - [AdminProjectDomainAttributesUpdateRequest](docs/AdminProjectDomainAttributesUpdateRequest.md) - [AdminProjectDomainAttributesUpdateResponse](docs/AdminProjectDomainAttributesUpdateResponse.md) @@ -177,9 +185,14 @@ Class | Method | HTTP request | Description - [AdminTaskExecutionGetDataResponse](docs/AdminTaskExecutionGetDataResponse.md) - [AdminTaskExecutionList](docs/AdminTaskExecutionList.md) - [AdminTaskList](docs/AdminTaskList.md) + - [AdminTaskResourceAttributes](docs/AdminTaskResourceAttributes.md) + - [AdminTaskResourceSpec](docs/AdminTaskResourceSpec.md) - [AdminTaskSpec](docs/AdminTaskSpec.md) - [AdminUrlBlob](docs/AdminUrlBlob.md) - [AdminWorkflow](docs/AdminWorkflow.md) + - [AdminWorkflowAttributes](docs/AdminWorkflowAttributes.md) + - [AdminWorkflowAttributesUpdateRequest](docs/AdminWorkflowAttributesUpdateRequest.md) + - [AdminWorkflowAttributesUpdateResponse](docs/AdminWorkflowAttributesUpdateResponse.md) - [AdminWorkflowClosure](docs/AdminWorkflowClosure.md) - [AdminWorkflowCreateRequest](docs/AdminWorkflowCreateRequest.md) - [AdminWorkflowCreateResponse](docs/AdminWorkflowCreateResponse.md) diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py index 4044b0dfd0..47e615aa99 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/__init__.py @@ -25,6 +25,7 @@ from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata from flyteadmin.models.admin_annotations import AdminAnnotations from flyteadmin.models.admin_auth import AdminAuth +from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes from flyteadmin.models.admin_domain import AdminDomain from flyteadmin.models.admin_email_notification import AdminEmailNotification from flyteadmin.models.admin_execution import AdminExecution @@ -33,6 +34,7 @@ from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse from flyteadmin.models.admin_execution_list import AdminExecutionList from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata +from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest from flyteadmin.models.admin_execution_spec import AdminExecutionSpec from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest @@ -51,6 +53,7 @@ from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes from flyteadmin.models.admin_named_entity import AdminNamedEntity from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList @@ -67,6 +70,9 @@ from flyteadmin.models.admin_notification_list import AdminNotificationList from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification from flyteadmin.models.admin_project import AdminProject +from flyteadmin.models.admin_project_attributes import AdminProjectAttributes +from flyteadmin.models.admin_project_attributes_update_request import AdminProjectAttributesUpdateRequest +from flyteadmin.models.admin_project_attributes_update_response import AdminProjectAttributesUpdateResponse from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse @@ -86,9 +92,14 @@ from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList from flyteadmin.models.admin_task_list import AdminTaskList +from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes +from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec from flyteadmin.models.admin_task_spec import AdminTaskSpec from flyteadmin.models.admin_url_blob import AdminUrlBlob from flyteadmin.models.admin_workflow import AdminWorkflow +from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes +from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest +from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py index 2d00d70b40..07789f473b 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/api/admin_service_api.py @@ -4846,6 +4846,113 @@ def update_named_entity_with_http_info(self, resource_type, id_project, id_domai _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def update_project_attributes(self, attributes_project, body, **kwargs): # noqa: E501 + """update_project_attributes # noqa: E501 + + Update the customized resource attributes associated with a project # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_project_attributes(attributes_project, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) + :param AdminProjectAttributesUpdateRequest body: (required) + :return: AdminProjectAttributesUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_project_attributes_with_http_info(attributes_project, body, **kwargs) # noqa: E501 + else: + (data) = self.update_project_attributes_with_http_info(attributes_project, body, **kwargs) # noqa: E501 + return data + + def update_project_attributes_with_http_info(self, attributes_project, body, **kwargs): # noqa: E501 + """update_project_attributes # noqa: E501 + + Update the customized resource attributes associated with a project # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_project_attributes_with_http_info(attributes_project, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) + :param AdminProjectAttributesUpdateRequest body: (required) + :return: AdminProjectAttributesUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['attributes_project', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_project_attributes" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'attributes_project' is set + if ('attributes_project' not in params or + params['attributes_project'] is None): + raise ValueError("Missing the required parameter `attributes_project` when calling `update_project_attributes`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_project_attributes`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'attributes_project' in params: + path_params['attributes.project'] = params['attributes_project'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/project_attributes/{attributes.project}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminProjectAttributesUpdateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + def update_project_domain_attributes(self, attributes_project, attributes_domain, body, **kwargs): # noqa: E501 """update_project_domain_attributes # noqa: E501 @@ -4960,3 +5067,126 @@ def update_project_domain_attributes_with_http_info(self, attributes_project, at _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + + def update_workflow_attributes(self, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 + """update_workflow_attributes # noqa: E501 + + Update the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_workflow_attributes(attributes_project, attributes_domain, attributes_workflow, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) + :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) + :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) + :param AdminWorkflowAttributesUpdateRequest body: (required) + :return: AdminWorkflowAttributesUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 + else: + (data) = self.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, **kwargs) # noqa: E501 + return data + + def update_workflow_attributes_with_http_info(self, attributes_project, attributes_domain, attributes_workflow, body, **kwargs): # noqa: E501 + """update_workflow_attributes # noqa: E501 + + Update the customized resource attributes associated with a project, domain and workflow combination # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.update_workflow_attributes_with_http_info(attributes_project, attributes_domain, attributes_workflow, body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str attributes_project: Unique project id for which this set of attributes will be applied. (required) + :param str attributes_domain: Unique domain id for which this set of attributes will be applied. (required) + :param str attributes_workflow: Workflow name for which this set of attributes will be applied. (required) + :param AdminWorkflowAttributesUpdateRequest body: (required) + :return: AdminWorkflowAttributesUpdateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['attributes_project', 'attributes_domain', 'attributes_workflow', 'body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method update_workflow_attributes" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'attributes_project' is set + if ('attributes_project' not in params or + params['attributes_project'] is None): + raise ValueError("Missing the required parameter `attributes_project` when calling `update_workflow_attributes`") # noqa: E501 + # verify the required parameter 'attributes_domain' is set + if ('attributes_domain' not in params or + params['attributes_domain'] is None): + raise ValueError("Missing the required parameter `attributes_domain` when calling `update_workflow_attributes`") # noqa: E501 + # verify the required parameter 'attributes_workflow' is set + if ('attributes_workflow' not in params or + params['attributes_workflow'] is None): + raise ValueError("Missing the required parameter `attributes_workflow` when calling `update_workflow_attributes`") # noqa: E501 + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `update_workflow_attributes`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'attributes_project' in params: + path_params['attributes.project'] = params['attributes_project'] # noqa: E501 + if 'attributes_domain' in params: + path_params['attributes.domain'] = params['attributes_domain'] # noqa: E501 + if 'attributes_workflow' in params: + path_params['attributes.workflow'] = params['attributes_workflow'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = [] # noqa: E501 + + return self.api_client.call_api( + '/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='AdminWorkflowAttributesUpdateResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py index 8497f18502..0b6288009c 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/__init__.py @@ -18,6 +18,7 @@ from flyteadmin.models.admin_abort_metadata import AdminAbortMetadata from flyteadmin.models.admin_annotations import AdminAnnotations from flyteadmin.models.admin_auth import AdminAuth +from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes from flyteadmin.models.admin_domain import AdminDomain from flyteadmin.models.admin_email_notification import AdminEmailNotification from flyteadmin.models.admin_execution import AdminExecution @@ -26,6 +27,7 @@ from flyteadmin.models.admin_execution_create_response import AdminExecutionCreateResponse from flyteadmin.models.admin_execution_list import AdminExecutionList from flyteadmin.models.admin_execution_metadata import AdminExecutionMetadata +from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes from flyteadmin.models.admin_execution_relaunch_request import AdminExecutionRelaunchRequest from flyteadmin.models.admin_execution_spec import AdminExecutionSpec from flyteadmin.models.admin_execution_terminate_request import AdminExecutionTerminateRequest @@ -44,6 +46,7 @@ from flyteadmin.models.admin_launch_plan_update_request import AdminLaunchPlanUpdateRequest from flyteadmin.models.admin_launch_plan_update_response import AdminLaunchPlanUpdateResponse from flyteadmin.models.admin_literal_map_blob import AdminLiteralMapBlob +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes from flyteadmin.models.admin_named_entity import AdminNamedEntity from flyteadmin.models.admin_named_entity_identifier import AdminNamedEntityIdentifier from flyteadmin.models.admin_named_entity_identifier_list import AdminNamedEntityIdentifierList @@ -60,6 +63,9 @@ from flyteadmin.models.admin_notification_list import AdminNotificationList from flyteadmin.models.admin_pager_duty_notification import AdminPagerDutyNotification from flyteadmin.models.admin_project import AdminProject +from flyteadmin.models.admin_project_attributes import AdminProjectAttributes +from flyteadmin.models.admin_project_attributes_update_request import AdminProjectAttributesUpdateRequest +from flyteadmin.models.admin_project_attributes_update_response import AdminProjectAttributesUpdateResponse from flyteadmin.models.admin_project_domain_attributes import AdminProjectDomainAttributes from flyteadmin.models.admin_project_domain_attributes_update_request import AdminProjectDomainAttributesUpdateRequest from flyteadmin.models.admin_project_domain_attributes_update_response import AdminProjectDomainAttributesUpdateResponse @@ -79,9 +85,14 @@ from flyteadmin.models.admin_task_execution_get_data_response import AdminTaskExecutionGetDataResponse from flyteadmin.models.admin_task_execution_list import AdminTaskExecutionList from flyteadmin.models.admin_task_list import AdminTaskList +from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes +from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec from flyteadmin.models.admin_task_spec import AdminTaskSpec from flyteadmin.models.admin_url_blob import AdminUrlBlob from flyteadmin.models.admin_workflow import AdminWorkflow +from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes +from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest +from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse from flyteadmin.models.admin_workflow_closure import AdminWorkflowClosure from flyteadmin.models.admin_workflow_create_request import AdminWorkflowCreateRequest from flyteadmin.models.admin_workflow_create_response import AdminWorkflowCreateResponse diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py new file mode 100644 index 0000000000..8b9627b37a --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_cluster_resource_attributes.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminClusterResourceAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attributes': 'dict(str, str)' + } + + attribute_map = { + 'attributes': 'attributes' + } + + def __init__(self, attributes=None): # noqa: E501 + """AdminClusterResourceAttributes - a model defined in Swagger""" # noqa: E501 + + self._attributes = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + + @property + def attributes(self): + """Gets the attributes of this AdminClusterResourceAttributes. # noqa: E501 + + Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 + + :return: The attributes of this AdminClusterResourceAttributes. # noqa: E501 + :rtype: dict(str, str) + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this AdminClusterResourceAttributes. + + Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 + + :param attributes: The attributes of this AdminClusterResourceAttributes. # noqa: E501 + :type: dict(str, str) + """ + + self._attributes = attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminClusterResourceAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminClusterResourceAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py new file mode 100644 index 0000000000..c8ac3d9d23 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_execution_queue_attributes.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminExecutionQueueAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'tags': 'list[str]' + } + + attribute_map = { + 'tags': 'tags' + } + + def __init__(self, tags=None): # noqa: E501 + """AdminExecutionQueueAttributes - a model defined in Swagger""" # noqa: E501 + + self._tags = None + self.discriminator = None + + if tags is not None: + self.tags = tags + + @property + def tags(self): + """Gets the tags of this AdminExecutionQueueAttributes. # noqa: E501 + + Tags used for assigning execution queues for tasks defined within this project. # noqa: E501 + + :return: The tags of this AdminExecutionQueueAttributes. # noqa: E501 + :rtype: list[str] + """ + return self._tags + + @tags.setter + def tags(self, tags): + """Sets the tags of this AdminExecutionQueueAttributes. + + Tags used for assigning execution queues for tasks defined within this project. # noqa: E501 + + :param tags: The tags of this AdminExecutionQueueAttributes. # noqa: E501 + :type: list[str] + """ + + self._tags = tags + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminExecutionQueueAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminExecutionQueueAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py new file mode 100644 index 0000000000..ff27e42a28 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_matching_attributes.py @@ -0,0 +1,171 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes # noqa: F401,E501 +from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes # noqa: F401,E501 +from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes # noqa: F401,E501 + + +class AdminMatchingAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'task_resource_attributes': 'AdminTaskResourceAttributes', + 'cluster_resource_attributes': 'AdminClusterResourceAttributes', + 'execution_queue_attributes': 'AdminExecutionQueueAttributes' + } + + attribute_map = { + 'task_resource_attributes': 'task_resource_attributes', + 'cluster_resource_attributes': 'cluster_resource_attributes', + 'execution_queue_attributes': 'execution_queue_attributes' + } + + def __init__(self, task_resource_attributes=None, cluster_resource_attributes=None, execution_queue_attributes=None): # noqa: E501 + """AdminMatchingAttributes - a model defined in Swagger""" # noqa: E501 + + self._task_resource_attributes = None + self._cluster_resource_attributes = None + self._execution_queue_attributes = None + self.discriminator = None + + if task_resource_attributes is not None: + self.task_resource_attributes = task_resource_attributes + if cluster_resource_attributes is not None: + self.cluster_resource_attributes = cluster_resource_attributes + if execution_queue_attributes is not None: + self.execution_queue_attributes = execution_queue_attributes + + @property + def task_resource_attributes(self): + """Gets the task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + + + :return: The task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminTaskResourceAttributes + """ + return self._task_resource_attributes + + @task_resource_attributes.setter + def task_resource_attributes(self, task_resource_attributes): + """Sets the task_resource_attributes of this AdminMatchingAttributes. + + + :param task_resource_attributes: The task_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + :type: AdminTaskResourceAttributes + """ + + self._task_resource_attributes = task_resource_attributes + + @property + def cluster_resource_attributes(self): + """Gets the cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + + + :return: The cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminClusterResourceAttributes + """ + return self._cluster_resource_attributes + + @cluster_resource_attributes.setter + def cluster_resource_attributes(self, cluster_resource_attributes): + """Sets the cluster_resource_attributes of this AdminMatchingAttributes. + + + :param cluster_resource_attributes: The cluster_resource_attributes of this AdminMatchingAttributes. # noqa: E501 + :type: AdminClusterResourceAttributes + """ + + self._cluster_resource_attributes = cluster_resource_attributes + + @property + def execution_queue_attributes(self): + """Gets the execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 + + + :return: The execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 + :rtype: AdminExecutionQueueAttributes + """ + return self._execution_queue_attributes + + @execution_queue_attributes.setter + def execution_queue_attributes(self, execution_queue_attributes): + """Sets the execution_queue_attributes of this AdminMatchingAttributes. + + + :param execution_queue_attributes: The execution_queue_attributes of this AdminMatchingAttributes. # noqa: E501 + :type: AdminExecutionQueueAttributes + """ + + self._execution_queue_attributes = execution_queue_attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminMatchingAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminMatchingAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes.py new file mode 100644 index 0000000000..a892f96441 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 + + +class AdminProjectAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'matching_attributes': 'AdminMatchingAttributes' + } + + attribute_map = { + 'project': 'project', + 'matching_attributes': 'matching_attributes' + } + + def __init__(self, project=None, matching_attributes=None): # noqa: E501 + """AdminProjectAttributes - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._matching_attributes = None + self.discriminator = None + + if project is not None: + self.project = project + if matching_attributes is not None: + self.matching_attributes = matching_attributes + + @property + def project(self): + """Gets the project of this AdminProjectAttributes. # noqa: E501 + + Unique project id for which this set of attributes will be applied. # noqa: E501 + + :return: The project of this AdminProjectAttributes. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminProjectAttributes. + + Unique project id for which this set of attributes will be applied. # noqa: E501 + + :param project: The project of this AdminProjectAttributes. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def matching_attributes(self): + """Gets the matching_attributes of this AdminProjectAttributes. # noqa: E501 + + + :return: The matching_attributes of this AdminProjectAttributes. # noqa: E501 + :rtype: AdminMatchingAttributes + """ + return self._matching_attributes + + @matching_attributes.setter + def matching_attributes(self, matching_attributes): + """Sets the matching_attributes of this AdminProjectAttributes. + + + :param matching_attributes: The matching_attributes of this AdminProjectAttributes. # noqa: E501 + :type: AdminMatchingAttributes + """ + + self._matching_attributes = matching_attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_request.py new file mode 100644 index 0000000000..2f177136d8 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_request.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_project_attributes import AdminProjectAttributes # noqa: F401,E501 + + +class AdminProjectAttributesUpdateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attributes': 'AdminProjectAttributes' + } + + attribute_map = { + 'attributes': 'attributes' + } + + def __init__(self, attributes=None): # noqa: E501 + """AdminProjectAttributesUpdateRequest - a model defined in Swagger""" # noqa: E501 + + self._attributes = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + + @property + def attributes(self): + """Gets the attributes of this AdminProjectAttributesUpdateRequest. # noqa: E501 + + + :return: The attributes of this AdminProjectAttributesUpdateRequest. # noqa: E501 + :rtype: AdminProjectAttributes + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this AdminProjectAttributesUpdateRequest. + + + :param attributes: The attributes of this AdminProjectAttributesUpdateRequest. # noqa: E501 + :type: AdminProjectAttributes + """ + + self._attributes = attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectAttributesUpdateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectAttributesUpdateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_response.py new file mode 100644 index 0000000000..dcaa484fbb --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_attributes_update_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminProjectAttributesUpdateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminProjectAttributesUpdateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminProjectAttributesUpdateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminProjectAttributesUpdateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py index c4259599c4..0c7d6e4559 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_project_domain_attributes.py @@ -16,6 +16,8 @@ import six +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 + class AdminProjectDomainAttributes(object): """NOTE: This class is auto generated by the swagger code generator program. @@ -33,29 +35,29 @@ class AdminProjectDomainAttributes(object): swagger_types = { 'project': 'str', 'domain': 'str', - 'attributes': 'dict(str, str)' + 'matching_attributes': 'AdminMatchingAttributes' } attribute_map = { 'project': 'project', 'domain': 'domain', - 'attributes': 'attributes' + 'matching_attributes': 'matching_attributes' } - def __init__(self, project=None, domain=None, attributes=None): # noqa: E501 + def __init__(self, project=None, domain=None, matching_attributes=None): # noqa: E501 """AdminProjectDomainAttributes - a model defined in Swagger""" # noqa: E501 self._project = None self._domain = None - self._attributes = None + self._matching_attributes = None self.discriminator = None if project is not None: self.project = project if domain is not None: self.domain = domain - if attributes is not None: - self.attributes = attributes + if matching_attributes is not None: + self.matching_attributes = matching_attributes @property def project(self): @@ -104,27 +106,25 @@ def domain(self, domain): self._domain = domain @property - def attributes(self): - """Gets the attributes of this AdminProjectDomainAttributes. # noqa: E501 + def matching_attributes(self): + """Gets the matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 - Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 - :return: The attributes of this AdminProjectDomainAttributes. # noqa: E501 - :rtype: dict(str, str) + :return: The matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 + :rtype: AdminMatchingAttributes """ - return self._attributes + return self._matching_attributes - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this AdminProjectDomainAttributes. + @matching_attributes.setter + def matching_attributes(self, matching_attributes): + """Sets the matching_attributes of this AdminProjectDomainAttributes. - Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). Map keys are the *case-sensitive* names of variables in templatized resource files. Map values should be the custom values which get substituted during resource creation. # noqa: E501 - :param attributes: The attributes of this AdminProjectDomainAttributes. # noqa: E501 - :type: dict(str, str) + :param matching_attributes: The matching_attributes of this AdminProjectDomainAttributes. # noqa: E501 + :type: AdminMatchingAttributes """ - self._attributes = attributes + self._matching_attributes = matching_attributes def to_dict(self): """Returns the model properties as a dict""" diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py new file mode 100644 index 0000000000..664761775f --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_attributes.py @@ -0,0 +1,143 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec # noqa: F401,E501 + + +class AdminTaskResourceAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'defaults': 'AdminTaskResourceSpec', + 'limits': 'AdminTaskResourceSpec' + } + + attribute_map = { + 'defaults': 'defaults', + 'limits': 'limits' + } + + def __init__(self, defaults=None, limits=None): # noqa: E501 + """AdminTaskResourceAttributes - a model defined in Swagger""" # noqa: E501 + + self._defaults = None + self._limits = None + self.discriminator = None + + if defaults is not None: + self.defaults = defaults + if limits is not None: + self.limits = limits + + @property + def defaults(self): + """Gets the defaults of this AdminTaskResourceAttributes. # noqa: E501 + + + :return: The defaults of this AdminTaskResourceAttributes. # noqa: E501 + :rtype: AdminTaskResourceSpec + """ + return self._defaults + + @defaults.setter + def defaults(self, defaults): + """Sets the defaults of this AdminTaskResourceAttributes. + + + :param defaults: The defaults of this AdminTaskResourceAttributes. # noqa: E501 + :type: AdminTaskResourceSpec + """ + + self._defaults = defaults + + @property + def limits(self): + """Gets the limits of this AdminTaskResourceAttributes. # noqa: E501 + + + :return: The limits of this AdminTaskResourceAttributes. # noqa: E501 + :rtype: AdminTaskResourceSpec + """ + return self._limits + + @limits.setter + def limits(self, limits): + """Sets the limits of this AdminTaskResourceAttributes. + + + :param limits: The limits of this AdminTaskResourceAttributes. # noqa: E501 + :type: AdminTaskResourceSpec + """ + + self._limits = limits + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskResourceAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskResourceAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py new file mode 100644 index 0000000000..09c7518f5b --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_task_resource_spec.py @@ -0,0 +1,193 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminTaskResourceSpec(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cpu': 'str', + 'gpu': 'str', + 'memory': 'str', + 'storage': 'str' + } + + attribute_map = { + 'cpu': 'cpu', + 'gpu': 'gpu', + 'memory': 'memory', + 'storage': 'storage' + } + + def __init__(self, cpu=None, gpu=None, memory=None, storage=None): # noqa: E501 + """AdminTaskResourceSpec - a model defined in Swagger""" # noqa: E501 + + self._cpu = None + self._gpu = None + self._memory = None + self._storage = None + self.discriminator = None + + if cpu is not None: + self.cpu = cpu + if gpu is not None: + self.gpu = gpu + if memory is not None: + self.memory = memory + if storage is not None: + self.storage = storage + + @property + def cpu(self): + """Gets the cpu of this AdminTaskResourceSpec. # noqa: E501 + + + :return: The cpu of this AdminTaskResourceSpec. # noqa: E501 + :rtype: str + """ + return self._cpu + + @cpu.setter + def cpu(self, cpu): + """Sets the cpu of this AdminTaskResourceSpec. + + + :param cpu: The cpu of this AdminTaskResourceSpec. # noqa: E501 + :type: str + """ + + self._cpu = cpu + + @property + def gpu(self): + """Gets the gpu of this AdminTaskResourceSpec. # noqa: E501 + + + :return: The gpu of this AdminTaskResourceSpec. # noqa: E501 + :rtype: str + """ + return self._gpu + + @gpu.setter + def gpu(self, gpu): + """Sets the gpu of this AdminTaskResourceSpec. + + + :param gpu: The gpu of this AdminTaskResourceSpec. # noqa: E501 + :type: str + """ + + self._gpu = gpu + + @property + def memory(self): + """Gets the memory of this AdminTaskResourceSpec. # noqa: E501 + + + :return: The memory of this AdminTaskResourceSpec. # noqa: E501 + :rtype: str + """ + return self._memory + + @memory.setter + def memory(self, memory): + """Sets the memory of this AdminTaskResourceSpec. + + + :param memory: The memory of this AdminTaskResourceSpec. # noqa: E501 + :type: str + """ + + self._memory = memory + + @property + def storage(self): + """Gets the storage of this AdminTaskResourceSpec. # noqa: E501 + + + :return: The storage of this AdminTaskResourceSpec. # noqa: E501 + :rtype: str + """ + return self._storage + + @storage.setter + def storage(self, storage): + """Sets the storage of this AdminTaskResourceSpec. + + + :param storage: The storage of this AdminTaskResourceSpec. # noqa: E501 + :type: str + """ + + self._storage = storage + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminTaskResourceSpec, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminTaskResourceSpec): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py new file mode 100644 index 0000000000..e5dc389073 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: F401,E501 + + +class AdminWorkflowAttributes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'project': 'str', + 'domain': 'str', + 'workflow': 'str', + 'matching_attributes': 'AdminMatchingAttributes' + } + + attribute_map = { + 'project': 'project', + 'domain': 'domain', + 'workflow': 'workflow', + 'matching_attributes': 'matching_attributes' + } + + def __init__(self, project=None, domain=None, workflow=None, matching_attributes=None): # noqa: E501 + """AdminWorkflowAttributes - a model defined in Swagger""" # noqa: E501 + + self._project = None + self._domain = None + self._workflow = None + self._matching_attributes = None + self.discriminator = None + + if project is not None: + self.project = project + if domain is not None: + self.domain = domain + if workflow is not None: + self.workflow = workflow + if matching_attributes is not None: + self.matching_attributes = matching_attributes + + @property + def project(self): + """Gets the project of this AdminWorkflowAttributes. # noqa: E501 + + Unique project id for which this set of attributes will be applied. # noqa: E501 + + :return: The project of this AdminWorkflowAttributes. # noqa: E501 + :rtype: str + """ + return self._project + + @project.setter + def project(self, project): + """Sets the project of this AdminWorkflowAttributes. + + Unique project id for which this set of attributes will be applied. # noqa: E501 + + :param project: The project of this AdminWorkflowAttributes. # noqa: E501 + :type: str + """ + + self._project = project + + @property + def domain(self): + """Gets the domain of this AdminWorkflowAttributes. # noqa: E501 + + Unique domain id for which this set of attributes will be applied. # noqa: E501 + + :return: The domain of this AdminWorkflowAttributes. # noqa: E501 + :rtype: str + """ + return self._domain + + @domain.setter + def domain(self, domain): + """Sets the domain of this AdminWorkflowAttributes. + + Unique domain id for which this set of attributes will be applied. # noqa: E501 + + :param domain: The domain of this AdminWorkflowAttributes. # noqa: E501 + :type: str + """ + + self._domain = domain + + @property + def workflow(self): + """Gets the workflow of this AdminWorkflowAttributes. # noqa: E501 + + Workflow name for which this set of attributes will be applied. # noqa: E501 + + :return: The workflow of this AdminWorkflowAttributes. # noqa: E501 + :rtype: str + """ + return self._workflow + + @workflow.setter + def workflow(self, workflow): + """Sets the workflow of this AdminWorkflowAttributes. + + Workflow name for which this set of attributes will be applied. # noqa: E501 + + :param workflow: The workflow of this AdminWorkflowAttributes. # noqa: E501 + :type: str + """ + + self._workflow = workflow + + @property + def matching_attributes(self): + """Gets the matching_attributes of this AdminWorkflowAttributes. # noqa: E501 + + + :return: The matching_attributes of this AdminWorkflowAttributes. # noqa: E501 + :rtype: AdminMatchingAttributes + """ + return self._matching_attributes + + @matching_attributes.setter + def matching_attributes(self, matching_attributes): + """Sets the matching_attributes of this AdminWorkflowAttributes. + + + :param matching_attributes: The matching_attributes of this AdminWorkflowAttributes. # noqa: E501 + :type: AdminMatchingAttributes + """ + + self._matching_attributes = matching_attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowAttributes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowAttributes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py new file mode 100644 index 0000000000..2f5ae0956b --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_request.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: F401,E501 + + +class AdminWorkflowAttributesUpdateRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attributes': 'AdminWorkflowAttributes' + } + + attribute_map = { + 'attributes': 'attributes' + } + + def __init__(self, attributes=None): # noqa: E501 + """AdminWorkflowAttributesUpdateRequest - a model defined in Swagger""" # noqa: E501 + + self._attributes = None + self.discriminator = None + + if attributes is not None: + self.attributes = attributes + + @property + def attributes(self): + """Gets the attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 + + + :return: The attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 + :rtype: AdminWorkflowAttributes + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this AdminWorkflowAttributesUpdateRequest. + + + :param attributes: The attributes of this AdminWorkflowAttributesUpdateRequest. # noqa: E501 + :type: AdminWorkflowAttributes + """ + + self._attributes = attributes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowAttributesUpdateRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowAttributesUpdateRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py new file mode 100644 index 0000000000..871461df54 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/flyteadmin/models/admin_workflow_attributes_update_response.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class AdminWorkflowAttributesUpdateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """AdminWorkflowAttributesUpdateResponse - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AdminWorkflowAttributesUpdateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AdminWorkflowAttributesUpdateResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py new file mode 100644 index 0000000000..ab1e51e9c9 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_cluster_resource_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_cluster_resource_attributes import AdminClusterResourceAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminClusterResourceAttributes(unittest.TestCase): + """AdminClusterResourceAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminClusterResourceAttributes(self): + """Test AdminClusterResourceAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_cluster_resource_attributes.AdminClusterResourceAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py new file mode 100644 index 0000000000..f84572c389 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_execution_queue_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_execution_queue_attributes import AdminExecutionQueueAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminExecutionQueueAttributes(unittest.TestCase): + """AdminExecutionQueueAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminExecutionQueueAttributes(self): + """Test AdminExecutionQueueAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_execution_queue_attributes.AdminExecutionQueueAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py new file mode 100644 index 0000000000..1614512f80 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_matching_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_matching_attributes import AdminMatchingAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminMatchingAttributes(unittest.TestCase): + """AdminMatchingAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminMatchingAttributes(self): + """Test AdminMatchingAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_matching_attributes.AdminMatchingAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes.py new file mode 100644 index 0000000000..dcd720970e --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_attributes import AdminProjectAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectAttributes(unittest.TestCase): + """AdminProjectAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectAttributes(self): + """Test AdminProjectAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_attributes.AdminProjectAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_request.py new file mode 100644 index 0000000000..f7a5a3b047 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_attributes_update_request import AdminProjectAttributesUpdateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectAttributesUpdateRequest(unittest.TestCase): + """AdminProjectAttributesUpdateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectAttributesUpdateRequest(self): + """Test AdminProjectAttributesUpdateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_attributes_update_request.AdminProjectAttributesUpdateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_response.py new file mode 100644 index 0000000000..8a1ce67357 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_project_attributes_update_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_project_attributes_update_response import AdminProjectAttributesUpdateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminProjectAttributesUpdateResponse(unittest.TestCase): + """AdminProjectAttributesUpdateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminProjectAttributesUpdateResponse(self): + """Test AdminProjectAttributesUpdateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_project_attributes_update_response.AdminProjectAttributesUpdateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py index bbfec96e2c..0be2729cf0 100644 --- a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_service_api.py @@ -263,12 +263,24 @@ def test_update_named_entity(self): """ pass + def test_update_project_attributes(self): + """Test case for update_project_attributes + + """ + pass + def test_update_project_domain_attributes(self): """Test case for update_project_domain_attributes """ pass + def test_update_workflow_attributes(self): + """Test case for update_workflow_attributes + + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py new file mode 100644 index 0000000000..718c67e3f8 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_resource_attributes import AdminTaskResourceAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskResourceAttributes(unittest.TestCase): + """AdminTaskResourceAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskResourceAttributes(self): + """Test AdminTaskResourceAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_resource_attributes.AdminTaskResourceAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py new file mode 100644 index 0000000000..3f02df671e --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_task_resource_spec.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_task_resource_spec import AdminTaskResourceSpec # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminTaskResourceSpec(unittest.TestCase): + """AdminTaskResourceSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminTaskResourceSpec(self): + """Test AdminTaskResourceSpec""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_task_resource_spec.AdminTaskResourceSpec() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py new file mode 100644 index 0000000000..14d1a17087 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_attributes import AdminWorkflowAttributes # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowAttributes(unittest.TestCase): + """AdminWorkflowAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowAttributes(self): + """Test AdminWorkflowAttributes""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_attributes.AdminWorkflowAttributes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py new file mode 100644 index 0000000000..ce0e546c20 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_attributes_update_request import AdminWorkflowAttributesUpdateRequest # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowAttributesUpdateRequest(unittest.TestCase): + """AdminWorkflowAttributesUpdateRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowAttributesUpdateRequest(self): + """Test AdminWorkflowAttributesUpdateRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_attributes_update_request.AdminWorkflowAttributesUpdateRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py new file mode 100644 index 0000000000..6e299cfeb7 --- /dev/null +++ b/flyteidl/gen/pb_python/flyteidl/service/flyteadmin/test/test_admin_workflow_attributes_update_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + flyteidl/service/admin.proto + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 + + OpenAPI spec version: version not set + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import flyteadmin +from flyteadmin.models.admin_workflow_attributes_update_response import AdminWorkflowAttributesUpdateResponse # noqa: E501 +from flyteadmin.rest import ApiException + + +class TestAdminWorkflowAttributesUpdateResponse(unittest.TestCase): + """AdminWorkflowAttributesUpdateResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testAdminWorkflowAttributesUpdateResponse(self): + """Test AdminWorkflowAttributesUpdateResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = flyteadmin.models.admin_workflow_attributes_update_response.AdminWorkflowAttributesUpdateResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/flyteidl/protos/flyteidl/admin/matchable_resource.proto b/flyteidl/protos/flyteidl/admin/matchable_resource.proto new file mode 100644 index 0000000000..07c850bd3c --- /dev/null +++ b/flyteidl/protos/flyteidl/admin/matchable_resource.proto @@ -0,0 +1,56 @@ +syntax = "proto3"; + +package flyteidl.admin; +option go_package = "github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin"; + +// Defines a resource that can be configured by customizable Project-, ProjectDomain- or WorkflowAttributes +// based on matching tags. +enum MatchableResource { + // Applies to customizable task resource requests and limits. + TASK_RESOURCE = 0; + + // Applies to configuring templated kubernetes cluster resources. + CLUSTER_RESOURCE = 1; + + // Configures task and dynamic task execution queue assignment. + EXECUTION_QUEUE = 2; +} + +message TaskResourceSpec { + string cpu = 1; + + string gpu = 2; + + string memory = 3; + + string storage = 4; +} + +message TaskResourceAttributes { + TaskResourceSpec defaults = 1; + + TaskResourceSpec limits = 2; +} + +message ClusterResourceAttributes { + // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). + // Map keys are the *case-sensitive* names of variables in templatized resource files. + // Map values should be the custom values which get substituted during resource creation. + map attributes = 1; +} + +message ExecutionQueueAttributes { + // Tags used for assigning execution queues for tasks defined within this project. + repeated string tags = 1; +} + +// Generic container for encapsulating all types of the above attributes messages. +message MatchingAttributes { + oneof target { + TaskResourceAttributes task_resource_attributes = 1; + + ClusterResourceAttributes cluster_resource_attributes = 2; + + ExecutionQueueAttributes execution_queue_attributes = 3; + } +} diff --git a/flyteidl/protos/flyteidl/admin/project_attributes.proto b/flyteidl/protos/flyteidl/admin/project_attributes.proto new file mode 100644 index 0000000000..4caa4f84fb --- /dev/null +++ b/flyteidl/protos/flyteidl/admin/project_attributes.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + +package flyteidl.admin; + +option go_package = "github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin"; + +import "flyteidl/admin/matchable_resource.proto"; + +message ProjectAttributes { + // Unique project id for which this set of attributes will be applied. + string project = 1; + + MatchingAttributes matching_attributes = 2; +} + +// Sets custom attributes for a project combination. +message ProjectAttributesUpdateRequest { + ProjectAttributes attributes = 1; +} + +// Purposefully empty, may be populated in the future. +message ProjectAttributesUpdateResponse { +} diff --git a/flyteidl/protos/flyteidl/admin/project_domain_attributes.proto b/flyteidl/protos/flyteidl/admin/project_domain_attributes.proto index 7397b1e8a4..7005ecdb26 100644 --- a/flyteidl/protos/flyteidl/admin/project_domain_attributes.proto +++ b/flyteidl/protos/flyteidl/admin/project_domain_attributes.proto @@ -3,6 +3,8 @@ syntax = "proto3"; package flyteidl.admin; option go_package = "github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin"; +import "flyteidl/admin/matchable_resource.proto"; + message ProjectDomainAttributes { // Unique project id for which this set of attributes will be applied. string project = 1; @@ -10,10 +12,7 @@ message ProjectDomainAttributes { // Unique domain id for which this set of attributes will be applied. string domain = 2; - // Custom resource attributes which will be applied in cluster resource creation (e.g. quotas). - // Map keys are the *case-sensitive* names of variables in templatized resource files. - // Map values should be the custom values which get substituted during resource creation. - map attributes = 3; + MatchingAttributes matching_attributes = 3; } // Sets custom attributes for a project-domain combination. diff --git a/flyteidl/protos/flyteidl/admin/workflow_attributes.proto b/flyteidl/protos/flyteidl/admin/workflow_attributes.proto new file mode 100644 index 0000000000..1e174d124f --- /dev/null +++ b/flyteidl/protos/flyteidl/admin/workflow_attributes.proto @@ -0,0 +1,28 @@ +syntax = "proto3"; + +package flyteidl.admin; +option go_package = "github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin"; + +import "flyteidl/admin/matchable_resource.proto"; + +message WorkflowAttributes { + // Unique project id for which this set of attributes will be applied. + string project = 1; + + // Unique domain id for which this set of attributes will be applied. + string domain = 2; + + // Workflow name for which this set of attributes will be applied. + string workflow = 3; + + MatchingAttributes matching_attributes = 4; +} + +// Sets custom attributes for a project, domain and workflow combination. +message WorkflowAttributesUpdateRequest { + WorkflowAttributes attributes = 1; +} + +// Purposefully empty, may be populated in the future. +message WorkflowAttributesUpdateResponse { +} diff --git a/flyteidl/protos/flyteidl/service/admin.proto b/flyteidl/protos/flyteidl/service/admin.proto index e8ff5dcf98..705bf5ecfd 100644 --- a/flyteidl/protos/flyteidl/service/admin.proto +++ b/flyteidl/protos/flyteidl/service/admin.proto @@ -5,9 +5,11 @@ option go_package = "github.com/lyft/flyteidl/gen/pb-go/flyteidl/service"; import "google/api/annotations.proto"; import "flyteidl/admin/project.proto"; +import "flyteidl/admin/project_attributes.proto"; import "flyteidl/admin/project_domain_attributes.proto"; import "flyteidl/admin/task.proto"; import "flyteidl/admin/workflow.proto"; +import "flyteidl/admin/workflow_attributes.proto"; import "flyteidl/admin/launch_plan.proto"; import "flyteidl/admin/event.proto"; import "flyteidl/admin/execution.proto"; @@ -378,6 +380,16 @@ service AdminService { }; } + rpc UpdateProjectAttributes (flyteidl.admin.ProjectAttributesUpdateRequest) returns (flyteidl.admin.ProjectAttributesUpdateResponse) { + option (google.api.http) = { + put: "/api/v1/project_attributes/{attributes.project}" + body: "*" + }; + option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + description: "Update the customized resource attributes associated with a project" + }; + } + rpc UpdateProjectDomainAttributes (flyteidl.admin.ProjectDomainAttributesUpdateRequest) returns (flyteidl.admin.ProjectDomainAttributesUpdateResponse) { option (google.api.http) = { put: "/api/v1/project_domain_attributes/{attributes.project}/{attributes.domain}" @@ -388,6 +400,16 @@ service AdminService { }; } + rpc UpdateWorkflowAttributes (flyteidl.admin.WorkflowAttributesUpdateRequest) returns (flyteidl.admin.WorkflowAttributesUpdateResponse) { + option (google.api.http) = { + put: "/api/v1/workflow_attributes/{attributes.project}/{attributes.domain}/{attributes.workflow}" + body: "*" + }; + option (grpc.gateway.protoc_gen_swagger.options.openapiv2_operation) = { + description: "Update the customized resource attributes associated with a project, domain and workflow combination" + }; + } + rpc ListNamedEntities (flyteidl.admin.NamedEntityListRequest) returns (flyteidl.admin.NamedEntityList) { option (google.api.http) = { get: "/api/v1/named_entities/{resource_type}/{project}/{domain}"